-
Notifications
You must be signed in to change notification settings - Fork 158
Description
Problem
When a user changes game resolution, AGS Editor suggests to resize GUIs for the new resolution. However, the GUI graphics are not resized. Which makes this operation seem incomplete and defeating the purpose somewhat.
However, GUI sprites are not the only thing that is affected by resolution. Cursor sprites may need to be bigger, inventory item graphics, as they are displayed on GUI (and on a cursor too).
Suggestion:
Adjust the question asked after the resolution change, it should mention that there are multiple game elements that may be resized to fit the resolution. After user chooses "Yes" (do resize) show another dialog window with options.
Implement a new dialog window that has a checkable list of things that may be resized. At the very least, suggest to resize following things:
- GUIs.
- GUI sprites.
- Cursor sprites.
- Inventory item sprites.
This dialog should have a warning that after resizing sprites they will loose the source file reference.
After user makes their selections and hits confirmation, the Editor will perform necessary changes.
Additionally, consider adding a new menu command that calls this "resize to resolution" dialog. In this case we need to know which resolution to use as a "original" when calculating new sizes. Perhaps this dialog should have a selection of the base resolution, which is disabled if the dialog is called right after resolution change, but enabled if it's called anytime later. Such menu command will still let user to perform a resize if they decided to skip it at first.
EDIT: Possibly we might include another option: "Resize source sprite files". This option will only work for sprite files which are contained inside the project (so that user does not accidentally resize files which may be shared among multiple projects).