MouseX/MouseY Input Lag??

BlitzMax Forums/BlitzMax Beginners Area/MouseX/MouseY Input Lag??

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

There was a lag issue for windowed mode dx that was fixed last week, syncmods for a fix.

Aeronux, are you using normal flip?

If your game does have intense render requirements you would be best reading the mouse events and not using mousex() mousey(). The following demonstrates (see EventX etc. for more details (equals location of mouse at time MouseDown or such actually occured)).

Framework brl.d3d7max2d
Import brl.eventqueue

Graphics 640,480

While True
	While PollEvent()
		DebugLog CurrentEvent.tostring()
	Wend
	Flip
Wend