Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'getFrameByName' of null #8

Open
danieldanielecki opened this issue Mar 23, 2020 · 1 comment
Open

Comments

@danieldanielecki
Copy link

The game isn't working when trying to build and run it. In the browser's console there's an error with the content TypeError: Cannot read property 'getFrameByName' of null and the game shows basically a black screen. I can see only in the bottom of Phaser Debug (WebGL): with its numbers.

phaser.js:48262 TypeError: Cannot read property 'getFrameByName' of null
    at prepareFontData (ReturnOfGanon.ts:91)
    at new ReturnOfGanon (ReturnOfGanon.ts:16)
    at new Dialog (Dialog.ts:33)
    at Intro._createLoreGroup (Intro.ts:383)
    at Intro.create (Intro.ts:64)
    at Phaser.StateManager.loadComplete (phaser.js:6566)
    at Phaser.Loader.finishedLoading (phaser.js:47818)
    at Phaser.Loader.processLoadQueue (phaser.js:47775)
    at Phaser.Loader.asyncComplete (phaser.js:47848)
    at Phaser.Loader.Loader_jsonLoadComplete [as jsonLoadComplete] (browser.js:191)
@englercj
Copy link
Owner

Yeah, don't think this has been in a building state for a while as phaser has updated and this hasn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants