wp2000 Posted January 30, 2014 Share Posted January 30, 2014 So I just started learning. I installed WAMP, started up the server, and went to localhost. Everything looks fine. I then download the Hello Phaser example and put it in the www directory. I go to localhost, and the hellophaser folder is now present. I go to the hellophaser folder, and all I get is a blank page. The title bar text has updated appropriately, but I get no phaser logo. The png file seems to be okay, I can open up the javascript and html files without issues. I press F12 and there are no errors in the debugging menu. What is wrong? Link to comment Share on other sites More sharing options...
rich Posted January 30, 2014 Share Posted January 30, 2014 Check the network panel in the dev tools to be sure it has loaded the JS files it needs. Also, which browser are you testing in? Link to comment Share on other sites More sharing options...
profsha Posted January 30, 2014 Share Posted January 30, 2014 Hello. In our Opera browser will not start the game, issues such errors: Unrecognized function translate3d (1px, 1px, 1px) Invalid value for property: transform translate3d (1px, 1px, 1px) Link to comment Share on other sites More sharing options...
wp2000 Posted January 30, 2014 Author Share Posted January 30, 2014 IE Check the network panel in the dev tools to be sure it has loaded the JS files it needs. Also, which browser are you testing in?I'm sorry, I am a super newbie. Where is the network panel and where are the dev tools? I am using IE 11. EDIT: Also, if I am not actively contributing to the phaser community, is there a point in using Github, especially since you have to copy the folder into your localhost directory each time it changes? EDIT: Okay, I looked in the network panel of the F12 debugging menu, and there is nothing there. Link to comment Share on other sites More sharing options...
wp2000 Posted January 31, 2014 Author Share Posted January 31, 2014 Hello? Link to comment Share on other sites More sharing options...
Heppell08 Posted January 31, 2014 Share Posted January 31, 2014 This can be a few things. For starters have you used WAMP before and is it working on localhost? Is the W in the system tray either orange or green? If WAMP is working right then usually the address to access the files are localhost/foldername. You don't need to tell it to read any index files or specific js files. Just the folder and the rest will be done on its own. If you have the full phaser file source code with resources/examples etc etc, then add the phaser folder and type this in the address bar and see if it load the examples localhost/phaser/examples Link to comment Share on other sites More sharing options...
wp2000 Posted January 31, 2014 Author Share Posted January 31, 2014 Thank you for responding. WAMP is working correctly. The page looks like this: http://tobbynews.com/wp-content/uploads/2012/01/wamp-localhost-page1.jpg, except the Your Projects section has the hellophaser folder (which I downloaded from the Getting Started guide). I copied the entire phaser folder into the localhost, and the examples seem to be working fine. I also started doing this tutorial: http://www.photonstorm.com/phaser/tutorial-making-your-first-phaser-game None of it works. Still a blank page. Link to comment Share on other sites More sharing options...
Heppell08 Posted January 31, 2014 Share Posted January 31, 2014 How about posting the index file? Maybe something not quite right in there maybe? Link to comment Share on other sites More sharing options...
jpdev Posted January 31, 2014 Share Posted January 31, 2014 Please check the dev tools again. You have to switch to the console to see the errors (see screenshot below.)Alternatively try another browser (chrome / firefox). Link to comment Share on other sites More sharing options...
wp2000 Posted January 31, 2014 Author Share Posted January 31, 2014 I really didn't want to download another browser, but it seems to work fine in Chrome. What is wrong with IE? I have tried it on two other computers. Link to comment Share on other sites More sharing options...
rich Posted January 31, 2014 Share Posted January 31, 2014 I expect IE is falling into Quirks mode, and dropping back to IE8 or something that doesn't have the required level of support that Phaser needs. You can confirm this by opening the IE Dev Tools, and finding this part: If it doesn't say "Edge mode" (or IE10/IE11 would be fine too) then it won't work. The meta tags used in the html of the page control what it falls in to. I set them up for the Examples so this doesn't happen, but it's possible the tutorial one doesn't have the meta tags it needs because, honestly, you should use Chrome to develop in Link to comment Share on other sites More sharing options...
wp2000 Posted January 31, 2014 Author Share Posted January 31, 2014 Nope, Edge is on. Well, I guess I will use Chrome then. I would really like it to work on IE, though, as there are still a lot of people who use IE. Link to comment Share on other sites More sharing options...
rich Posted January 31, 2014 Share Posted January 31, 2014 It works fine in IE, I just tested the tutorial in it as well, so something about your local set-up is preventing it somehow, just impossible to tell 'what' from here. Link to comment Share on other sites More sharing options...
jpdev Posted January 31, 2014 Share Posted January 31, 2014 To test if you IE will do phaser, try this example: http://gametest.mobi/phaser/examples/_site/view_full.html?d=games&f=invaders.js&t=invaders If that works, your IE is fine and it's something in your setup. Link to comment Share on other sites More sharing options...
wp2000 Posted January 31, 2014 Author Share Posted January 31, 2014 Okay, thanks. How exceedingly odd. I installed Windows and IE using all default settings. I don't tweak them at all. Both PC and laptop. With WAMP, I just installed with all the default options. Link to comment Share on other sites More sharing options...
profsha Posted February 2, 2014 Share Posted February 2, 2014 What about opera browser?? Link to comment Share on other sites More sharing options...
danl76 Posted May 29, 2014 Share Posted May 29, 2014 I ran into this issue today. I got the hello phaser screen to load up after following the the tutorial at the wamp site http://forum.wampserver.com/read.php?2,124482,124482#msg-124482 something to do with virtual host confgurations i have no idea i just followed directions.so if you are running into this issue and are using wamp as your web host give this a shot. Link to comment Share on other sites More sharing options...
Recommended Posts