+2 votes

Hello everyone
I'm creating a terror game(3D) , and I basically want the TV to play a video when it's turned on, but how can I do it? I tried using viewport and preloadscene but I can't make it work, the TV is a separate scene ...

TV scene = https://imgur.com/gd5Llsj
TV in game = https://www.youtube.com/watch?v=cjG54atV6vc&feature=youtu.be

asked Nov 19, 2019 in Projects by RenanNask (16 points)

1 Answer

0 votes

I know it's a bit late, and if you've found an answer please tell us!

For anyone wondering, I think you can't play directly a video. What you could do instead, is the following:
- Extract the individual frame of your video
- Create an AnimatedTexture with the said frames, and place it on your TV screen
- Add a AudioStreamPlayer3D with the sound
- Play them when needed.

answered Apr 16 by MrEliptik (19 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.