[Solved] Buttons on screen are clickable through other screen.
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.
- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
[Solved] Buttons on screen are clickable through other screen.
I'm calling a game menu from screen using imagebutton with action ShowMenu. However, when game menu appears, the buttons from previous screen are still hoverable and clickable. What's wrong?
Last edited by K-PSZH on Sun May 22, 2022 9:49 am, edited 1 time in total.
Missing/forgetting a lot of simplest things and ask about them here.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3636
- Joined: Mon Dec 14, 2015 5:05 am
- Location: Your monitor
- Contact:
Re: Buttons on screen are clickable through other screen.
do you have tag menu inside the screen you are calling?
Code: Select all
screen myScreen():
tag menu
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Twitter
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Free Android GUI - Updated occasionally
Imperf3kt Blackjack - a WIP blackjack game for Android made using Ren'Py
- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
Re: Buttons on screen are clickable through other screen.
Yes, I do
Missing/forgetting a lot of simplest things and ask about them here.
Re: Buttons on screen are clickable through other screen.
Try modal in your menu screen.
-
rayminator
- Miko-Class Veteran
- Posts: 754
- Joined: Fri Feb 09, 2018 12:05 am
- Location: Canada
- Contact:
Re: Buttons on screen are clickable through other screen.
you use model True like so
I would suggest to start learning how to code by reading the document & watching some video
https://www.renpy.org/doc/html/
https://www.youtube.com/
Code: Select all
screen screen_one:
model True
#yours screen codes go herehttps://www.renpy.org/doc/html/
https://www.youtube.com/
- K-PSZH
- Regular
- Posts: 33
- Joined: Sun May 15, 2022 10:34 am
- Soundcloud: K-PSZH
- Location: Russia
- Contact:
Re: Buttons on screen are clickable through other screen.
Code: Select all
I'm sorry, but errors were detected in your script. Please correct the
errors listed below, and try again.
File "game/screens.rpy", line 722: u'model' is not a keyword argument or valid child for the screen statement.
model True
^
Missing/forgetting a lot of simplest things and ask about them here.
- Rex Nihilo
- Newbie
- Posts: 4
- Joined: Sat Jan 18, 2020 10:20 am
- Projects: Dig My Way
- Tumblr: nihilorex
- Deviantart: nihilorex
- Github: rex-nihilo
- Location: Third Stone from the Sun
- Contact:
Re: Buttons on screen are clickable through other screen.
Use :
modal True
not :
model True
modal True
not :
model True
Who is online
Users browsing this forum: mold.FF