Here’s a demo app with babylonjs native, no interactivity yet
link: https://cdn.glitch.com/832401c3-8cbf-42db-acce-98209736affc%2FdemoBabylonjs.apk?v=1610125675916
screenshot:
Here’s a demo app with babylonjs native, no interactivity yet
link: https://cdn.glitch.com/832401c3-8cbf-42db-acce-98209736affc%2FdemoBabylonjs.apk?v=1610125675916
screenshot:
I bet @bghgary will like it!
babylon native is the future for mobile games
How can I not like this?
I just get the background though. I don’t see the character.
it takes some time for the model to load, took around 1 minute for me on a rusty android tablet
Is it a debug build? Do you know why it’s so slow?
it is not a debug build and honestly I have no idea why it’s that slow,
here’s the model url:
https://cdn.glitch.com/81c23426-9d40-44fa-821a-5284243cd7a7%2Fsubmariner.gltf?v=1579822070355
It’s probably downloading it or it could be the base64 encoded buffer in the gltf.
is there any way to solve that?
The downloading part, no. We might look into caching which will help on subsequent launches. For the base64 encoding, just use a GLB
Ideally, the app should include the asset in the android package without downloading it at all.
Thanks !
I will fix the app asap and post an update
You can use app:///<resource path>
to access package resources.
quite still the same load time
Interesting… Does this asset load fast in a browser on the same device?
yes it loads fast
Do you mind filing an issue on Babylon Native repo? We’ll have to investigate why it’s slow.
sure i will do that now
I believe it was the device I tested it on, I run the same apk on another device, it loads almost immediately