Skip to content

Some simple single-player PC games, created from C++ and SFML

License

Notifications You must be signed in to change notification settings

Bac0nEater/CPP-Games

Repository files navigation

CPP-Games

To run the game, go to its folder and double click the .bat file.
Or run the game through Visual Studio, but you have to set Solution Platforms to x86.

Timber

Controls:

  • Esc – quit the game
  • Enter – start/restart the game
  • 🠔/🠖 arrow keys – chop at left or right side

image

Pong

Controls:

  • Esc – quit the game
  • 🠔/🠖 arrow keys – move the bat to the left or right

image

Zombie Arena

Controls:

  • Esc – quit the game
  • Enter – start/pause/continue the game
  • W/A/S/D – control the player
  • R – reload the gun
  • Left mouse button – shoot the bullet
  • 1/2/3/4/5/6 – pick one of the 6 upgrades

image

Thomas was late

Controls:

  • Esc – quit the game
  • Enter – start the game
  • W/A/D – control Thomas (the red tall guy)
  • 🠕/🠔/🠖 – control Bob (the green short guy)
  • Q – switch camera between Thomas and Bob
  • E – turn on/off the split-screen

image

Space Invaders ++

Controls:

Keyboard & Mouse

  • Esc – quit the game or back to home scene
  • 🠕/↓/🠔/🠖 – control the player (air ship)
  • Space – shoot the bullet
  • Left mouse button – click the buttons

Controller (XBox One) / GamePad

  • Left joystick – control the player (air ship)
  • A – shoot the bullet
  • X – play the game or replay the game
  • B – quit the game or back to home scene

image

Reference: https://www.packtpub.com/product/beginning-c-game-programming-second-edition/9781838648572

About

Some simple single-player PC games, created from C++ and SFML

Resources

License

Stars

Watchers

Forks