Tommy Leung at Ourcade continues his tutorial series on creating Phaser 3 games using modern JavaScript. In Part 2: "To add platforms and ground to our game we will use the ‘ground’ asset we preloaded in Part 1.
The code will be placed in a method instead of being added to the create() method. Organizing code into reusable functions and methods helps with writing better code."