Object Layers

👍

Reminder - Keep Daily Backups

When working on a strategy game with a kit as big as the Complete Kit - always keep a working daily backup! Save yourself the trouble of rolling-back changes and losing work.

The game is built in several layers, to accommodate moving units, so they appear properly in front or behind objects. Here's an example of the layers

877

Click on image to view larger

877

Click on image to view larger. Layers with Numbers

Breakdown of the Object Layers

Layers (back to front)
1. Base layer - ocean, sand, grass (very back layer)
2. Square patches of grass, on which the buildings reside
3. Tall vegetation/buildings/rocks are built from 2 layers

- top (foreground)
- base (background) bases will also have colliders, to prevent units from getting too close and intersecting the sprite 'base edges'
4. Sea units - although in front of the ocean layer, they will carry a 'patch' of water with them while moving
5. Ground units - in front of building bases, but in the back of building tops, to be able to go 'behind' them
6. Air units - the red gargoyle - while in the air, they appear in foreground on top of everything else (very front layer)