Missing Meteors Update and Bug Fix


A long time ago I published Missing Meteors on Itch.io. It was a rather watered down port of a mobile game that I had developed for the Android platform in my spare time, and to be frank, it had been watered down because I couldn't figure out how to get the game to run well on a web page.

The original version of the game was not optimized at all - It worked by spawning an infinite amount of meteors over and over, and as a result it was far more resource heavy than it ever needed to be. So when I set out to get this game working on HTML, I overhauled the spawning system and used a pooling approach instead. Rather than spawning new meteors repeatedly, I instead spawn a whole bunch at once, and then when it was time to destroy a meteor, I simply deactivated it and added it back to the pool. This practically cut out all of the slowdown that the original Web build had - However the meteors would only be destroyed if they hit a specific trigger box. Unfortunately, this led to a bug where if the player camped in the corner, meteors would spawn off screen and miss the trigger, resulting in a soft-locked game state. The score would increase but the game could never actually end since the player had no threats. This was finally updated by changing the conditions that caused the meteors to break. Instead of relying on trigger boxes, the meteors check if they have fallen passed the ground. If they have, they go back into the pool. All of the particles from the meteors are in their own object pool too now, so the number of objects in the game are forever consistent.

I added the screen-shake feature back in too, which was exclusive to the android build. The UI was also updated and will work in full screen. Finally, both the Classic mode and Flag mode are available to play.

Files

MissingMeteorsWEB_OLD.zip 6 MB
Feb 14, 2019
MissingMeteorsWeb.zip Play in browser
Oct 23, 2020

Get Missing Meteors

Leave a comment

Log in with itch.io to leave a comment.