Showing game menus without dialogue box

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
TellerFarsight
Veteran
Posts: 230
Joined: Sun Jun 04, 2017 8:09 pm
Projects: Vora, Secrets Untold
Location: Toronto, ON
Contact:

Showing game menus without dialogue box

#1 Post by TellerFarsight »

right now in my script, it says

Code: Select all

show screen whatever_screen

return
where whatever_screen is a game menu with a bunch of buttons on it, and clicking one of them advances the story. However, it's not taking the screen as something that it should stop for, and it just goes on to returning to the main menu

Code: Select all

show screen whatever_screen
"Gibberish."
return
If I put a piece of dialogue here, it stops but then there's a big old textbox in front of everything. How are menus like this generally done? It's supposed to be like a choice menu, with a bunch of locations listed for the player to go on to.
Current Project: Vora
Also Check Out: Devil Survivor [Reverse-Engineered]

User avatar
Divona
Miko-Class Veteran
Posts: 678
Joined: Sun Jun 05, 2016 8:29 pm
Completed: The Falconers: Moonlight
Organization: Bionic Penguin
itch: bionicpenguin
Contact:

Re: Showing game menus without dialogue box

#2 Post by Divona »

See Call Screen.

Code: Select all

call screen whatever_screen

return
Completed:
Image

User avatar
TellerFarsight
Veteran
Posts: 230
Joined: Sun Jun 04, 2017 8:09 pm
Projects: Vora, Secrets Untold
Location: Toronto, ON
Contact:

Re: Showing game menus without dialogue box

#3 Post by TellerFarsight »

That worked very well, thank you!

Code: Select all

    call screen location_list with dissolve

    return
However I tried to dissolve it in like it said in the documentation, and it returned with this error:

File "game/script.rpy", line 235: end of line expected.
call screen location_list -->with dissolve
Current Project: Vora
Also Check Out: Devil Survivor [Reverse-Engineered]

Post Reply

Who is online

Users browsing this forum: No registered users