Mat Groves Posted June 24, 2013 Share Posted June 24, 2013 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!) 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 Seby, Moen, benny! and 1 other 4 Quote Link to comment Share on other sites More sharing options...
Moen Posted June 24, 2013 Share Posted June 24, 2013 Nice !!! I like. Quote Link to comment Share on other sites More sharing options...
lukasyno Posted June 24, 2013 Share Posted June 24, 2013 Very cool! thanks! Quote Link to comment Share on other sites More sharing options...
benny! Posted June 24, 2013 Share Posted June 24, 2013 Pure awesomeness! Quote Link to comment Share on other sites More sharing options...
P.Uri.Tanner Posted June 24, 2013 Share Posted June 24, 2013 i waited for this. Also better than expected. GJ Quote Link to comment Share on other sites More sharing options...
Seby Posted June 24, 2013 Share Posted June 24, 2013 Great!!! Quote Link to comment Share on other sites More sharing options...
Seby Posted June 24, 2013 Share Posted June 24, 2013 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) Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted June 24, 2013 Author Share Posted June 24, 2013 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? Quote Link to comment Share on other sites More sharing options...
Seby Posted June 24, 2013 Share Posted June 24, 2013 Yeah i'm on PC, i've try on all nav (FF, chrome, Opera...) Only Tilling Sprite and Graphics works. Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted June 24, 2013 Author Share Posted June 24, 2013 Cool, I optimised the shaders a little too, there seems to be an issue with PC webGL which I missed cos im working on a mac at the mo. Im on the case though, should be fixed soon Seby 1 Quote Link to comment Share on other sites More sharing options...
Seby Posted June 24, 2013 Share Posted June 24, 2013 Great Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted June 24, 2013 Author Share Posted June 24, 2013 Should be sorted now - I disable the sprite rendering for webGL and forgot to switch it back on before committing Should run like a champ now! Quote Link to comment Share on other sites More sharing options...
lukasyno Posted June 24, 2013 Share Posted June 24, 2013 graphics.width/height unfortunately undefined, i think this properties will be very useful. Quote Link to comment Share on other sites More sharing options...
Seby Posted June 24, 2013 Share Posted June 24, 2013 Yeah, that's work fine! Good work again Mat Quote Link to comment Share on other sites More sharing options...
Ezelia Posted June 24, 2013 Share Posted June 24, 2013 You guys deserve respect I know how hard it is to implement drawing primitives with WebGL Quote Link to comment Share on other sites More sharing options...
xerver Posted June 24, 2013 Share Posted June 24, 2013 You guys deserve respect I know how hard it is to implement drawing primitives with WebGL That was all Mat, kudos to him! Quote Link to comment Share on other sites More sharing options...
Mat Groves Posted June 24, 2013 Author Share Posted June 24, 2013 Haha! thanks guys Also Great suggestion lukasyo! Graphics.width/height could be quite useful indeed! I'll add to the todo list. Quote Link to comment Share on other sites More sharing options...
4ian Posted June 25, 2013 Share Posted June 25, 2013 Awesome ! Good job Quote Link to comment Share on other sites More sharing options...
Slowin Posted July 2, 2013 Share Posted July 2, 2013 Is it possible to change the color of a Graphic Object after you created it? That would be nice:) Quote Link to comment Share on other sites More sharing options...
Akis Posted November 18, 2013 Share Posted November 18, 2013 What's the best way to create a rounded rectangle and still be fully compatible webgl and canvas? By combining a rectangle and 4 circles? Quote Link to comment Share on other sites More sharing options...
xerver Posted November 18, 2013 Share Posted November 18, 2013 What's the best way to create a rounded rectangle and still be fully compatible webgl and canvas? By combining a rectangle and 4 circles? No arc support yet, lines only. Quote Link to comment Share on other sites More sharing options...
Akis Posted November 18, 2013 Share Posted November 18, 2013 That's what I saw in the code. 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.