Added: 2 years ago
From: PixelCUBEstudios
Views: 1,581
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (6)

Sign In or Sign Up now to post a comment!
  • 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

    }

  • 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.

  • thank you thank you thank you ive been looking for something like this for ever thanks!!

  • hey how could i make it lose a life if something collides with it

  • i have the same question, have you figured it our yet?

  • Im not sure about that. I haven't tried to make any kind of collision detection yet.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more