Hello All,
I am working on a little personal project that involves ir break beam sensors / led lights / 7 in screens and a air hockey table
I have it all running through a raspberry pi 4. In playcanvas i can turn on an off the leds and have the input sensors changing things in the scene as well.
what i would like to do is display some videos when a player scores / player loses / time ran out ect. Something like
previous for video in PC i have used the video texture tutorials. But I have a couple of questions.
How should i go about changing the video. Say i have Video A and now i want Video B to play.
Do i need to do var video = document.createElement(βvideoβ); and created one for each video to switch?
Is it better to create one video that has all the videos combine and i just jump in the timeline to play the one i want?
Since these will all be 8 bit style animations would it be better / more performant to use sprite sheets?
because this is on a Pi it needs to be as performant as possible.