Input in Main 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
MiaLee
Newbie
Posts: 11
Joined: Tue Jul 20, 2010 5:25 am
Location: Toruń, Polska
Contact:

Input in Main Menu

#1 Post by MiaLee »

Is it possible?
I want to make a menu without buttons, something like Terminal in Linux. After writing "Start" the game will start, after typing "Quit" it will quit. Can I do something like that?

User avatar
Riverbird
Newbie
Posts: 21
Joined: Wed Feb 11, 2015 2:41 pm
Deviantart: RiverbirdAlpha
Contact:

Re: Input in Main Menu

#2 Post by Riverbird »

Yes but it can get rather complicated...parsers are a whole science unto themselves - it's one of those things that can snowball in complexity if your not careful.

For a menu in particular, you need to catch different capitalizations (unless you simply .upper() the input, which is what I tend to do.)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], Zodiac_Stories