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
Is the game I found on the YYG sandbox, and noticed it had sprites and objects by the same name so ENIGMA threw some resource name errors at me. Long story short I prefixed the sprites spr_ and ran it, and bam the game worked fine.
The text was updated successfully, but these errors were encountered:
GM allows two resources of any type by the same name, as far as I know, and they'll work fine until you try to access them by name in the code. Same for bogus identifiers as names. ENIGMA does not, but since my requests for the IDE to fix this have been ignored repeatedly, I'm going to allow it in the new compiler.
For the record GameMaker: Studio no longer allows you to have two resources with the same name even if they are different types. It should also be possible to overload built in functions by creating a script with their name, though GMS no longer allows this either.
I discovered that apparantly Game Maker allows resources to be by the same name if they are of different types.
http://enigma-dev.org/edc/games.php?game=60
Is the game I found on the YYG sandbox, and noticed it had sprites and objects by the same name so ENIGMA threw some resource name errors at me. Long story short I prefixed the sprites spr_ and ran it, and bam the game worked fine.
The text was updated successfully, but these errors were encountered: