User Tag List

Results 1 to 2 of 2

Thread: Every ... actions

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Every ... actions

    I am making a game in which levels increase every certain amount of time. Currently, I am using the Time X object to do this. My event is:

    +Every level*5000 milliseconds
    -Perform actions

    I find that this is very random. For example, level 4 should last 20 seconds before it goes on to level five, but sometimes it only lasts about 5 seconds.

    I have also tried using the restrict actions function with other events but to no avail.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Every ... actions

    You can use a normal counter instead, which is decreased by 1 each time MMF loops. Let's say your app runs at the default 50 Fps:

    Start of Frame: set counter to seconds*50
    Counter>0 -> decrease counter by 1
    Counter=0 -> next level

Similar Threads

  1. More than 127 actions?
    By Alpha in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 9th October 2009, 09:40 PM
  2. Text with actions
    By Codemonkey in forum File Archive
    Replies: 3
    Last Post: 3rd June 2008, 06:59 PM
  3. Is there a limit on actions ?
    By maVado in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 13th January 2008, 02: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
  •