Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GMTransfer

A tool allowing you to import multiple resources from one GameMaker Studio 2 project to another. · By lazyeye

Option to automatically prefix imported resources

A topic by Jordan Magnuson created May 22, 2018 Views: 316 Replies: 1
Viewing posts 1 to 2

First of all: thank you for making this much-needed tool! 

Now a feature request: it would be awesome to have the option to automatically prefix imported resources to avoid naming conflicts. So for example, I could set the prefix to "myprefix_" so that if I have an object named oPlayer in the imported project, the imported object would be renamed "myprefix_oPlayer" on import to avoid conflicts with any object named oPlayer in the project I'm importing into.

I realize this has the potential to break script code, but seems like it would still be a nice option to have. If you wanted to be ambitious, you could also have an option to do automatic search and replace of resources names in any imported scripts... so all references to "oPlayer" in code would be replaced with "myprefix_oPlayer" if I choose the prefix option.

Anyway, just a thought, but I think it's quite typical to have certain common objects share names from project to project, so a feature like this would take your tool to the next level, imo.

Developer

Ah, neat idea! There are lots of improvements I'd love to make to the tool, this being one of them -- I'm currently swamped with work so I can't set aside time at the moment for the tool, but there is a new and improved version in the works. Thanks for your feedback!