User Tag List

Results 1 to 9 of 9

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

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Mar 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

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

    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.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    UltimateWalrus's Avatar
    Join Date
    Jul 2006
    Posts
    824
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Mar 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for this, and sorry for the dumb question, but where do I add this?


    Edit: Never mind, I've found out where to add the loop bit.

  4. #4
    Clicker Fusion 2.5 (Steam)

    Join Date
    Mar 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  5. #5
    No Products Registered

    Join Date
    Sep 2016
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by gameportz View Post
    Thanks for this, and sorry for the dumb question, but where do I add this?


    Edit: Never mind, I've found out where to add the loop bit.

    I still haven't figured out how/where to add this, would you please be so kind to enlighten me?

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    gameportz, you can use "mod" for this. Here is an example of what you are looking for. Hope this helps.
    Attached files Attached files

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2016
    Location
    Germany
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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

  8. #8
    No Products Registered

    Join Date
    Oct 2016
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by KLiK-iT View Post
    gameportz, you can use "mod" for this. Here is an example of what you are looking for. Hope this helps.
    How did you set up that condition? I dont know what or where to click.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Compare two general values. It's under special conditions. Click a new condition,.then under special (looks like gears) you'll find compare two general values.

Similar Threads

  1. cant reset high score in tutorial chocobreak
    By bigpapagun in forum Fusion 2.5
    Replies: 3
    Last Post: 23rd July 2015, 02:36 PM
  2. Sparckman's High Score Tutorial Question?
    By Emerson3 in forum Fusion 2.5
    Replies: 2
    Last Post: 8th June 2015, 01:31 PM
  3. Chocobreak Tutorial score issue
    By kevinloeffler in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 22nd February 2015, 02:53 PM
  4. Chocobreak Lives = zero fails next frame
    By xak in forum Fusion 2.5
    Replies: 3
    Last Post: 10th February 2015, 05:36 PM
  5. Chocobreak Tutorial Question
    By ZZee in forum The Games Factory 2 - Technical Support
    Replies: 7
    Last Post: 15th November 2006, 01:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •