Skip to content

Worms Game with own physics engine in C++ created for Physics II subject at CITM UPC university.

License

Notifications You must be signed in to change notification settings

AdriaPm/WormsProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WORMS GAME PROJECT

Description

Worms like game created for Physics II subject. The main objective of the project is to learn how a physics engine works. No commercial physics engine has been used.

Game Flow

There are 4 different worms and 2 teams in the game (players 1 & 3 and players 2 & 4). Each worm has its turn to shoot the other team's worms and try to kill them.

You will only be able to move when it's your turn. Once you have shot, you won't be able to move until your next turn.

The game finishes when both worms from a team are dead, then opposite team will win the game.

Key Features

  • {F1} - View colliders
  • {F2} - Debug Mode
  • {F3} - Insta win/lose
  • {F4} - God Mode
  • {F11} - Fullscreen Mode

Events

  • {Random Wind Generator} - Every 500 game ticks, Wind Force will change randomly between [-10, +10] m/s in X's axis and [-5, +5] m/s in Y's axis.

Controls

Player 1 & Player 3

  • {WASD} - Movement
  • {E} - Shot preparation
  • {W/S} - Edit shot angle
  • {A/D} - Edit shot velocity
  • {Q} - Shoot
  • {SPACE} - Go up in the water

Player 2 & Player 4

  • {IJKL} - Movement
  • {O} - Shot preparation
  • {I/K} - Edit shot angle
  • {J/L} - Edit shot velocity
  • {U} - Shoot
  • {SPACE} - Go up in the water

Debug Keys

IMPORTANT: Values will only be modified if Debug Mode (F2) is enabled.

FPS

  • {R} - Adds +1 FPS
  • {F} - Reduces -1 FPS

Gravity

  • {T} - Adds +0.5 Gravity X
  • {G} - Reduces -0.5 Gravity X
  • {Y} - Adds +0.5 Gravity Y
  • {H} - Reduces -0.5 Gravity Y

Wind

  • {P} - Enable/Disable Wind force

  • {Z} - Reduces -0.5 Wind X

  • {X} - Adds +0.5 Wind X

  • {C} - Reduces -0.5 Wind Y

  • {V} - Adds +0.5 Wind Y

Atmosphere Density

  • {B} - Reduces -0.5 Atmosphere Density
  • {N} - Adds +0.5 Atmosphere Density

Delta Time

  • {UP ARROW} - Increases the Delta Time Scheme value
  • {UP ARROW} - Decreases the Delta Time Scheme value

Developers

Github Repository

Click here to go to our project's Github repository. Click here to go to our project's Source Code.

Releases

Click here to check our latest project's release.

License

This project is licensed under an unmodified MIT license, which is an OSI-certified license that allows static linking with closed source software. Check LICENSE for further details.

About

Worms Game with own physics engine in C++ created for Physics II subject at CITM UPC university.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •