User Tag List

Results 1 to 7 of 7

Thread: Short Temporary Boost

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Godspeed8118's Avatar
    Join Date
    Feb 2008
    Location
    NJ, United States
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Short Temporary Boost

    I'm making a sonic game and I can't think of a way to make you have a short boost when you overlap an object.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Godspeed8118's Avatar
    Join Date
    Feb 2008
    Location
    NJ, United States
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Short Temporary Boost

    If you've ever Played Sonic Rush or Sonic Adventure 2 Battle, I'm trying to get the effect that happens when you in the air and you go through those red rings and you go a little ways forward.

    If somebody could tell me how to get that to happen when you run through a certain object

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Short Temporary Boost

    I haven't played those, but I would expect it would be something like having a flag on. Flag on + only one action when event loops: "set maximum speed to X", "set direction to D" and "set speed to X" X = the speed you want, and D = what direction the boost will be in.

    Then:

    Flag on: Set speed to speed("object")-1

    Then to eliminate the boost:

    Flag on + speed("object") < N: Set maximum speed to N and turn Flag off

    N = the original maximum speed.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Apr 2009
    Location
    Florida
    Posts
    153
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Short Temporary Boost

    set a condition when object 1 (player) collides with object 2 (what ever it is the player needs to hit for the boost)

    when that collison occurs, then you can set a global value on the player to "on"

    then set a condition that if that global value = "on" speed = speed+100 etc or what ever effect you need to do.

    you can then set another condition to "every 5 seconds" set the players flag back to "off" that way the boost will only last a short period of time

    never played that particual sonic game, but the idea is pretty much the same for any temp ability for a player in a game:

    1) player collides/overlaps with target
    2) set player specific flag or global value on
    3) check if flag is on, if so, add special event, speed, color etc.
    4) set a timer to disable the special event and set the flag/gv back to off after a specified or random time


    hope that helps, or give u a general idea on how to make it function. this process is prety much the same as when you check if a player has "shot" and enemy, or been shot by an enemny, etc.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Short Temporary Boost

    Problem with that boost is that it doesn't slow down slowly before returning to normal.

    My way you can manipulate to go just as long and still have it fade back.

    But otherwise they are basically the same idea, turn something on, add to speed, turn that something off after a while.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Godspeed8118's Avatar
    Join Date
    Feb 2008
    Location
    NJ, United States
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Short Temporary Boost

    I'm still having a problem =(

    It slows me down instead of making me go faster.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Short Temporary Boost

    Hmm?

    Can you post an example? That really shouldn't happen...

Similar Threads

  1. Surface 1.5 - Performance boost when overlaying entire screen?
    By GreenOnion in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th April 2013, 03:09 PM
  2. Creating a temporary event
    By Sorensen in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th March 2011, 02:03 PM
  3. Temporary Pause?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 6th December 2008, 03:53 AM
  4. B241 Bug Get MMF2 temporary folder
    By joewski in forum File Archive
    Replies: 0
    Last Post: 3rd August 2006, 04:42 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
  •