Satellite Orbits



The main mechanic in Satellite Bash is being able to use the satellites orbiting your planet, driven by the physics of your movement, to defend yourself.

When we tried to port this, we saw Godot has a built in pin joint which sounded perfect. We connected our two bodies and tried it out and everything was super wonky. Confused, we tried out the spring joint and tried making it just perfectly stiff but that wasn't working how we intended either.

It turns out pin joint was the correct node to pick. We just hadn't realized that the position of the actual node would be the point around which the two bodies would be connected. Leaving it at (0,0) was the problem. As soon as we put the pin joint node on the center of the planet, everything worked beautifully and we had our 'orbiting' satellites in!

For an extra bit of polish we needed to add in a Line2D from planet to moon, so you'd know they were connected.

Now we can bash through enemies with style!

--

Play the Game

As always, the game is open source!

You can find it on our  Codeberg.

💜 Love open source projects? 

Here are ways you can support us making them!

https://wanderingdoorgames.obviousgain.ca/supportUs


Get Satellite Bash

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.