![]() |
Walking Frame Additions - 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: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Walking Frame Additions (/showthread.php?tid=469) |
Walking Frame Additions - Tony - 12-12-2006 Hmmph I've been trying the spiffy stuff and no luck. Can someone explain to me If (Player(Index).YOffset < PIC_Y / 2) Then Anim = 1 :: Pando - Robin - 12-12-2006 If it's half way across the tile, it gots to anim 1 - Rian - 12-12-2006 I'm at work, so i don't have any real references, but this is what I think this line does (Any one correct me if I'm wrong). This sets which animation to use while the player is walking between tiles. Notice PIC_Y / 2 . - Tony - 13-12-2006 I've figured that already. Im not that clueless but can you also explain Player(Index).XOffset and Player(Index).YOffset? I'd like to understand each bit of code. Please and thank you. :: Pando |