To make the planets move in a circle i had to use a formula which finds the x and y cords of a circle . This formula wasn't perfect but with how the sun was positioned it looked good. Of course i just had to move the sun Xd. after that everything went into wack as the planet x and y would always be off and whenever i tried to fix the problem it would get worse Xd. till now. ITS FIXED FINALLY and also a lot of other variable changes which resulted from me moving the sun. With this fixed i can focus on adding new things to the game finally and im hoping to get an update out soon
Did you like this post? Tell us
Leave a comment
Log in with your itch.io account to leave a comment.