The Flood

The Flood

This game is from ldjam.com, which is currently unavailable.
You can try viewing the original page on Web Archive (may not load correctly).
A little pico8 game in which you have to stop the flood by placing protective walls.

First I didn't want to participate at LDJam40 and decided to learn the pico 8 basics instead.
The outcome fitted the LDJam40 Theme quite nice as the game gets harder the more water there is.
This is the result after about 4 hours of programming. A game reminiscent of an old game I played in my childhood.

Input:
- Move by using the arrow keys
- Holding C and using the arrow keys places walls in this direction

Feel free to download and manipulate the code. If you use my code a mention via twitter linking to your game would be nice.

----
The biggest issue was to reduce the slowdown due to many pixel checks. I could reduce them by only applying the necessary updates to those pixels (flood tiles) that are new. Maybe there is a better solution for this as the game still slows down a bit when half the screen is flooded.
Found a bug?
Tell us on Discord