Pixel World
HTML game prototype
--
I have a dream to one day make a simple and addictive HTML-based game. Every user gets a single pixel on a large grid of some undefined size. The goal of the game is to travel as far on the grid as possible under some yet to be determined rules with awards for furthest X, Y, and XY travelers.
I have a version of this game that needs to run on a server that I cannot host here on Medium. That version has more complex functionality based on the classic Bomber Man game. In this more advanced version, you can “lay” pixel bombs that blow up and destroy artifacts or other plays on the gameboard.
For that version, I wrote some of my all-time favorite JavaScript code including:
- A “hit detection” engine to prevent users from crossing certain artifacts on the board, also used to detect when a bomb blast hits other artifacts.
- XML-based landscape design engine where I could write XML to design the gameboard and “feed” it to the engine to render different worlds
- Power-up tiles that enabled Pixels to gain superpowers (like stronger bomb blasts, longer bomb radius, more health, or faster moving)
Below is the simpler proof of concept of the game (you can use your keys to move your pixel around).
I wish I had time to work on this again!