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.
















