bunnyhasem.blogg.se

How to add custom tiles to reggie level editor
How to add custom tiles to reggie level editor




how to add custom tiles to reggie level editor

Create a list of the unique colors assembled and mapped each color to a gameobject or tile/tilemap.Create an image file, read individual pixels in the file and gather all the unique colors.But if you find it a hassle, TL DR it is to: I highly recommend to look at quill18’s youtube video to better understand how the generation is done, after all, a video depicts a thousand pictures and a picture says a thousand words, so a video equals a million words. Then all that’s left is to create a means to generate the level at will. To make the process easier, we need to tweak a little by modifying the inspector of the ScriptableObject.

how to add custom tiles to reggie level editor how to add custom tiles to reggie level editor

The key concept is adapted from quill18’s youtube video on Fast and Easy Level Editor What is neededĪll we need is to have a ScriptableObject to store all the information required and call it to generate the level. Imagine your 2D game have a few hundred levels(think puzzle games), are you going to create hundreds of scenes just for that and adding them to build settings? I will show you an easy way to create levels easily and yet only require one scene for all the levels. In unity, people will usually create different scenes for each level. One of the main hassles in 2D Game creation is level creation. Unity Asset Package: Lazy 2D Level Creator - Automated 2D Level creator in Unity






How to add custom tiles to reggie level editor