Buzul Posted October 12, 2018 Share Posted October 12, 2018 Hi everyone.. I'm here again with a fresh question... I'm trying to do create custom loading screen.. A lot of topic inside of the forum anf i have already read document about loading screen, and also i did some thing (you can find PG link below and if you want you can update it) but how we can add a video to the loading screen background i couldn't find a solution or sample, and also i can't count items on the scene... PG Link: https://playground.babylonjs.com/#WV4PLS Somebody can show me the way about this? Thanks in advance.. Quote Link to comment Share on other sites More sharing options...
kcoley Posted October 12, 2018 Share Posted October 12, 2018 Hi @Buzul . Have you seen these docs on creating custom loading screens?: http://www.babylonjs-playground.com/#1WXS3J Here is a sample playground that uses a custom scene loader: http://www.babylonjs-playground.com/#1WXS3J You can implement a function in displayLoadingUI that implements a video texture. GameMonetize and Buzul 2 Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted October 13, 2018 Share Posted October 13, 2018 Here's one in HTML that just makes a black background container and a video element. https://playground.babylonjs.com/#GC1S7W#1 (You may need to click run before the video works, issue with video elements need interaction.) side-note: PG with timeout( for extra video time ) will bug when clicking run again before the timeout finishes (and video is hidden). GameMonetize, NasimiAsl, Buzul and 1 other 4 Quote Link to comment Share on other sites More sharing options...
Buzul Posted October 16, 2018 Author Share Posted October 16, 2018 @kcoley and @aWeirdo sorry for my late response.. @aWeirdo thank you. i solved video issue with your way.. And now i'm working on progress bar and waiting items.. Thanks for your support.. kcoley 1 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.