Example code from Infinite Runner in Phaser 3 with TypeScript book
This is the source code for an infinite runner starting point in Phaser 3 as created in the free book: Infinite Runner in Phaser 3 with TypeScript.
This project uses the phaser3-typescript-parcel-template.
Clone this repository with git-lfs
and run:
npm install
npm run start
If you don't have git-lfs
installed then get it here: https://git-lfs.github.com
All the image and audio files in this repository is stored with git-lfs
.
Alternatively, you can download a zip from the latest release.
The Rocket Mouse art from Game Art Guppy is missing a fly animation image but you can download one we made here. You will come across this in Chapter 3 of the Infinite Runner in Phaser 3 with TypeScript book.
House Background art from Game Art Guppy
Rocket Mouse art from Game Art Guppy