How resource intensive would it be to have the background of a SHMUP be a video?
For example Giga Wing 2 (because it is one of my favorite shmups) has a really nice 3d background during the stage.
https://youtu.be/xEMG0TUIzg0?t=1m19s
Would I be able to create a video background and have it play behind my screen play area without too much hassle?
Playing videos in Love2D
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Playing videos in Love2D
The framework can playback videos and they are drawable objects, so in terms of hassle it should be as easy as drawing static background. Not sure about performance though, it could be a problem especially for high definition and high frame rate videos.
- zorg
- Party member
- Posts: 3470
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: Playing videos in Love2D
I would be more concerned with syncing up the background video and the foreground stuff, since i am assuming that that would not be a non-issue.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: Playing videos in Love2D
If it's just cool animated backdrop, there's no need to sync anything, it's only supposed to roll in background, not doing fancy stuff.
Re: Playing videos in Love2D
Yeah as long as the video backdrop isn't like off by 10 seconds it should be fine. I'll try it in the near future once I fix this issue I'm having.
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: Playing videos in Love2D
It really depends on the resolution of the video and its framerate. Ogg Theora (what LOVE uses as a video format currently) is not particularly efficient to decode compared to proprietary alternatives, but it should be fine if you test it and tweak size or framerate if needed.JohnnyC wrote:How resource intensive would it be to have the background of a SHMUP be a video?
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests