I am new to phaser 3
I simply downloaded tutorial , tried to run part10.html .
I should be able to play game ,right ?
Blank white screen appears .
I have downloaded sublime, nodejs . Should i download something related to browsers too ?
Help
Hi, if you are talking about this tutorialā¦
I guess you need to follow also the Getting started indicated in this 1st part and install a local web server
Thankyou darko for reply .
I downloaded xampp .
Couldnt run apache , mysql in xampp .Many red errors appear.
Rest i can run .
I went on with microsoft iis , http-server for node.js .
I only download them . Maybe there is something that i need to do after downloading after installing .
I dont know how to run my html file .
Error is this -
[Mon Jun 01 15:56:24.867673 2020] [ssl:warn] [pid 7284:tid 640] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 01 15:56:25.062315 2020] [ssl:warn] [pid 7284:tid 640] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 01 15:56:25.449171 2020] [mpm_winnt:notice] [pid 7284:tid 640] AH00455: Apache/2.4.43 (Win64) OpenSSL/1.1.1g PHP/7.4.6 configured ā resuming normal operations
[Mon Jun 01 15:56:25.449171 2020] [mpm_winnt:notice] [pid 7284:tid 640] AH00456: Apache Lounge VC15 Server built: Apr 22 2020 11:11:00
[Mon Jun 01 15:56:25.450169 2020] [core:notice] [pid 7284:tid 640] AH00094: Command line: āC:\xampp\apache\bin\httpd.exe -d C:/xampp/apacheā
[Mon Jun 01 15:56:25.459144 2020] [mpm_winnt:notice] [pid 7284:tid 640] AH00418: Parent: Created child process 10472
[Mon Jun 01 15:56:26.672156 2020] [ssl:warn] [pid 10472:tid 624] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 01 15:56:26.795825 2020] [ssl:warn] [pid 10472:tid 624] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Mon Jun 01 15:56:26.893563 2020] [mpm_winnt:notice] [pid 10472:tid 624] AH00354: Child: Starting 150 worker threads.
You donāt need most of the things this servers brings with them, and as I see you a bit lost with this, so my guess would beā¦ tryā¦
- Download mongoose, https://cesanta.com/binary.html, the free version, is very lightweight and simple http server and need no configuration for starting
- Copy it in your demo folder or in a parent folder
- Run it and select your html
I hope this helps
I would personally just suggest downloading vs code and installing this https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer
I downloaded . Copied it . On running , only black screen appears with this in url http://192.168.43.172:8080/ . Cant select my html .
I installed chrome extension web server , chrome web server is working . Although since chrome web server is not in official docs of phaser , therefore i thought to stick to those recommended .
Then Iām not sure what happens with your environment, maybe permissions or port issues.
With the mongoose I suggested, when running, try opening the icon in the task bar -> āAdvanced settingsā and changing any of these options:
Select your projects folder in ādocument_root [ā¦]ā
Or select a different listening_port other than 8080 (8181, 8282, ā¦)
Then again āGo to my addressā option.
You could also try looking for any http server plugin for your editor as Phailser pointed.
If not, whatever web server works for you itās ok for start coding.
The ones in the documentation are not a strict requirement.