Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+1)

Fantastic visual design! Although the dev time is extended, I still give your my highest score.
I really like your design and also the game mechanism.
I am a new game developer and want to ask a simple question:
When the slimes fall to the circle ground, how do you set their positions on the ground when the roll still whirling? Did you use the center portal to be the point of Polar coordinate system?

(1 edit)

Wow, thank you so much!

To answer your question: Basically, every affected Rigidbody gets their own gravity direction based on their position with the center of the circle world being the source of it. I just calculate the direction from the center towards the position of the object. When they move I create a move Vector that has a positive or negative value on the x-axis (think of it as local move direction), then transform that into a world direction (so that their movement is based on their rotation) and set it as velocity. Then I add, when the object is not grounded, gravity direction + a force (speed) to their velocity. 

It's probably not the most elegant or performant way but it works I guess. I can send you some sample code if you're interested, just message me.

Thanks so much for your explanation!
No I think its enough for me. I could have a try in Godot.
Hope you could get a great score tomorrow. :D