Sprites added through sprite_add
and alike will have their name set based on file name.
Sprite functions in NTT
Standard:
Tweaked:
The function had its removeback
and smooth
arguments removed
as those have been scarcely used after GameMaker 7.
Similar to above, but also xorigin
/ yorigin
arguments are now optional
in case you are replacing a sprite with a same-sized one.
Non-standard:
Adds a sprite from a base64 string (without the data:image/png;base64
prefix).
This is mostly convenient if your mod consists of one code file and a few sprites and you'd rather pack it all into one file.
Adds a single-frame weapon sprite and gives it a signature weapon shine animation.
Weapon sprites are most often added this way.
A mix of sprite_add_base64 and sprite_add_weapon.
A mix of sprite_replace and sprite_add_base64.
Replaces a single subimage of a sprite. A convenience function.
A mix of sprite_replace_image and sprite_replace_base64.
Creates a new sprite that contains copies of specific frames of another sprite.
Undoes whatever changes made by sprite_replace
and alike.
Returns whether there was anything to undo.