vmars316 Posted January 19, 2016 Share Posted January 19, 2016 Hello & Thanks , Still looking for *.js library that can be developed/run without 'local web server' . Can Phaser do this ? I read a tutorial that looked like this is possible . Thanks...Vern Quote Link to comment Share on other sites More sharing options...
mattstyles Posted January 19, 2016 Share Posted January 19, 2016 Sorry Vern, Phaser runs Pixi for rendering (the newest version will be different) so it is exactly the same situation. It is possible, but with caveats. Quote Link to comment Share on other sites More sharing options...
vmars316 Posted January 19, 2016 Author Share Posted January 19, 2016 THanks matt ; I downloaded the 2.4.4 version and went thru the demo : http://phaser.io/tutorials/getting-started/index and went in and changed all the statements : var game = new Phaser.Game(800, 600, Phaser.AUTO, '', { preload: preload, create: create, update: update }); to: var game = new Phaser.Game(800, 600, Phaser.CANVAS, '', { preload: preload, create: create, update: update }); And they all run fine . Will it stop working when I use more complex features ? Quote Link to comment Share on other sites More sharing options...
mattstyles Posted January 20, 2016 Share Posted January 20, 2016 Nope, probably not. So long as you can load up a texture/image to use then I expect it'll be just fine. Quote Link to comment Share on other sites More sharing options...
vmars316 Posted January 20, 2016 Author Share Posted January 20, 2016 Ok , Thanks matt , I'll let you know if I run into probs . Quote Link to comment Share on other sites More sharing options...
lukaMis Posted February 23, 2016 Share Posted February 23, 2016 If you are unwilling to set up yor own local server you can use code editor that has one build in. Brackets comes to mind. Or you can use develompent app on steroids called Prepros. Quote Link to comment Share on other sites More sharing options...
releasethekraken Posted June 23, 2017 Share Posted June 23, 2017 I found a really useful tutorial at pixelsizzle.com that shows how to change the chrome flags to use phaser offline. Just be careful not to use this in regular browsing for security considerations. Heres the full link: pixelsizzle.com/tutorials/phaser/run-phaser-without-a-web-server/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.