User Tag List

Results 1 to 4 of 4

Thread: Bonus with a Timer?

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bonus with a Timer?

    I'm making a game that when you hit a bonus that increases your speed. Now I want it to only last for X amount time. How do I do that?

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bonus with a Timer?

    Try the "function eggtimer" extension. It's perfectly suited for this.

    Just enqueue a function you would call "disable bonus" for X_seconds * framerate. Then add a condition "on eggtimer function "disable bonus" and set the speed to normal there.

    If you didn't get that, take a look at the example that comes with the eggtimer extension.

  3. #3
    No Products Registered

    Join Date
    Oct 2007
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bonus with a Timer?

    Where can I get this "function eggtimer" extension?

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bonus with a Timer?

    Should be included with one of the bonus packs.
    Look at the right of your screen under "Quick File Links".

Similar Threads

  1. How do you Create a Global Timer as a Countdown Timer
    By redpandagames in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 23rd February 2017, 10:08 AM
  2. Bonus Pack 1
    By Jeff in forum Released Extensions
    Replies: 7
    Last Post: 27th November 2009, 12:49 PM
  3. Bonus Example
    By nivram in forum File Archive
    Replies: 0
    Last Post: 8th December 2008, 12:07 AM
  4. Bonus Pack 2
    By Jeff in forum Released Extensions
    Replies: 1
    Last Post: 15th November 2006, 11:41 AM
  5. Bonus Pack
    By JSJ in forum Extension Developers Lobby
    Replies: 5
    Last Post: 27th October 2006, 12:57 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
  •