Skip to content

MujiS8226/pygame_dodger_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Pygame Dodger Project

A project using mainly pygame library to create a space dodging game. The player will control the spaceship to avoid falling stars in a limited range, while appreciating the beauty of the space.
GamePlay Preview

Description

"Flying to the Moon" is a 2D computer game developed using Python and the Pygame library. The player controls a spaceship navigating through space, avoiding falling stars and c. The game increases in difficulty over time, challenging players to survive as long as possible.
For now, the way to play is simple: you dodge the stars until you don't.
Future changes I want to add on:

  • Reduce background glitches while scrolling.
  • Destination point on the moon after a long ride.
  • Magical items that boost the spaceship in various ways.
  • Best score shown at the main menu.
  • Skins for the spaceship.

How to Play

  1. Have Python installed on your machine.
  2. Run the script:
python flying_to_the_moon.py
  1. Player can control the spaceship's direction by pressing the arrow keys or the WASD keys.
  2. The spaceship is only allowed to move within the bottom part of the screen.
  3. Dodge the falling stars. Be careful! The amount of stars and the speed of falling are increasing overtime.
  4. The planets passing by are just there for, well, appreciation. Make sure to not get distracted by them!
  5. Enjoy the space journey!

Dependencies

  • Python 3.x
  • pygame, random, time, sys packages

Contact

Mujie Shen - GitHub - LinkedIn

Acknowledgement

  • This project was created to demonstrate the use of Python for game development and to put programming skills into practice. Many helps were received through various online resources during its development. Below are the main references that provided me with great technical support:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages