Thanks to someone on the Godot discord (which is really great, by the way) I now have come up with a really efficient way of storing my gravity shape data (for cubic planets, tubes you fall towards, tubes you fall around, and planes that flip your gravity when you pass them). My original method resulted in a lot of duplicate data and code. Tomorrow I'll code a number of weird gravities near that of of Super Mario Galaxy!
Game development! Discussions about game development and related fields, and/or by game developers and related professions.