Cerin

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. I'm using what's in the tutorial, which is: If I change it to "flex", that removes all scaling entirely, and just renders a small 640x480 image. My entity code is also pretty much straight from the tutorial. My entities.js:
  2. Hi, I'm new to MelonJS and I'm trying to work through the platformer tutorial at https://melonjs.github.io/tutorial-platformer/ I've gotten as far as rendering the basic level and getting the sprite to show. However, it's stuck in it's "walking" animation, yet stays in place and doesn't respond to any keyboard events. Also, the level tile doesn't stretch to cover the entire screen. Attached is a screenshot. I've triple checked, and I've coped over all the code samples from the tutorial exactly as described. What am I doing wrong? How do I fix these two problems?