Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haadiyeah/woodlandwarriors

A 2-player fighting game developed in JavaScript.
https://github.com/haadiyeah/woodlandwarriors

game-development javascript javascript-game vanilla-javascript vanilla-js

Last synced: about 1 month ago
JSON representation

A 2-player fighting game developed in JavaScript.

Awesome Lists containing this project

README

        

# ABOUT THE GAME
This is a basic fighting game I developed in vanilla JavaScript, using no libraries, just HTML canvas.

Player 1: Can only attack towards right. Use a,w,d for movement and Shift to attack.

Player 2: Can only attack towards left. Use up,left,right arrow keys for movement and Space to attack.

Health potion bottles spawn randomly, jump around to grab them before your opponent does, or before they disappear!

Whoever stays alive wins, or if 60 seconds elapse, whoever has more health at the end of timer wins.

__Note__:
Many important controls, such as gravity, speed, max health, attack power, etc, can be controlled using the consts
which are defined at the beginning of script.js.

I made this game just to practice and learn JavaScript! Contributions are very welcome!

# CREDITS
### Audio:
* Background audio: Lost Woods Lofi Remix by Mikel (GameChops)
* Get Item, Game Over (death), and Get Hit sounds: The Legend Of Zelda (Nintedo)
* Sword slash and arrow fire sounds: Zedge

### Sprites:
* Background forest sprite: edermunizz via itch.io
* Player sprites: LuizMelo via itch.io
* Health potion bottle sprite: LornENT via itch.io

### Animation:
* I leaned quite a lot on ChrisCourses' YouTube for animating the sprites, health bar feature, and more.