Ok, I see the code.
Thank you, I understand now, but,
how could I make it less than 1 second?
like... .5?
Search found 36 matches
- Mon Mar 03, 2014 12:44 am
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16119
- Sun Mar 02, 2014 9:20 pm
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16119
Re: Delay on a loop?
How do I rename it?
:p
I try right clicking, but it doesn't show rename as an option.
:p
I try right clicking, but it doesn't show rename as an option.
- Sun Mar 02, 2014 5:28 am
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16119
Re: Delay on a loop?
Cool!
And for the part of source code....?
When I click the download, it shows only the game.
How would I "zip" it?
And for the part of source code....?
When I click the download, it shows only the game.
How would I "zip" it?
- Sun Mar 02, 2014 5:25 am
- Forum: General
- Topic: love.timer.sleep
- Replies: 8
- Views: 3421
Re: love.timer.sleep
uh..... I don't see any of my explosion variables there
- Sun Mar 02, 2014 3:37 am
- Forum: General
- Topic: love.timer.sleep
- Replies: 8
- Views: 3421
Re: love.timer.sleep
I am calling the attack() in a draw function because it draws, anyhow,
could you show me how to add...like... .5 a wait before each animation?
I do not need it to move, just to animate, (its an explosion).
Thanks for your help, and sorry for using the wrong forum.
could you show me how to add...like... .5 a wait before each animation?
I do not need it to move, just to animate, (its an explosion).
Thanks for your help, and sorry for using the wrong forum.
- Sun Mar 02, 2014 12:08 am
- Forum: General
- Topic: love.timer.sleep
- Replies: 8
- Views: 3421
love.timer.sleep
function attack(s) debounce = false bulletxpos = xpos bulletypos = ypos love.graphics.setColor(255,255,255) love.timer.sleep(s * 1) Bullet = love.graphics.draw(bullet,bulletxpos,bulletypos - less) love.timer.sleep(s * 1) EXP1 = love.graphics.draw(exp1,bulletxpos,bulletypos - less) love.timer.sleep(s...
Re: Getting
Awww
Getting
Is there any way to get the X and Y of something?
I know you can get the height and width, but anyway to get X and Y?
I know you can get the height and width, but anyway to get X and Y?
- Fri Feb 28, 2014 12:00 am
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16119
Re: Delay on a loop?
Can you give an example of that, or remake my code that way?
I am quite confused.
I am quite confused.
- Thu Feb 27, 2014 5:29 am
- Forum: General
- Topic: Delay on a loop?
- Replies: 28
- Views: 16119
Re: Delay on a loop?
Thank you, I have made my script, but now it has an error when I try to run it: function attack2(dt) divident = 10 timer = 0 repeat timer = timer + dt/dividend until timer == 0.1 if timer == 0.1 then timer = 0 Bullet = love.graphics.draw(bullet,xpos,ypos - less) Bullet = nil end timer2 = 0 repeat ti...