Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Ah, that's a bummer. 

I'm having issues where the time-out on the mouse causes players who aren't moving the mouse to also not be able to click to re-activate the mouse (causing issues in long dialogue where the mouse doesn't need to move, or events where the player holds down the mouse for a long time in one place).  It creates odd situations where the player will be holding down the mouse to continuously mine a rock, but the mouse will hide part-way through mining it and the mining will stop, causing them to have to move the mouse around while mining if they don't want it to randomly stop.

Apart from just disabling the hide timer (or setting it to a super long time), a solution to this would have been to make a more robust system for timing out the mouse rather than just waiting X seconds. 

My plan was to trigger the mouse hide on map load using this command. This way, players using gamepad/keyboard would never even see the mouse as it would hide immediately, while mouse users would never have the mouse hidden while they are doing something as it would activate once they move it and then stay visible until they change maps. It solves a ton of problems for certain games that require very little mouse movement but lots of clicking/holding. 

Currently, I can't do anything like this unless I build my own entire system for tracking mouse movement and disabling/re-enabling the mouse with the current plugin commands, but I find this comes with a lot of other problems and often causes annoying failed clicks when done via eventing. 

So basically, you want to only hide mouse visually, right?

Yes, but still show it again when the cursor is moved

Then I'll just add a plugin parameter that you can choose either to only hide the cursor visually or also disable its functionality. I'll notify you when the update is up.

Amazing, thanks!