0
kicks
Simulating Planetary 2D Gravity
If you've ever wanted to or planned on making a 2D space game, then this tutorial might be of interest to you. By the time you are finished reading it, you will know how to simulate planetary gravity. In other words, you will be simulating the gravity field that surrounds planets, such as Earth, which pulls objects towards it. You will also learn basic scene management, generics (templates), events, and circle-circle collision detection and response.