Jump to content

looking for a good UI library


Ezelia
 Share

Recommended Posts

  • 2 weeks later...

Most UI frameworks are for DOM, and I think jquery is already easy and lightweight. I've been using YUI, and it seems very little uses it (probably due to the unpopularity of yahoo among developers?). I like it because it's has a pretty much complete widget set (graphs, tabs, sliders, etc), and has a MVC framework thingy.

 

If you're looking for canvas UI, I think the only option is ZebraUI

Link to comment
Share on other sites

I know about ZebraUI :) it's very good but doesn't fit well with games ...

canvas is not a requirement by the way... I generaly prefer to use DOM UI, since it force me to separate game from UI and makes the game easier to adapt for mobile devices. I use canvas to render the game only ;)

Link to comment
Share on other sites

I know about ZebraUI :) it's very good but doesn't fit well with games ...

canvas is not a requirement by the way... I generaly prefer to use DOM UI, since it force me to separate game from UI and makes the game easier to adapt for mobile devices. I use canvas to render the game only ;)

 

I was actually thinking about combining DOM UI with core gameplay on canvas too. Coming from a flash background, I always thought UI should be in canvas as well (similar to swf's), and got rather discouraged with the current canvas UI frameworks.

 

Thanks for the info, I never thought it would be easier to adapt on mobile devices. Now I'm a little confident to mix DOM and canvas in one game :D.

 

May I ask, would you make the game screens in DOM as well? What I'm planning to do currently is to have the game screens in canvas, and only display DOM UI when needed (on any game screen), so the whole game would be a mix of DOM and canvas.

Link to comment
Share on other sites

What do you mean with game screens ?

actually, when I need to display an animation / interaction I use canvas, when I need UI content I use DOM, when I need to display an intermediate scene (between two levels for example) it depend on the content :)

 

for mobile adaptation I resize the canvas to a good resolution and use device CSS media / device to adapt DOM stuff to mobile display 

Link to comment
Share on other sites

  • 2 weeks later...

I am currently working on a JavaScript library that enables UI creation via JavaScript, supports a lot of UI widgets and is completely skinnable.

Its currently not ready for distribution (will appear on http://modojs.com ), but if you contact me via Skype or PM, I could have you take a look at it and see if you like to use it.

 

The lib is built for/around Backbone.js, wich itself depends on jQuery/Zepto and Underscore.js. Sounds like a lot of stuff first, but I think Backbone might be a handy choice to maintain your game data under the hood, too.

 

Just ping me if you are interested.

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