You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part 1: Produce a file with a resource with a space in its name
Open Game Maker
Create any resource
Name the resource with a space in its name, such as "sprite 0"
Save the file
Part 2: Open a file that contains a resource with a space in its name.
Open LGM, and open the file created in part 1
Locate and attempt to edit the resource that has a space in its name.
Observed behavior: The resource editor opens with an empty resource name. Saving the resource causes the name to be erased.
Desired behavior: The space should either be converted at some point (probably on load) or preserved.
The desired behavior here is not clear. There should probably be a consensus before we move forward.
It is worth noting that Game Maker's behavior is to preserve spaces.
Additionally note: Preserving spaces will not allow the resources to be used in scripts unless a string resolver is used. Converting spaces may cause issues with string-resolved names. No known string resolvers exist at this time (execute_string does not resolve resource names with spaces).
The text was updated successfully, but these errors were encountered:
Resources with spaces in their name are still accessible through GUI menus such as the object's sprite or an action's context. These do work already in LGM, so the desired behavior is probably to preserve the spaces.
Steps to reproduce:
Part 1: Produce a file with a resource with a space in its name
Part 2: Open a file that contains a resource with a space in its name.
Observed behavior: The resource editor opens with an empty resource name. Saving the resource causes the name to be erased.
Desired behavior: The space should either be converted at some point (probably on load) or preserved.
The desired behavior here is not clear. There should probably be a consensus before we move forward.
It is worth noting that Game Maker's behavior is to preserve spaces.
Additionally note: Preserving spaces will not allow the resources to be used in scripts unless a string resolver is used. Converting spaces may cause issues with string-resolved names. No known string resolvers exist at this time (execute_string does not resolve resource names with spaces).
The text was updated successfully, but these errors were encountered: