W: Camera Up A: Camera Left S: Camera Down D: Camera Right Up Arrow: Player Up Down Arrow: Player Down Left Arrow: Player Left Right Arrow: Player Right
This was a test to see if I could do two things with map generation: Use only 3 lists for the entire map (tile X, tile Y, and tile type), and make the map generation process more efficient through use of custom blocks. It turned out to work well. --Change Log-- 11/5/23: v1.2. Combined fog and terrain sprites together, and made the fog overlap terrain tiles. 11/4/23: v1.1. Added a fog layer and entities. The player can only see a certain distance of tiles away before the fog clouds them. Entities can hide within the fog, and are only revealed once the player gets close enough. --Credit-- Scripts: Me, though the original idea to make the generation more efficient came from @gibsongibson. Sprites: Me Viewing This: You!