Jump to content

Use of rendered geometry in games


Techdojo
 Share

Recommended Posts

Hi there,

Just a quick question, I'm just starting to look into using Phaser for some HTML games / demos and being as I can't draw for toffee I wanted to be able to use geometry (ie circles, boxes, lines etc) for my game art.

 

I've looked through the examples and the docs and I can see that it's possible to use the render callbacks with a canvas to provide support through the debug object but I was wondering if this is the correct use as it then breaks the link between the object and the automated drawing on the stage.

 

Does this mean that I'm limited to canvas even if my target is WebGL capable (or would I use a shader in that instance to render a circle on to a flat polygon).

 

Thanks in advance.

 

Jon...

Link to comment
Share on other sites

  • 2 weeks later...

I would like to add my support to this request. I'd like use Phaser for an application I'm developing but I need to be able to render large numbers of lines and other geometric primatives. Are there any plans to support geometry under WebGL?

 

Thanks,

 

John

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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