Skip to content

Instantly share code, notes, and snippets.

@RuolinZheng08
Last active July 1, 2022 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RuolinZheng08/d658819f60976c15f8d1084392fecc70 to your computer and use it in GitHub Desktop.
Save RuolinZheng08/d658819f60976c15f8d1084392fecc70 to your computer and use it in GitHub Desktop.
[Ren'Py, Template] Creator-Defined Displayable
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