Lutcikaur Posted December 21, 2013 Report Share Posted December 21, 2013 I was wondering if phaser will start a game without a canvas to render to. Trying to prototype a client/server architecture and I plan on using node.js and either socket.io or sock.js with express+jade. I was looking between this and a few other html5 engines to test it on, but most of the others hadn't had too much documentation on it, and I've already grown a bit attached to phaser with a nice base movement system that's ready for socket.io. I'm also keen on phaser because this forum is semi active. I'm about to start fiddling with it now that I'm a bit familiar with it, but I figured id poke my head in here and ask while i'm looking. Thanks in advance. Quote Link to comment Share on other sites More sharing options...
rich Posted December 21, 2013 Report Share Posted December 21, 2013 Technically this should be possible, we already have a HEADLESS render type, but it still needs a canvas to initialise at the moment. We'll look into evolving it further in the future, but it's not a huge priority I'm afraid, so for now you'd have to hack it around yourself. Quote Link to comment Share on other sites More sharing options...
Lutcikaur Posted December 21, 2013 Author Report Share Posted December 21, 2013 Yea. Almost immediately after I posted, I went into the docs and found Phaser.HEADLESS, but couldn't edit my post or respond to it because of the first post verification. Now my goal is to get it to run alone in a .js file (because I don't know how js version of C's #include<> works, which looks like i need to figure out JQuery for that to work) Quote Link to comment Share on other sites More sharing options...
Elyx0 Posted September 24, 2014 Report Share Posted September 24, 2014 So does Phaser HEADLESS still requires a canvas to run the physics ? It would be great to run in node. Quote Link to comment Share on other sites More sharing options...
valueerror Posted September 25, 2014 Report Share Posted September 25, 2014 rich said in his post above: "we already have a HEADLESS render type, but it still needs a canvas to initialise at the moment" Quote Link to comment Share on other sites More sharing options...
Lutcikaur Posted September 25, 2014 Author Report Share Posted September 25, 2014 He necro'd my old post from a year ago. Other than that : here's someone else's experience with node+phaser 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.