Disappear, oh mouse cursor!
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Disappear, oh mouse cursor!
Something very simple but that, I notice, has annoyed me since day one : the cursor. When watching videos, I like the fact it automatically disappears after a while. And even then, I usually put it in the lower right corner. Since the border or it is black and only 1 pixel shows... you actually don't see it at all.
Ren'Py has a cursor with reverse colors (never understood why) which makes the border white and painfully visible, even when in the lower right corner.
So the question is : as long as the mouse isn't moved, could it end up disappearing after 5 or 10 seconds so people using the keyboard or joystick aren't forced to push it away? Or... could the colors be reversed? ^^;...
(this is a player's plea, not a maker's one btw)
Ren'Py has a cursor with reverse colors (never understood why) which makes the border white and painfully visible, even when in the lower right corner.
So the question is : as long as the mouse isn't moved, could it end up disappearing after 5 or 10 seconds so people using the keyboard or joystick aren't forced to push it away? Or... could the colors be reversed? ^^;...
(this is a player's plea, not a maker's one btw)
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
I'll think about it, but it probably won't be in 6.2. What you're seeing is the SDL default cursor, which I don't change.
I don't think hiding after 5 seconds would be very easy, as when playing a game, you usually click at least once every 5 seconds.
I don't think hiding after 5 seconds would be very easy, as when playing a game, you usually click at least once every 5 seconds.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
For one you'll still see a 1px border.
And the player will have to move the cursor from the corner of the screen.
So a mouse hide function can be a nice treat for joystickers.
Come to think of it, it may be a good idea to throw in custom cursor support as well.
On a side note... does Ren'Py support cursor snapping?
...wait, VNs don't need that.
And the player will have to move the cursor from the corner of the screen.
So a mouse hide function can be a nice treat for joystickers.
Come to think of it, it may be a good idea to throw in custom cursor support as well.
On a side note... does Ren'Py support cursor snapping?
...wait, VNs don't need that.
No, I don't like Ren'ai games.
But Ren'Py is not only another Ren'ai game Engine.
But Ren'Py is not only another Ren'ai game Engine.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
I'm considering it, but I don't have a good idea of how it should work. I can't come up with up with a simple rule for when the mouse should be shown and hidden, one that takes into account menus, doesn't require preferences, and doesn't overly burden the game-maker.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 701
- Joined: Sat May 26, 2007 3:41 pm
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Okay, I just changed Ren'Py so that the mouse is hidden if it isn't moved for 30 seconds. I think 10 seconds is a bit too slow for a slow reader, so I upped it to 30. (I wouldn't like it if the mouse kept popping in and out while I was reading, so I tried to pick a time that's longer then the user would spend on a single screen, without clicking.)
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
-
- Miko-Class Veteran
- Posts: 733
- Joined: Fri Jul 07, 2006 9:58 pm
- Projects: Suna to Majo
- Location: France
- Contact:
I guess it might be selfish but well... I'm really not good while trying to mess with the UI and styles.
So here I come, with these questions, again and again...
Sorry for being somehow annoying ^^;;
Would it be possible to set a specific time where the mouse cursor wouldn't be shown for a scene ?
Example: An automated scene is being played, like a small movie clip (duration is about 15 seconds at most), and the cursor would somehow spoil the comical atmosphere. (hehe when I'll release my game expect a big laugh)
Would it be possible then to hide the cursor at specific moments (only to set it to hidden by default, then if the player moves the mouse cursor, it'll simply enter the usual 30 seconds process) ?
Example: The splashscreen is being played and the mouse cursor is set to hidden.
And here's the last question: would it be possible to create some kind of transition for mouse "ninja mode" (disappear o mouse~~) ?
So far, the modifications are really getting me excited and I'm coming with new comical situations (thanks PyTom~~)
So here I come, with these questions, again and again...
Sorry for being somehow annoying ^^;;
Would it be possible to set a specific time where the mouse cursor wouldn't be shown for a scene ?
Example: An automated scene is being played, like a small movie clip (duration is about 15 seconds at most), and the cursor would somehow spoil the comical atmosphere. (hehe when I'll release my game expect a big laugh)
Would it be possible then to hide the cursor at specific moments (only to set it to hidden by default, then if the player moves the mouse cursor, it'll simply enter the usual 30 seconds process) ?
Example: The splashscreen is being played and the mouse cursor is set to hidden.
And here's the last question: would it be possible to create some kind of transition for mouse "ninja mode" (disappear o mouse~~) ?
So far, the modifications are really getting me excited and I'm coming with new comical situations (thanks PyTom~~)
Re: Disappear, oh mouse cursor!
I'm resurrecting this again with the same question : I just made a test with a video in the splashscreen label and... having the mouse cursor right in the middle of the video kinda spoils the fun
Who is online
Users browsing this forum: Yone28