Game without menu?

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
fizzhog
Newbie
Posts: 13
Joined: Wed Apr 27, 2016 6:56 am
Contact:

Game without menu?

#1 Post by fizzhog » Sat Feb 03, 2018 1:20 pm

Is it possible to start a Ren'py game immediately? I.e. without the opening menu, as if the player had already clicked 'Start'.
gamelike things for persons

http://www.fizzhog.com

User avatar
xavimat
Eileen-Class Veteran
Posts: 1458
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: pilgrimcreations
Location: Spain
Contact:

Re: Game without menu?

#2 Post by xavimat » Sat Feb 03, 2018 1:43 pm

Very possible:
main_menu
If it exists, this label is called instead of the main menu. If it returns, Ren'Py will start the game at the start label. For example, the following will immediately start the game without displaying the main menu.
https://www.renpy.org/doc/html/label.ht ... ial-labels

Code: Select all

label main_menu:
    return
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
fizzhog
Newbie
Posts: 13
Joined: Wed Apr 27, 2016 6:56 am
Contact:

Re: Game without menu?

#3 Post by fizzhog » Sat Feb 03, 2018 1:53 pm

Thanks
gamelike things for persons

http://www.fizzhog.com

Post Reply

Who is online

Users browsing this forum: Google [Bot]