Level Creator initial framing
Posted: Fri Jul 01, 2016 10:24 am
When entering the level editor, the upper left corner of the view window is positioned at [-1,-1], on the implied steel border. It seems to me that this is done to provide a framing context for the level.
However, stylistically, many (most?) existing levels have a real steel border. The game is even aware of this, in the variable BorderElement.
I'm wondering if the editor could start the view window at [0,0] if the level already has an internal border.
Context: all or most of the EMC levels have dimensions 64x32, and most have an internal border (levels that don't usually require horizontal wrap, and thus don't work in RnD...) With a 32x32 editing view window, EMC levels always start one step away from seeing the entire vertical span of the level; every time I enter the editor on such a level, I have to scroll one step down...
I'd even prefer if the editor couldn't be scrolled to the -1 and N+1 horizontal / vertical positions when the border is complete. Which should be computed dynamically, so poking a hole in an existing complete border would suddenly shrink the scroll bar "thumbs" slightly, or sometimes jump the view window one position.
However, stylistically, many (most?) existing levels have a real steel border. The game is even aware of this, in the variable BorderElement.
I'm wondering if the editor could start the view window at [0,0] if the level already has an internal border.
Context: all or most of the EMC levels have dimensions 64x32, and most have an internal border (levels that don't usually require horizontal wrap, and thus don't work in RnD...) With a 32x32 editing view window, EMC levels always start one step away from seeing the entire vertical span of the level; every time I enter the editor on such a level, I have to scroll one step down...
I'd even prefer if the editor couldn't be scrolled to the -1 and N+1 horizontal / vertical positions when the border is complete. Which should be computed dynamically, so poking a hole in an existing complete border would suddenly shrink the scroll bar "thumbs" slightly, or sometimes jump the view window one position.