Advertisement
Guest User

pizzagame.py

a guest
Oct 16th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. from livewires import games
  2. games.init(screen_width=640,screen_height=480,fps=50)
  3. wall_image=games.load_image('wall.jpg',transparent=False)
  4. games.screen.background=wall_image
  5. pizza_image=games.load_image('pizza.bmp')
  6. pizza=games.Sprite(image=pizza_image,x=320,y=240)
  7. games.screen.add(pizza)
  8. games.screen.mainloop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement