Snippets

SinnyStar [Ren'Py] Message screen with dismiss button

Created by Sinny Star last modified J. Tran
# Message
#
# Screen that displays a message.
#
# Python:
# renpy.show_screen("message", "Hello")
# Ren'Py:
# Show("message", "Hello")

screen message(message, **kwargs):

    modal True
                            
    frame:
        xalign 0.5 yalign 0.5
        
        has vbox:
            xalign 0.5

        label _(message):
            xalign 0.5
                
        textbutton _("Dismiss") action Hide("message")

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.