Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Amir on Mon 11/03/2019 17:02:29

Title: Stopping mouse cursor animation
Post by: Amir on Mon 11/03/2019 17:02:29
Hello,

any ideas how i can stop the animation of the mouse cursor on hotspots, objects and charackters during a dialog? 

what i tried is: mouse.ChangeModeView(eModeInteract, -1);  , mouse.Mode = eModeUsermode1 ,
if (IsGamePaused()) mouse.Mode = eModeUsermode1;  and also somethings like that
if (gDialogbox == true)
{
  mouse.Mode = eModeUsermode1;
}

But the mouse cursor continues to animate. It animates in the dialog area and outside on hotspots, objects and charackters.
(https://i.ibb.co/WvYmxDc/Cursor.jpg) (https://ibb.co/WvYmxDc)

Some information:

v3.4.1
32-bit (true-colour)
gDialogbox visibility Pause game when shown
Run game loops while dialog options are displayed
Title: Re: Stopping mouse cursor animation
Post by: Cassiebsg on Mon 11/03/2019 17:18:41
Seems to me that the hotspot mouse code might be in rep.exe_always. If so locate it and move it to rep.exe.
Title: Re: Stopping mouse cursor animation
Post by: Amir on Mon 11/03/2019 18:16:29
Quote from: Cassiebsg on Mon 11/03/2019 17:18:41
Seems to me that the hotspot mouse code might be in rep.exe_always. If so locate it and move it to rep.exe.

No, its empty in rep.exe_always  :smiley:
Title: Re: Stopping mouse cursor animation
Post by: Amir on Mon 11/03/2019 18:47:46
Sorry guys, i figured it out  :-\  the problem was because of Mouse cursor Pointer. It was animated, i set it false and it doesn't animate more  :smiley: sorry again.