Image Gallery: Disable Click to Advance
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.
- that_wannabe_cat
- Newbie
- Posts: 9
- Joined: Mon Oct 21, 2019 5:37 pm
- Completed: My Vampire Girlfriend, Thea is Drowning, Dear Genny, The Puppet Whisperer (Programming)
- Projects: Merely a Regret
- itch: that-wannabe-cat
- Contact:
Image Gallery: Disable Click to Advance
Hello.
I've been experimenting around with the image gallery code found https://www.renpy.org/doc/html/rooms.html. It seems like the image gallery will advance through images on a mouse click, and will even leave the image if you click next or previous at the end.
Is there a way to disable these two features or will I have to create my own custom gallery code?
I've been experimenting around with the image gallery code found https://www.renpy.org/doc/html/rooms.html. It seems like the image gallery will advance through images on a mouse click, and will even leave the image if you click next or previous at the end.
Is there a way to disable these two features or will I have to create my own custom gallery code?
Re: Image Gallery: Disable Click to Advance
This behavior is be design, so you’re probably going to have to create your own code.
How were you planning on having the player advance to the next image, or leave the gallery?
How were you planning on having the player advance to the next image, or leave the gallery?
- that_wannabe_cat
- Newbie
- Posts: 9
- Joined: Mon Oct 21, 2019 5:37 pm
- Completed: My Vampire Girlfriend, Thea is Drowning, Dear Genny, The Puppet Whisperer (Programming)
- Projects: Merely a Regret
- itch: that-wannabe-cat
- Contact:
Re: Image Gallery: Disable Click to Advance
Navigation buttons, like the ones provided by the gallery_navigation screen. Click exit/return to leave, arrows to advance left and right etc.
Oh well thank you for the answer. Customization for it would've been nice.
Oh well thank you for the answer. Customization for it would've been nice.
Re: Image Gallery: Disable Click to Advance
Well, it’s possible you could take code for the built-in gallery screen and modify it to your needs. (Should be in screens.rpy) You can suppress default key function by adding a “key” statement to a screen.
- that_wannabe_cat
- Newbie
- Posts: 9
- Joined: Mon Oct 21, 2019 5:37 pm
- Completed: My Vampire Girlfriend, Thea is Drowning, Dear Genny, The Puppet Whisperer (Programming)
- Projects: Merely a Regret
- itch: that-wannabe-cat
- Contact:
Re: Image Gallery: Disable Click to Advance
Huh. I'll look into that. Thank you!
Who is online
Users browsing this forum: CharlieFuu69, Google [Bot]