Wednesday, November 19, 2014

melonJS 2.0.0 has landed !


We are very excited to finally announce the release of melonJS 2.0.0 ! This new version is a big step forward for us, as it marks the final collision detection system revamping we have been working on for months. Much of the work for that was partially available in the previous 1.1.x release, but we were able to put more emphasis into it for this release. Since we consider it a major milestone, the team decided to "rename" the previous 1.2.0 beta version to a final 2.0.0 version.

In this release, 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.

Download here: https://github.com/melonjs/melonJS/releases/tag/2.0.0

Here's a list of highlights for version 2.0.0:

  • Shape-based collision layer has replaced the tile-based collision layer.
  • WebGL support has landed! (Currently alpha-quality)
  • 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.
  • Support for most of the new features in Tiled 0.10, like :
    • Shape scaling and rotation (especially in TMX maps,)
    • TMX Tileset animations

Full details in the CHANGELOG...

The two biggest changes being shape-based collisions and WebGL !

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.

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).

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

37 comments:

  1. At this page you will find all the info that you need to write an amazing classification essay. Thats why I think that you need to check it out as soon as possible

    ReplyDelete
  2. I can recommend this writing service as a reliable and very professional.

    ReplyDelete
  3. THANK YOU SO much for sharing the post. Wanting more from you. dsploit OGYoutube magisk manager

    ReplyDelete
  4. beberapa daftar toko online yang paling gampang mendapatkan obat perkasa serta mempunyai harga cukup terjangkau adalah toko obat kuat bekasi , yang kedua adalah toko obat kuat bandung atau kunjungi tautan ini , yang ketiga toko obat kuat semarang atau klik web ini dan yang terakhir adalah jual obat kuat karawang yang bisa anda dapatkan dengan mudah secara online agar anda lebih memahami khasiat dan kandungan dari masing-masing produk dan apabila anda mau memesan atau konsultasi bisa menghubungi customer servicenya langsung.

    ReplyDelete
  5. It was nice to find these highlights. You can use these https://justbuyessay.com/blog/essay-writing-tips essay writing tips for your future blogging. Don't miss it!

    ReplyDelete
  6. Professional writers work on this site https://essaysbank.com/essay/neweigh. They can write essays or articles on different topics. You can order yourself an essay or an article.

    ReplyDelete
  7. Clash of Clans money hack requires active internet connection to play. Get your internet connection and play now!

    ReplyDelete
  8. Way cool! Some very valid points! I appreciate you writing this write-up plus the rest of the website is also very good.movieswood

    ReplyDelete
  9. Great article! We will be linking to this great post on our website. Keep up the good writing.hdmoviespoint

    ReplyDelete
  10. Best Plasma Cutter Under 300 This website was... how do you say it? Relevant!! Finally I've found something that helped me. Thank you!

    ReplyDelete
  11. Online sociology essay writing services have come up with Sociology Assignment Writing Services for sociology coursework writing service students in order for them to score straight A’s in their custom sociology research paper services.

    ReplyDelete
  12. There are so many great things you can do if you have some free time. Guys at https://payforessay.net/college-essay-help help students to write their essay and any other writing assignments. Studying can be so much easier when you know who you should ask for help.

    ReplyDelete
  13. Online law research paper help services are very common nowadays since there are very many students seeking Law Research Writing Services and law essay writing services.

    ReplyDelete
  14. A wonderful writer essay pro, which shows that he is passionate about his business. He wrote me a review of a small work in just a few hours.

    ReplyDelete
  15. The large number of positive reviews from our customers is an incentive that allows us to write great content professional essay writing service for them and constantly improve the quality of our services.

    ReplyDelete
  16. On the site of the best essay writing service reviews you can find a list of the best essay companies for 2020 and detailed information about them: pricing, quality, uniqueness, support and much more.

    ReplyDelete
  17. They had studied law, information technology and art history as part of their beauty treatment, they had let Norwegian taxpayers
    write my papers for cheap finance years at university just so that they could end up as overqualified, stay-at-home playthings and sit here exchanging confidences about how to keep their sugar daddies suitably happy, suitably jealous and suitably on their toes.

    ReplyDelete
  18. Never communicated live with a girl, no problem. If you use the services of dating coach toni muller, you will be taught the basics of communication with girls. You certainly won't regret it.

    ReplyDelete
  19. A fascinating discussion is worth comment. I believe that you should write more about this subject matter, it may not be a taboo matter but usually folks don't talk about these issues. To the next! All the best!!
    best-cheap-24-inch-monitors

    ReplyDelete
  20. Despite all the difficulties in writing my article, an excellent site papernow for articles and essays came to my aid.

    ReplyDelete
  21. Great web site you've got here.. It’s difficult to find quality writing like yours these days. I honestly appreciate individuals like you! Take care!!
    best-cheap-microwaves-oven

    ReplyDelete
  22. There is certainly a lot to know about this subject. I love all of the points you made.
    best-straightening-brushes

    ReplyDelete
  23. Our writers will compose for you the stunning persuasive essay in five paragraphs, the detailed research paper, or the https://expert-writers.net/dissertation-help flattering personal statement: check out our order form and purchase any type of writing you need. Besides, please have no need to worry about quality when you buy an essay online from us.

    ReplyDelete
  24. Most certainly, it depends on https://essaywriter.org/ the qualification of writers. To make an estimation of what kind of service you are dealing with, check if they have any sample papers for you to look through before you place an order.

    ReplyDelete
  25. In fact it is a great platform to use, which has saved me several times already. If you want quick and quality results, you are welcome. I'm already tired of these constant evening work, which takes more than one or two hours of work. Rationality I do not see how to write yourself, rather than use this site. This site has the unique ability to save time and effort. Everyone understands that time is now expensive, and it does not make sense to waste it on pointless scribbling. The entire group has already ordered my work here and they are very happy with it.

    ReplyDelete
  26. the subject of collisions is quite difficult to understand and it took me a long time to understand it. I was helped with this article https://topessaybrands.com/review/masterpaper-com-review/ on the topic of collisions. the guys wrote it quite easily and meaningfully. my knowledge has become somewhat better

    ReplyDelete
  27. When hiring a cheap paper writer, students are often advised to do background checks and verify credentials. You don’t need to bother with it when ordering from Master-Paper.com because we have already vetted our skilled writers. The experts who work for Master-Paper.com pass through strict procedures meant to ensure we hire the most skillful specialists.

    ReplyDelete
  28. In Slovenia, the amount of alternative and nuclear energy consumed amounts to 26.2% of the total energy use. Slovenia emits 7.5 metric tons per capita of CO₂. The number of road motor vehicles per 1000 inhabitants in Slovenia is 593. http://www.confiduss.com/en/jurisdictions/slovenia/environment/

    ReplyDelete
  29. Painting is the easiest way to completely transform your home’s interior look and feel. Choosing light colours will help make smaller spaces seem bigger.
    white venetian plaster saskatoon

    ReplyDelete
  30. And whether live chat support helps quickly and effectively – all these here factors decide whether a casino becomes a player’s favorite or not. Let’s have a closer look at each of the factors to help operators avoid some pitfalls which can easily turn players away from the casino.

    ReplyDelete
  31. After your account is opened, you may be prompted to download some software here. This will install the casino’s software client and all their games onto your computer. Not all casinos have this option, though, and those ones will simply make all their games available directly from their website.

    ReplyDelete
  32. Hi! Thanks for this info. Are you interested in trading cryptocurrencies? Here you can find the best crypto signals for free.

    ReplyDelete
  33. In order to acquire a job, my wife was instructed to take an Internet exam. I've seen her go through, so I told her to pay someone to take my test. She was on the list of persons who were allocated to work a few weeks after she took the exam. The thanks to my wife were overwhelming. She paid a modest price, but has been on her job for almost a month in exchange for her services. I recommend this to everyone and this is a fantastic site.

    ReplyDelete
  34. Thanks. Don't you think it's worth posting these thoughts on Twitter? After all, this social network is now very popular. By the way, I advise you to buy twitter followers in order to quickly increase their number and promote your account to the top.

    ReplyDelete