User Tag List

Results 1 to 9 of 9

Thread: How can make that every 500 score point give a 1UP?

  1. #1
    No Products Registered

    Join Date
    Nov 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can make that every 500 score point give a 1UP?

    Seems simple, but I have a problem with this: How can make that every 500 score point give a 1UP?

    example: 500 = 1UP 1000 = 1UP 1500 = 1UP etch... thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    404
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    The easiest way I know to do that is to use the MOD function. Check the example attached.
    Fab
    Attached files Attached files

  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)
    Yep, what faber said,..works perfect and I use the MOD function a lot.

  4. #4
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    780
    Mentioned
    17 Post(s)
    Tagged
    0 Thread(s)
    U can also just make another secret counter that gets reset when it passes over 500.

  5. #5
    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)
    Cool, finally I can see simple MOD application and easy to understand.

  6. #6
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Faber's example is pretty simple.

    Whenever an event triggers, you add to your score counter.

    Whenever your score variable "MOD" 500 = 0, that is to say the remainder of the actual variable divided by 500 evenly divides without a remainder, you add one to your lives.

    Think of it like a clock, every time the minute hand goes around 60 times, you add one to the hour and reset the minutes to 0. Time is mod 60;

    however, I don't recommend using mod for scores, because you're more than likely gonna miss that mark evenly. If you're at 495 points and you get 50 points, your 1up won't trigger. You should create a separate variable that resets.
    Attached files Attached files

  7. #7
    No Products Registered

    Join Date
    Nov 2014
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you very much guys!!!

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid 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)
    rosse119's Avatar
    Join Date
    Dec 2012
    Posts
    441
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Could you just use a counter when it hits 500 add a life and remove 500? The counter would be seperatd to the score.

  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,862
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    LOL,..or a global value in place of the counter works also. A lot of ways to do this. All will do the same thing.

Similar Threads

  1. how to make the object move to a certain point after a touch has ended
    By NussMichel in forum Android Export Module 2.5
    Replies: 14
    Last Post: 15th March 2015, 07:37 AM
  2. How to make multiple copies of an active move toward the same point?
    By LemonyLime in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 11th January 2012, 12:28 AM
  3. make Adventure game point&click 3rd person
    By MEHRDAD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th April 2009, 03:01 PM
  4. to add the point in the score LATER 1.000.000.000
    By daniele in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th December 2008, 03:54 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
  •