rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.18k stars 260 forks source link

Sizers are broken after recent change #351

Closed 0xShortCircuit closed 1 year ago

0xShortCircuit commented 1 year ago

The change made 2 hours ago appears to have crashed our app. Sizers no longer work properly. Getting errors saying .onClickOutside() is not a function of a sizer.

Also seeing this everywhere:

phaser.js:313 Uncaught TypeError: Cannot read properties of undefined (reading 'prototype') at Function.mixin (phaser.js:313:5) at :1:43145 at :1:202 at :1:206 at ScenePluginFile.onProcess (phaser.js:216999:1) at LoaderPlugin.nextFile (phaser.js:216999:1) at ScenePluginFile.onLoad (phaser.js:10881:5)

Is there a recommended set of changes we need to make to be compatible with the latest changes here?

0xShortCircuit commented 1 year ago

Reverting to version 1.1.85 has resolved this for us, but 1.1.86 still throws the above mentioned errors.

rexrainbow commented 1 year ago

Latest version is 1.60.0, for phaser3.60.0.

Sizer will work well. Test code, rex plugins 1.60.0 + phaser 3.60.0

0xShortCircuit commented 1 year ago

Right, 1.1.86 should be 1.60.0 in my previous comment. Got it, thanks. We're on phaser 3.55.2. Must be the issue. I'll test again after upgrading phaser to 3.6.0.