• Content Count

  • Joined

  • Last visited

About nox020189

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Previously I had used Phaser 2 with RequireJS by providing a path and export shim, and have found it a common practice when searching for the two libraries together. However, it does not seem to work with Phaser 3 as of right now. Here is an example of what my RequireJS configuration looks like. requirejs.config({ paths: { phaser: './vendor/phaser.min' }, shim: { phaser: { exports: 'Phaser' } } }); Within Google Chrome's Developer Tools' Network tab I can confirm that it is grabbing the `phaser.min.js` file, but when I require Phaser and print its value to console it is not an object but `undefined`. Any suggestions on how I may correct this would be greatly appreciated! :)