Game entry for the Ludum Dare #29 competition (here's the entry). It's a simple HTML5 2D platformer, made in 72h and powered by melonJS.
It works on most web browsers, including on mobile devices.
You control a girl in a rabbit outfit who has to save her friends, also dressed as animals. She needs to descend into the depths of hell, fighting all sorts of strange enemies on her way (mostly walking-fire-people).
key | action |
---|---|
Arrow keys or WASD | Walk and jump |
Hold Shift | Run |
This game supports touch screens.
touch/click at... | action |
---|---|
Upper area | Jump |
Lower-right area | Run right |
Lower-left area | Run left |
To play the game right now, follow this link.
If you want your own local version, download the repository, start a
web server and open index.html
on your favorite browser.
Note that this repository is a development version of the game. It splits
the code over several .js
files.
You can build a production version, that compresses all the
.js
files into minified versions.
This way it'll be way faster to load the game.
It is the recommended way to host it on your own website.
To build, be sure you have node installed. On the project directory, run:
npm install
And then:
grunt
Here's how the code is laid out:
directory | contents |
---|---|
index.html |
Entry point for the game; visual elements |
data |
All resources; images, audio, fonts, maps... |
data/audio |
All things related to sound |
data/audio/bgm |
Background music, songs |
data/audio/sfx |
Sound effects |
data/image |
All images |
data/image/font |
Bitmap fonts |
data/image/gui |
Backgrounds and borders for game screens |
data/image/tile |
Tilesets used on the Tiled maps |
data/image/sprite |
Spritesheets or single sprites |
data/map |
Tiled maps |
js |
Source code for the whole game; main .js files |
js/entities |
Things that interact with each other (player, enemies...) |
js/states |
Game states (screens that can be shown |
js/gui |
Components of the user interface (menu, buttons...) |
lib |
Libraries used for the game (MelonJS) |
lib/plugins |
MelonJS plugins |
css |
Stylesheets |
The team:
- Lead Developer: Alexandre Dantas (homepage)
- Main Artist: Natália Cristina Alves Barros (deviantArt)
Acknowledgments:
- Game made with melonJS. This library is licensed under the MIT License.
- Huge thanks to the melonJS tutorial A Step-by-step Game Creation Tutorial, the best introduction to HTML5 game development ever.
- This project started with the MelonJS boilerplate.
- Some of the graphics (tileset and font) were modified from GFXLib FuZED, a package of free assets for 2D platformers. Thanks a lot, Marc Russell!
- Background music and sound effects by Anders Svensson, originally featured on Alex4.
The whole code is released under the MIT-license.
Check file LICENSE.md
for details on what you can and
cannot do with it.