Custom Cursor sometimes also shows default/regular cursor

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
sasquatchii
Miko-Class Veteran
Posts: 547
Joined: Fri Jul 04, 2014 7:48 am
Completed: A Day in the Life of a Slice of Bread
Deviantart: sasquatchix
Soundcloud: sasquatchii
itch: sasquatchii
Location: South Carolina
Contact:

Custom Cursor sometimes also shows default/regular cursor

#1 Post by sasquatchii » Thu Apr 04, 2019 8:46 pm

Hi,

I recently changed the cursor in my game to a custom cursor using this bit of code:

Code: Select all

define config.mouse = { 'default' : [ ('gui/cursor.png', 25, 24)] }
However, i noticed that sometimes in game (and I'm not sure what triggers it) the default cursor will also show up. I think sometimes this happens after I roll the mouse cursor over the quick menu buttons.

Here's what it looks like to give you an idea:

Image

Any thoughts/tips would be very much appreciated!
ImageImageImage

User avatar
isobellesophia
Miko-Class Veteran
Posts: 914
Joined: Mon Jan 07, 2019 2:55 am
Completed: Not yet, very busy on the main project.
Projects: Maddox and Friends 2020 aka (AI Teacher friend), Friendly Universities 2020-2021 (Soon)
Organization: Friendly Teachers series
Deviantart: SophBelle
itch: Child Creation
Location: Philippines, Mindanao
Contact:

Re: Custom Cursor sometimes also shows default/regular cursor

#2 Post by isobellesophia » Tue Apr 09, 2019 1:49 am

It works on mine, what is the 25, 24 for? How about 0,0? You can try it..
I am a friendly user, please respect and have a good day.



Main project i am currently working:
Image

Post Reply

Who is online

Users browsing this forum: Google [Bot], Imperf3kt, rayminator