Mouse visibility linked to player visibility

Started by GooseKult, Tue 21/05/2024 15:06:35

Previous topic - Next topic

GooseKult

Hello fellow forum frolickers

I am having a bit of bother here: 

I am making a first person AGS game, but when I change the players visibility to false, the mouse is also now invisible... I don't recall having this problem before and the only difference I can think of is that I am using 1920 x 1080 resolution as opposed to 320 x 200. I have looked for a solution on the forums but I may have missed it. If anyone has any suggestions on how to fix this I would be grateful.


Thanks

edit: I may have figured it out, the mouse sprites get removed when you change the resolution of the game? I re-added them back and it seems to be working now.
My games:
Echoes in the Static !
Midnight Madness at Moon Forest !
Carnival of Shadows - coming soon!
Aryeonia - in a couple months !

Crimson Wizard

#1
Quote from: GooseKult on Tue 21/05/2024 15:06:35I may have figured it out, the mouse sprites get removed when you change the resolution of the game?

No, that should not happen, and I cannot recall anyone reporting a similar thing.

In regards to mouse cursor becoming invisible, something that comes to mind: if you are using "walkto" cursor mode, and set room's ShowPlayerCharacter to false, then "walkto" mode is disabled and mouse switched to the next found cursor, which may be missing a sprite. This problem was found in BASS template, for example.

GooseKult

Quote from: Crimson Wizard on Tue 21/05/2024 15:52:47
Quote from: GooseKult on Tue 21/05/2024 15:06:35I may have figured it out, the mouse sprites get removed when you change the resolution of the game?

No, that should not happen, and I cannot recall anyone reporting a similar thing.

In regards to mouse cursor becoming invisible, something that comes to mind: if you are using "walkto" cursor mode, and set room's ShowPlayerCharacter to false, then "walkto" mode is disabled and mouse switched to the next found cursor, which may be missing a sprite. This problem was found in BASS template, for example.

That makes more sense, thanks for the reply.
My games:
Echoes in the Static !
Midnight Madness at Moon Forest !
Carnival of Shadows - coming soon!
Aryeonia - in a couple months !

SMF spam blocked by CleanTalk