Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Hide Default Mouse?

I'm using Glitchfinder's mouse system and an evented mouse display system that uses a custom mouse graphic. When I move the mouse in-game, the default mouse displays as well as the custom one.

How do I hide the default mouse's graphic while it's inside of the game window?

Any help would be great :3
 
Now, just for kicks, go to fullscreen and press F1. It's impossible to make a script detect F1 before the RGSS Player, so that little window will always pop up before you can make the mouse reappear.
 
It seems to work fine for me, but .I've had issues with full screen for a while now; Alt+Enter simply fills the area around the game screen with black. Would it be an issue for someone who didn't have this problem?
 
@moogles: It doesn't work for you. What Glitch implies is that while you can bring up the F1 window normally, you can't see your cursor while hovering over it, forcing you to guess it's position. The second sentence says it's impossible to counter-act by scripting. However, I don't see how this is any related to fullscreen issues.
 
Well, as for fullscreen, I guess it's resolution-dependant... as in it scales the screen according to the maximum exact resolution (default being 640x480 would mean it's be shown as 1280x960 on any screen greater or larger than that, with black boarders around), however I didn't test this at all... all I can say is I got the black frame as well.

And no, there's no workaround for this other than maybe programming an entirely new RGSS Player (which is theoretically possible... I wonder if anyone tried...). Glitch already stated the reason: Before you can check for the F1 key being pressed (to show the cursor again), the RGSS Player checks for it and will therefore show the F1 window before your 'show the cursor' code will be executed. Also, I don't think there's a way to check wheather the window's been closed, meaning you'd have no way to determine when to dispose the cursor again.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top