Credits and text after menu, how?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Post Reply
Message
Author
User avatar
Biotikos
Regular
Posts: 33
Joined: Sat Jan 19, 2013 4:50 pm
Projects: Eien no Mirai
Organization: Biotikos Development
Skype: aleatory-22
Contact:

Credits and text after menu, how?

#1 Post by Biotikos »

Hello, community.
I've recently started to polish my game and therefore, before releasing a beta that I will soon launch in Tenerife -an island in Spain, Canary Islands-, I wanted to place logos and text before the main menu, but I have no clue on how to do it.

Could you guys help me out? Thanks

Valmoer
Regular
Posts: 53
Joined: Sat Feb 04, 2012 9:46 pm
Contact:

Re: Credits and text after menu, how?

#2 Post by Valmoer »

Hello Biotikos!

You're looking for the special Ren'py labels : http://www.renpy.org/doc/html/label.html#special-labels.
In particular, the splashscreen label should be of use to you.

User avatar
Biotikos
Regular
Posts: 33
Joined: Sat Jan 19, 2013 4:50 pm
Projects: Eien no Mirai
Organization: Biotikos Development
Skype: aleatory-22
Contact:

Re: Credits and text after menu, how?

#3 Post by Biotikos »

I noticed, it my fault because I didn't search before asking here.

Sorry, and thank you very much ~
But I have a doubt that I don't see anywhere - when I place a image, it appears on the bottom instead of centered, is it because I have specified "style.default.layout = subtitle? ;_;

User avatar
chocoberrie
Veteran
Posts: 254
Joined: Wed Jun 19, 2013 10:34 pm
Projects: Marshmallow Days
Contact:

Re: Credits and text after menu, how?

#4 Post by chocoberrie »

I wrote up a tutorial for how to make a splashscreen here. Hope that helps :)

User avatar
Biotikos
Regular
Posts: 33
Joined: Sat Jan 19, 2013 4:50 pm
Projects: Eien no Mirai
Organization: Biotikos Development
Skype: aleatory-22
Contact:

Re: Credits and text after menu, how?

#5 Post by Biotikos »

Still having trobules with the position of the image... it won't show in the center, and statements such as "at center" won't work also...

Anyway thanks, I followed your handbook in Tumblr 3:

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Credits and text after menu, how?

#6 Post by PyTom »

Perhaps you want:

Code: Select all

show logo at truecenter
[code]

That will center it vertically and horizontally.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Biotikos
Regular
Posts: 33
Joined: Sat Jan 19, 2013 4:50 pm
Projects: Eien no Mirai
Organization: Biotikos Development
Skype: aleatory-22
Contact:

Re: Credits and text after menu, how?

#7 Post by Biotikos »

It throws me

Code: Select all

File "game/script.rpy", line 46: end of line expected.
    show logo with dissolve at truecenter
               
Anyway what I did was to calculate the difference and add it to the image, so it now appears at the centre, no big deal x)
Thanks anyway, I don't know if I made a mistake anywhere or if it is a bug? -i don't think so-

User avatar
PyTom
Ren'Py Creator
Posts: 16088
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Credits and text after menu, how?

#8 Post by PyTom »

It has to go in the other order:

Code: Select all

show logo at truecenter with dissolve 
It's best to write it as two lines:

Code: Select all

show logo at truecenter 
with dissolve 
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
Biotikos
Regular
Posts: 33
Joined: Sat Jan 19, 2013 4:50 pm
Projects: Eien no Mirai
Organization: Biotikos Development
Skype: aleatory-22
Contact:

Re: Credits and text after menu, how?

#9 Post by Biotikos »

Oh... I have to write it in another line... Now it works
Thanks for your help!

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Ocelot