How u hide text box and edit text location

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
Kyuron
Newbie
Posts: 2
Joined: Mon Jun 15, 2015 8:21 am
Contact:

How u hide text box and edit text location

#1 Post by Kyuron » Sat Jun 20, 2015 7:42 am

here my question
-how to hide text box and show it back
-edit text location
-2 text appear in the difference location

i want to make game like this
http://i.ytimg.com/vi/f7VVxm1qbNE/maxresdefault.jpg

the story will be short,so i dont think it need many option
at menu,can i disable 'load game'(which mean when in game,the save button will not appear) and 'help'?

sorry for my bad english,this is my first forum post

User avatar
kitsalai
Regular
Posts: 65
Joined: Wed Jan 08, 2014 11:05 pm
Projects: Imaginatum
Location: US
Contact:

Re: How u hide text box and edit text location

#2 Post by kitsalai » Sat Jun 20, 2015 3:04 pm

Oh man I remember seeing that webcomic. Scary stuff.

To answer your questions:
Look into NVL. Also, xavimat has some good code on how to stagger the text locations so here's a link: http://lemmasoft.renai.us/forums/viewto ... 47#p363081

To remove save/load/help, look into screens.rpy. You can remove them from the navigation.

User avatar
SinnyROM
Regular
Posts: 166
Joined: Mon Jul 08, 2013 12:25 am
Projects: Blue Birth
Organization: Cosmic Static Games
Contact:

Re: How u hide text box and edit text location

#3 Post by SinnyROM » Sat Jun 20, 2015 7:39 pm

If you mean something that acts like an X button on the textbox to hide it and it waits for a click to show it again, you can use the action HideInterface() http://www.renpy.org/doc/html/screen_ac ... eInterface The easiest way to get that is making a textbutton with that action. You can look at the documentation on screens to see how to make one: http://www.renpy.org/doc/html/screens.html#textbutton

For anything to do with customizing the screen, it's a good idea to read through screens.rpy to get a feel of how everything is layered, positioned, and how it works in general. Just messing with it by adding elements with different positions is a good start. Then later on you have an idea of how to tweak the say screen to how you want it.

Post Reply

Who is online

Users browsing this forum: Ocelot