I'm trying to make a pokemon type game but, with nothing to do with pokemon just the walkabout interactions and battle mechanics and I'm stuck on the engine for walking I have back n forth motions down but I cannot figure how to make my char go up n down? Some pointers will be apreciated thanks
Offline
I'm pretty sure I understand what you need, correct me if I'm wrong.
when gf clicked forever if <key [up arrow v] pressed?> change y by (5) end if <key [down arrow v] pressed?> change y by (-5) end if <key [left arrow v] pressed?> change x by (-5) end if <key [right arrow v] pressed?> change x by (5) end end
Last edited by silvershine (2012-05-25 17:14:09)
Offline
Yeah silvershine's script is correct, but i am wondering are you creating a game that will be scrolling up+down+left+right if so, the script above will need to be different! more Information is needed if you are creating a scroller!
Offline
daniel_j wrote:
Yeah silvershine's script is correct, but i am wondering are you creating a game that will be scrolling up+down+left+right if so, the script above will need to be different! more Information is needed if you are creating a scroller!
Check out this wiki topic if you would like to learn more about scrolling.
Offline