Lovely little game! The planetary movement is done really well and that cannot have been easy!
Viewing post in Cosmic Cravings jam comments
Really appreciate the kind words!
We actually took a somewhat simple approach so it might be easier than you'd imagine 😁 Gravity is controlled by Unity Effectors, and we just turn the Effectors on/off depending on which planet's trigger you enter. Then we point the transform.up of the player based off player pos and the planet center. Since we're doing that we can just push the velocity left and right from the player POV 😊
There's actually a bit of a bug with the Effectors I think, we didn't fencepost them properly, so until you exit one for the first time I don't think it turns off. That's why if you walk into overlapping ones without first jumping weird stuff can happen lol. But yeah the general gist of it is rely on Unity to do the heavy lifting for us 😛
Thanks for playing!