FREE Full Unity Project
Features:
- Generates a single big island
- Uses Perlin Noise (you can easily swap it for Simplex Noise) + single Seed value to generate (and regenerate) an Island Map
- Uses Tilemaps + RuleTile / Random Tile (and customized Tiles) that can be easily swapped for your own Tiles
- Comments in the code + overview YT video at: https://youtu.be/byX_7m3Fnes?si=Skj_ZDvAX3GJwTHA
- Code is well organized into separate classes and abstract GenerationSteps. Can be easily extended with prefab placement (just like I place the player on the map).
Installation
- Project was created in Unity 2022.3.22 version (URP + new input system). Just download the full project (zip file) unpack it to a separate folder. Next open Unity hub and select "Add" button and select the folder where you have unpacked the project. Alternatively you can open in Unity 2022 and create a new 2D project and import the unity package file. Make sure to install Input System package and Cinemachine package from the Package Manager.
- In the project find Scenes folder and open the scene there
- Generation will happen when the game runs (can take a few seconds). Next the camera will zoom onto the Player.
- You can move around using WSAD and use Spacbar to perform "Attack" to destroy trees that are in the direction of movement
- Press 'Esc' to enter Pause menu and you should see 'Generate Map' button. Click it to generate a different version of the Island Map
License:
You can:
- Use it in your own project commercial or otherwise (no attribution is required)
You CAN'T:
- Share this project template with others
- Claim the package or the code in it as your own