Jump to content

Phaser Arcade Slopes ES6 help


Recommended Posts

I've been trying to get a ES6 version of a game together. I've had to shim Phaser (to get around a PIXI is undefined issue).

'use strict';


module.exports = Phaser;

I've wanted to incorporate a plugin (phaser-arcade-slopes), so I attach it to Phaser in the Shim (see above). There seems to be an issue when I start to use it. I get:

SAT is undefined

This is a library phaser-arcade-slopes relies on.

Here is my code.


Should be pretty easy to setup.

nom install
npm run build-init
nom build

If you go to index.html, you'll see the error in the console.


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...