Create and Fuck your AI Slut -70% OFF
x

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

rayminator

Engaged Member
Respected User
Sep 26, 2018
3,461
3,396
500
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
6,774
10,480
872
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
Donor
Respected User
Jun 10, 2017
12,701
20,764
1,026
There's a configuration variable dedicated to this:

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