ID:95991
 
Not a bug
BYOND Version:467
Operating System:Windows XP Home
Web Browser:Firefox 3.5.9
Applies to:Dream Seeker
Status: Not a bug

This is not a bug. It may be an incorrect use of syntax or a limitation in the software. For further discussion on the matter, please consult the BYOND forums.
Descriptive Problem Summary:

When a large icon is displayed on the map in isometric mode (large icon as in an icon that is larger than world.icon_size), and above (higher pixel_z and layer) other objects (/obj/), the some of the other objects will not get drawn at all and will sometimes flicker.

Additionally, there is a large drop in framerate when this occurs.

Numbered Steps to Reproduce Problem:
1. Create a large icon that is not entirely solid, so that graphics underneath can be seen. Assign this to a moveable atom with a large pixel_z and layer, so it shows up as above other objects in the same tile(s). Make sure that the width of the large icon is at least two times the width of world.icon_size.

2. Create a normally sized icon that can be seen from underneath the large icon. Assign it to a moveable atom, with a pixel_z and layer lower than that of the large icon's object.

3. Place the smaller object on the map over multiple tiles. Place the larger object over multiple of these smaller objects.

4. Compile and run


Code Snippet (if applicable) to Reproduce Problem:


Expected Results:

No glitches occur, framerate remains stable, all objects are visible.

Actual Results:

Glitches occur where the objects that are underneath are not displaying properly and sometimes flicker. The framerate drops noticeably.

http://i48.tinypic.com/2mct8i1.png

Does the problem occur:
Every time? Or how often?
Every Time.
In other games?
Not confirmed.
In other user accounts?
Yes.
On other computers?
Yes.

When does the problem NOT occur?

When the large icon is being drawn over a turf and nothing else.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)

Workarounds:

Don't have any objects with smaller icons underneath the one object with a big icon (not an option in my project)
If the large icon is not an overlay, it will "pull forward" other icons it covers in its tile footprint. Big icons and regular icons are also not meant to mingle on the same tiles in isometric mode, because there is no satisfactory way to resolve layering conflicts. This is all documented in the special notes section of the reference.