Skip to content

stevetasticsteve/Flyover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flyover

Fly your plane and shoot down as many enemy planes as possible! A simple pygame game implementing a 2D scrolling map.

Created to explore scrolling maps, and Class inheritance. The shell of a game is complete and there's lots of room for improvement.

Flyover screenshot

Installation

  • Download the code
  • pip install pygame
  • run main.py

Controls

  • Arrow keys to turn, speed up/slow down
  • Space to shoot

Features

  • Tiled map (entities bounce off the map edge)
  • Player plane centred in screen
  • Enemy planes with basic AI
  • Sound effects

Code improvements needed

  • Ability to press 2 buttons at once
  • Fix tests

Ideas for more features

  • Player health (not a 1 hit kill system)
  • High score system
  • Different turning speeds for different plane speeds
  • Limited fuel and ammo, restock at a base
  • Background music
  • Mini map
  • Static defences with homing missiles

About

Investigating scrolling 2D maps using pygame

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages