Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haadiyeah/woodlandheights
A vertical platformer game built in vanilla JavaScript.
https://github.com/haadiyeah/woodlandheights
2d-game game-development javascript javascript-game vanilla-javascript vanilla-js
Last synced: about 5 hours ago
JSON representation
A vertical platformer game built in vanilla JavaScript.
- Host: GitHub
- URL: https://github.com/haadiyeah/woodlandheights
- Owner: haadiyeah
- Created: 2023-08-11T18:01:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-08T09:59:26.000Z (2 months ago)
- Last Synced: 2024-09-08T11:21:09.623Z (2 months ago)
- Topics: 2d-game, game-development, javascript, javascript-game, vanilla-javascript, vanilla-js
- Language: JavaScript
- Homepage: https://verdant-palmier-436b03.netlify.app/
- Size: 878 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About the game
This is a simple platformer game I developed in vanilla JavaScript, using no libraries, just HTML canvas.
Your goal is to move around the map and collect all the coins, in order to move onto the next level.
Stay alive, don't fall into the water and don't get attacked by the nasty blue slime globs!
Slime globs will appear dormant, but will start moving towards you if you walk into their line of sight.
You can get rid of them by jumping onto them.
(So far there are two levels.)
__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
### Sprites:
* Player Sprite and GameOver, Victory sheets: RushRoom asset pack by Ruthenium (https://deadmadman.itch.io/rushroom-platformer-asset-pack)
* Slime Sprite: Rvros (https://rvros.itch.io/pixel-art-animated-slime)
### Audio:
* Background tileset: The Flavare (https://theflavare.itch.io/forest-nature-fantasy-tileset)
* Get coin, get hit, game-over, and victory Sound effects: The Legend of Zelda (Nintendo)
* Slime splat sound effect: Pixabay via Zedge (https://www.zedge.net/ringtones)
### Animation:
* I leaned quite a lot on ChrisCourses' YouTube for animating the sprites, vertical/horizontal camera panning, and more.