A one man development group that focuses on retro styling mixed with experimental game design.
Experimenting with new game ideas. Started on a new sonar-type game.
Posted by johnmatthais on Sep 17th, 2012
After seeing all the recently sonar games that have started development, I decided to try my hand at it. Here's what I've got after an hour and a half-ish of work:
Kinda looks like some complex form of Pong if you look at it right.
Anyways, it's a lot less forgiving than the models that others are using. It requires the sonar pings to bounce all the way back to you (meaning if you move, chances are you'll miss out on some pings) before you can see the object they pinged, pinged objects disappear after about 2 or 3 seconds (including enemies!), and each use of a ping requires you to wait until all of the pings disappear before you can use another one.
There are also enemies in there that are the same size as the player currently, and they will restart the game on contact (until there are more levels, when it'll just restart the room). I think I'm going to adjust both them and the player to be half the size.
Minor coding oddity. For some reason, my algorithm for ping generation in a circle actually requires me to go all the way to 42, rather than 36, even though I multiply the ping's number in order of creation (starting at 0) by 10. If I didn't, there would be a chunk of pings missing from the top-right section of the circle.
Here's the snippet:
Not really sure what went on there, but I'll figure it out, I'm sure. :)
Feel free to download it and try it out.