Search found 3 matches

by Luminari
Sat Sep 23, 2023 7:44 am
Forum: Ren'Py Questions and Announcements
Topic: Check if left mouse button is being pressed in label or screen
Replies: 3
Views: 478

Re: Check if left mouse button is being pressed in label or screen

So you just randomly tried whatever came to mind and it didn't work? :D Sorry for saying that. Well... you cannot check if the mouse is pressed "on a label" - what does that even mean? A label is a point of time in your game, not some object on a screen. Maybe you meant "layer"?...
by Luminari
Sat Sep 23, 2023 7:29 am
Forum: Ren'Py Questions and Announcements
Topic: Check if left mouse button is being pressed in label or screen
Replies: 3
Views: 478

Check if left mouse button is being pressed in label or screen

Hello, I'm drawing a blank on checking whether the left mouse button is being pressed in a screen or label function. I've tried various variations of the following: renpy.mouse.get_mouse_button(1) renpy.input.mouse renpy.mouse.get_mouse_button_down(1) etc etc. I've tried looking online but could onl...
by Luminari
Mon Jul 17, 2023 1:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Detect mouse1 and mouse3 key press and mouse movement for minigame
Replies: 1
Views: 143

Detect mouse1 and mouse3 key press and mouse movement for minigame

Hello, I'm creating a small minigame lasting just a second or two where the user has to either click the correct mouse buttons or move the mouse up and down. The list of interactions I wish to implement: Click the left mouse button once (this is natively detected, but I'm putting it here for complet...