Lately I’ve been making my return to game development, working on a game my girlfriend and I have devised under the working title “Solis”. Maybe this means I’ll finally get round to using texture packer one day.
I’ve been building a plugin for Phaser that introduces sloped tiles to its Arcade Physics engine, something that I couldn’t really find amazing solutions for in many places. I resorted to using the Separating Axis Theorem, specifically the amazing SAT.js.
Thing is, to keep it feeling “arcade” you really need a way to keep the player on the slope, and I’m trying to find out how much of this the plugin can provide without getting specific to any particular game/implementation. So far I’ve tested a decent theory for separating only on the Y axis to prevent sliding down the slope, but of course leaping sliding off slopes is totally possible with high velocity.










