Dad72 Posted May 11, 2017 Share Posted May 11, 2017 I notice a GUI on the deposit. is something that is still ongoing. Is there documentation for it or this is not yet ready? https://github.com/BabylonJS/Babylon.js/tree/master/gui Kemal UÇAR and JackFalcon 2 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 11, 2017 Share Posted May 11, 2017 hehe:) good catch ! This is my new project. The plan is to provide an alternative to Canvas2D. The main difference is that Canvas2D is full GPU oriented (text constructrion, animations, etc..) while Babylon.GUI is CPU based (it is an extension of the DynamicTexture) While it could be seen as a less performant aproach, it is also more flexible. It support alignment, margin, events. Controls are: Textblock, Button, Image, Container It is still under heavy working. Documentation will be soon available with samples. Kemal UÇAR, none-9999, brianzinn and 6 others 9 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted May 11, 2017 Share Posted May 11, 2017 hidden work in progress ha? Kemal UÇAR 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 11, 2017 Share Posted May 11, 2017 Not really hidden Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 11, 2017 Author Share Posted May 11, 2017 Yes I have the eye. Very cool. Canvas2D seems no longer updated. Anyway it's great that new GUI Babylon. I can not wait to use it on my new project. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 12, 2017 Share Posted May 12, 2017 I will love to get your feedback Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 12, 2017 Author Share Posted May 12, 2017 with pleasure Quote Link to comment Share on other sites More sharing options...
Kemal UÇAR Posted May 12, 2017 Share Posted May 12, 2017 Trully good news Quote Link to comment Share on other sites More sharing options...
Kemal UÇAR Posted May 12, 2017 Share Posted May 12, 2017 I hope textures for buttons normal, hover, clicked, disable , changeable opacity , if svg supported will be perfect... hv nice works Quote Link to comment Share on other sites More sharing options...
Kemal UÇAR Posted May 12, 2017 Share Posted May 12, 2017 Maybe will possible ( gif ) support for textures too ? Quote Link to comment Share on other sites More sharing options...
royibernthal Posted May 13, 2017 Share Posted May 13, 2017 Sounds interesting What makes a CPU solution more flexible than a GPU solution? Wouldn't CPU based GUI have really bad performance on mobile devices? Obviously its performance would be lower than GPU based GUI, but would complex GUI even be possible when based on CPU? Wouldn't it lag terribly on mobile devices? Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 13, 2017 Share Posted May 13, 2017 You will soon be able to try it it is not PURELY cpu because it still uses the dynamicTexture and all html canvas acceleration It supports buttons, hover, click, disable and images for buttons Kemal UÇAR 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 13, 2017 Author Share Posted May 13, 2017 We can also create : buttons radio, checkbox, tab, text entry fields (input, textarea), slider or is it that we can create them ourselves. It would surely be interesting to have any loan element as can be with HTML. One can like I did with CastorGUI but is over the canvas. Kemal UÇAR 1 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 13, 2017 Author Share Posted May 13, 2017 14 hours ago, Deltakosh said: You will soon be able to try it In how many days we can try. Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted May 14, 2017 Share Posted May 14, 2017 18 hours ago, Dad72 said: In how many days we can try. like my estimation a few days Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2017 Share Posted May 29, 2017 I'm writing the doc today so expect it for today or tomorrow ;D Dad72 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 29, 2017 Share Posted May 29, 2017 A teasing video: inxs, inteja, julien-moreau and 3 others 6 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 29, 2017 Author Share Posted May 29, 2017 I just love it. It's awesome. Better than Canvas2D for myself because I'm sure it'll be easier to use. Quote Link to comment Share on other sites More sharing options...
JackFalcon Posted May 29, 2017 Share Posted May 29, 2017 I ran out of 'likes' (again)... ++new BABYLON.GUI(); Will try it out, hot off the press. Quote Link to comment Share on other sites More sharing options...
royibernthal Posted May 30, 2017 Share Posted May 30, 2017 Looks promising, can't wait Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 30, 2017 Share Posted May 30, 2017 Ready to test: http://doc.babylonjs.com/overviews/gui!!! Kesshi, inteja, brianzinn and 2 others 5 Quote Link to comment Share on other sites More sharing options...
inteja Posted May 30, 2017 Share Posted May 30, 2017 Awesome thanks @Deltakosh ! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 30, 2017 Author Share Posted May 30, 2017 This really cool GUI system. And seems very simple. I'll test in the coming days. Question DK: Can we create elements as Checkbox, Radio, slider. The interfaces of game often use this kind of elements. Quote Link to comment Share on other sites More sharing options...
Dad72 Posted May 30, 2017 Author Share Posted May 30, 2017 @Deltakosh I have a first return. It lacks the ability to remove controls with dispose(). For example I use numbers floating above the head of a character. I wish I could dispose a few seconds later. Quote Link to comment Share on other sites More sharing options...
adam Posted May 30, 2017 Share Posted May 30, 2017 @Dad72 https://github.com/BabylonJS/Babylon.js/blob/master/gui/src/advancedDynamicTexture.ts#L58 http://www.babylonjs-playground.com/#XCPP9Y#23 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.