Tag Info

New answers tagged


I use Game Maker 8.1 all the time, and I've done orbital sims in them too. More good news: Game Maker has a built-in function that does vector addition for you: motion_add(direction, acceleration) this will automatically change an object's hspeed and vspeed with the correct vector addition. Remember that Game Maker treats 0 degree angle pointing right, 90 ...


When the user presses the "orbit" button, store the vector between the ship and the planet. On every update, change the vector's angle leaving magnitude the same and then update the ships position by adding the planets position and the vector pointing at the ships new position. This will create the effect of the ship moving in a uniform circle around the ...

Top 50 recent answers are included