mouse detection and fps

Posted By: zazang

mouse detection and fps - 09/17/08 06:24

Hi

I was wondering how mouse detection on level entities affects the fps internally.

1).If none of my models have touch/click events,then does the fps go down even by simply having mouse cursor being visible on screen ?

2).Does a lower mouse_range increase fps ?

3).Should I write a simple "mouse manager"....simply meaning that I disable mouse touch/click events of an entity if its far from the player or does lowering mouse_range would do the same job ?

Thanks

regards
zazang
Posted By: jcl

Re: mouse detection and fps - 09/17/08 08:55

Yes, the fps is also affected by models without mouse action. Those models need to be detected because they could partially cover other models.

A lower mouse range will increase the fps. A script-written mouse manager could not improve the fps.
Posted By: zazang

Re: mouse detection and fps - 09/17/08 09:45

ok so a lower mouse_range is the way to go...Thanks !
© 2024 lite-C Forums