Hello everybody, 10 years later, it is time to refresh my flash online card game (www.chibre.ch): so I am thinking to learn and implement it with a modern stack (node.js/sock.io/angular), and as I would like something beautiful, I am making my first steps with babylon js.
A few line of codes on a scaled textured box gives already something impressive (at least for me): Title
Question is about the best way to have nice rounded corners… I did some tries with and exported model from Blender, but hum… beginner there too… Title, wrong texture mapping, but not only, the rounded corners look ugly…
Guidance where to spend my next time would be very appreciated !
Vinc3r is right, you can find a playground for something similar is here: https://playground.babylonjs.com/#YDO1F#92, alpha is used to make the sharp corners invisible.
Some tries later, I am having fun and being impressed with what I can produce by putting tutorials together, here is my test scene: www.hubris.ch/chibre2020/gui.html
I was thinking to give a try to you example to create the “ardoise” (scoring table) on the right, which is a box with rounded angles… but your example is actually too complicated for me to understand…
I managed to have a “rounded” box more or less where I want, and with more or less the correct rounded corners but I don’t find the way to have my texture applied correctly
Some hints would be appreciated…
btw: is it normal that I have super perfs on my mobile phone (S7) but awful perfs on y old (2010) mac book air ?
Thank you some much!
I am enjoying to go back to development and so glad to have found this amazing framework and community
These results in in a few hours are so promising that I will do my whole game with babylon js, so I’ll be back in the forum, more than often… hope to reach a level that will allow me to help people too one day, hehe
See you
ps: here it is with your ardoise Title, now about to try so nice animation for the 9 cards game opening