User Tag List

Results 1 to 5 of 5

Thread: bonus lives

  1. #1
    mffl07
    Guest

    bonus lives

    Here is a very simple question for someone... How do I go about rewarding the player with a bonus life for reaching a certain score level?


  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: bonus lives

    You can use the conditions and actions of the Player object to do this. For example:

    + Player 1: Score is greater than 10000
    + Only one action when event loops
    -> Player 1: Add 1 to lives

    The "Only one action when event loops" (in the Special object) is important, as without it, the player would keep having 1 added to their life count as long as the score remained about 10000.

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export ModuleInstall Creator Pro

    Join Date
    Jun 2006
    Location
    France
    Posts
    1,266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: bonus lives

    This is a wrong way todo it. If he loses 10 score and gains 20 he gets another live. You either also reset the score, or you make a note somehwere (INI or GlobalValue for example) that the live has been added. So when this happens, it will not add a 2nd, 3rd, etc... live.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: bonus lives

    This is a wrong way todo it
    Not necessarily, what if you can't lose score in his game? Also, the fixes you suggested would still use DavidN's method anyway.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: bonus lives

    If you can lose score then just use "Run this event once" instead of "Only one action when event loops".
    .:::.Joshtek.:::.

Similar Threads

  1. Bonus Lives "every" 10000 points!?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th May 2012, 12:33 AM
  2. Lives
    By Graham in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th October 2011, 03:42 PM
  3. Getting the value of Lives
    By Krisando in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 30th April 2008, 07:24 AM
  4. lives
    By Taco in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 28th August 2007, 06:18 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
  •