Jump to content

Graphique user interface (GUI) ?


Dad72
 Share

Recommended Posts

Is this that Babylon integreras in the future a GUI of ways to make windows and other interface components of game more beautiful that the html components As well as the functionality such as: Radar mini-map, compass, progressebar ...

These are elements necessary to create a game.

 

Examples of code (This is just an idea)

new BABYLON.GUI.DrawTexture(new BABYLON.Rect(x, y, width, height), new BABYLON.Texture(), className);new BABYLON.GUI.Window(id, new BABYLON.Rect(x, y, width, height), function, "Title form", className);BABYLON.GUI.DragWindow(id);// Form dragablenew BABYLON.GUI.Label(new BABYLON.Rect(x, y, width, height), "My label", className);new BABYLON.GUI.text(new BABYLON.Rect(x, y, width, height), "My text", className);new BABYLON.GUI.textarea(new BABYLON.Rect(x, y, width, height), "My text multi line", className);new BABYLON.GUI.Button(new BABYLON.Rect(x, y, width, height), function, "My button", className);new BABYLON.GUI.progressBar(new BABYLON.Rect(x, y, width, height), function, className);BABYLON.GUI.style(".className{}");...

All this would allow to build friendly interface.

Link to comment
Share on other sites

Hi,

 

 Yes, we've already discussed about such features but this is currently not in our priorities list. In the meantime, you can try any existing 2d Library and draw into a 2D transparent canvas that will live on top of the rendering canvas of babylon.js or even simpler, use any kind of controls Library like jQuery UI. This is the beauty of HTML5. :)

 

Bye,

 

David

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