ncase / wbwwb

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

I dont know how to open the game. index.html isnt working? #32

Open ghost opened 3 years ago

ghost commented 3 years ago

So im making a mod for the game just replacing images and the game isnt loaded? It shows the paused text and thats it. It just shows a black screen?

DanSnow commented 3 years ago

You will need a web server. Because this game is using ajax to get assets.

WillYuum commented 2 years ago

@GithubPerson2021 You can use Servez

  1. Just install npm(If you don't have it) then install Servez package globally like this npm install servez -g
  2. Then open your terminal in the root folder and just type servez
  3. Then open your browser and type in localhost:8080

The game currently is crashing on the day I posted this comment but I have made a fix for this so you can simply follow the fix steps I made here:

Issue Fix: https://github.com/ncase/wbwwb/issues/44

TeeHeeTee commented 1 year ago

@GithubPerson2021 You can use Servez

  1. Just install npm(If you don't have it) then install Servez package globally like this npm install servez -g
  2. Then open your terminal in the root folder and just type servez
  3. Then open your browser and type in localhost:8080

The game currently is crashing on the day I posted this comment but I have made a fix for this so you can simply follow the fix steps I made here:

Issue Fix: #44

Hey! Sorry to disturb you, I am also trying to run the game but It seems like I am stuck in the paused screen. I have tried to install servez but still the same problem. Is there any other way to run this?

TEnLOcODE commented 1 year ago

@GithubPerson2021 You can use Servez

  1. Just install npm(If you don't have it) then install Servez package globally like this npm install servez -g
  2. Then open your terminal in the root folder and just type servez
  3. Then open your browser and type in localhost:8080

The game currently is crashing on the day I posted this comment but I have made a fix for this so you can simply follow the fix steps I made here:

Issue Fix: #44

Hey! Sorry to disturb you, I am also trying to run the game but It seems like I am stuck in the paused screen. I have tried to install servez but still the same problem. Is there any other way to run this?

same