Search found 3 matches

by EportV
Fri Jan 01, 2016 4:24 am
Forum: Support and Development
Topic: making things work
Replies: 1
Views: 1073

making things work

does everything have to be inside of like a .draw function? like player.draw. if i wanted to make a map completely out of shapes, do i have to name it map.draw? i really dont know. im confused.

sorry if im not making sense.
by EportV
Fri Jan 01, 2016 1:53 am
Forum: Support and Development
Topic: dt is a nil value?
Replies: 3
Views: 2566

Re: dt is a nil value?

@veethree

wont work still :(
by EportV
Fri Jan 01, 2016 1:09 am
Forum: Support and Development
Topic: dt is a nil value?
Replies: 3
Views: 2566

dt is a nil value?

im trying to make a player movement system, however it keeps telling me that dt is a nil value... help? function player.move(dt) local x, y = nil, nil if love.keyboard.isDown("up") then y = player.y - player.speed * dt elseif love.keyboard.isDown("down") then y = player.y + playe...