Envision, Create, Share

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.

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.

Edit: Formal request here.

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top