Created
May 25, 2020 22:36
-
-
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
This file contains 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
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