Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alien_Invasion

This is what the game looks like currently:

v0.1_screenshot

I installed pygame
python -m pip install pygame
I did need to create a venv in VSCode because I have multiple versions of python or something I don't understand.

  • in pygame a surface is a part of the screen that you can draw on
  • an event is an action that the user does like pressing a key or moving the mouse
  • an event loop is a loop that listens for events and responds to them
    • The speed of the game is controlled by the speed of the loop.
    • to control a consistent frame rate, you can use the clock object in pygame

About

Python Crash Course - Part II - Alien Invasion Project

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages