The Phaser Sandbox allows you to code games in your browser without having to download or install anything.

The powerful editor features Phaser code assists, JavaScript snippets and lots of the features you've come to love in editors like Sublime and Brackets.

Once finished you can save, export or share your game.

QuickStart Templates

Start developing at lightning-speed with these code templates:

Click here for the full template list.

Phaser Code Completion

1) Press CTRL + SPACE (or Command + SPACE on OS X) to bring-up the code snippets panel:

Note: The list of snippets you see changes depending which tab you're on.

2) Use the cursor keys and press Enter to select a snippet from the list. For example here we've inserted the code to create a Sprite:

Power Tip: When the list is open you can start typing a snippet name and it will filter the list selection for you.

3) Once the snippet appears in the editor press the Tab key to move through the parameters and replace the defaults.

Comments

comments powered by Disqus