Document your code
Every project on GitHub comes with a version-controlled wiki to give your documentation the high level of care it deserves. It’s easy to create well-maintained, Markdown or rich text documentation alongside your code.
Sign up for free See pricing for teams and enterprisesHome
Welcome to the melonJS wiki, here you will find help, tutorial and documentation to melonJS :
Official Links
- FAQ : a useful list of melonJS Frequently Asked Questions.
- Roadmap : A glimpse at the future of melonJS.
- Documentation : official melonJS online documentation (html).
- Forum : official melonJS forum
- Blog : official melonJS blog
- Boilerplate : When starting your own projects
- Code Snippets : a collection of useful code snippets
- Upgrade Guide : APIs change guideline when upgrading from a previous version
- made with melonJS : a non exhaustive list of games and demos made with melonJS
- Forum Archive : old melonJS forum archive
Tutorial
- Platformer step by step Tutorial
- Space Invaders step by step Tutorial
Third-Party Tutorial
- Dig Dug game Let’s build the Dig Dug game using MelonJS
Details & Usage
- The Core Engine Explained
- Renderables
- Collision Shapes
- Adding and Maintaining Your Game Objects
- Resources
- Building for production using the boilerplate
Third-Party Tools Usage
- Tiled Wiki : Link to Tiled wiki and related documentation/help
- Tiled Tutorial Series : a series of Tiled Map Editor Tutorial on GamesFromScratch.com
- melonJS Particle Studio Editor : Visual Particle Editor for melonJS
- How to configure Shoebox for melonJS
- How to use TexturePacker with melonJS
- Using sprite sheets in melonJS (by codeandweb)
- How to load PhysicEditor shapes into your melonjs project
- How to generate and use Bitmap Font in melonJS
How-To Build your game for specific platforms
- Making your game into a mobile hybrid app
- How to make your HTML5 game run as a native Android TV app using Android Studio and Cordova
- How to build your game for the new Apple TV (4th Gen) using Ejecta
- How to build your game for tvOS (or iOS) using Ejecta
- How to deploy your melonJS game on Facebook Instant Games in 3 minutes
- How to deploy WeChat Mini Games with melonJS
External Links
- Introduction to Tiled : Nick Bruner gives a basic introduction to the Tiled Map Editor, and shows how to use it to make a map!
- melonJS Tutorial : an introduction to melonJS in Portuguese, by relsi (outdated)
- Upgrading to melonJS 1.0 : an article by Cian Games. for those still using older version of melonJS.
- Upgrading to melonJS 1.1 : Cian Games' second upgrade article, and highly recommended for it's walk-through style.
- Upgrading to melonJS 2.0 : Cian Games does it again! Another excellent upgrade article/walkthrough.
- Upgrading to melonJS 2.1 : Another version, another Cian Games' upgrade guide!
- Using JavaScript and HTML5 to Develop Games: Creating a Platformer Game with melonJS and Tiled (PDF)
- melonJS: Anatomy of a Game Object : An article that dives into the inner workings of a game object, describing how they are updated and drawn.
- Lightweight Multiplayer HTML5 Games with PubNub and melonJS : An article that shows how easy it is to create multiplayer games with melonJS using PubNub as the communication arbiter.
- Implementing Particles with melonJS : an article by Andre Antonio Schmitz using melonJS 1.0.x.
- 4 Realtime Elements Every Multiplayer Game Dev Needs : an article that covers different aspects of multiplayer game dev that require a reliable realtime connection for gaming.
- How to create a flappy bird clone using melonJS (1.0.x) : a step by step guide on how to create a flappy bird clone !
- Resources for develop games using HTML5, Javascript and WebGL (Some resources can be used for general game development) by Andre Antonio Schmitz, Game Developer at Cian Games.
- Creating a simple plugin : How to create a simple plugin for melonJS (by Ellison Leão).
Books/ Official publication
- Beginning Facebook Game Apps Development : gets you started with building your first game apps that run on Facebook, and include a full game example created with the melonJS library.
- The Web Game Developer's Cookbook: Using JavaScript and HTML5 to Develop Games : This book brings together everything you need (expert guidance, sample projects using melonJS, and working code) to start building great web games with HTML5 and JavaScript!.
Introduction to Javascript
- Javascript Guide : provided by the Mozilla network (English)
- eBook : Eloquent Javascript - A Modern Introduction to Programming (English, German, French)
- How-To : JavaScript debugging for Beginners (English)
- How-To : Advanced debugging with JavaScript (English)
- Debugging Tips : a collection of useful tips to get you unstuck when debugging your game
- Remotely debugging Chrome Desktop : Introduction to remote debugging using Firefox and Chrome