Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Brad Newsom on Sun 13/04/2008 23:18:57

Title: Mouse Lagging in Game
Post by: Brad Newsom on Sun 13/04/2008 23:18:57
I'm currently running Vista 64bit Professional. (I know, its horrible for old games, but it would be nice if AGS could fix this).

Last week I was playing Kings Quest 3 again and realized that the mouse was lagging like a beotch. Basically if you move the mouse greatly, the mouse actually moves, but in a great distance. If you move the mouse a little. THe onscreen cursor doesn't move at all. Today, I just downloaded AGS to get back into Adventure Development once again. I tried out the new Demo, and realized the same problem was persistent in the game.

I don't know if this was brought up before, so please enlighten me once again. Ive been absent from the site for at least a year.

If need be, I can capture a video of my screen to demonstrate the problem.
Title: Re: Mouse Lagging in Game
Post by: Pumaman on Mon 14/04/2008 19:30:48
Does this only affect AGS games or does it affect other games as well? It could be that you have some sort of strange mouse driver installed that's messing with the acceleration.
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Mon 14/04/2008 23:13:25
It only effects AGS games. Ive been playing Scummvm Curse, Full Throttle, Space Quest 3, and Sinking Island. All in which have no problems.
Title: Re: Mouse Lagging in Game
Post by: Pumaman on Mon 14/04/2008 23:21:41
Do you have your mouse speed/acceleration turned up high in Windows? I think somebody else reported an issue whereby in AGS the mouse speed gets reset back to the default, which feels slow if you usually have it turned up.
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Tue 15/04/2008 07:41:11
No its on default settings. In order for it to move on screen, I need to move it a lot with the mouse. When I do move the mouse a lot, the cursor on screen sort of jumps around instead of moving smoothly.
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Thu 17/04/2008 03:00:38
*cries* Its hard to get a game done when the mouse lags. Anyone else with Vista 64 have mouse problems in 320x200 games?
Title: Re: Mouse Lagging in Game
Post by: Khris on Thu 17/04/2008 09:34:29
Try running the game in a window using directdraw & the x2 or x3 filter.
A 320-fullscreen on Vista is bound to cause problems... ::)
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Thu 17/04/2008 09:47:41
I always run my games in Window. I currently already use Directdraw 5 & 9 with every possible filter...
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Sat 19/04/2008 00:40:43
Okay, I can now confirm that if I run the game in 640x400 or 480, with Directdraw5 using the 2x filter+ in fullscreen, the game runs with a fluent mouse. The problem with doing this the fact it doesn't display the true resolution or representation of the game. Its immpossible to create a game I have envisioned nor play a game anyone else had made without having pixelation problems.


I'm seriously confused as to that I am the only one with this problem.

More over, If I play in window. The problem persists even with the filters and stuff. If I play the game in fullscreen in any other settings, the problem persists. It only works with fullscreen directdraw 5 w/ filters....why?
Title: Re: Mouse Lagging in Game
Post by: subspark on Sat 19/04/2008 06:13:57
I think this is another good reason to note that Chris said a while back that he plans to upgrade the resolution system for a future release. Hopefully 3.02. Surely we don't want our games run in a resolution other than the indended one. 640x480 with 2x filter in my case. Ew! Look at those screwy pixels. ;)
Time will see this through I beleive. Just thought I'd cheer you up.

Cheers,
Paul.
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Sat 19/04/2008 08:59:36
I'm a fool for Enlarged Pixels. ;) haha
Title: Re: Mouse Lagging in Game
Post by: Pumaman on Sat 19/04/2008 12:17:36
It's possible that this is an issue specific to Vista x64, because I don't know if anyone else here is running it. But it'd be a very strange problem to have, I don't see why the mouse would behave differently on the 64-bit version.

Sorry that I can't really suggest anything, but it's not a problem that I've experienced or seen reported before.

QuoteI think this is another good reason to note that Chris said a while back that he plans to upgrade the resolution system for a future release

I doubt that would make any difference. It doens't sound like the AGS co-ordinate system has anything to do with the problem being reported here.
Title: Re: Mouse Lagging in Game
Post by: subspark on Mon 21/04/2008 04:17:01
It may have been a bit obscure but I was responding to this comment:
QuoteThe problem with doing this the fact it doesn't display the true resolution or representation of the game

It always makes me excited to know you are planning to upgrade the resolution system.

Cheers,
Paul.
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Thu 22/05/2008 00:57:31
I can now confirm that there is one other game with this problem. Its Arx Fatalis. The mouse sort of stops if you move it to slowly, but if you move it quickly it will move.

Its like moving a heavy boulder. Im currently looking into the problem and seeing if there is a solution for the game that can help out AGS.

EDIT:

Drumroll please!

The problem was!...........................Mouse Acceleration!

Certain games have this problem, basically it intensifies the mouse acceleration, whereas if you have setpoint for your logitech mouse, then have acceleration on high. It then does that problem 10 times over in game.

This is not a vista problem, but a mouse acceleration problem. Weird how no one had this problem before.

With that said, it is best that this is fixed in AGS. Arx Fatalis is an old game, so obviously that can be fixed.
Title: Re: Mouse Lagging in Game
Post by: Pumaman on Thu 22/05/2008 19:59:16
Interesting. What is this "setpoint" you speak of and what does it do?
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Thu 22/05/2008 23:19:26
It changes the settings for the mouse. Its a logitech software that modifies the speed, acceleration, button macros, etc. It usually is for all of logitech's devices. So I'm pretty sure its in common use.

I switched out mices, and the problem still occurs, so it is definitely a mouse acceleration problem.

For more information (http://en.wikipedia.org/wiki/SetPoint_(software))
Title: Re: Mouse Lagging in Game
Post by: Pumaman on Fri 23/05/2008 19:47:30
So it seems to be related to Logitech's software?

I'm not sure whether I can, or should, modify AGS to work around that -- if the software is interfering with the mouse acceleration in DirectInput then I don't know if there's much I can do.
Title: Re: Mouse Lagging in Game
Post by: Brad Newsom on Sat 24/05/2008 02:44:20
Quote from: Pumaman on Fri 23/05/2008 19:47:30
So it seems to be related to Logitech's software?

I'm not sure whether I can, or should, modify AGS to work around that -- if the software is interfering with the mouse acceleration in DirectInput then I don't know if there's much I can do.

Well if that's the case, then Ill have to live with no mouse acceleration. In this case, I'd prefer to be playing AGS games can busy fixing them. haha

Thanks so much anyways.