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.
-
TheEndIsNearUs
- Newbie
- Posts: 1
- Joined: Fri Nov 06, 2015 1:21 am
- Tumblr: TheEndIsNearUs
- Deviantart: TheEndIsNearUs
- Soundcloud: TheEndIsNearUs
-
Contact:
#1
Post
by TheEndIsNearUs » Fri Nov 06, 2015 1:37 am
Is there a way to have the choice menu appear inside the textbox instead of in center screen? Because my game is rather choice-heavy, and I don't like how the menus block the character sprites.
Basically I'm looking for something like this (sorry for crappy doodle):

I tried to figure it out, and then I tried to look it up, but I can't seem to find anything other than changing the button backgrounds. There's a chance I'm just missing something obvious, but I figured it doesn't hurt to ask.
-
mobychan
- Veteran
- Posts: 275
- Joined: Fri Apr 24, 2015 6:31 am
- Projects: The Chosen - Sakura Pink & Gentian Blue
- Organization: Foresoft
- Location: Germany
-
Contact:
#2
Post
by mobychan » Fri Nov 06, 2015 3:17 am
You have to make changes to the choice screen(in screens.rpy) just positioning the buttons so they fit in the textbox should work
-
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:
#3
Post
by xavimat » Fri Nov 06, 2015 11:17 am
The simplest way is to use the "a" tag: see the doc:
http://www.renpy.org/doc/html/text.html#text-tag-a
(Maybe it's not the prettiest way...)
EDIT: I'm not sure if the effect is the same, because the "a" tag calls in new context...
EDIT2: As
mobychan has said, try changing the position of the choice screen:
in screens.rpy:
Code: Select all
screen choice(items):
window:
style "menu_window"
xalign 0.5
yalign 0.95 # <-- this first was 0.5
-
SwedishJazz
- Regular
- Posts: 76
- Joined: Sun Jul 12, 2015 9:21 pm
- Tumblr: zeuswares
- Location: Kraków, Poland
-
Contact:
#4
Post
by SwedishJazz » Fri Nov 06, 2015 4:25 pm
xavimat wrote:The simplest way is to use the "a" tag: see the doc:
http://www.renpy.org/doc/html/text.html#text-tag-a
(Maybe it's not the prettiest way...)
EDIT: I'm not sure if the effect is the same, because the "a" tag calls in new context...
EDIT2: As
mobychan has said, try changing the position of the choice screen:
in screens.rpy:
Code: Select all
screen choice(items):
window:
style "menu_window"
xalign 0.5
yalign 0.95 # <-- this first was 0.5
That hides the text box and side images, though:
(throwing in my two cents because I'd like to know how to do it, too!)
-
Donmai
- Eileen-Class Veteran
- Posts: 1919
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
-
Contact:
#5
Post
by Donmai » Fri Nov 06, 2015 8:51 pm
SwedishJazz, the choice menu won't replace the dialogue window if you just include a line of dialogue with the question on the menu label. Anyway, I believe the link below may have a better answer to TheEndIsNearUs' question:
http://lemmasoft.renai.us/forums/viewto ... 5&p=292522
Users browsing this forum: Bing [Bot]