anondev Posted September 5, 2015 Share Posted September 5, 2015 I'm not sure which approach I should take. I could overlay HTML elements over top of the canvas or I could attempt to make a gui by using Pixi.js. Does anyone have any good tutorials on how to make a gui in Pixi.js? Thanks Quote Link to comment Share on other sites More sharing options...
JUL Posted September 5, 2015 Share Posted September 5, 2015 I'm not directly using pixi, I use phaser, so my advice is what it's worth. Personally, I would go full pixi, for the sake of consistency, especially if your GUI will be very graphic, not just a rectangular area on top of the rest with a bunch of button/drop down menus.Even more if you're into pixel art. Those guys don't agree, and again, I don't use pixi...http://stackoverflow.com/questions/6856953/does-it-make-sense-to-create-canvas-based-ui-components Now there's thishttp://www.html5gamedevs.com/topic/12870-basic-ui-system-for-pixijs/ Quote Link to comment Share on other sites More sharing options...
jdnichollsc Posted September 5, 2015 Share Posted September 5, 2015 http://ezgui.ezelia.com/ Quote Link to comment Share on other sites More sharing options...
d13 Posted September 12, 2015 Share Posted September 12, 2015 I could overlay HTML elements over top of the canvas or I could attempt to make a gui by using Pixi.js. If your UI is complex (more than just a few simple buttons) I would overlay and HTML <div> for that.Pixi doesn't have any built-in button sprites and its interactive components are limited so it's quite a bit of work to build your own GUI button system. 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.