Skip to content

this app will allow users to play a 2d fighting game locally with another friend or against the tough AI

Notifications You must be signed in to change notification settings

CPSC-362-Group-Project/WebFighter

Repository files navigation

Hiken - Browser Battle

Group 5's submission for CPSC 362, Group Project

Group Information

Instructions

This app will allow users to play a browser based 2d fighting game.

Controls

User will use a standard qwerty keyboard to control the movement and attacks of the characters. The 'W' 'A' 'S' 'D' keys will control the players movement in the arena. ,

Player

  • For player (left),

  • 'Space Bar' to attack, to be continued...

  • For playerspecial attacks

  • healing effect (key x)

  • melee attack (key c)

  • ranged attack (key z)

Enemy

  • For enemy (right) (automatic by default),
  • 'Enter' to attack
  • For special attacks
  • healing effect (arrow down)
  • fireball (key p)

Attack Simulation:

  • Currently in testing ...
  • Attack simulation function named simulateAttack() can be found in click here
  • The function uses random number to simulate attack, it can be adjusted accordingly to make game harder.
  • The larger the range of the if conditions, the more probability the actions will happen Ex: increasing the range of number to make enemy launch more attacks

Preview

  • To be updated: Start_Image Character_Selections Background_Selections Fight_Scene_1 Fight_Scene_2

About

this app will allow users to play a 2d fighting game locally with another friend or against the tough AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published