Inside3D!
     

Trying to fix Bounce!

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Error
Inside3D Staff


Joined: 05 Nov 2004
Posts: 558
Location: VA, USA

PostPosted: Mon Jun 01, 2009 6:43 am    Post subject: Trying to fix Bounce! Reply with quote

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.
_________________
Inside3D : Knowledge Is Power
Darkplaces Documentation Wiki
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
r00k



Joined: 13 Nov 2004
Posts: 483

PostPosted: Mon Jun 01, 2009 8:42 am    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group