Monday, October 7, 2013

melonJS 0.9.9 - more control !

Hi All,

We have a pretty big release for you today! The rate of community contributions has been steadily increasing, helping to make melonJS better. Among the list of changes, we would like to highlight a few of the really exciting ones:

  • We added a new renderable container object, which can be used for grouping similar objects. This gives a lot of flexibility, like creating menu systems and modal dialogs; adding shadows, clothes, weapons, hair, and other addon sprites to characters; moving groups of entities in sync (like the space invaders); it also completely replaces the old `HUD` objects with a similar, but more powerful API; and more!
  • melonJS now features a built-in algorithm for sorting on z, x or y values, and most of all now auto-sort objects when added into the game world, which means that you do not need anymore to bother about calling the sort function ! 
  • We updated the input support with a new `device` module to read mobile devices like accelerometers and gyroscopes. This is now a new namespace for current device capabilities, any other specific device information like orientation, but as well later things like GPS, temperature sensors, etc.
  • We added a new module for persistent storage (save your game progress); mostly replaces the older `stat` module.
  • We now have a better support for high-DPI devices like Apple Retina displays.
  • We started adding new shape modules (we already had Rectangles. Now we also have Ellipses and PolyShapes!), these are primarily for supporting the shape objects in Tiled.
  • We optimized rendering, rewrote the main loop to better handle pausing, etc... and also added memory optimizations to object pooling.
  • We updated the Tween library, which adds new easing functions, new interpolation functions, onStartCallback, repeat, and a "yoyo" method which automatically reverses the Tween after it completes.
  • And finally numerous bug fixes with rendering, animations, TMX maps, loader, and miscellaneous. See the Changelog for a more descriptive list!

The new shapes are mostly placeholders for updates to collision detection system (expected for version 1.0.0!) but you can use them today at least for drawing the shapes. :)

What we are really happy about in this release, though, is the object container. This one new feature adds a lot of brand new flexibility to the engine. Some examples of uses can be seen above, but for a real demo: the melonJS platformer example uses it as a complete replacement for the HUD. The container can also be used together with Tweens to create keyframe animations similar to Spine.

Also, don't forget to check out the Upgrade Guide if you are planning to port your older games to the new engine. A lot has changed, and you are very likely to stumble into a few trouble spots.

It will be truly exciting to see what the community can build with these advanced features! We still have a long road ahead of us to get the engine to be usable for more game types (especially isometric games!) and better examples of the amazing things that can be done with the new modules, but the progress in the last months has been amazing.

Thanks again to everyone who contributed fixes, features, improvement suggestions, and bug reports. In particular, shout outs to: Aaron McCleod, Nikolay Lazarov, Julien Dutriaux, and Sean M, and we also have a new logo (that you should start to see a bit everywhere, starting with the refreshed Loader screen) thanks to Michael Wilson ! This was really a community effort, which we are very proud to be a part of!

- melonJS team


  1. You should check out this link for some info on how to write amazing looking creative essay. This could save you some nerves in the future

  2. Salah satu obat kuat paling mujarab adalah viagra original yang dijual hampir seluruh daerah Indonesia terutama banyak sekali yang menjual dipinggir jalan, obat kuat pria akan selalu diperlukan dalam kehidupan pasutri untuk menjaga keharmonisan tetapi sekarang sudah banyak ragam mereknya seperti viagra asli berasal dari Amerika Serikat dengan manfaat meningkatkan gairah bahkan menyembuhkan lemah sahwat.

    selain itu masih banyak obat kuat di cikarang selatan untuk dijadikan alternatif lain, jadi andapun tidak harus fokus pada satu produk karena dapat mencoba serta mencari yang paling cocok sesuai kebutuhan, selain viagra asli brand terkenal lain juga diakui di Indonesia bahkan terbukti ampuh mengatasi segala gangguan seksual termasuk menyembuhkan penyakit terkait organ intim pria.

  3. Merchant account is useful for any business in order to expand its customer base online. With most merchant account providers, the vendor can expect to receive the funds paid by the customer within one or two days.

  4. Business conditions these days face a lot of troubles and competition. To crush these obstacles a proper effort bunch is a flat out need. someone write my assignmentThe improvement of any affiliation requires basic theory to be made in refreshing arrangements strategies.

  5. Business conditions nowadays face a ton of difficulties and rivalry. To squash these obstructions an appropriate exertion pack is a level out need. The improvement of any connection requires fundamental hypothesis to be made in invigorating courses of action systems. Write My Paper For Me

  6. Plans planning in India unites various pieces, for instance, e-learning outlines, online classes, and expansions that grant the business laborers to be more adroit. It exhorts individuals the best way to deal with impact customers and clear their vision. Here are some additional inspirations to have a decent blueprints planning answer for your business to succeed: form a limited company uk

  7. Essay writing service will help you out ( ). Once you fill in the order form, you can sit back and relax. The top-notch assignment would be completed for you within the deadline, or even sooner.

  8. You already know a lot about the useful additional services we offer. They are ordered separately for an extra charge. Still, some of our emails contain essay them as gifts or enable you to order them at a desirable price with a significant discount. Join now to benefit tomorrow!

  9. GPS and an effective navigation system are really important whenever you go on a road trip. Like last week when I and my friend went for the off-road trip, we lost our way and haven’t had the GPS. And it took two days extra to get back to the town, and then I realized that I am in hot waters as I had to finish my pending dissertation. For which, later on I have opted to pay to write my dissertation writing work, else I would have failed.

  10. This means you won’t have to worry about any of the expenses involved with traveling to a land based casino. You will be able to play the games you want without waiting for an empty seat. You can also play while having access to all strategy resources like which will greatly boost your chance to win big.

  11. GPS and a compelling route framework are truly significant at whatever point you go on an excursion. Like last week when I and my companion went for the rough terrain trip, we got lost and haven't had the GPS. Furthermore, it required two days extra to return to the town, and afterward I understood that I am in hot waters as I needed to complete my forthcoming paper. For which, later on I have selected to pay to Write My Essay, else I would have fizzled.