Search found 4 matches
- Tue Sep 08, 2015 2:57 am
- Forum: Support and Development
- Topic: The logic of LÖVE's gamestate.
- Replies: 2
- Views: 1412
The logic of LÖVE's gamestate.
I'm having a hard time comprehending how the gamestate in LÖVE works; though I know for the most part that it involves creating a table or some sort. So far, I haven't seen any tutorial regarding this (and if there are, they tend to use the outdated version instead). Checking the source code of some...
- Fri Aug 21, 2015 4:35 pm
- Forum: Support and Development
- Topic: Draw another image after the screen fades to black (flux).
- Replies: 6
- Views: 2718
Re: Draw another image after the screen fades to black (flux
It finally works! Once again, thanks a lot!
However, I do have one final question (I think), if you don't mind. Should I make a new fade table every time I have to draw a new image and create a new fading animation for it, or is there an easier method to do this?
However, I do have one final question (I think), if you don't mind. Should I make a new fade table every time I have to draw a new image and create a new fading animation for it, or is there an easier method to do this?
- Fri Aug 21, 2015 2:23 pm
- Forum: Support and Development
- Topic: Draw another image after the screen fades to black (flux).
- Replies: 6
- Views: 2718
Re: Draw another image after the screen fades to black (flux
Thank you for your help, bakpakin! Unfortunately, the code doesn't work; and it gives me this error instead: Error: assets/flux.lua:91: attempt to compare number with nil stack traceback: assets/flux.lua:91: in function 'new' assets/flux.lua:123: in function 'after' main.lua:16: in function 'load' [...
- Fri Aug 21, 2015 8:24 am
- Forum: Support and Development
- Topic: Draw another image after the screen fades to black (flux).
- Replies: 6
- Views: 2718
Draw another image after the screen fades to black (flux).
I'm new to LÖVE and Lua in general, and I'm pretty sure the problem I'm facing right now is basic for most people here, but... flux = require "assets/flux" function love.load() love.graphics.setBackgroundColor(0, 0, 0) fade = {alpha = 0} image01 = love.graphics.newImage("assets/hohoho...