General discussion about LÖVE, Lua, game development, puns, and unicorns.
Senseo
Prole
Posts: 3 Joined: Fri May 24, 2019 5:25 am
Post
by Senseo » Fri May 24, 2019 5:50 am
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
) 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()
raidho36
Party member
Posts: 2063 Joined: Mon Jun 17, 2013 12:00 pm
Post
by raidho36 » Sat May 25, 2019 6:06 pm
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.
Senseo
Prole
Posts: 3 Joined: Fri May 24, 2019 5:25 am
Post
by Senseo » Sat May 25, 2019 10:07 pm
Ok got it. The only problem is how to do that TV effect any ideas?
raidho36
Party member
Posts: 2063 Joined: Mon Jun 17, 2013 12:00 pm
Post
by raidho36 » Sat May 25, 2019 10:51 pm
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.
grump
Party member
Posts: 947 Joined: Sat Jul 22, 2017 7:43 pm
Post
by grump » Sat May 25, 2019 10:55 pm
Example attached
Attachments
static.love
(541 Bytes) Downloaded 224 times
Senseo
Prole
Posts: 3 Joined: Fri May 24, 2019 5:25 am
Post
by Senseo » Sun May 26, 2019 7:21 am
grump wrote: ↑ Sat May 25, 2019 10:55 pm
Example attached
Wow, that looks really cool thank you very much!
Users browsing this forum: Bing [Bot] , Google [Bot] and 3 guests