Search found 36 matches
- Thu Feb 27, 2014 1:20 am
- Forum: Support and Development
- Topic: removing images
- Replies: 15
- Views: 12770
Re: removing images
Sorry... this is not working for me....
- Wed Feb 26, 2014 5:05 am
- Forum: Support and Development
- Topic: removing images
- Replies: 15
- Views: 12770
removing images
On the wiki, it said this; Shape:destroy()
but when I make a image, I do this:
image = love.graphics.newImage("block")
love.graphics.draw(block,400,300)
Now how would I remove it?
Thanks for your help in my first language guys, it is appreciated
but when I make a image, I do this:
image = love.graphics.newImage("block")
love.graphics.draw(block,400,300)
Now how would I remove it?
Thanks for your help in my first language guys, it is appreciated
- Wed Feb 26, 2014 4:14 am
- Forum: General
- Topic: Quick question
- Replies: 3
- Views: 1047
Re: Quick question
Thank you.
- Wed Feb 26, 2014 2:56 am
- Forum: Support and Development
- Topic: Rotation
- Replies: 2
- Views: 858
Re: Rotation
Uh, I don't know how to delete.
- Wed Feb 26, 2014 2:29 am
- Forum: Support and Development
- Topic: Rotation
- Replies: 2
- Views: 858
Rotation
Can I get a detailed explanation on rotation?
If not, then just the wiki page?
If not, then just the wiki page?
- Wed Feb 26, 2014 2:27 am
- Forum: General
- Topic: Quick question
- Replies: 3
- Views: 1047
Quick question
For keyboard checking, what would the space bar string be called?
ex: love.keyboard.isDown("space") -- is this right?
ex: love.keyboard.isDown("space") -- is this right?
Re: Rotation?
What does this mean?
x, y, r, sx, sy, ox, oy, kx, ky )
I know what the r is, but what does the rest mean?
Also, do you need the code above to have all of those letters or can it be anything of your choice?
x, y, r, sx, sy, ox, oy, kx, ky )
I know what the r is, but what does the rest mean?
Also, do you need the code above to have all of those letters or can it be anything of your choice?
Rotation?
The wiki did not give a straight answer, and I was somewhat confused. Let say I made a image move along the screen if a key isDown, but I wanted it to rotate on turns How would I rotate the image? My guess; love.graphics.setRotation()-- angle here? If this is not correct, please correct it for me. T...
- Wed Feb 26, 2014 12:38 am
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16112
Re: Delay on a loop?
What does dt do?
- Tue Feb 25, 2014 5:47 am
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16112
Re: Delay on a loop?
I have found this: ... so that a thread can block for a specified amount of time. In love.run, waiting is needed before running the main loop again. Threads can call wait ... M = {} local timers = {} local callbacks = {} function M.start(name, delay, callback) timers[name] = delay callbacks[name] = ...