A basic Ionic example based on the official Your First Ionic App: Angular guide.
https://ourcade.github.io/phaser3-ionic-example
You need Ionic installed.
npm install -g @ionic/cli
Then run with:
npm run serve
- Tab 1: The basic Phaser example of a bouncing logo
- Tab 2: TypeScript version of Flabby Bird game from Flappy-Bird-Phaser3
- Tab 3: Simple Matterjs physics demo with crates from Kenney.nl
(window as any).global = window
The above was added to polyfills.ts
for Phaser.
I prefer tabs but the Ionic starter project uses spaces so there is inconsistent tabs and spaces in the project. Burn me at the stake if you must. 🔥