Skip to content

Convert Phaser's TypeScript definitions to Haxe externs.

License

Notifications You must be signed in to change notification settings

Antriel/phaser-ts2hx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phaser-ts2hx

Convertor for Phaser's TypeScript definitions to Haxe externs.
Written in TypeScript, running on NodeJS.

This was quickly thrown together so the code is not very nice and is quite specific to Phaser. That said, it could be used as starting point for more general converter.

Usage

node main.js <phaser.d.ts> <export_path>

e.g.

node build/main.js phaser_definitions/phaser.comments.d.ts export/

The generated export folder currently contains externs for Phaser-CE 2.7.8.

About

Convert Phaser's TypeScript definitions to Haxe externs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published