obiot

Members
  • Content count

    133
  • Joined

  • Last visited

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

1,483 profile views
  1. indeed, the grunt task will only take assets for a certain type from only the corresponding directory : https://github.com/melonjs/boilerplate/blob/master/Gruntfile.js#L136
  2. Hi, Stupid question, did you add the png to the list of assets to be loaded ?
  3. obiot

    wip: PLAYERKILLERS.EXCHANGE

    ahaha awesome still (I noticed a bug in the loader screen as well)
  4. obiot

    How to draw on particular [TMX] layer?

    glad I could help ! any preview of what you are working on as a reward ?
  5. obiot

    How to draw on particular [TMX] layer?

    it could as simple as setting the correct z order to your "tile selector object" and to make it fully dynamic, you can get the required tile z value using the following code (after your map has been loaded) : // get the TMX Map Layer called "basement" var layer = me.game.world.getChildByName("basement")[0]; // get the layer z value var zOrder = layer.pos.z; then you can just reuse zOrder when instantiating your tile selector, and it should do the trick
  6. obiot

    Bitmap fonts and anti-aliasing

    interesting..... ! there is an antialias option when calling me.video.init, that is actually (or should be in theory) false by default, would you try to force it to false ? also are you using the canvas or webgl renderer (the latter still has a few issues that needs to be worked out), if yes can you also try to force the CANVAS one instead ? (either by removing the renderer option from the me.video.init properties list, or just change it to me.video.CANVAS).
  7. obiot

    Changing tileset for a tile

    Hi, sorry fo the late feedback (Chinese holiday season in this part of the world) and yes indeed, the solution was to also update the "corresponding" tileId I do wonder though if manipulating directly those references/values is a good idea, and if we should not rather have something that better abstract the tile(set) "architecture" (e.g. if you change your tileset in Tiled, your index here above could then be incorrect?)
  8. obiot

    Debug panel in 5.1 not registering click events

    oh so that's weird as there is no issues at all on my side. Is your Chrome up to date ?
  9. obiot

    Git clone Melon example

    I'm afraid you'll have to clone or download the whole melonJS repo, as the platformer is just a folder within that repo : https://github.com/melonjs/melonJS best is probably to clone the boilerplate, and just add the platformer on top of it (in my opinion)
  10. obiot

    Debug panel in 5.1 not registering click events

    Hi, did you also update the debugPanel to the latest version ? if useful, I attached the latest version of it to the latest release : https://github.com/melonjs/melonJS/releases/tag/5.1.0
  11. obiot

    Sprite FlipX rotates full width on x axis

    Hi, yes indeed ! See here for both the explanation and the solution : https://github.com/melonjs/melonJS/issues/916 My bad as I ve been late in updating the tutorial accordingly !
  12. obiot

    Problem migrating to 5.1 from 4.1.1

    Hi, thanks for the feedback ! through the 5.x releases, lots of effort have been made in fixing and better implementing anchor points for all renderable, and what you see is probably related to it. As since version 5.0 at least, the default Anchor Point (center of object) should properly be applied everywhere (including bounding box, transform, etc...) So long story short, if you set the container anchor point to [0,0], it should restore the previous behaviour (easier that changing everything to accommodate with the new center). let me know, Olivier. NOTE : and indeed this should be better clarified/mentioned in the migration guide !
  13. obiot

    low fps

    Hi, this is anything but too vague to be able to provide any kind of assistance. most certainly , you should look at your code, and ensure that object creating and deletion are limited as much as possible in order to avoid triggering the garbage collector (which impact performances, especially with large amount of objects) you might also look at enabling object pooling : https://github.com/melonjs/melonJS/wiki/Frequently-Asked-Questions#object_pooling
  14. obiot

    5.1.0 release

    Cheers guys, here is the latest release of melonJS with version 5.10, which is also the latest major "ES5" release before the big jump to ES6 ! Blog Announcement : http://blog.melonjs.org/2018/01/melonjs-510.html lib and plugin download link : https://github.com/melonjs/melonJS/releases Happy Sunday to all of you !
  15. obiot

    wip: PLAYERKILLERS.EXCHANGE

    I still see ogg only though... even after empty'ing the browser cache... // Initialize the audio. me.audio.init("ogg"); Concerning the multi touch support, we had further improvements in the latest 5.1 : https://github.com/melonjs/melonJS/blob/master/CHANGELOG I will release this new version at the end of this week, but if you want to give it a try, here is a link to the latest build: https://melonjs-builds.s3.amazonaws.com/artifacts/master/2139/build/melonjs.js only visible change compared to the 5.0.x version you use is `isKinematic`, is now true by default except for me.Entity, me.Container and me.GUIobjects. Which means that if you use me.Renderable as a base for a custom object responding to collision or pointer event, you will need to set it back to false within the constructor to match the current behaviour. https://github.com/melonjs/melonJS/wiki/Upgrade-Guide