Need to add a dedication 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.
-
johnkim111
- Newbie
- Posts: 10
- Joined: Fri Dec 25, 2015 4:03 pm
- Contact:
Need to add a dedication page
I want to add a main menu button leading to a dedication page.
In the dedication page, it could show only one image and get back to the title when clicked once.
Is it possible to do that?
Happy holidays!
In the dedication page, it could show only one image and get back to the title when clicked once.
Is it possible to do that?
Happy holidays!
- Kia
- Eileen-Class Veteran
- Posts: 1011
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: Need to add a dedication page
use for a butoon to jump to a custom made menu and for your menu
you can copy this code in your screens and rename/modify things to your liking since it's ready and working
Code: Select all
action ShowMenu("extras")Code: Select all
screen extras:
tag menu
window:
style "gm_root"
text "There's nothing extra in demo version." xalign 0.5 yalign 0.5you can copy this code in your screens and rename/modify things to your liking since it's ready and working
-
johnkim111
- Newbie
- Posts: 10
- Joined: Fri Dec 25, 2015 4:03 pm
- Contact:
Re: Need to add a dedication page
Thanks. It worked!
How do I return to title page when clicked once on the extra pg?
How do I return to title page when clicked once on the extra pg?
Kia wrote:usefor a butoon to jump to a custom made menu andCode: Select all
action ShowMenu("extras")for your menuCode: Select all
screen extras: tag menu window: style "gm_root" text "There's nothing extra in demo version." xalign 0.5 yalign 0.5
you can copy this code in your screens and rename/modify things to your liking since it's ready and working
- chocojax
- Miko-Class Veteran
- Posts: 702
- Joined: Sun Oct 25, 2009 11:27 am
- Completed: http://art.jphi.me/projects
- Projects: Umbra, Familiarity, Maleficent Justice
- Organization: spaceNote
- Tumblr: chocojax
- Github: jenniferphi
- Location: California
- Contact:
Re: Need to add a dedication page
Add this:
(I'm assuming you're using the default renpy layout right now. If you're not, replace "navigation" with whatever your menu screen is.)
Code: Select all
use navigation-
johnkim111
- Newbie
- Posts: 10
- Joined: Fri Dec 25, 2015 4:03 pm
- Contact:
Re: Need to add a dedication page
YES! It worked! Thanks.
One last question. How do I replace (text "There's nothing extra in demo version.") to an image?
One last question. How do I replace (text "There's nothing extra in demo version.") to an image?
chocojax wrote:Add this:(I'm assuming you're using the default renpy layout right now. If you're not, replace "navigation" with whatever your menu screen is.)Code: Select all
use navigation
- Kia
- Eileen-Class Veteran
- Posts: 1011
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: Need to add a dedication page
there is a whole page of information you'll going to need sooner or later. http://renpy.org/doc/html/screens.html
-
johnkim111
- Newbie
- Posts: 10
- Joined: Fri Dec 25, 2015 4:03 pm
- Contact:
Re: Need to add a dedication page
Okay my picture is showing now, but menu button is invisible.
screen extras:
tag menu
use navigation
use file_picker
window:
style "gm_root"
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton _("Return") action Return()
image "extrapage.png."
screen extras:
tag menu
use navigation
use file_picker
window:
style "gm_root"
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton _("Return") action Return()
image "extrapage.png."
- Kia
- Eileen-Class Veteran
- Posts: 1011
- Joined: Fri Aug 01, 2014 7:49 am
- Deviantart: KiaAzad
- Discord: Kia#6810
- Contact:
Re: Need to add a dedication page
your image covered it so does the window, put it in a lower line than the image to show on top
-
johnkim111
- Newbie
- Posts: 10
- Joined: Fri Dec 25, 2015 4:03 pm
- Contact:
Re: Need to add a dedication page
Thank you. It worked!
Who is online
Users browsing this forum: Bing [Bot], Google [Bot]