Mirage Source
More Sprite Actions? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: More Sprite Actions? (/showthread.php?tid=1371)



More Sprite Actions? - Mario - 01-11-2007

I'm pretty sure the title of this is confusing...

What I mean is, in Mirage if you look in the origional Gfx folder, open Sprites then you see the sprite in 12 frames displaying movement and direction. I was wondering if there is a way to add more frames for the sprite? My sprite seems to be laid out right, but he is walking funny like it is skiping a frame.


Re: More Sprite Actions? - Matt - 01-11-2007

Mess with what you set Anim to equal for each direction when you walk. Should be able to get it workin' good.


Re: More Sprite Actions? - Rezeyu - 01-11-2007

In my Camtasia topic video, you can see I have 4 walking frames.


Re: More Sprite Actions? - Robin - 01-11-2007

And I have three :D


Re: More Sprite Actions? - Rezeyu - 01-11-2007

Well mine goes 0-1-0-2, repeat.


Re: More Sprite Actions? - Robin - 01-11-2007

So does mine.

That's 3 frames, not four.

;D


Re: More Sprite Actions? - Rezeyu - 01-11-2007

I have a 4th frame for firing.

=P


Re: More Sprite Actions? - Robin - 01-11-2007

Stop confusing me ;-;


Re: More Sprite Actions? - Matt - 01-11-2007

His sprite sheet is set up:

1234123412341234

Instead of the default MS way:

123123123123

Well, that would be my guess anyways..


Re: More Sprite Actions? - Rezeyu - 01-11-2007

Actually not only that, but it's..

Legs: 012012012012
Torso: 012012012012
Etc: 01234012340123401234

All on the same sheet, and every 96 Y pixels is one sprite.


Re: More Sprite Actions? - Matt - 02-11-2007

Rezeyu Wrote:Actually not only that, but it's..

Legs: 012012012012
Torso: 012012012012
Etc: 01234012340123401234

All on the same sheet, and every 96 Y pixels is one sprite.

Close enough. ^_^


Re: More Sprite Actions? - Mario - 02-11-2007

So can anyone help me?


Re: More Sprite Actions? - Rezeyu - 02-11-2007

Whenever you need another animation, just multiply the X of the bltplayer by 32, till you get the frame.