Jump to content

Pixi.js Now draws primitives (webGL and canvas)


Mat Groves
 Share

Recommended Posts

Hello everyone!

 

I just pushed a big fat pixi.js update on to the dev branch on github. Todays new feature is the PIXI.Graphics object. Its very similar to the flash graphics object and allows you to draw primitive shapes and lines. The cool thing is, is the webGL and Canvas implementations should both look exactly the same (not the easiest task thats for sure!)

 

shapeTris.png

 

More info on how the graphics object was made can be found here if ya fancy:

 

http://www.goodboydigital.com/pixi-webgl-primitives/

 

I hope you find the new feature useful!

 

Mat

Link to comment
Share on other sites

Hmmm something is strange. My engine doesn't work with the new Pixi-Dev.

 

I've try to put new lib in the exemple 11 and example doesn't work too  :(  No error msg, no view in screen. (only Tilling texture working)

 

Thanks for the heads up! I will look into that, are you testing on PC?

Link to comment
Share on other sites

  • 4 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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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