Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
+If it doesn't work with a higher layer try a lower layer - I can never remember if higher or lower is under or above.
http://i.imgur.com/qXUnwik.png
Tree is still partially under the tile.
500 - bottom layer and covered by other layers
0 - middle layer, covers 500 layer but is covered by -500 layer
-500 - top layer, no other layer can cover this layer
This scheme shows you how depth works with game maker. Tiles are affected by depth as well. Those with a lower depth (negative is lower than positive) will draw on top of those with a higher depth. When placing tiles, it's good to place tiles in groupings such as
bottom layer - grass, dirt, other terrains that can be covered by other tiles
middle layer - terrain and other material that is in between the bottom layer and the player
player layer - layer that holds most of game objects
top layer - all things GUI and other visuals that cover the player and game objects
NOTE: the values I give are arbitrary and the amount of layers you have is arbitrary. Have as many as you need to organize it. Be sure to write down your layer names and their corresponding depths in case you walk away from the project for a little.
other layers
bottom layer
grass layer
tree layer
boundary layer
wall layer 1
wall layer 2
paralax layer 1
paralax layer 2
obstacle layer
interactive layer
NPC layer
sky layer
etc..
Once you have your layers, just give them a depth order that is unique and that should clear up any problems as long as you lay the correct tile in the correct layer. putting a grass tile in the wall layer is just silly :P
This leaves me with a question. Are there only three possible layers in the game, just marked with those numbers as names;
or,
is 500 through -500 a range which can accommodate 1,000 possible different layers?
I have lost track of which tab these layer options are located in. Would you mind sparing a fool some directions?