|
-
Senior Member
Howdy,
Here is what I need.
Once a key is pressed to disable it. How do yo do this ? Here is the event. I have a guy which I move with the navigation keys. Once you press a key the guy moves one sptep but if you hold it down he will continue running. Since the guy moves preaty fast my collicion detection is going down.No time for the script to disable the movemt. I dont need this I need the key to be released and pressed again or no effect if you hold it down for a longer period. One step at a time.
this is what I did with no avail:
1. I used a time delay. so even if the key pressed and you hold it down the guy moves slow. I did not like. It was very criple movement.
2. I used a flag variable embeded in the brick walls to disable the key pressed variable. Still no avail. the guy moves too fast no collision is happening.
Im stuck. And this is the only bug, belive it or not wich holds back my tut for the next Maze thing.
Hey tnx a lot.
Mad_sci
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|