Hi all,

I'm trying to make a character jump in BGT. I managed to make it stay in the air for the specified amount of time, but I can't figure out how to make it land after that time has elapsed. I'll paste a code fragment below:

if (key_pressed (KEY_J))
{
if (Jumper.elapsed >= 700)
{
Jumper.restart ();
JumpSound.play ();
}
LandSound.play ();
}

I have a suspicion that I'm missing something stupidly logical to make it work. Any feedback is appreciated.

Regards,

Gavin

---
Gamers mailing list __ [email protected]
If you want to leave the list, send E-mail to [email protected].
You can make changes or update your subscription via the web, at
http://audyssey.org/mailman/listinfo/gamers_audyssey.org.
All messages are archived and can be searched and read at
http://www.mail-archive.com/[email protected].
If you have any questions or concerns regarding the management of the list,
please send E-mail to [email protected].

Reply via email to