Skip to content

This is a simple 2D pixel vertical scrolling shooting game created by Luke Tseng, a high school student. In addition, the game was created through the author's one hour on weekdays and five hours on Saturdays and Sundays.

Notifications You must be signed in to change notification settings

LukeTsengTW/pygame_space_shooting_game

Repository files navigation

pygame_space_shooting_game

This is a simple 2D pixel vertical scrolling shooting game created by Luke Tseng, a high school student.

In addition, the game was created through the author's one hour on weekdays and five hours on Saturdays and Sundays.

Environment

The development environment is in Python 3.12.2.

Type pip install pygame in cmd to install pygame.

Control

Using your mouse or keyboard (you need go to setting UI to change these) : ← → ↑ ↓ to control the character.

Features

The features of this game can currently be divided into the following five types :

  1. Enemies : The enemy images will change every five levels, and the enemy's health and attack power will increase as the level progresses. In every fifth level, such as the fifth, tenth, and fifteenth levels, a BOSS will appear. The three BOSSes have different attack modes, and the difficulty also increases with the level.
  2. Player status (Upgrade Store) : There is an upgrade mall built into the main menu, which can currently enhance the player's maximum health, bullet speed, and attack power. To upgrade, you need to spend the corresponding coins. Coins can be obtained by killing enemies.
  3. Level : The level operation mechanism is based on the number of points obtained. The points formula is calculated as 100 + (level * 10) * 9. When the specified points are reached, you will enter the next level.
  4. Item : When the player kills an enemy, he will currently receive two props, one is a prop that increases health, and the other is a prop that allows the player to gain a shield within a certain period of time.
  5. Animation : For example, the explosion animation of the enemy, the flashing animation when the player is hit, the animation when the bullet is shot, etc.

Image Source

Background : Leonardo.ai

Space Main Ship : https://foozlecc.itch.io/void-main-ship

Enemy 1 Series : https://foozlecc.itch.io/void-fleet-pack-1

Enemy 2 Series : https://foozlecc.itch.io/void-fleet-pack-2

Enemy 3 Series : https://foozlecc.itch.io/void-fleet-pack-3

Enemy 4 Series : https://free-game-assets.itch.io/free-enemy-spaceship-2d-sprites-pixel-art

Items : https://foozlecc.itch.io/void-pickups-pack

Background Music : https://opengameart.org/content/space-shooter-music

Laser Sound Efect : https://pixabay.com/sound-effects/search/laser/

Enemy Explosion Sound Effect : https://pixabay.com/sound-effects/search/boom/

Other Sound Effect : MyEdit

About Author

This game is made by LukeTseng, a high school stduent. Although there are still some flaws in the code, please forgive me :)

The original intention of making this game is to realize my dream, a game developer

About The Game

This game is still undergoing modifications. You can use the code of this game and modify it, I don't mind.

Made by LukeTseng ( 鼓山高中 _ 電腦社社長 ).

About

This is a simple 2D pixel vertical scrolling shooting game created by Luke Tseng, a high school student. In addition, the game was created through the author's one hour on weekdays and five hours on Saturdays and Sundays.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages