Search found 49 matches
- Fri Apr 08, 2011 7:56 pm
- Forum: General
- Topic: Avatars: OBEY!
- Replies: 763
- Views: 1012167
Re: Avatars: OBEY!
Yesh.
- Sat Apr 02, 2011 1:55 pm
- Forum: General
- Topic: Waiting, calling a function and waiting again.
- Replies: 5
- Views: 2002
Re: Waiting, calling a function and waiting again.
Ha. I thought i had to use something like timer.interval = 10000 and timer.tick but this easy, awesome!
- Sat Apr 02, 2011 11:33 am
- Forum: General
- Topic: Waiting, calling a function and waiting again.
- Replies: 5
- Views: 2002
Re: Waiting, calling a function and waiting again.
Now how do i create the timer?
- Sat Apr 02, 2011 11:29 am
- Forum: General
- Topic: Waiting, calling a function and waiting again.
- Replies: 5
- Views: 2002
Waiting, calling a function and waiting again.
How can i wait 10 seconds, call a function, wait 10 seconds again and call the same function? Like an endless loop to wait and call a function.
Still sorry for multiple posts :/
Still sorry for multiple posts :/
- Sat Apr 02, 2011 11:21 am
- Forum: General
- Topic: Random numbers
- Replies: 12
- Views: 5377
Re: Random numbers
Okay thanks.
- Sat Apr 02, 2011 10:58 am
- Forum: General
- Topic: Random numbers
- Replies: 12
- Views: 5377
Random numbers
Hey its me again. Now this time, how can i get a random number between 100 and 700?
Sorry for multiple posts, but i dont think the mouse and random numbers are related to eachother.
Sorry for multiple posts, but i dont think the mouse and random numbers are related to eachother.
- Sat Apr 02, 2011 10:54 am
- Forum: General
- Topic: Mouse inside an image
- Replies: 6
- Views: 2043
Re: Mouse inside an image
Yay it works! And the lower case L is just a few pixels different from 1 in Notepad++.
- Sat Apr 02, 2011 10:31 am
- Forum: General
- Topic: Mouse inside an image
- Replies: 6
- Views: 2043
Re: Mouse inside an image
Nope. I tried to do this:
But no score is added.
Code: Select all
function love.mousepressed(x, y, button)
if button == '1' then
if checkMouse(headx, heady, head:getWidth(), head:getHeight()) == true then
score = score + 1
end
end
end
- Sat Apr 02, 2011 9:49 am
- Forum: General
- Topic: Mouse inside an image
- Replies: 6
- Views: 2043
Mouse inside an image
How can i detect if the mouse is inside an image? Its for my first game ever, im really excited about it!