pedrohas2000 / pingus

Automatically exported from code.google.com/p/pingus
GNU General Public License v3.0
0 stars 0 forks source link

z-pos confusion and incorrect ordering in the editor #76

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently Pingus has two ways to order objects:

* implicitly by their position in the object list
* explicitly by their z-pos

This is mostly for historical reasons and has a few issues such as:

* the editor allows to place hotspot and other objects between two 
groundpieces, the game engine does not
* groundpieces have a z-pos, which however isn't very useful as it duplicates 
implicit ordering
* some objects have multiple z-pos, but the editor doesn't allow to manipulate 
them (i.e. prefabs)
* some objects, such as exits, draw to the groundmap as well has have a sprite 
and they need to do that from two different positions, see also Issue 53

Original issue reported on code.google.com by grum...@gmail.com on 27 Sep 2011 at 10:26