Last active
July 1, 2022 13:54
-
-
Save RuolinZheng08/d658819f60976c15f8d1084392fecc70 to your computer and use it in GitHub Desktop.
[Ren'Py, Template] Creator-Defined Displayable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreatorDefinedDisplayable(renpy.Displayable): | |
def __init__(self): | |
super(CreatorDefinedDisplayable, self).__init__() | |
def render(self, width, height, st, at): | |
render = renpy.Render(width, height) | |
return render | |
def event(self, ev, x, y, st): | |
pass | |
def visit(self): | |
return [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment