obiot

Members
  • Content Count

    239
  • Joined

  • Last visited

  • Days Won

    2

obiot last won the day on September 17

obiot had the most liked content!

About obiot

  • Rank
    Advanced Member
  • Birthday July 20

Contact Methods

  • Website URL
    http://melonjs.org/
  • Twitter
    melonjs

Profile Information

  • Gender
    Male
  • Location
    Singapore

Recent Profile Visitors

3289 profile views
  1. here it is : commit : https://github.com/melonjs/melonJS/commit/5be6a92a4800a4f819d07d1863772413dc0068c4 build 8.0 : https://melonjs-builds.s3.amazonaws.com/index.html?prefix=artifacts/master/2573/build/
  2. obiot

    melonJS 7.1.0

    indeed, there is actually a discord server that was created a while back, I just need to "find It back" 🤣
  3. nice ! Will add it ASAP, thanks for the feedback
  4. obiot

    melonJS 7.1.0

    Hi Guys, Back from holiday, and after having missed the release window before leaving, here is finally the latest 7.1.0 update for melonJS. Some nice things in this release, including : Last but not least, staggered hexagonal and isometric Tiled maps support More technical catch-up to align both the Canvas and WebGL renderer, and further improvement to the new me.GLShader class Various fixes and improvements in me.Text, Physic, Pointer, Audio and Sprite objects. See full changelog here, and as always all changes are backward compatible with the previous version, and available here: https://github.com/melonjs/melonJS/releases/tag/7.1.0 or on npm/jsdeliver : https://www.jsdelivr.com/package/npm/melonjs Tell us what you think ! -- the melonJS team
  5. Hi, we stopped actively supporting both IE11 and windows phone since a couple of major versions now. IE11 never provided a proper support (was missing basic thing like Object.assign() and others) and was replaced by EDGE (that is a much better browser), and windows phone are just a thing of the past..... However if you do want/need to support, all you need is to load a ES5/ES6 polypill before melonJS, that should do it. this said, I don't remember if in IE11 they support the standardised Pointer API or still the MS Prefixed one (that we also removed in melonJS).
  6. really ? sounds like a bug/regression to me, and I'm not seeing an issue with the Platformer example.... are you rendering all layer separately or using the preRender flag ? (http://melonjs.github.io/melonJS/docs/me.sys.html#.preRender) as for manually changing the order ingame, you can use the getChildByName or getChildByType method of the wolrd container : for example: // return the first layer with the name Spawn var layer = me.game.world.getChildByName("Spawn")[0]; // return all layers object var layers = me.game.world.getChildByName(me.TMXLayer); and then access the pos property of the layer and change the z or y value (based on the sorting method you are using)
  7. the texture overflow issue is supposed to be fixed actually, I'll give it a try on my side
  8. is there one feature that I could add that would make you upgrade ?
  9. oops, sorry about that, reason is that in the latest 7.0.0 WebGL is now the default, and the Particle Editor was designed to use the Canvas one ! all fixed now, if you reload the page it will work back
  10. For those who have not noticed yet, since with version 7.0.0, melonJS is now officially available through NPM, it means as well that the latest build of melonJS can now install through NPM or/and available through the jsdeliver CDN. for NPM : $ npm install melonjs For delivery through jsdelivr content delivery network (CDN) URL : <script src="https://cdn.jsdelivr.net/npm/melonjs@7.0.0/dist/melonjs.js"></script> or the following for the minified version : <script src="https://cdn.jsdelivr.net/npm/melonjs@7.0.0/dist/melonjs.min.js"></script> and of course the debug panel : <script src="https://cdn.jsdelivr.net/npm/melonjs@7.0.0/plugins/debug/debugPanel.js"></script> Note: "official" CDN and NPM install are only available from version 7.0.0 and onwards.
  11. obiot

    melonJS 7.0.0

    Hi Guys, it has been more than one month since version 6.4.0, so time for a new release, right ? 😀 Lots of under the hood changes in this one, bringing us now to version 7.0 ! new build process (for those participating to the melonJS codebase) based on npm and rollup, that will facilitate the transition to ES6 (the entire lib can be progressively changed to ES6 and still be also transpiled to ES5) CocoonJS support have been removed, as the service is shutting down more WebGL improvements : on top of now using WebGL by default, or properly supporting context lost, WebGL Shader implementation has been totally revamped ! there is still some work to do to polish it internally or furthermore in order to streamline this (e.g. specify or change a different shader filter for a given renderable), but a lots of ground work was required before that and now we are finally getting there. improve/fix pointer detection when dealing with complex css layout other small improvements and fix related to video, Tiled, timer, etc... (see here for a more detailed changelog) Although there are some API changes this time, it's more like protected API, so unless you were tapping into very advanced not so well documented features of melonJS (like using your own shader), you can safely upgrade without breaking your game thank you ! --- the melonJS team
  12. me.Renderer is just a base class for both the Canvas and WebGL renderer to prevent duplicated code as half of it is anyway common to both. as for the setColor() methods, this is used to define the current fill and stroke rendering color and is defined here for the canvas renderer : https://github.com/melonjs/melonJS/blob/master/src/video/canvas/canvas_renderer.js#L571-L586 and there for the WebGL one : https://github.com/melonjs/melonJS/blob/master/src/video/webgl/webgl_renderer.js#L591-L603 reason of this one not being in the base Renderer class is that, as you can see, the implementation is different based on the target renderer. hope this helps !
  13. FYI, I just added it to the current 7.0 version : https://github.com/melonjs/melonJS/commit/97d6a2eb1dd8d788112b40c6f92869e0b25b5b39 test build available below if you want to give it a try : https://melonjs-builds.s3.amazonaws.com/index.html?prefix=artifacts/master/2506/build/
  14. that's disappointing.... Would you mind trying with the the latest 7.0 build ? https://melonjs-builds.s3.amazonaws.com/index.html?prefix=artifacts/master/2503/build/ there is no api change between 6.4 and 7.0 that will impact you (so except maybe from the plugin it should work out of the box) also I added a me.video.renderer.updateBounds() function that you can call yourself (cleaner than a private variable) and that will update the internal cache position on the parent container. if just replacing the lib does not do anything, try calling the function from the console before/when opening the UI
  15. to keep it under my radar : https://github.com/melonjs/melonJS/issues/977