Skip to content

jmonloop/GeekshubsFSD_Pr03_battleGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FSD Game Project

This is my third project of GeeksHubs Academy FSD bootcamp. The objective is to create a basic videogame using HTML5, CSS3 and JavaScript Vanilla. The minimum requeriments are to have 3 different screens (start, select players and ending) selectable players and a function that determines winner randomly.

In this case I have opted for a shooting game controlled by the user and an autonomous AI enemy with different levels of difficulty.

Features

Upcoming

Technologies

Credits

Thanks

Features

  • Point and click action game:
    • Players only can shoot when they are unhidden but is also when they can be damaged.
    • Players only can move when they are covered without being damaged.
    • Player 2 (AI) accuracy increases if Player 1 remains static.

ScreenShot

  • Retro style with animated sprites that react to the mouse movement or player's position in case of the AI.
  • Player 1 character animation when runs or is damaged.

ScreenShot

  • 3 options for choose character (fourth is locked at the beginning). Each of them with their own health points.
  • 4 options for choose weapon. Each of them with their own of ammo and damage parameters.
  • 3 different difficulty levels with their own parameters agains the user (fourth is locked at the beginning). The AI behaviour also affects the way the enemy "steals" the spawned power-ups.
  • An adittional 4th character and difficulty level achieved only when the user has defeated the first 3 characters.

ScreenShot

  • Random power-ups that improve weapon damage, increase health and even an xVision googles that allow players to damage the enemy still if he is hidden.
  • Drag and drop system to take the power-ups both by mouse and touch system.

ScreenShot

  • Statistics collection when the battle ends.

ScreenShot

  • A secret cheat mode to defeat the enemy with a secret code (more info here)

ScreenShot

Upcoming

  • As I progress and get backend knowledge, I will make player2 controllable by another player.
  • I will develope a wrap bigger royale game and this one will be just the battle level.

Technologies

No frameworks have been use for this project. Only Vanilla JS.

  • HTML5
  • Javascript ES6
  • CSS3

Sources Credits

Player 2 textures: pastel png from pngtree.com/

Player 1 brick textures: brick png from pngtree.com/

Sky textures: clouds png from pngtree.com/

Custom pointer: red png from pngtree.com/

Main and final themes: https://www.youtube.com/watch?v=LMQ8sSvqphg

Quake voices: https://www.youtube.com/watch?v=ym4VmVwd24c

Healing SFX: https://www.youtube.com/watch?v=idVg3eKcbL0

xVision SFX: https://www.youtube.com/watch?v=TC0KTDMPx5E

ak47 SFX: https://www.youtube.com/watch?v=1otAua9XIPs https://www.youtube.com/watch?v=gjbgJNQP6_M

Mp5 SFX: https://www.youtube.com/watch?v=q7uojrDfEvw

Desert Eagle SFX: https://www.youtube.com/watch?v=sHffVHCiUto

AA12 SFX: https://www.youtube.com/watch?v=MYbnuaifdN0

Thanks

Secret Code

User can low enemy life to 10hp pressing any key during battle and writting the text: "geekshubsacademy". The code is divided between the Ghost character stats random info.