Phaser Arcade Slopes Plugin
Great news for Phaser buffs out there. If you’re using the Arcade physics system, you’ll know that it’s notorious for not being good at handling slopes. Devs have come up with their own takes on how to handle slopes with Arcade, but this latest one tops them all.
Hexus has developed a plugin that brings sloped tile collision handling to the Arcade Physics engine. He recently introduced its second version, and it’s even more impressive than the first one.
Check out the animated gif of the demo:
The updated version of this Phaser Arcade Slopes Plugin has the following features:
- 24 new tile types
- SAT-driven collision handling
- Unobtrusive and cooperative integration with Arcade Physics
- Heuristic SAT restraints that prevent AABBs catching on hidden edges
- Supports sprites, groups, particle emitters, and circular physics bodies
It even comes with a handy dandy tool for generating tilesets, with options to edit dimensions, and fill and border colors.