Wintermute Engine > Fixed

Bug in mouse events depending on desktop resolution / full screen mode

<< < (3/3)

Mnemonic:
I fixed the bug and also a similar bug in Game.LockMouseRect().

HelLRaiseR:
Peace and Love  ::thumbup  ;) ;)   ;D

Thanks Mnemonic

Jose:
Great work Mnemonic!!! Thanks a lot!!!

Jose:

--- Quote from: HelLRaiseR on August 31, 2009, 03:17:09 PM ---I think that there is a bug in the mouse events depending of the resolution of the game.

When the desktop has a resolution greater than the game and the player uses the options "Use desktop resolution" or "Maintain aspect ratio", the events "LeftRelease" and "LeftClick" doesn't is detect. This bug only occurs in a full screen mode, in windowed mode the game runs correctly.

I have detected this bug when I've adapt the configuration window of the "Fred" demo to my own game and Darky ask me about the slide bars control. Jose has been tested the bug and he can say more details about the testings.

I know that Jose has tried to disable the option "Use desktop resolution", but this not solve the problem becouse the option "Maintain aspect ratios can't be disabled". Also, Jose tried to propagate the events, and use some methods like LockMouseRect and others to create a workaround to solve this, but he doesn't can.

The Fred demo source is here:  http://www.algarinejoven.com/wintermute/ejemplos/FredSources.exe , in this project you can test the bug:

- Your resolution must be greater than 800 x 600 (Game resolution)
- Run the project.
- Choose Use desktop resolution or Maintain aspect ratio (Used desktop resolution can be marked to yes in the Project manager).
- Don't choose "run in window"
- When the game is running press ESC key
- Choose "Opciones" in the option menu.
- Try to change any sound volume
- Uack! The game is hanged


--- End quote ---

It seems to work perfect with new 1.8.11 version. Great work as always Mnemonic! Thanks a lot for your effort and support!

Navigation

[0] Message Index

[*] Previous page

Go to full version