|
From: fotoprix156 on 16 Apr 2008 16:29 Hi and sorry my bad english. I try to create a game for my son. This is my problem: I have made a script of keydown, in that the personage jumps, what happens is that if the tight key is kept this one stays above(up) until free the key. It is possible to create the script so that it jumps, one supports in the air the second one or two and return to the normal position, still and having the tight key?. I wait I am understood. Please it is important. You can order an e-mail to: fotoprix156(a)telefonica.net Thanks for all. Jordi
From: stephen_ on 16 Apr 2008 17:47 How about something like this on keyDown if keyPressed( "j" ) then if NOT ( sprite( "jumping guy" ).member.name = "Jumping" ) then makeHimJump() end if end if end
|
Pages: 1 Prev: alphabetized variables list in the debug pane Next: [Announcement] Directorforum.com launched |