
-----------------------------------
Velocity
Mon Dec 12, 2011 7:34 pm

Decreasing my lives after death
-----------------------------------
Why don't my lives go down when the ball goes below 0?

if ball_x1 < 25 and ball_y1 < 0 then
            lives -= 1
end if

-----------------------------------
Insectoid
Mon Dec 12, 2011 7:57 pm

RE:Decreasing my lives after death
-----------------------------------
It's probably something wrong with the rest of your code. Do you really want to increase the score when x1 < 25 and y1 < 0? Is this condition ever even evaluated?

-----------------------------------
programmer1337
Mon Dec 12, 2011 8:09 pm

RE:Decreasing my lives after death
-----------------------------------
looks like the if statement could use tweaking, can you supply the rest of the code?

-----------------------------------
Velocity
Mon Dec 12, 2011 9:04 pm

RE:Decreasing my lives after death
-----------------------------------
@ Insectoid your comment actually helped me out. thanks
@ programmer sec. lemme just finish the game

-----------------------------------
Velocity
Mon Dec 12, 2011 9:15 pm

RE:Decreasing my lives after death
-----------------------------------
problem solved, thanks insectoid.

-----------------------------------
Velocity
Mon Dec 19, 2011 7:41 pm

RE:Decreasing my lives after death
-----------------------------------
now i look back at this and think i cant believe i was stupid enough to ask this question.

-----------------------------------
Aange10
Mon Dec 19, 2011 11:26 pm

RE:Decreasing my lives after death
-----------------------------------

@ Insectoid your comment actually helped me out. thanks 



All he said was for you to read it again lol. Those are honestly questions you should ask yourself as soon as you realize it's broken. Mr. C++
