OurBigBook About$ Donate
 Sign in Sign up

 Phaser hello world

ID: phaser-hello-world

 Top articles Latest articles New article in topic
Phaser hello world by Ciro Santilli 37 Updated 2025-07-16
  • phaser/hello.html: a minimal hello world adapted from web.archive.org/web/20230323212804/https://phaser.io/tutorials/getting-started-phaser3/part5. Not an actual game strictly speaking though, just shows the phaser logo bouncing around the screen.
    Fully contained in a single HTML file, except that it loads the phaser library and image assets from the web.
  • phaser/hello-game.html: an actually hello world game where you have to collect stars and avoid bombs.
    Based on labs.phaser.io/index.html?dir=games/firstgame/&q=:
    • finished version: labs.phaser.io/view.html?src=src/games/firstgame/part10.js
    • corresponding tutorial: web.archive.org/web/20230323210501/https://phaser.io/tutorials/making-your-first-phaser-3-game/part10.
A web server is mandatory for assets, unless you embed them in data URLs, file:// access is not possible:
  • web.archive.org/web/20230323212818/https://phaser.io/tutorials/getting-started-phaser3
  • stackoverflow.com/questions/39565296/cors-issue-with-html5-canvas-javascript
  • stackoverflow.com/questions/59362232/i-cannot-load-images-from-my-pc-in-phaser-3
  • github.com/photonstorm/phaser/issues/3464
 Read the full article
Total articles: 1

 New to topics? Read the docs here!

 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook