Page 1 of 1
Animated Sprites
Posted: Sun Apr 13, 2014 3:16 pm
by Wanderingwillow
I have a question about npc sprites animations. For example the koopa npc has 2 frames of animation for both directions he faces, but is there a way to add more frames. Say I want a 5 frame walking animation, is it possible to do that?
Re: Animated Sprites
Posted: Sun Apr 13, 2014 3:18 pm
by Emral
you write a text document titled "npc-'number'.txt" and write the following in it:
if you want to have 5 frames. If you want him to face in only one direction at all times, add
We have a bunch of npc codes you can look up here:
http://www.smbxgame.com/forums/v ... f=35&t=428
Re: Animated Sprites
Posted: Sun Apr 13, 2014 3:19 pm
by Wanderingwillow
Thank you

Re: Animated Sprites
Posted: Sun Apr 13, 2014 11:15 pm
by Chad
I would like to add that if you plan on having the Koopa face two possible directions as it normally does, you need to add framestyle=1 as well. Even though the Koopa's default framestyle is 1, specifying a number of frames without specifying the framestyle will default it to 0.