Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/torvec/dog-runner-game

Its a vanilla js game about a dog that runs, etc.
https://github.com/torvec/dog-runner-game

Last synced: 6 days ago
JSON representation

Its a vanilla js game about a dog that runs, etc.

Awesome Lists containing this project

README

        

# The Running Dog

A side-scrolling action game where you play as a dog with super powers. Defeat enemies and avoid getting hit while you try to get the highest score possible within the time limit.

![The Running Dog](./assets/screenshot.png)

## Play the Game
- [Play The Running Dog online now](https://dog-runner-game.pages.dev/) or clone the repositiory and use the [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer) extension in Visual Studio Code to run the game locally.

##### NOTE: The game is best played on a desktop or laptop as it uses keyboard inputs only to play.

## Credits

The original code base was created by Frank Dvorak of [Frank's Laboratory](https://www.youtube.com/@Frankslaboratory) from his lengthy tutorial on youtube [JavaScript Game Development Course for Beginners](https://www.youtube.com/watch?v=GFO_txvwK_c), specifically project 9 which is the final project in the series. That said, I have made many modifications and additions such as the following:

## Additions to Original Codebase

- Added 3 more levels + a final boss level for a total of 5 levels
- Added more enemy types/sprites with different behaviors so each level has different enemies
- Added projectiles that the player can shoot to defeat enemies along with an ammo system
- Added a power level system to control when the player can use the fire roll ability
- Added a start menu, scoreboard, credits, how to play, tutorial, and game complete menu screens
- Added pause and resume functionality for each level
- Added a game over and level complete states for each level
- Added a restart level functionality
- Added a scoring system that saves each level's score in local storage as well as the final score for all levels combined
- Added sound effects for projectiles, collisions, and player abilities
- Added background music with play/pause functionality
- Modified some background images to differentiate levels

## Assets

All assets used in this project are free to use and can be found at the following links:

Most art assets were created by bevouliin at [https://bevouliin.com/](https://bevouliin.com/)

Other art assets can be found here:
- [explosion.png](https://opengameart.org/content/explosion) NOTE: I modified this sprite to be completely horizontal to get the animation to work

All sound related assets can be found here:
- [explosion.wav](https://opengameart.org/content/boom-pack-2)
- [fire_ball.wav](https://freesound.org/people/qubodup/sounds/442827/)
- [fire_roll.wav](https://freesound.org/people/magnuswaker/sounds/581078/)
- [hit.wav](https://opengameart.org/content/magic-sfx-sample)
- [puff.wav](https://freesound.org/people/qubodup/sounds/714257/)
- [shoot.wav](https://freesound.org/people/BaggoNotes/sounds/720118/)

All music related assets can be found here:
- [run_for_your_life_00.wav](https://freesound.org/people/LittleRobotSoundFactory/sounds/320981/)
- [run_for_your_life_01.wav](https://freesound.org/people/LittleRobotSoundFactory/sounds/320982/)
- [run_for_your_life_02.wav](https://freesound.org/people/LittleRobotSoundFactory/sounds/320983/)
- [run_for_your_life_03.wav](https://freesound.org/people/LittleRobotSoundFactory/sounds/320984/)