Search found 3 matches

by Wittloc
Sun Dec 21, 2014 11:54 pm
Forum: Support and Development
Topic: Mouse problems
Replies: 1
Views: 1953

Mouse problems

This function here; function love.update(dt) if love.mouse.getY() >= 65 and love.mouse.getY() <= 65 + 33 then selectedbutton = 1 if love.mouse.isDown("l") and mon == true then mon = false gameplay = 2 wait(2) gameplay = 1 end end end Doesn't do anything. mon is a value set to True somewher...
by Wittloc
Fri Nov 21, 2014 8:24 pm
Forum: Support and Development
Topic: How to remove images?
Replies: 8
Views: 8612

Re: How to remove images?

love.update(dt) -- The dt is the time which has passed since this was last called. Probably we don't need this right now. local oldTime = love.timer.getTime() if (love.timer.getTime() >= oldTime + 1) then -- I believe the 1 should stand for one second, in this case. Is the new time 1 second more th...
by Wittloc
Fri Nov 21, 2014 5:43 am
Forum: Support and Development
Topic: How to remove images?
Replies: 8
Views: 8612

How to remove images?

function love.load() freddyA = love.graphics.newImage("431.png") staticA = love.graphics.newImage("590.png") staticB = love.graphics.newImage("591.png") staticC = love.graphics.newImage("592.png") staticD = love.graphics.newImage("593.png") sound = ...