phaser-planck-ts
v0.0.0
Published
Implement planck.js physics in Phaser3
Downloads
16
Maintainers
Readme
Phaser3 + Planck (Typescript)
A repo for testing an updated version of phaser3-planck written in TS.
Install / Run
In the project directory
yarn
yarn dev
Notes
So far I've created the basic shapes demo from the original repo. I had to augment some of phasers interfaces to allow access to scene.planck
, etc. There may be a better way to do this? Check out the phaser-extensions declaration file.
I've commented out the debug draw temporarily because I feel like it should really be based on the planck body properties and converted to pixels rather than simply using the sprites information.
Contributing
Pull requests are welcome.