Explode skeletons and learn how to make the particles slide across the floor beneath them.
This is another great code-based tutorial from David Ang: "When you have your skeleton’s bones flying away into pieces, you want them to fall where the skeleton was and stop its bones from sliding along the floor.". This shows you how to make particles land on a 'floor' specific to the sprite that emitted them.
The first book on the creation of HTML5 cross platform games using Phaser 3 and other free software.
- By Emanuele Feronato
- 155 Pages
- 28 Source Code Examples
- Build a complete game from start to finish
- Cross Platform
- Scaling for devices