Question about Chocobreak tutorial - how to add lives when certain score reached

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I have just started using Clickteam Fusion 2.5 today and have gone through the first tutorial. Having completed that, I am now wanting to add 1 life when a certain score is reached (or better still each time a multiple of that score is reached) but I am struggling trying to work this out.

    Can anyone provide me some basic guidelines on how to do this?

    Thanks.

  • Code
    Score of Player 1 >= 1000
    + Only one action when event loops
            --> Add 1 to Number of Lives


    For multiples of that score, you need a more general purpose solution. Have an alterable value (or an offscreen counter which beginners generally find easier to grasp) which stores the last score for which a life was awarded. Then do:

    Code
    Score of Player 1 >= Value("Counter") + 1000
            --> Add 1 to Number of Lives
            --> Add 1000 to Value of Counter

    Please login to see this link. (Indie games and Fusion resources)
    For freelance inquiries please email admin at ultimatewalrus.com

  • Going further on this though, how would I get it to only add a life if the 1000 score was reached without losing a life?

    I tried to add the line Set Counter to 0 if the ball left the playing field at the bottom, but for some reason it adds a life now instead of taking one off

    EDIT: Managed to resolve this using 2 counters

    Edited once, last by gameportz (March 8, 2016 at 11:50 AM).

  • Help needed .Im new to Fusion and buy it at Humble today.
    Starting with the Chokobreak Tutorial ,but i´m struggle with the Score ,Can´t find Score or Live in Player1 at the event editor .
    Maybe the Tutorial is older than Fusion 2.5 .

    Can someone give me a hint ?

    Thx

    Greets from Germany

    Sorry found it ,Player 1 is the Joystick...lol

    Edited once, last by Basshase (October 2, 2016 at 11:33 AM).

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!