Skip to content

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

License

Notifications You must be signed in to change notification settings

yehzhang/phaser-ce

 
 

Repository files navigation

Phaser CE Type-updated

This fork makes it easier to use Phaser CE for Typescript development.

Install

npm install --save-dev phaser-ce-type-updated

Usage

// tsconfig.json
{
  ...
  "include": [
    "./node_modules/phaser-ce-type-updated/typescript/phaser.d.ts",
    ...
  ]
}
// index.ts
import p2 = require('phaser-ce-type-updated/build/custom/p2');
import PIXI = require('phaser-ce-type-updated/build/custom/pixi');
import Phaser = require('phaser-ce-type-updated/build/custom/phaser-split');

(window as any).p2 = p2;
(window as any).PIXI = PIXI;
(window as any).Phaser = Phaser;

About

Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 98.4%
  • Other 1.6%