If you are interested in adding orbits and gravity to your projects, here is a simple bare bones cart that might help. For a full explanation, check out my post here: http://gamedev.docrobs.co.uk/orbital-motion-in-pico-8
It's just a demo of the concept, so reboot the cart to see a different orbit.
No probs! It's very much the basics, but at least it gives the code for using atan2!
[Please log in to post a comment]