Search found 4 matches

by nPwn
Thu Jan 26, 2012 5:21 am
Forum: General
Topic: How do you delete a picture that you have drawn?
Replies: 7
Views: 2323

Re: How do you delete a picture that you have drawn?

Okay thanks. I am new to love but not new to lua. I learned lua from ROBLOX originally. So back to my original question, is there anyway to "undraw" or erase an image?
by nPwn
Thu Jan 26, 2012 3:41 am
Forum: General
Topic: How do you delete a picture that you have drawn?
Replies: 7
Views: 2323

Re: How do you delete a picture that you have drawn?

How do I do that?
by nPwn
Thu Jan 26, 2012 2:51 am
Forum: General
Topic: How do you delete a picture that you have drawn?
Replies: 7
Views: 2323

Re: How do you delete a picture that you have drawn?

Simple answer. Stop drawing it. That's basically it. Use if's and then's and variables to determine if it's supposed to draw or not. But if I have already drawn it then how would I stop? This is what I have. local one, two, three local a = 1 function love.load() one = love.graphics.newImage("one.pn...
by nPwn
Thu Jan 26, 2012 1:05 am
Forum: General
Topic: How do you delete a picture that you have drawn?
Replies: 7
Views: 2323

How do you delete a picture that you have drawn?

Like I have this:

function love.draw()
love.graphics.draw(one,0, 0)

end

how would I erase the picture "one"?