Hi,
Can someone help with this thing? I've created a button in the gameplay UI for player status but I don't know how to create and make the proper link to the page where the user will be redirected for stats view.
For creating the button in UI I used in the screens.rpy:
screen button:
vbox xalign 1.0 yalign 1.0:
imagebutton:
idle "button_idle.png"
hover "button_hover.png"
action ui.callsinnewcontext("aff_screen_label").
Thank you in advance!
Ren'Py - Creating a new UI page
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 Oyajicon
- Regular
- Posts: 33
- Joined: Sun May 29, 2016 7:31 pm
- Location: The Pillars of Nosgoth
- Contact:
Re: Ren'Py - Creating a new UI page
I'd be interested in learning this, too. I'm working on a game where activating certain story flags unlocks "extra scenes" that can be viewed/played from a sub-menu on the main menu. The problem is, I'm not really sure how to add an additional page to the title screen.
Here's a quick and terrible mockup I made:
Here's a quick and terrible mockup I made:
Who is online
Users browsing this forum: fufuffiero, Semrush [Bot], Sugar_and_rice