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

Thank you! Made two games that used circular platforming in different ways(a tower defense and a gravity platformer) so this is just a continuation on that idea!

It's quite simple! :)

PlayerX = centerX+ cos(angle) * distanceFromCenter

PlayerY = centerY+ sin(angle) * distanceFromCenter

This describes the player position, changing the angle moves the player around the circle.

I found that out a few days ago because I saw that code somewhere, but wow, thanks for saying it, an egoistic developer would probably have kept it to themself. Also that would help me a lot if I didn't know it already, because I know very little about mathematics, so thank you a lot for explaining it! And I saw that video of Planet Digger, the visuals are so cool!

(+1)

Thank you! I am all for sharing some knowledge, we learn from each other! :)