PC-Pygame Logo

Introduction

  • 1. Pygame introduction
  • 2. Pygame setup

Pygame basics

  • 1. Module setup
  • 2. main file
  • 3. game file
PC-Pygame
  • PC-Pygame
Next

PC-Pygame

Introduction

  • 1. Pygame introduction
    • 1.1. pygame
    • 1.2. Documentation
    • 1.3. Read the docs and Tutorials
  • 2. Pygame setup
    • 2.1. Install pygame.

Pygame basics

  • 1. Module setup
    • 1.1. __main__.py
  • 2. main file
    • 2.1. __main__.py
  • 3. game file
    • 3.1. Simple Game loop
    • 3.2. pygame.init()
    • 3.3. pygame.display.set_mode
    • 3.4. pg.display.set_caption()
    • 3.5. pg.time.Clock()
    • 3.6. clock.tick()
    • 3.7. check_event
    • 3.8. pg.event.get()
    • 3.9. event.type and event.key
    • 3.10. pg.quit()
    • 3.11. sys.exit()
    • 3.12. update definition
    • 3.13. pg.display.flip()
    • 3.14. draw definition
    • 3.15. screen.fill()
Next

© Copyright 2023-24, GMC. Revision 6f13beba.

Built with Sphinx using a theme provided by Read the Docs.