Hi Giderians,
Here is a new Gideros version mostly to keep up with android tooling upgrade.
It also contains a nice addition for your 3D games: the native bump library (cbump) now support 3D, with an API insipred by
bump-3dpd.
To enable 3D API, the newWorld() call now accepts three arguments: the cell size (as before), the required precision (if non zero, bump will align the resulting computations to the given grid spacing, thus avoiding some computations inaccuracies), and a boolean to enable 3D API. When 3D API is enabled, the Z coordinate is required and reported in all API calls.
Full change list:
Improvements[sprite] Allow ghosts to be constructed through a callback
[sprite] Add getPostionVector function
[plugin/bump] Add 3D support
[plugin/bump] Add precision information to avoid computation errors
[export/android] Update to latest android tools
[export/ios] Improve orientation management
[plugin/iab] Use android billing client v9.1
Download it from here: http://giderosmobile.com/download
Comments
Likes: MoKaLux
I am so sorry, I was somehow using some very old code
This is a working example. I don't know how to set Mesh.new(is3d = true) in the Cuboid class, I believe I need to set it to true so I can change the z anchor point of the shapes.
Ultimately that would be best to be able to set Mesh.new(is3d = true) in the Cuboid class 🤷♂️
Viva Gideros 🍰
Likes: MoKaLux
Thank you hgy29, I will be back (God's willing).
Likes: MoKaLux