paul.w Posted April 10, 2014 Posted April 10, 2014 Hi Can you change the video at runtime for a WidgetSpriteVideo ?
silent Posted April 11, 2014 Posted April 11, 2014 Hi Paul, Yes, you can. There are couple of ways to do this: Delete WidgetSpriteVideo and create new WidgetSpriteVideo in the same place, but with different path to video file. There might be small pause between deletion of old widget and creating a new one. Create new WidgetSpriteVideo in background and disable (and then delete) old WidgetSpriteVideo. The second solution is a little bit complicated, so I suggest you to try the first one and check the results. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
paul.w Posted April 11, 2014 Author Posted April 11, 2014 What about if I used the game level framework, will there be a delay loading levels ? I'm thinking of putting one video per level and then just load to the level to switch videos, would this work?
silent Posted April 21, 2014 Posted April 21, 2014 Hi Paul, It's hard to say without looking at code, but our devs say that everything should be ok. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts