So sick of pixels

I needed a break from any more tedious pixel twiddling, so I whipped up the basic in-game functionality of the sonic excavator tool I talk about in this post. Brief recap: it’s a gun that shoots a sort of sonar wave, and it gives you a response ping if it hits a block that you can destroy somehow. Here it is in my first-ever video with sound:

The implementation involves some ray tracing, made easy by Box2D. I also implemented a debug mode that I can turn on and off with the keyboard, which shows where each of the rays hit destructible surfaces.

My current thinking is that this is an item you’ll discover pretty early in the game, maybe right away. That will allow lots of relatively tricky level designs, with lots of secret passages, from the very beginning, which is definitely something I’m aiming for.

Leave a Reply

Your email address will not be published. Required fields are marked *