PDA

View Full Version : [FMX] moving an object using the keyboard



un4given
August 30th, 2003, 06:56 PM
i'm making a two player pong game using flash mx and i followed this (http://www.kirupa.com/developer/actionscript/xymove.htm) tutorial to get to grips with moving objects (the bats) up and down.

i got through the tutorial fine but it doesn't make the objects move smoothly. they jerk then pause before moving normally, which would be no good for the game.

i found this (http://www.newgrounds.com/portal/view.php?id=102467) game on newgrounds which has the pads moving as i'd like them to. can anyone give me any advice on how to move objects like this? i've searched through the tutorials here but couldn't find anything anywhere :(

if anyone can help i'll greatly apreciate it :)

kode
August 30th, 2003, 07:02 PM
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=33035.

And welcome to kirupa forum!! ;)

mlk
August 30th, 2003, 07:07 PM
how can the computer lose at such type of games ???

un4given
August 30th, 2003, 07:07 PM
thanks kode, you're the man :thumb:
wasn't expecting a reply so fast!!

kode
August 30th, 2003, 07:19 PM
No problem, un4given. =)