enigma-dev / RadialGM

A native IDE for ENIGMA written in C++ using the Qt Framework.
GNU General Public License v3.0
46 stars 22 forks source link

Tiles & Instances Outside Room Bug #121

Closed RobertBColton closed 4 years ago

RobertBColton commented 4 years ago

Currently, there is what should be considered a bug in the room editor. The bounds of the asset scroll area background are fixed around the size of the room, instead of the bounding box of instances and tiles within the room. This makes it difficult, if not impossible, to edit instances and tiles outside of the room.

GameMaker added this starting with version 8.1, but LGM always had it. What's interesting is that GM8.1 removed scrollbars from the room editor completely by offering middle mouse pan, while LGM still managed to keep them. I don't have a preference either way if we keep the scrollbars, but I do think we need to compute a bounding box around the instances and tiles of the room to fix the scrollbars to allow you to go outside the room, or else add middle mouse pan like GM8.1. It would also be ok to do both.

RobertBColton commented 4 years ago

I should mention, there was also a preference in GM8.1 to remove instances outside the room when closing the editor. GM8.1 Remove Instances Outside Room