All pastes #2087505 Raw Edit

Untitled

public python v1 · immutable
#2087505 ·published 2011-10-07 03:47 UTC
rendered paste body
init python:    def shop_screen(**kwargs):                button = ""        button_value = ""                def show_shop_ui():                         #ui.window(id="window")            ui.hbox(id="shop_hbox")                    ui.imagebutton(idle_image = "prueba_idle.png", hover_image = "prueba_idle.png", insensitive_image = "prueba_idle.png",clicked=ui.returns("sword"))            ui.imagebutton(idle_image = "circulo.png", hover_image = "circulo.png", insensitive_image = "circulo.png")            ui.text("testing", id="testing")                    return                                while(True):            show_shop_ui()                        if button == "sword":                ui.text("espada", id="espada")        button, button_value = ui.interact()        return       renpy.define_screen("shop", shop_screen)