How To Use A Counter To Determine Level Success

Discussion in 'How Can I...?' started by isthisrequired, Jul 1, 2017.

  1. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    Hi everyone,

    I want to create a game with multiple levels where on each level the player has 50 balls to try and get into the hole as part of the game. I'm not sure how to make the counter reduce by one each time the ball is shot, and how to make the subsequent levels unlock only if the player makes 30 or more balls in the hole. Are these possible? If so, how can I do it? Thanks!
     
  2. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    Sorry, I want to bump this thread because it's important for the completion of my first game. Thanks!
     
  3. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
  4. playsgames6666

    playsgames6666 Miniboss Boxer

    Joined:
    Nov 13, 2015
    Messages:
    1,168
    Likes Received:
    745
    Man , think no-one has answered as that would be a task to do and explain how to do.
    and that would take some trickery, but i think its totally doable.
    Just need to work it out, and ill try get back to you.
    For the scoring of the game, you could use points for the score, and use minus coins for the counter.
    But without knowing your game and what its about is the hardest part. but let me play around a bit.
    The biggest issue is the counter when the ball goes in the hole.
    You could place an action with -1 coins in an object thats in the hole, with the object being destroyed when the ball hits it which will trigger the -1 for the counter, but the issue is then having 50 objects to respawn into the whole for when the next ball enters the hole.
    This is a tough one. but ill have a play....might take some time to do but ill try.
     
    isthisrequired likes this.
  5. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    Thank you, playsgames6666.
     
  6. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    The above method doesn't quite work for me, but is there an easier way to use a counter to track how many of the balls go in the hole and then to trigger the unlocking of the next level if the player gets a certain number of balls in the hole?
     
  7. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
  8. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
  9. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    I'd really appreciate any help with this because it's very important to my completing my first game. Thanks!
     
  10. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
  11. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7

Share This Page