Time for action — designing the level
Now that we have our graphics created, we can put them into our second layout and make the first playable level.
1. Now we're ready to create a level layout. Create a layout and name it
Level1
and its event sheetLevel1 events
. Then create our main game event sheetGame
.2. For the layout, set its width to a multiple of the screen width (
800
), and check the box for Unbounded scrolling. In the event sheet of this layout, include our main event sheetGame
.3. Next, give this layout the layers
HUD, Foreground, FrontScenery, Objects, LevelLights, ShadowCasters, BackScenery
, andWalls
in top-to-bottom order. After that, set theScrollX
andScrollY
rates of theHUD
andWalls
layers to0%
.4. On the objects layer, create a
Tiled Background
object namedGround
and give it the smaller light gray tile image. Ensure it has theSolid
attribute and stretch and place some of them to form a level design.5. Now create a
Sprite
object with the light green tile image and...