Libraries
Phaser
phaser@4.2.1
Batteries-included 2D game framework (scenes, tilemaps, arcade physics). (Phaser 4; the 3.87 API stays available as phaser@3.87.0.)
- Version
- 4.2.1
- License
- MIT
- Size
- 1.4 MB
Add it
Declare it in prototir.json at the root of your ZIP. Prototir checks the
version at upload and adds it to the page's import map.
prototir.json
{
"modules": [
"phaser@4.2.1"
]
}Then import it by name, from 'phaser', as you would from npm.
Reference
Prototir serves the library unchanged, so its own documentation applies.
Phaser documentationVersions
Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.
phaser@4.2.1phaser@3.87.0
As JSON: /modules/phaser.json. Source: npm:phaser.