Trying to fix Bounce!
Moderator: InsideQC Admins
2 posts
• Page 1 of 1
Trying to fix Bounce!
There's a bug when you move the mouse to fastly to the right that the bouncing guy freaks out (going back and forth really fast) and I can't figure it out.
Could someone please take a quick look at this source code and help me? Sorry if it looks a little thrown together, cause it was a quick minimod I made for QExpo. The code is located in bounce.qc.
Thanks.
Could someone please take a quick look at this source code and help me? Sorry if it looks a little thrown together, cause it was a quick minimod I made for QExpo. The code is located in bounce.qc.
Thanks.
-

Error - InsideQC Staff
- Posts: 865
- Joined: Fri Nov 05, 2004 5:15 am
- Location: VA, USA
Woot fun mod! Personal highscore: 325 !!
(I havent looked at the code yet but...)
I was playing around with host_framerate and moving the mouse slowly. at 0.1 the guy freaks out every inch left or right i move no matter how slow i move the mouse. So maybe it has something to do with the portion of the code that reads the mouse. Maybe its polling too fast?? I notice you divide the player positions by 10 "spots". At host_framerate 0.1 and going SLOWLY from left to right I can see where each position is and i notice that it FREAKS out at the overlapping edge. Maybe your bounds per position overlap and cause this?
(I havent looked at the code yet but...)
I was playing around with host_framerate and moving the mouse slowly. at 0.1 the guy freaks out every inch left or right i move no matter how slow i move the mouse. So maybe it has something to do with the portion of the code that reads the mouse. Maybe its polling too fast?? I notice you divide the player positions by 10 "spots". At host_framerate 0.1 and going SLOWLY from left to right I can see where each position is and i notice that it FREAKS out at the overlapping edge. Maybe your bounds per position overlap and cause this?
- r00k
- Posts: 1110
- Joined: Sat Nov 13, 2004 10:39 pm
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest