Generated a level for Unity using a 2D texture map that you can create in Photoshop / Gimp.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LevelGenerator
LICENSE
LevelGeneratorPackage.unitypackage
README.md

README.md

LevelGenerator_Unity

You can either import the Unity Package or just use the source code

How to use LevelGenerator:

  1. Create a map / level that you want in Photoshop / Gimp, where 1 pixel of a certain color represents a tile / 3D object that you want to generate. This map should be a 1 for 1 pixel size to Unity units that you want to use

  2. Import that asset into the Unity project, MAKE SURE THAT YOU HAVE READ / WRITE ENABLED

  3. Drag and drop that texture map onto the map field of the LevelGenerator prefab

  4. Match up the color that you want to create and drop the prefab of the tile/object that you want to generate onto it.

  5. Run the game, and it will be generated at runtime!

Note that is really meant to be used a rapid prototyping tool for 2D platforms or something like that, not necessarily for a final product.

Credit to Brackeys on YouTube for the idea