Note: Requires a mouse and keyboard to fully interact with the application.

Note: Avoid using the safari browser as it may cause sound issues however, you can use other browsers and it should work fine. Its recommend that you play the game in full screen mode. 

Description of the project:

This project is a 2D PC simulator called “Tilemap Mayhem”. For this project I am aiming to create a believable tile map generator that looks different each generation and attempts to ensure that nothing appears as out of place or something you would most likely not see in the single environment I am attempting to simulate. That is a grassland. I will also be intending to create a terrain that could potentially suggest a story. I will be using the techniques of random walk and marching squares to accomplish this.

Features:

  • Generates a grassland tile map using a combination of random walk and marching squares
  • Adjustable parameters that can help control the tile map generation
  • Offers a moveable player character that also moves the camera to view the tilemap generation

How to use the program:

Once you press the play button on the menu screen the instructions on how to use the program are located below as well as within the generator screen.

Instructions:

1. The tilemap generated is set to the default parameters and if you would like to move around the tilemap you can do so using the arrow keys or the w, a, s, d keys.

2. When you press the generate tilemap button it will generate a tilemap using the default parameters.

3. For the adjustable parameters to work you must first adjust them and then click the generate tilemap button to regenerate the tilemap with those adjustments.

Notes:

The adjustable parameters end with the word "attempt" as it will generate the number of objects you specify or at the chances you set however, if the spawn placements overlap during the generation the amount of objects you see may not exactly reflect the amount shown on the generation. As they are skipped over to avoid overlap.

Also, the type of structure generated is random meaning that if you set a chance of 100 to spawn a person around a gravestone you may not see a gravestone generation till the next generation.

Controls:

To move the character around the tilemap you can use the arrow keys or the w, a, s, d keys.

StatusIn development
PlatformsHTML5
AuthorEJP19
Made withUnity
Tags2D, Generator, Tilemap
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse