Dad72 Posted January 22, 2014 Share Posted January 22, 2014 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. Quote Link to comment Share on other sites More sharing options...
davrous Posted January 22, 2014 Share Posted January 22, 2014 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 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted January 22, 2014 Author Share Posted January 22, 2014 I understand that this is not on the agenda. I was wondering if this was provided for in the future.Thank you for your reply. 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.