Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cool game code
# Assume this is an image file.
import ppb
from ppb import BaseSprite
class Player(BaseSprite):
pass
def main():
game_kwargs = {"set_up": scene_setup}
ppb.run(resolution=(800, 800),
scene_kwargs=game_kwargs)
def scene_setup(scene):
scene.add(Player())
if __name__ == "__main__":
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment