Jump to content

Does Phaser need to have a canvas in order to run?


Recommended Posts

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

  • 9 months later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...