ncase / wbwwb

We Become What We Behold – a minigame about the news!
1.16k stars 234 forks source link

It does not compile #22

Open whiteyhat opened 6 years ago

whiteyhat commented 6 years ago

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 commented 6 years ago

Hello? @ncase

ncase commented 6 years ago

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 commented 6 years ago

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

briced commented 6 years ago

Hi, I fixed it in https://github.com/ncase/wbwwb/pull/25, It's a problem with a translation where all lines start with a '+'.