You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My game have plugin rexUI from rexUI to create a simple scroll view (use GridTable) in a scene called Menu. Everything works fine, until I click an item view, this call a callback to start a scene (called Game). In console, it showed error and the game got frozen.
Actually, the game got frozen in version 3.14. When I update to version (just downloaded in webs) 3.15.1, it no longer frozen, the Game scene is loaded but the error still thrown.
// event table.on('cell.click', function (cellContainer, cellIndex) { console.log('Game scene with index ' + cellIndex); this.scene.start('Game'); }, this);
Additional Information
Here is screen shot:
I guess, the problem is when start a scene, the old scene is destroy, but not everything, specially is plugin. I tried use 'switch' scene instead, it's working like a charm, but I don't want to change scene like this.
The text was updated successfully, but these errors were encountered:
Version
-- | --
Description
My game have plugin rexUI from rexUI to create a simple scroll view (use GridTable) in a scene called Menu. Everything works fine, until I click an item view, this call a callback to start a scene (called Game). In console, it showed error and the game got frozen.
Actually, the game got frozen in version 3.14. When I update to version (just downloaded in webs) 3.15.1, it no longer frozen, the Game scene is loaded but the error still thrown.
Example Test Code
Import plugin in scene (Menu)
preload() { this.load.scenePlugin({ key: 'rexuiplugin', url: 'assets/libs/rexuiplugin.min.js', sceneKey: 'rexUI' }); }
Event:
// event table.on('cell.click', function (cellContainer, cellIndex) { console.log('Game scene with index ' + cellIndex); this.scene.start('Game'); }, this);
Additional Information
Here is screen shot:
I guess, the problem is when start a scene, the old scene is destroy, but not everything, specially is plugin. I tried use 'switch' scene instead, it's working like a charm, but I don't want to change scene like this.
The text was updated successfully, but these errors were encountered: