Page 1 of 1

Very frustrating problem with key down event!

PostPosted: Sun Oct 21, 2007 8:41 pm
by Freddy
I made a keydown event for one of my actors, I went to script editor, and I typed in:

walkright = walkright + 1;

Then I tried it, and it didnt work! WHAT IS WRONG WITH THE CODE?!?!? Thats all, :D I will give a point to anyone who can solve this problem. :)

Re: Very frustrating problem with key down event!

PostPosted: Mon Oct 22, 2007 6:53 am
by Spidy
for right put this code
x = x +5;

for left put this
x = x -5;

its easy :D

Re: Very frustrating problem with key down event!

PostPosted: Sat Nov 17, 2007 4:55 pm
by Kalladdolf
what do u wanna define with walkright?
a textnumber?
a movement speed?