/rocambolli

A purple dude must find the end and catch coins! Spaghetti code for ludum dare 37.

Primary LanguageJavaScriptMIT LicenseMIT

Rocambolli

Rocambolli The Game

This is my first platformer. An entry to Ludum-Dare 37.

You can play the original here on itch.io.

Update: I created a release, and there is for download the original codebase. I am updating the code here to give support to for mobile 14/12/2016!

new version can be played here

Click on the screen when the game loads in itch, and then use Arrow keys and/or WASD keys to move the character.

You can also use a Xbox360 gamepad, using left stick to move and A or B to jump - it must be plugged in the USB as player1.

Gameplay Video on Youtube

Code

I am using my own codes below:

  • png-font : for pixel font drawing.

  • color.js : tiny 1.47kb js for color normalization.

I am also using Howler for sound:

  • howler.js : a lib for making audio on webpages easier.

Assets

For generating sound assets I used the following:

  • BFXR : a sound creation tool that runs in browser.

  • BU's Autotracker : a python script that creates music by itself.

My tools for editing things:

  • Gedit : All the JS code was written in Gedit.

  • Aseprite : Aseprite is the nicest tool ever written for drawing images. I used Aseprite for drawing - if you look my code you will see how drawing is everything in this game.

  • Audacity : Audacity is how I edited and fine tuned the audio.

  • Schism Tracker : I used this only to convert .it from BU's Autotracker to .wav.

Thought process

This is my first entry to Ludum Dare and my first finished game alone. I decided to do a genre that's well known (platformers) but that I had never done.

The theme announced was ONE ROOM, and I thought on having all the game in a single screen, and the idea was that you could see all the game from first screen, in layers.

I decided on JS because it is the only thing I sorta know.

Then I decided to encode every information on the levels on the images, because I needed a fast way to create levels.

And the code is a tangle of mess, I threw every coding practice I learned to be able to finish the code in 25h - since I had other things to do this weekend.

And that's it. If you like, please star.

Questions, you can find me on Twitter @eri0o.