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!

Sign in to participate in the conversation
Gamedev Mastodon

Mastodon server focused on game development and related topics.