Using Preset Arrays for Semi Random Level Gen

0 favourites
  • 1 posts
From the Asset Store
Random Maze Generator with Door & Key System - tutorial capx
  • So the idea is to have an array with multiple different patterns for a level gen. More specifically, for each level 16 tiles will be created, some empty, and some with obstacles, plus a hole in a part of the floor (exit. So basically it would be width 16 (each value would be a tile, example: 0 = nothing, 1 = chair, 2 = box) height would be equal to the number of different level possibilities, and depth would be 2, so that each tile also comes with a 0 or 1, 1 meaning it will have a hole below. So I have this figured out, but setting each value with the on start of layout event would take up a lot of time, so is there a way to set the values more easily or convenientely?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)