It has been ages since my last post, mostly because my brother got married last week (congratulations again if you are reading this!). Tons of family stuff going on means no time for game development unfortunately 🙁 But we are back! So I just wanted to give you a quick update on the game physics I played around with today- the ominous black hole vortex and deadly space mines!

 

Black Hole Vortex

 

The idea behind the black holes we scattered throughout the game is to dodge them without getting sucked in. At this point they only affect the player, but we are debating whether to have them affect the meteors, aliens and everything else around for that matter. That’s what black holes do, right? Let us know what you think in the comments.

 

The implementation was pretty simple- the script allows me to configure the radius and force of pull. Playing around with the physics was pretty fun- adding some videos so you can see the disaster at the beginning, and how it turned out in the end.

That pull might be a little too strong 😉

Now that’s more like it

Deadly space mines

We tried to use the same concept for the mines. If you shoot a mine it will explode and send your UFO flying. Well, technically it doesn’t explode yet, but it will 😀 Implementing the same script we used for the black hole (in the opposite direction) didn’t really work- the black hole continues implementing the pull as long as the player is inside the defined radius. But when you shoot a mine it pushes you once. Making that play out nicely with the player’s input is slightly trickier, and is still work in progress. But it is still pretty funny to watch 🙂

 

Now that’s just ridiculous lol

 

Thanks for reading our devblog. Make sure to subscribe to our blog in the top right menu and stay tuned for next week’s post!

 

Cheers 🙂

This Post Has 7 Comments

    1. thanks!

    1. thanks!

  1. LOL loved the videos… makes me want to play around with the game and scripts
    I would go for the black hole influencing all the objects in the system … maybe add a shield?

    1. Thanks! Shield is on the list of power-ups, which we will get to after balancing the core gameplay 🙂

Comments are closed.

Close Panel