Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
HBGames
Well this is kind of embarassing, but here goes.
http://www.rmxp.org/forums/showthread.php?t=10736
This is my script that allows character sprites a custom amount of frames, defined in the filename of the graphic (so every character can have a different amount of frames if they want).
If you're running an otherwise default game, it works perfect. However, I've just started working on a script that changes the @character_name variable in order to change the character sprite temporarily. However, when I do this and the new sprite has a different number of frames, it looks messed up because it uses the same amount of frames as the last graphic.
It took ages for me to get it running nice and proper in the first place, but now it looks like it needs a rewrite/modifications. I've already tried rewriting it once to get it working, but no dice - I'm really at a loss here now.