Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Stencyl Essentials
  • Toc
  • feedback
Stencyl Essentials

Stencyl Essentials

By : Sneyd
4.4 (5)
close
Stencyl Essentials

Stencyl Essentials

4.4 (5)
By: Sneyd

Overview of this book

If you are a computer game enthusiast who has always wanted to know what it takes to build a playable game, or maybe you would like to expand your programming knowledge so that you can develop great computer games using a solid game engine and toolkit, then this book is for you.
Table of Contents (14 chapters)
close
13
Index

Multiple tile layers


All we need to do now is make a few small changes to our game level to get all of this working correctly. Follow these last few steps:

  1. In the Dashboard tab, under Scenes, open up Level 1 again.

  2. You will see that we currently have two background layers and one tile layer. Actors can only be placed on the tile layers, which means, currently, all of our actors will be rendered to the same layer. This could create some ugly rendering anomalies regarding the z-order. To avoid this, let's add two additional tile layers by clicking on the following button twice:

    Tip

    z-order refers to the order in which sprites are drawn on the screen, so it is important to control which actors appear in front and which ones appear behind.

  3. You will now see two additional tile layers at the top of the Layers stack (Layer 3 and Layer 4) ), as shown in the following screenshot:

  4. How we order our actors on these layers is going to be very simple. Place the Air Balloon on the very top layer (Layer 4) so...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete