Ren'Py How to remove textbox from the "Chapter 1" screen?

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,040
3,115
you can use ConditionSwitch for this

this goes into script.rpy
Python:
default show_window = True
after label start
Python:
label start:
     $ show_window = True
     or
     $ show_window = False
Find the original code and replace it with this it's in screens.rpy have textbox1.png blank image
Python:
background ConditionSwitch('not show_window', Image("gui/textbox1.png", xalign=0.5, yalign=1.0),
                            'True', Image("gui/textbox2.png", xalign=0.5, yalign=1.0))
 
  • Like
Reactions: DirtyPants

MissFortune

I Was Once, Possibly, Maybe, Perhaps… A Harem King
Respected User
Game Developer
Aug 17, 2019
4,564
7,550
If it's just for one screen/page/etc., another alternative that might be easier to remember is (sort like rayminator's second example, just with less typing.):

Code:
window hide
scene chapter_1 with dissolve
window show
 
  • Like
Reactions: DirtyPants

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Respected User
Donor
Jun 10, 2017
10,130
14,809
There's a configuration variable dedicated to this:

The behavior of MissFortune example is equivalent to config.window = "auto"
 
  • Like
Reactions: DirtyPants