A downloadable game for Windows

Following the online lectures from Dave Churchill: https://www.youtube.com/c/DaveChurchill

The 2nd assignment was putting together a game that is a little Geometry Wars, a little Asteroids.

Without being enrolled in the class, access to the source code is off limits so this is recreated from the lectures and compiled complete with no required DLLs or other requirements.

Controls

W - Up

A - Left

S - Down

D - Right

MouseButton - Fire bullet towards mouse cursor

Space - Fire Laser towards mouse cursor (5 second cooldown)

Esc - Exit

Settings

config.txt holds settings for the game and can be modified before running.

Window 1280 720 60 0

  • Label
  • Width
  • Height
  • FPS Limit
  • Full Screen Flag (1 = full screen, 0 = Windowed)

Font fonts/consola.ttf 24 255 255 255

  • Label
  • Font path
  • Size
  • Font Color R G B

Player 32 32 5 5 5 5 255 0 0 4 8

  • Label
  • Shape Radius
  • Collider Radius
  • Speed
  • Fill R G B
  • Outline R G B
  • Outline Thickness
  • Vertex Count

Enemy 32 32 3 3 255 255 255 2 3 8 90 60

  • Label
  • Shape Radius
  • Collider Radius
  • Speed Min Max
  • Outline R G B
  • Outline Thickness
  • Vertex Min Max
  • Lifespan of Children
  • Spawn Interval

Bullet 10 10 20 255 255 255 255 0 0 2 20 90

  • Label
  • Shape Radius
  • Collider Radius
  • Speed
  • Fill R G B
  • Outline R G B
  • Outline Thickness
  • Vertex Count
  • Lifespan

Download

Download
SFML2.zip 612 kB

Leave a comment

Log in with itch.io to leave a comment.