Jump to content

GUI in HTML or Pixi.js?


anondev
 Share

Recommended Posts

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 this

http://www.html5gamedevs.com/topic/12870-basic-ui-system-for-pixijs/

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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