User Tag List

Results 1 to 6 of 6

Thread: How to add BONUS points to Score by subtracting from bonus and adding to score?

  1. #1
    Clicker Fusion 2.5Android Export Module
    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)
    amiman99's Avatar
    Join Date
    Dec 2015
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to add BONUS points to Score by subtracting from bonus and adding to score?

    I'm looking for a way to add my bonus points in a way that adds them to score 1 point at a time (very fast), and subtracting them from the bonus counter.

    I already got it working by adding all points at a time, but I think it looks nice when you see the points adding.

    Thank you

  2. #2
    Clickteam Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleInstall Creator Pro
    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)
    BartekB's Avatar
    Join Date
    Aug 2013
    Posts
    620
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    You can do it by the condition:
    If Bonus Counter's value is higher than 0
    -> Add 1 to score
    -> Subtract 1 from Bonus Counter

    This will make it so one point is added per frame (60 times a second)
    - BartekB, a.k.a Uppernate
    Join the Click Converse Discord! - https://discord.gg/7RNXFrC
    Dungeon Raiders! - Link soon™

  3. #3
    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,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Here is an example of what you're looking for. You can trigger this in different ways. I'm using buttons just to trigger the end of the game bonus points.
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5Android Export Module
    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)
    amiman99's Avatar
    Join Date
    Dec 2015
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, That's exactly what I'm looking for.

    Will this method also update my STRING object that displays the BONUS points?
    The counter in the pic is the BONUS counter.

    Bonus points.jpg

  5. #5
    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,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It should update the string. I made an error on one line. Download the file again.

  6. #6
    Clicker Fusion 2.5Android Export Module
    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)
    amiman99's Avatar
    Join Date
    Dec 2015
    Posts
    243
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got it, Thank you
    I will try to incorporate the solution to my game. I need to see how it fits in to my code.

Similar Threads

  1. Save score to global value (+total points from two different values)
    By MagnetoX in forum Guides, Tutorials, Examples, Widgets
    Replies: 0
    Last Post: 9th February 2015, 05:10 PM
  2. Replies: 2
    Last Post: 11th January 2015, 06:04 PM
  3. Problem adding Sounds from the Bonus CD
    By jbrown2177 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 16th August 2012, 03:19 PM
  4. Bonus Lives "every" 10000 points!?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th May 2012, 12:33 AM
  5. Showing Score Points when Score is gained?
    By Jacob_Miller in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th May 2011, 01:41 AM

Posting Permissions

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