Tuesday, October 21, 2014

melonJS 1.2.0 now in Beta!

Here's something brand new for you! For the first time ever, we're announcing a beta melonJS release on the blog! This is a big step for us, and we think it just goes to show how happy we are with this coming release.

With this beta, we were able to close several long-standing issues with the engine, bringing it up to speed with features that developers have come to expect from a modern game engine. And now we need your help testing these new features!

Download here: https://github.com/melonjs/melonJS/releases/tag/1.2.0-beta.1

Here's a list of highlights for this release:

  • WebGL support has landed! (Currently alpha-quality)
  • Shape-based collision layer has replaced the tile-based collision layer.
  • Many fixes and improvements with collision detection in isometric maps.
  • Physics bodies now support multiple shapes.
  • Automatic collision response handling is enabled by default, and fully customizable.
  • Shape scaling and rotation are supported (especially in TMX maps, Tiled 0.10+)
  • TMX Tileset animations are supported (Tiled 0.10+)

Full details in the CHANGELOG...

The two biggest changes are WebGL and shape-based collisions! Finally, we have started the processes of creating WebGL bindings for melonJS. It is currently an opt-in flag that can be passed to the me.video.init() method. The default is me.video.CANVAS, and you may chose to enable WebGL with me.video.WEBGL, or autodetect (fallback to Canvas if WebGL is unavailable) using me.video.AUTO. The WebGL renderer is currently slower than Canvas, as it is brand new and entirely unoptimized (hence alpha-quality).

Shape-based collisions finally closes every open issue ticket involving collision detection except this one. Fortunately, that bug is easy to workaround, and can likewise be easily fixed. Along with fixing a lot of bugs that were in the old system, the collision shapes support also greatly enhances the developer experience with isometric maps. Previously, collision shapes could not follow the natural flow of the world in an isometric perspective. Now a designer can place any number of "poly-line" objects into the collision layer of an isometric map, and melonJS will automatically apply the appropriate collision response.

The surprising thing is how little work was necessary to complete the isometric support after the basic collision shapes code was in place; shapes in an isometric map only had to be perspective-transformed with a simple rotate and scale operation. This does mean your objects will always be placed in pixel coordinate space (not isometric coordinate space) but this is a feature we may improve upon if developers voice their opinion that working in isometric coordinate space is preferable.

For more information on collision shapes, and how you can update your game to use them, please visit the following forum post: https://groups.google.com/d/msg/melonjs/pUliTbw-W_c/RYUI5JcS41sJ

Automatic collision response means that entities can now behave "solid" while colliding with one another. Previously this required additional code. Now it just happens by default, and can be disabled by return false; from your onCollision callback. This last point is an important step to customizing collision detections; For an example, the "platform" collision tile is no longer supported, but can be added easily with a few extra lines in the onCollision callback. See the Platformer example for the actual code.

The Upgrade Guide lists additional changes, which you will find helpful if you are porting an existing game, and the corresponding updated documentation is available here. With that, please start testing today, and check back in about two weeks for the final release! As always, please post any bugs to our issue tracker, and visit the forums if you have any support requests.

- the melonJS team

