Skip to content

notchris/phaser-planck-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

License

MIT

About

Implement planck.js physics in Phaser3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages