Demo project integrating the Phaser Game Framework and Angular.
In this example setup,
- All assets are loaded from the local project
- The cloud has a rotation animation around a point, (100, 100).
- The box rotates around its origin
- The box is a static Matter JS Physics Body
- The marbles drop when you press "Release Ball"
- The marbles are Circular Physics bodies
- The ground is also a static Matter JS Body
Checkout the project and simply run,
ng serve