![]() |
Changing the movement sequencing. - 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: Changing the movement sequencing. (/showthread.php?tid=1416) |
Changing the movement sequencing. - wisefire - 23-11-2007 Ok So ive created my own system for the movement, Way more sprites. Now I have to add them. I understand how the move system works, Sort Of. ------------------------------------------------------------------------------------------------ I learned from using advocates system and replacing a part in Sub BltPlayer with; [spoiler] Quote:[/spoiler] ------------------------------------------------------------------------------------------------ Now the thing I need to know is, How do I change how many sprites there are for each direction? Like when you 1st use MS there are 3 Backward, 3 Forward, 3 Left and 3 Right. Well I need to change it so; There are 7 Backward, 7 Forward, 9 Left and 9 Right. Any Ideas on what to do? Re: Changing the movement sequencing. - wisefire - 23-11-2007 Dave Wrote:Basically, Anim is set to a number representing the frame. From left to right for each sprite, they are 0, 1, 2, 3... Yeah. Thats what I was looking at. But is there a defualt Anim? Or could I just throw the new one in and it start on the correct "0" for each direction? Re: Changing the movement sequencing. - Robin - 23-11-2007 Code: rec.Left = (GetPlayerDir(Index) * 3 + Anim) * PIC_X Change that 3 to the amount of frames you want per direction. It's near the bottom of BltPlayer. |