Skip to content

A simple shooter game I created with the purpose of developing my game-dev skills with python and pygame.

Notifications You must be signed in to change notification settings

sadeem-albir/shooter_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A game I made in python to test the waters of pygame. If you already have pygame installed, you will get an error of type "FileNotFoundError". The source code contains my personal file paths. You need to change the file paths that access the sound files. To do that, go to the sound file in your files in the directory where you extracted the game,for example, click.mp3, right click it and copy its absolute path (relative paths likely may not work). Then, replace the path that is in the source code with the path you copied.

For example, instead of

click_sound = pygame.mixer.Sound( '/home/sadeem/Python/Shooter/shooter_game-main/test_shooter_game-main/click.mp3')

it will be

click_sound = pygame.mixer.Sound( '/path/to/click.mp3')

where '/path/to' is your own copied path.

Do the same with the two other sound variables, shoot_sound and bang_sound, and your game will be ready to play.

About

A simple shooter game I created with the purpose of developing my game-dev skills with python and pygame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages