iPhone Programming - Make a Life System!
Loading...
1,580
Loading...
Uploader Comments (PixelCUBEstudios)
see all
All Comments (6)
-
thank you thank you thank you ive been looking for something like this for ever thanks!!
-
Im not sure about that. I haven't tried to make any kind of collision detection yet.
-
i have the same question, have you figured it our yet?
-
hey how could i make it lose a life if something collides with it
Loading...
why can't you just have an int equal to 3 and then when you want it lose a life you do if (you get an answer wrong) {
int --;
}
then an if statement saying:
if (int =0)
{
You lose code
}
willdashortelf 2 years ago
Yeah, you can do it like that as well. Just theres one mistake you make. In your "if" statement, you must use 2 "=" signs, not just one.
PixelCUBEstudios 2 years ago