Skip to content

Instantly share code, notes, and snippets.

@KramKroc
Created May 25, 2020 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KramKroc/87b904ade204b63ab0b9b7d13899f971 to your computer and use it in GitHub Desktop.
Save KramKroc/87b904ade204b63ab0b9b7d13899f971 to your computer and use it in GitHub Desktop.
Showing how to add an actor to bottom of screen in Pygame Zero
WIDTH = 200
HEIGHT = 200
alien = Actor('alien', midbottom=(100,200))
def draw():
screen.clear()
alien.draw()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment