1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00

Updated layers (markdown)

False.Genesis 2018-12-26 14:58:29 +01:00
parent df21100d91
commit d78a37f8b4

@ -9,16 +9,18 @@ Internally, the game uses a lot more layers, but only some are available in the
* Number keys 1-9
* No special properties
* Detailed info:
* <[[Parallax layers|#Parallax layers] come somewhere around here>
* ([[Parallax layers|layers#Parallax layers]] come somewhere around here)
* Layers 1, 2, 3: Behind the black background
* Layer 4: The black background is located here.
* When tiles are moved to the front they are in front of the background; when they are moved to back, they are behind the background.
* While you are in the editor: When tiles are moved to the front they are in front of the background; when they are moved to back, they are behind the background.
* When the map is loaded, tiles will always be **under** the black background! (Their relative order stays the same, just the black background is added after the game engine has loaded the map, which means it will be drawn over every tile on the map.)
* Which in turn implies that if you change the relative order mid-game via scripting, **then** things might be drawn before the black background.
* All layers after this are in front of the black background
* Layer 5: Auto-generated wall tiles are placed here. See [[Map basics|map-basics#modify-a-map]]. Do not use this layer for your own tiles.
* Layer 5: Auto-generated wall tiles are placed here. See [[Map basics|map-basics#modify-a-map]]. Do not use this layer for your own tiles unless you know what you are doing.
* Layers 6, 7: In front of the previous layers but still behind entities.
* <Entities & particles come somewhere around here>
* (Entities & particles come somewhere around here)
* Layers 8, 9: In front of everything else.
* <The dark layer comes somewhere around here>
* (The dark layer comes somewhere around here)
### Tips / typical layer use:
* Layer 1: Non-parallax-scrolling repeat backgrounds
@ -28,6 +30,8 @@ Internally, the game uses a lot more layers, but only some are available in the
* Layer 5: DO NOT USE
* Layer 6: Foreground plants and decoration
* Layer 7: Rarely a need to use this; spare
* Layer 8: Covering foreground plants, decoration, overlays
* Layer 9: Cover blackness to mask tile transitions or to fade out parts of foreground tiles; light pillars, overlays
# Parallax layers