NOTE: The Windows only issue of the last version has been fixed!
If you want to make a 2D game with 3D impression like an RPG or a Rogue-Like, this script will help you to manage the depth of objects and characters in your game, so every single one of them will stand optical correct before or behind another. With this script all your objects in one room will be drawn in a specific order – depending on their position –, to create the impression of a third dimension. Every object (that shall have a three dimensional depth) needs a height value and z-position. The third axis (z-axis) allows you to levitate or drop objects at the same spot. This creates a shadow that indicates the depth of the floating object within the room.
Every object in this test environment has a shadow. This shadow will always lie on the next surface. The shadow does not break and therefore it will always lie on the ground or on another object as a whole and overlap.
The product includes: • a depth system (draws the sprite of every object in the correct order to create the impression of depth) • a movement script (which moves up, down, left, right and diagonal, and asks for collision at every pixel, so that the player will not overrun an object) • an interface for player stats (which shows you the x-, y-, z-position and the depth while playing) • 21 sprites of boxes of different shapes and sizes