43 comments:

  1. Where can I buy beta version of melonJS 1.2.0 actually my company provides Custom Dissertation Help in London and I was wondering I should try this one should i?

    ReplyDelete
  2. Wondering how to track an iPhone without them knowing and take advantages of more powerful features? First you need to understand how to track a cell phone location without them knowing. Nothing difficult.

    ReplyDelete
  3. I hope you will release it soon. Find me https://essaydragon.com/blog/stanford-essay here if you need help. Okay?

    ReplyDelete
  4. I didn't know that its brta version also released. Thank you so much for the dedication you have shown,

    Dissertation Help | Dissertation writing Services | dissertation literature review

    ReplyDelete
  5. This is amazing, I hope everyone read this and learns something from this. I am a thesis help service provider, if you are looking for any kind of MBA or PhD thesis writing guidance, visit Dissertation Help Online

    ReplyDelete
  6. After a short prologue to changes for Blizzard's first-individual shooter's yearly Summer Games occasion and prodding an up and coming new saint, Kaplan uncovered that we have improved identification for swindling. He proceeded, Now, we will consequently close down a match where we recognize conning is going on. In any case, fans can Online Dissertation Writers UK rest guaranteed that the individuals who aren't conning won't be hit with an early-leave punishment We will ensure that no one on either side of the match is punished for that match being closed down.

    ReplyDelete
  7. wao this is amaziing so interesting. Upgrade Guide list additional changes, which you will gethelpful if we are porting game, and the corresponding updated documentation is available here. If someone want to take UKDissertationHelp

    ReplyDelete
  8. you were the one saying a while ago that arguments are not constants between all functions There was a bug long ago that was fixed,
    Click Here: Professional SEO Company

    ReplyDelete
  9. Hi, I only want to say incredible article. You have explained everything very well. Our dissertation helpers are well-versed with all the academic topics and always giving great writing for the students. Dissertation providers deliver finance dissertation writing. We also provide english dissertation help. Great work Keep it up!

    ReplyDelete
  10. Good to find out the beta release. Being a dissertation writing services expert, I am sure that this release will be much helpful for me to to use it in my business.

    ReplyDelete
  11. The need to track someone has becoming so important. I want to track my children after school so I can be sure wherever she is going. And thus I read on this article that talks about how to find someones location by cell phone number, go check out Spyic here!

    ReplyDelete
  12. Very good info. Lucky me I recently found your site by chance (stumbleupon). I've saved as a favorite for later!

    http://www.premiumdissertation.co.uk/

    ReplyDelete
  13. Greetings, I believe your site could possibly be having browser compatibility issues. When I take a look at your site in Safari, it looks fine but when opening in IE, it's got some overlapping issues. I just wanted to give you a quick heads up! Besides that, fantastic website!

    premium dissertation uk

    ReplyDelete
  14. https://hdfons.com/tamilplay-download-free-movies/

    ReplyDelete
  15. Good info. Lucky me I discovered your blog by chance (stumbleupon). I have bookmarked it for later!.kissanime

    ReplyDelete
  16. It’s nearly impossible to find educated people about this subject, however, you sound like you know what you’re talking about! Thanks.mastihot

    ReplyDelete
  17. Several artistic movements have occurred during different periods in history shaping the view and expression of literary forms. There are special characteristics of cubism which may be interesting for students of art department.

    ReplyDelete
  18. Everything is very open with a clear clarification of the issues. It was definitely informative. Your website is useful. Thank you for sharing!o2cinemas

    ReplyDelete
  19. I truly love your blog.. Excellent colors & theme. Did you create this website yourself? Please reply back as I’m planning to create my own personal website and would love to learn where you got this from or what the theme is called. Kudos!.Best Plasma Cutter

    ReplyDelete
  20. Nice to see you here! Do you need to order tasks online​ fast, because you have no time to write your own literary masterpiece!? So, forget everything else and I have a good idea for you. You can contact our online https://www.masterpapers.com/custom-paper writing service and then you will see how professional writers will help you to do prime essays.

    ReplyDelete
  21. Spot on with this write-up, I really believe this website needs a great deal more attention. I’ll probably be back again to read through more, thanks for the information!.
    Cheap Plasama Cutter

    ReplyDelete
  22. Oh my goodness! Incredible article dude! Thank you, However I am having difficulties with your RSS. I don’t understand the reason why I can't join it. Is there anybody having the same RSS issues? Anybody who knows the solution will you kindly respond? Thanks!.
    Best Plasma Cutter Under 1000

    ReplyDelete
  23. Very good article! We are linking to this particularly great article on our site. Keep up the great writing.
    Best Welding Helmets 2020

    ReplyDelete
  24. When writing articles very often there are a lot of syntax errors, grammar errors and the like. To avoid this, I can advise you a site that will help you to correctly write any article or essay as soon as possible paramountessays.com/buy-case-study

    ReplyDelete
  25. Get 100% Anonymous offshore hosting from WebCare360™ who standout amongst the most experienced dmca ignored hosting providers in the industry.

    ReplyDelete
  26. When I was a student it was difficult to find somebody who can help you with homework. But nowadays are many services where you can order different kinds of task. For example, I decided to work as a freelance writer at papernow.org service.

    ReplyDelete
  27. Offshore Hosting with 100% DMCA ignored Hosting, Offshore Dedicated Server, Offshore VPS Hosting. http://offshorededi.com is the Most Secure Offshore Host.

    ReplyDelete
  28. DMCA IGNORE HOSTING
    ANONYMOUS, SECURE & DMCA IGNORE OFFSHORE WEBHOSTING
    offshore hosting

    ReplyDelete