OpenDreamProject / OpenDream

A project for running games made in the DM programming language
MIT License
188 stars 104 forks source link

Nebula: Map-edge screen_loc anchors do not work (TOP, etc) #1773

Open out-of-phaze opened 2 months ago

out-of-phaze commented 2 months ago

See ref:

The LEFT, RIGHT, TOP, and BOTTOM keywords (also TOPLEFT, TOPRIGHT, BOTTOMLEFT, BOTTOMRIGHT) can be used to anchor a screen object to the edge of the map control if the map is zoomed in so that some pixels are cut off. When you use these edge-alignment keywords, the icon size is taken into account, and the alignment of the icon changes to fit whichever edge you use. Because these keywords do not conform to the normal tile-based structure of the HUD, they can't be used for a range of tiles with the "to" format.

Currently these are just identical to NORTH/SOUTH/EAST/WEST.

out-of-phaze commented 2 months ago

Working on this, btw.