Looping Video in background

Get help using Construct 2

Post » Thu Feb 28, 2013 4:36 pm

Hey, is there any possible way I can have a video looping in the background of a game? I've tried iFrame, but whatever I seem to do, it just loads over all of my other objects which is not what I want. Any help is appreciated. Thank you, Rogalog.
B
12
S
1
Posts: 29
Reputation: 908

Post » Thu Feb 28, 2013 4:45 pm

If you're using the Video plugin, I'd say there's no chance to play it underneath the canvas. Just open a console ( in Chrome or Firefox/Firebug ) and observe where the video object is position relatively to the canvas one. You'll see what I mean.
B
16
S
4
G
3
Posts: 46
Reputation: 2,875

Post » Thu Feb 28, 2013 5:09 pm

If you have a short-animated video, you may add it as a sprite, frame by frame, although you'll have to be careful with the size, and whether you want to export it to mobiles or just PC.
B
17
S
4
G
3
Posts: 73
Reputation: 3,723

Post » Thu Feb 28, 2013 5:42 pm

Thank you for the replies, I see that the Video Plugin will not work, as it completely covers the screen. As for jegcelorio's post, the video is only about 9 seconds long and I want it on repeat. How would I go about splitting it into frames as you suggested?
B
12
S
1
Posts: 29
Reputation: 908

Post » Thu Feb 28, 2013 5:54 pm

You may want to import the video into a video editor and there from to export all the frames individually. Photoshop ( late versions ) might be able also to do this.
B
16
S
4
G
3
Posts: 46
Reputation: 2,875

Post » Thu Feb 28, 2013 6:17 pm

Okay, just tried that. Split it into 200 frames, and even with 200 frames the quality is pretty bad. Doesn't look like this is possible then. :( Maybe something which allows videos to be put behind objects will pop up in the future.

Thanks for the help anyway guys, greatly appreciated.
B
12
S
1
Posts: 29
Reputation: 908


Return to How do I....?

Who is online

Users browsing this forum: Aserak2012, Colorfish and 4 guests