Code: Select all
label jhontalk3:
scene messengerbg
show screen telegram
show screen info
show screen playerchoices
$ msg("{color=#0000ff}[jhonname]:{/color} \n Hi Anna!!", who=1)
$ msg("{color=#0000ff}[jhonname]:{/color} \n How are you???", who=1)
$ msg("{color=#0000ff}[jhonname]:{/color} \n I heard you just started college.", who=1)
In a corner I added a screen called "playerchoices", where the player can add/customize a few things.
I was thinking if it's possible to add an option called "Pause game", that would have the same funcion as "$ renpy.pause()", so the person would be able to pause the game for a while. Maybe they need a pause before reading the other messages.
But I've never found anything like that for Renpy. Like, there isn't anything as "action Pause(renpy)"
I was wondering if an "action pause game" exists or not.
I didn't find it in documentations.
_______________________________
PS: oh, actually it would be better if inside screen "playerchoices" I could use something like the "$ renpy.pause()", so this screen "pauses" the game and I don't need to create an extra button.
So I should use "NullAction()", right? But how would that work in a screen full of textbuttons?
Code: Select all
screen playerchoices():
add "playerchoices.png"
frame:
style_group 'status'
align(0.5, 0.5)
has vbox
textbutton "{size=30}Playlist{/size}" action ToggleScreen("songs")
null height 10
textbutton "{size=30}Contacts{/size}" action ToggleScreen("contactnames")
null height 10
Actually what I really need is the game to pause when you click on "playerchoices" textbutton. This screen is shown buy a "ToggleScreen". So when I click "playerchoices" again to hide it, the game would go on.
Thanks.