Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: lemmy101 on Sun 28/01/2007 23:20:57

Title: Plugin API: SetMousePosition
Post by: lemmy101 on Sun 28/01/2007 23:20:57
Hiya CJ,

Thanks again for adding this call in for our DirectX thingamajoob. However, we have a slight issue arising from how it works.

Namely that it actually sets the windows cursor to that position in windowed mode, meaning that if it is in windowed mode, the mouse cursor jumps off the DX window to the AGS window (even if the AGS window is hidden)

Not sure if it would be easy or not, depending on how the mouse code is implemented, but being able to set the stored mouse position internal to AGS after it has read the windows cursor, to allow both to be at different points on the screen if we were overriding it every frame.

Again, I appreciate it's quite a specialised request, so expect it to be v. low priority if at all :D Or at the very least hopefully something you'd consider for 2.8? :)

thanks again!

lemmy
Title: Re: Plugin API: SetMousePosition
Post by: Pumaman on Mon 29/01/2007 20:29:03
Ok, I see what you're asking, I'll have to think it over.
Title: Re: Plugin API: SetMousePosition
Post by: lemmy101 on Mon 29/01/2007 21:21:37
Cheers CJ! :)