Skip to content
2D platformer game using Cocos2D JS
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


2D platformer game using Cocos2D JS

This is an exploration project to create a 2D platformer game using cocos2D-js. The aim of this project is to create an old-school 2D platformer game so the children now will experience the fun of old platformer games (secrets, difficulty, etc) with some improvements of course (Old platformer games have ridiculously difficulty right off the bat).
Level designs are intended to use various levels from old games, thus the layout of level 1 of this game is similar to world 1-1 from Super Mario Bros.

Feel free to fork this project, and improve the game, I would be happy if you design a new level and contribute to this project or even better, publish your own game. Just don't forget to tell me so I can try the game as well.

If you want to try this game in your browser, you can try it right here: Play Now!


  • W or UP_KEY to jump
  • D or RIGHT_KEY to move right.
  • Click/Touch the screen to shoot shuriken.

Be careful as you can't move backwards, a ninja doesn't go back (Probably will be implemented later in the future).

Art and Music

The art and music of this game is not mine, and here are the sources:

  1. Ninja Sprite:
  2. Tilesets: Raywenderlich
  3. Background Music: Adventure Meme,
  4. Shuriken:


Here are a few references I use during building this project

  1. HigherOrderFun
  2. Raywenderlich
You can’t perform that action at this time.