jsgam icon indicating copy to clipboard operation
jsgam copied to clipboard

Crash on startup partway through tutorial

Open banool opened this issue 3 years ago • 0 comments

Hey this is using the unminified js in Chrome 98. For context I have so far skipped the characters and scenes sections of the tutorial, instead jumping to "Making the adventure" and completing that. Perhaps the lack of background on the main screen is what's causing this issue. I'll confirm soon, just want to get my issue out early.

jsgam.js:73387 DragonBones: 5.7.000
Website: http://dragonbones.com/
Source and Demo: https://github.com/DragonBones/

jsgam.js:91091 JSGAM 5.1.0d https://github.com/kreezii/jsgam

jsgam.js:4301 
    PixiJS 5.3.3 - ✰ WebGL 2 ✰      http://www.pixijs.com/    ♥♥♥ 

jsgam.js:17980 Uncaught Error: Texture Error: frame does not fit inside the base Texture dimensions: X: 740 + 346 = 1086 > 1024 or Y: 0 + 158 = 158 > 1024
    at Texture.set (jsgam.js:17980:15)
    at new Texture (jsgam.js:17639:19)
    at new BitmapFont (jsgam.js:41675:18)
    at Function.BitmapFont.install (jsgam.js:41748:16)
    at completed (jsgam.js:42830:42)
    at MiniSignal.dispatch (jsgam.js:27865:18)
    at jsgam.js:30207:34
    at next (jsgam.js:27998:9)
    at GameLoader.howlerMiddleware (jsgam.js:60985:14)
    at jsgam.js:30205:10

Note that in Firefox, the same code results in a different issue:

Uncaught TypeError: parsedUrl is undefined
    _prepareUrl https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30108
    add https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:29946
    addFiles https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:61082
    load https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:90591
    dispatch https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:27865
    _onComplete https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30184
    _onLoad https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30222
    next https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:27998
    howlerMiddleware https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:60985
    _onLoad https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:30205
    eachSeries https://cdn.jsdelivr.net/npm/jsgam@latest/dist/jsgam.js:28006
jsgam.js:30108:9

banool avatar Feb 14 '22 12:02 banool