Francisco Knebel

  • Content Count

  • Joined

  • Last visited

  1. Thanks for the quick answer! I looked at the documentation and adding anchor point (0,0) worked as expected. Just had to add it to both the start menu and the enemy container. I'll look into updating the tutorial repository and the corresponding documentation. EDIT: upon further inspection, it's not _exactly_ the same. Anchoring to 0,0 is making the container fix to the correct location, but the container is moving faster than the child components, both on the x and y axis, so we get results as the image I added. The game logic still works, as in child bounds still are respected when reaching the corner of the screen, so the container moves outside the viewport.
  2. Ok, i'll go straight to the point. I have a small implementation of the Space Invaders tutorial, with a bit of extra stuff added in there. I'm updating all my dependencies, since the repo is over a year old, and of course, updating MelonJS too. I found some problems, and after a couple of hours debugging, I couldn't find anything to solve it. The enemy manager container isn't working as intended, the screen objects are not positioned as expected, it's a mess. To build with each version, just change the file version on lib/melonjs.js and run grunt dev. Repo, on the working branch: I created an imgur album with some examples: I've read all CHANGELOG and the migration guide, but I found nothing that points to this. Thanks for reading.