Skip to content

3. Creating your first level

Gate edited this page Dec 27, 2023 · 16 revisions

BEFORE CREATING A LEVEL

Do open any of the levels in the framework so see how they are composed, I highly suggest to keep the prebuilt levels to use them as reference.

image

STARTING BUILDING YOUR LEVEL

image

SETTING UP THE ROOM WIDTH AND HEIGHT

Open up the room and then open the inspector tab next to the resource tree and you should see this

image

Here you can set up the name of the room, the width/height of it. Do not touch the views as the game creates them automatically when the room loads.

LAYERS

image

GUI Layer

This layer must remain locked as it is used to place gameplay related objects such as the HUD and Transition objects.

Main Layer

This is the layer you have to use to place objects, the level control object must be placed in this layer.

Tileset Layers

This layers is where you have to place up the tiles your level will use, there's 4 different layers to use which I'll explain now:

  • Tileset
  • Tileset_Decor
  • Tileset_Platform_Foreground
  • Tileset_Platform_Background

Tileset is used for the floor, walls and ceilings. If you want to add semisolid platforms, do make use of Tileset_Platform_Background and add the finishing touches on the Tileset_Platform_Foreground layer.

Tileset_Decor is used for the decorations. Such as bushes, hills, etc.

Background Layers

Backgrounds go in this layer, you can add a max of 3 backgrounds (or more if you edit the levelcontrol object) per layer.

Background_0 is the main background, use Background_1 or Background_2 for extra background decorations. If you wish, you can apply a effect into the background at the inspector window.

Foreground Layers

Two extra layers can be applied to the room, refer to the info found in the following objects to see how to set them up:

  • obj_tilelayermanager
  • obj_tilelayermanager_front

Clone this wiki locally