Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 10:32
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip, Quad), 604 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
mouse_factor #145625
08/03/07 20:55
08/03/07 20:55
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
There should be soon or later
a function, to speed up the mousemovement in fullscreen mode.

something like:

var mouse_factor=1.5;

I wait for this feature like this for years already.

Re: mouse_factor [Re: Damocles] #145626
08/03/07 21:01
08/03/07 21:01
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
...shouldn't the mouse_speed be as is (mouse sensitivity set by the users settings)?

and for movement just multiply mouse_force?


xXxGuitar511
- Programmer
Re: mouse_factor [Re: xXxGuitar511] #145627
08/04/07 11:06
08/04/07 11:06
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
mouse_force is not exact enough to "simulate" a cursur movement.
When moving the mouse very fast, mouse_force reaches its maximum value before that.
mouse_force makes sense for view-rotation, but not for creating a speeded up cursor.

Re: mouse_factor [Re: Damocles] #145628
08/05/07 01:21
08/05/07 01:21
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
yes, but why not just use the actual cursor position with mouse_cursor?

This way the mouse movement is the same as the computers mouse sensitivity setting...


xXxGuitar511
- Programmer
Re: mouse_factor [Re: xXxGuitar511] #145629
08/07/07 10:13
08/07/07 10:13
Joined: Jan 2003
Posts: 4,305
Damocles Offline OP
Expert
Damocles  Offline OP
Expert

Joined: Jan 2003
Posts: 4,305
No, this is exactly the problem, the mousecursor reacts
differently to the Desktop mouse on my computer in fullscreen mode.
It drags beghind (lags), and it is less sensitive.

This is obviously affected by the GrafixCard settings.
(the vertical syncronization)

But nevertheless, in many games you can alter the speed of the mousecursor in fullscreen mode.

Re: mouse_factor [Re: Damocles] #145630
08/10/07 16:11
08/10/07 16:11
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
just do it yourself, requires few lines of code. multiply mouse_cursor with your factor and clamp it to the screen region.

Re: mouse_factor [Re: Joey] #145631
08/10/07 17:47
08/10/07 17:47
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Joey: that wouldn't work so well

If the mouse cursor went past the visible view region, then it would take a while to get the mouse cursor moving away form the screen again...

Though you could still add to mouse_pos with mouse_force*scale
...it's going to lag a bit no matter what you do. As long as your FPS isn't too low, you shouldn't notice any lag


xXxGuitar511
- Programmer

Moderated by  aztec, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1