Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Spaces in resource names causes issues (e.g. name erasure) #7
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.
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).