Thread: keydown
View Single Post
  #5  
Old 10-03-2001, 09:21 AM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

Using your original method...

//Check for Keydown
if (keydown(0)) {
if (this.keyd1==0 && this.fruit<=5) {
this.keyd1 = 1;
this.fruit++
}
}else{this.keyd1 = 0;}

if (keydown(2)) {
if (this.keyd2==0 && this.fruit>=0) {
this.keyd2 = 1;
this.fruit--;
}
}else{this.keyd2 = 0;}
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote