• Content Count

  • Joined

  • Last visited

Reputation Activity

  1. Like
    Pillan reacted to Telinc1 in How do I update console.log?   
    console.log just outputs a static message to the console. You can't update it from your game code.
    The lazy solution for this would be to log the body every frame (in the update method). That'd work but it'd clutter the console really quickly and is probably not what you want.
    The Chrome developer tools support a feature called live expressions - it's the eye icon right above the console. If you can get to your player from the window's scope, you can make a live expression which updates it for you. The easiest way would be to temporarily store the player as a global variable from your code. Alternatively, you can store your game and use the Scene Manager to get your Scene, from which you'll be able to get your player.
  2. Like
    Pillan reacted to Olf in Help with Side-Scroller Project   
    You can start building a sidescroller here : Making your first Phaser 3 game.
    Feel free to check Phaser 3 examples and Mozilla docs on Javascript.