![]() |
Making the up and down sprite not move until able - 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: Making the up and down sprite not move until able (/showthread.php?tid=2375) |
Making the up and down sprite not move until able - Poyzin - 16-11-2008 lets say my character is in a tight spot with blocks around him B B B B B B B -----------,--- (Comma is character) B B B B B B B How can I make it so when you press the up arrow, he doesn't look up until able to move up same with down. is this possible? Re: Making the up and down sprite not move until able - Poyzin - 16-11-2008 I don't know how to code very well..more of adding stuff from stuff thats there..like text and colours and stuff..but not really at this kind of stuff.. I found some codes for the movement what would i do, like eh if i created vb. it would probably be the code: If DIR_UP = No movement Then Disable DIR_UP sprite End If lol..shows how much I know do u think you might show me how to get started ^^ ? Re: Making the up and down sprite not move until able - Poyzin - 16-11-2008 OMG lol thanks so much. 1 million reps fer u ![]() Re: Making the up and down sprite not move until able - William - 16-11-2008 Lea Wrote:Sub canmove client sideBasicly remove that packet. Re: Making the up and down sprite not move until able - Poyzin - 16-11-2008 this gave me a start of where to look, and as you may have seen in my side scroller post, I made it so he can still go up when he needs to (at my ladder) |