Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

The Quiet Sleep

A city builder/tower defense game set in a person's mind. · By Why Not Games

How do I make it work?

A topic by SeaWyrm created Jul 22, 2020 Views: 423 Replies: 6
Viewing posts 1 to 4
(1 edit)

index.html is just a blank page when I open it in my browser. 

I'm using the Linux version, and I'm getting these console errors:

DevTools failed to parse SourceMap: [path/to/game/]the_quiet_sleep/underscore-min.map

city.js:5 Uncaught ReferenceError: STEAM is not defined 

     at city.js:5

stdMain.js:6 Uncaught TypeError: GameProperties is not a constructor 

     at new App (stdMain.js:6

     at getFrameFunctions (stdMain.js:26

     at main (stdMain.js:39)

Developer

Oh goodness, I'm sorry about that. I must have uploaded the wrong build. I'll fix that soon.

Developer

Okay, I just uploaded a new build that might work better. Also, does it work when you launch from the itch app?

It works better - I get a game screen instead of nothing, and I can click on the README button to read the readme. But when I click on the play button, nothing happens.

Here's the current console log:

city.js:3111 Uncaught (in promise) DOMException: play() can only be initiated by a user gesture.

city.js:2489 Uncaught ReferenceError: RectBackground is not defined at Game.initialize (city.js:2489) at App.update (stdMain.js:16) at Object.update (stdMain.js:30) at tickFun (stdMain.js:41)

Also, the credits button is getting a 404 because it's trying to open "ATTRIBUTION.txt" instead of "ATTRIBUTION.html".

I'll try the itch app and let you know.

The app asks me if I want to launch "nw" or "index.html".

If I launch index.html, I get the same thing I would if I just opened that file directly, with the same problem, only there's music now.

If I launch nw, it takes me straight into the game. I assume this is what I'd get if I clicked "play" and it worked.

Developer

Yeah, nw is the way to play. Does this work for you or do you want to play through the html page instead?

In case it helps anyone else, I ran into difficulties with the Linux version (when running nw from the command line):
error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

I fixed it with:
sudo apt-get install libgconf-2-4