What, how?kraftman wrote:You could give each thing that you want to fade in its own timer.
Search found 4 matches
- Sat Jul 23, 2011 9:33 pm
- Forum: Support and Development
- Topic: Question from a LOVE newbie
- Replies: 20
- Views: 6849
Re: Question from a LOVE newbie
- Sat Jul 23, 2011 8:40 pm
- Forum: Support and Development
- Topic: Question from a LOVE newbie
- Replies: 20
- Views: 6849
Re: Question from a LOVE newbie
Do something like this function love.load() frames_to_wait = 0 end function love.draw() if frames_to_wait ~= 0 then frames_to_wait = frames_to_wait - 1 return else --Draw stuff end end Then, in your love.update logic, when you want to stop drawing stuff for x frames, just type frames_to_wait = . Do...
- Sat Jul 23, 2011 4:10 pm
- Forum: Support and Development
- Topic: Question from a LOVE newbie
- Replies: 20
- Views: 6849
Re: Question from a LOVE newbie
oh silly me.
Also, another newbie question. I have to manage when stuff happens like for e.g. showing the next image with time? Is there no other way to do it like 'when this ends, do this'?
Also, another newbie question. I have to manage when stuff happens like for e.g. showing the next image with time? Is there no other way to do it like 'when this ends, do this'?
- Sat Jul 23, 2011 3:56 pm
- Forum: Support and Development
- Topic: Question from a LOVE newbie
- Replies: 20
- Views: 6849
Question from a LOVE newbie
I'm trying to learn LOVE while making a game and the first thing I'm trying to do is make a logo fade in/out then show the menu bg (another image) without buttons (for now). I tried to get the first image to fade in but it's not fading out for some reason. Here is my code: function love.load() -- Se...