WebCraft
WebCraft copied to clipboard
singleplayer does not work
when i play singleplayer, i just get a black floor and the blocks on the top. that's it. i use google chrome.
yeah I've got the same problem..! and I use chrome too
Does this work for you?
http://dev.vertinode.nl/WebCraft/singleplayer.html
I think the problem is that you're just opening singleplayer.html directly. The code won't work unless you put it on a local webserver.
Nope.
Please tell me if you see any error messages in the developer console, because it works fine here with the latest Chrome and Firefox.
The link you posted worked for me but it was terribly laggy compared to the normal one (same issue, everything except block selector is black)
@mrpi64 @Quarynn I'm afraid I have no idea what causes this.
on my local webserver works fine the multiplayer too :) so thank you! :)
my other question is how can i add more blocks to use? :)
Learn Javascript and go through the code?
On 14 July 2013 17:59, Quarynn [email protected] wrote:
Learn Javascript and go through the code?
— Reply to this email directly or view it on GitHubhttps://github.com/Overv/WebCraft/issues/9#issuecomment-20939511 .
I think the problem is webGL. I'm using an ARM 32-bit linux machine.
Hey when I opened the game everything was just black! Is there something wrong with the lighting? If you could help that would be great, but so far good job on the game, just need to fix some minor issues!
@LublubXT
If you just open the html file in a browser, textures will be missing and look black.
If you use any simple web server (e.g. python3 -m http.server) singleplayer.html will work correctly.
Multiplayer.html needs the custom server.js script: https://github.com/Overv/WebCraft/issues/46#issuecomment-605383125
Thanks!
Also check this out:
https://github.com/Cobra-Tec-Inc/Number_Line_1.0
It the app we made. It does have some bugs but should be fixed by next week.