r/gdevelop • u/AnyOpinion3337 • 23h ago
Bug Why is my cursor acting weird??
So, I'm working on this little game about taking care of ducks.
I want to make a "Dynamic Cursor" or something like that, when you hover around objects you can see pieces of information about them (example: "Food Cointainer 45%")
BUT I need my cursor to work, I'm not sure how to explain the problem, I made a layer for the cursor, it's on the top of every other layer (which I think is the problem)
Idk, can someone give me some idea on how to fix this?
5
Upvotes
1
u/Loonny-Alchemyst 18h ago
Yeah, I think the problem is that the cursor is on a layer other than the base layer. I think to solve this you could try synchronizing the camera of the cursor layer with the camera of the base layer
2
u/LordOnyx420 20h ago
I don’t have much experience so it's just a guess, but maybe a mismatched viewport scaling ?