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

It does not compile #22

Open
whiteyhat opened this issue Aug 26, 2018 · 4 comments
Open

It does not compile #22

whiteyhat opened this issue Aug 26, 2018 · 4 comments

Comments

@whiteyhat
Copy link

Hey,

Amazing game and open source <3

I have downloaded an trying to compile it but I am given the following errors:

Scene_Preloader.js:49 Uncaught ReferenceError: textStrings is not defined
    at new Scene_Preloader (Scene_Preloader.js:49)
    at SceneManager.self.gotoScene (SceneManager.js:21)
    at Game.js:51
    at e._onGroupLoaded (Game.js:129)
    at e.o.emit (index.js:130)
    at index.js:62
    at t.value (mini-signals.js:93)
    at e.t._onComplete (Loader.js:592)
    at Loader.js:631
    at s (async.js:27)

&


Uncaught SyntaxError: Unexpected token +
Act_II.js:360 Uncaught ReferenceError: textStrings is not defined
    at Act_II.js:360
index.js:255 
    PixiJS 4.7.1 - ✰ WebGL ✰      http://www.pixijs.com/    ♥♥♥ 

I have been trying to fix it for a while but I do not know what else to do. I have added the modules of pixijs & Howlerjs

Thanks!!

@whiteyhat
Copy link
Author

Hello? @ncase

@ncase
Copy link
Owner

ncase commented Aug 27, 2018

Hi! It was the weekend so I didn't see this. Thanks for catching it!

It looks like I pulled a translation into textStrings.js that actually breaks the JSON. I'll fix it later (not sure when: very busy on new projects at the moment), but for now you can just delete everything that's NOT textStrings_EN to make it work for now.

@whiteyhat
Copy link
Author

Cool! Thanks, I am deleting everything that is not textStrings_EN I will let you know the outcome.

@briced
Copy link

briced commented Sep 23, 2018

Hi,
I fixed it in #25, It's a problem with a translation where all lines start with a '+'.

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

3 participants