Sunday, January 15, 2017

melonJS 4.1.0 and next ...

We had lots of great feedback after the last 4.0.0 version, some good ones about the new features introduced, but as well bug reports, so together with the new year it's time for a new release.

More details can be found in the changelog, but basically 4.1.0 is about the following improvements :
  • Audio : support the latest howler and new things like a seek function
  • Loader : path configuration, memory usage improvements, support CrossOrigin for WebGL
  • WebGL : added error management for NPOT textures, removed the automatic creation of a canvas overlay for standard font (as a reminder, you should not use regular fonts with WebGL, but rather bitmap fonts) which will save you a couple of sweet megabytes.
  • Pointer Event : fixed a bug on device allowing both mouse & touch events, fixed multiple regressions on multi-touch and mousewheel events.
  • Particles : fixed a huge performance regression 
  • Tiled : cleaned-up and exposed the TMX renderers classes, added several utility methods to convert vector and shapes from and to isometric space coordinates.
  • Debug : fixed the show/hide button in the plugin
  • Documentation: improvements, thanks to krojew, as he tracked down several issues or inconsistencies while working on a Typescript version of the library
Known issuethere is currently a limitation in the 4.1.0 release (from the 4.0.0 version), where applying a transformation to a Sprite does not work if added directly to the game world (as opposed to use that sprite as the renderable component for an entity). This can easily be fixed though by setting the sprite `autoTransform` property to true (see the ticket here). Although it seems an easy fix, this has triggered other changes in the engine linked to anchor management and will therefore only be included in the next major version (as it causes changes in behaviour).

Finally, 4.1.0 being a non major release, there is therefore no API changes at all, so you can just replace the previous 4.0.0 version with this one.

Last but not least, a few words about what will happen for the next two major versions coming :
  • melonJS 5.0.0 : this is 2017 guys, ES6 is almost there and we should almost all already be using it ! But as a first step we decided to completely drop support for all legacy browsers (e.g. not fully supporting ES5). So starting from the next major version, all ES5 polyfills will be removed which means that it's definitely time to update your browser if you want to keep using melonJS. If for any obscure reasons you still need to run things on these oldies, you can use an es5-shim to provide with the missing ES5 features.
  • melonJS 6.0.0 : what rhymes with 6 ? yes, ES6 ! as you maybe saw it coming we will then do the same here and will start supporting ES6 browsers starting from the 6.0.0 version (probably gradually, starting for example with the module support). Now we will certainly keep supporting the 5.x branch in parallel, but most of the big new features will certainly be added only on the 6.x branch, but let's see when we reach that point :)
There is no date yet specifically about these two versions, but 5.0.0 will obviously be the next major version, followed by a 6.0.0 later this year as well.

That's it for today ! Once again thank you guys for your support and feedback on melonJS and see you around on our forum or chat !

-- the melonJS team


  1. This is really great work. DO My C programming Homework Thank you for sharing such a useful information here in the blog.

  2. Really i appreciate the effort you made to share the knowledge. This is really a great stuff for sharing. Keep it up. write my essay for me Thanks for sharing.

  3. John arnold is an academic writer of the Dissertation-Guidance.Computer Network Assignment Help
    Who writes quality academic papers for students to help them in accomplishing their goals.

  4. Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Front end developer learn from TypeScript Training in Chennai . or learn thru Javascript Online Training from India. Nowadays JavaScript has tons of job opportunities on various vertical industry. ES6 Training in Chennai

  5. For some info on how to write any type of essay you should check here. I think that you need to do it as soon as you will find time

  6. Hugely appealing text. I have learnt quite a lot on the topic. Can’t wait to share it with my friends online.

    Also, take out some time and share your thoughts on Falcon Super Cleaner. It is my work on a free Phone Cleaner & Cache Cleaner – Fast Speed Booster app available on the Play Store. The application features a Junk Cleaner, Phone Booster, Battery Saver, Duplicate Photos Cleaner, Antivirus for Android etc. all blended into one.

  7. Dear Writer, Thanks for sharing the useful post. Your Article is Awesome, I am also a content writer, writing different - different contents on most of the amazing and entertaining topics. my website provides best latest information's mostly of Technical and also provide Best Do Follow Links to your website. If you want to take High DA PA Links... Please check my website (

  8. Hello people today i am gonna show you some other interesting way to visit all kind of news such as Entertainment, Lifestyle, Sports, Health, Technology News. This is the best way to read and keep update from which is going on.

  9. We are trying our best to present the Mumbai Escort Service with beautiful call girls at reasonable prices. We have tried this every time. It is always appropriate for the quality of service provided by you to Mumbai Escorts, Service can benefit well in Mumbai
    Mumbai Escorts
    Mumbai Escorts Service
    Escorts Service In Mumbai
    Escorts In Mumbai
    Independent Escorts Service In Mumbai

  10. Welcome to the Best writers Reviews, Here you can get the best All Assignment Help reviews sites. We strongly urge you to check our entire website once and we will assure you will find this review website very useful. Our hard work will be rewarded if students like you will appreciate our effort and spread the message about this site with your class-fellows and friends.

  11. Your very own commitment to getting the message throughout came to be rather powerful and have consistently enabled employees just like me to arrive at their desired goals.

    Data Science training in chennai
    Data Science training in OMR
    Data Science training in chennai
    Data Science Training in Chennai
    Data Science training in Chennai
    Data Science training in anna nagar


  12. For students java assignment help you just look at the Assignment help given by the assignment experts. Opting for our Java Assignment Help could be ideal for such students and they can get a complete assignment solution from us.

  13. Thank you for sharing these insights. I find that changing the way I write articles for Tamil News Online in socio economic development to a press release makes sense. Will give it a go on Online News.

  14. This is ansuperior writing service point that doesn't always sink in within the context of the classroom. In the first superior writing service paragraph you either hook the reader's interest or lose it. Of course your teacher, who's getting paid to teach you how to write an good essay, 
    Data Science Training in Indira nagar
    Data Science training in marathahalli
    Data Science Interview questions and answers
    Data Science training in btm layout
    Data Science Training in BTM Layout
    Data science training in bangalore

  15. I am glad to find amazing information from the blog. Thanks for sharing the information. for more useful Information visit:
    Digital marketing institute in Jaipur
    Digital Marketing Course in Jaipur