Unpressing others keys...
Displaying 1-2 of 2 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Nabucodonosor

Can I make some system to unpress keys like 'a', 'b', Control, and others? For example, I made a battle system, and you use 'A' to attack... But if you press 'a', you will attack sequentially with all your characters... This wouldn't happen if you use b1, and Unpress(1) after it...



Posted on 2001-03-18 21:21:02

TheGerf

I think you can use the key[] array.
For example, 'a' is key[30] so to unpress it you can go:
key[30]=0;





TheGerf, not just any gerf.

Posted on 2001-03-18 22:28:21


Displaying 1-2 of 2 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.