Play a .mov file in a Love2D game?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Ziggy2764
Prole
Posts: 6
Joined: Sat Aug 25, 2012 3:45 pm

Play a .mov file in a Love2D game?

Post by Ziggy2764 »

is it possible to play a .mov file in a Love2D game. For example, say I wanted to put a video introduction at the beginning of a game, would that be possible? If so, how?
bekey
Party member
Posts: 255
Joined: Tue Sep 03, 2013 6:27 pm

[]

Post by bekey »

-snip-
Last edited by bekey on Fri Jan 24, 2014 2:11 am, edited 1 time in total.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Play a .mov file in a Love2D game?

Post by Jasoco »

It's an outdated concept to put a video file in a game these days. In games where you need a cinematic, like big budget 3D games, you just use in-game scenes these days and in small indie games you just use cutscenes and scripting.

A video file on a small game like this is unnecessary bloat and not a high priority. This isn't the '90s. Games don't need to fake it with videos for story telling.

For an introduction, just do a cut scene. A video file would end up being bigger than the sum of your code combined.
User avatar
Azhukar
Party member
Posts: 478
Joined: Fri Oct 26, 2012 11:54 am

Re: Play a .mov file in a Love2D game?

Post by Azhukar »

Jasoco wrote:It's an outdated concept to put a video file in a game these days.
Company logo intros.

Guess all those 'AAA' games are actually outdated, who would have thought.
User avatar
raidho36
Party member
Posts: 2063
Joined: Mon Jun 17, 2013 12:00 pm

Re: Play a .mov file in a Love2D game?

Post by raidho36 »

Depends on the game. Some titles don't think it's cooler that way to have logos animated, so they're just still images. They're often just mentioned on the game loading screen as a tiny logo at the bottom.
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: Play a .mov file in a Love2D game?

Post by Ranguna259 »

Killzone 3's cutscenes are all videos, if you download the PS3 version of the game you can actually see the videos inside.

But I don't recommend using videos on games, do it only if really necessary
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.
User avatar
Jasoco
Inner party member
Posts: 3727
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Play a .mov file in a Love2D game?

Post by Jasoco »

Yeah, but those AAA titles also have gigabytes of code and resources so a few videos won't matter. But a small indie game wouldn't benefit at all from a video. Cutscenes are more charming.
User avatar
Ranguna259
Party member
Posts: 911
Joined: Tue Jun 18, 2013 10:58 pm
Location: I'm right next to you

Re: Play a .mov file in a Love2D game?

Post by Ranguna259 »

GBs of resources, the code is only a few MBs but what you've said is totally right, and since the love games are only one executable it would be kinda wierd having a ~500MB exe, I wouldn't download something like that unless if it was an installer :P

OP do that only if you really need it
LoveDebug- A library that will help you debug your game with an on-screen fully interactive lua console, you can even do code hotswapping :D

Check out my twitter.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Play a .mov file in a Love2D game?

Post by T-Bone »

I would rather phrase it like this: If you need videos in your game, then LÖVE isn't the right tool to use.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 8 guests