Page 1 of 1

TV Effect

Posted: Fri May 24, 2019 5:50 am
by Senseo
Hello,
Well I've to tell you I'm into Löve since 4:00 this morning (now it's almost 8:00 time for breakfast :D ) so please have patience with me.
I'll have a question where it's not clear to me how this could be archived

For an Intro (first screen) my idea was to have in the middle of the screen a logo then a short animation above the logo (max a second long) and after the animation had finished display the second logo and hide the animation.

the animation I would love to create

https://www.youtube.com/watch?v=fA7GZsJGYBg

Does anyone have an idea how this can be recreated and displayed above my logo?
The logo (while I was unsure what to use here is created with quads)

Code: Select all

    imgLogo = love.graphics.newImage('logo.png')
    spritePosX   =    0
    spritePosY   =    0
    spriteWidth  =  790
    spriteHeight =  216
    quadLogo = love.graphics.newQuad(spritePosX, spritePosY, spriteWidth, spriteHeight, imgLogo:getDimensions()

Re: TV Effect

Posted: Sat May 25, 2019 6:06 pm
by raidho36
Basically, it's a three frame animation. First frame is your first logo, second "frame" is the video of the TV static, third frame is the second logo.

You could use an animation manager. Or for something this simple, indeed just hard-code it to display these three assets in succession.

Re: TV Effect

Posted: Sat May 25, 2019 10:07 pm
by Senseo
Ok got it. The only problem is how to do that TV effect any ideas?

Re: TV Effect

Posted: Sat May 25, 2019 10:51 pm
by raidho36
You can just use a pre-recorded video and play it in the game window. Or in fact, make the entire logo animation a video and play that.

Re: TV Effect

Posted: Sat May 25, 2019 10:55 pm
by grump
Example attached

Re: TV Effect

Posted: Sun May 26, 2019 7:21 am
by Senseo
grump wrote: Sat May 25, 2019 10:55 pm Example attached
Wow, that looks really cool thank you very much!