Skip to content

Instantly share code, notes, and snippets.

@daniel-schroeder-dev
Created June 17, 2022 22:06
Show Gist options
  • Save daniel-schroeder-dev/a4cf0b2b91e1a6b592bb8db482d83f80 to your computer and use it in GitHub Desktop.
Save daniel-schroeder-dev/a4cf0b2b91e1a6b592bb8db482d83f80 to your computer and use it in GitHub Desktop.
Add ghost example
def add_ghost(x, y, vertical):
ghost = add_image("ghost.png", 40)
position_element(ghost, x, y,)
if vertical:
___ # Animate up and down
___:
___ # Animate left and right
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment