User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 13 of 13

Thread: Increase speed

  1. #11
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Increase speed

    Maybe:
    Start of frame
    >Set global value A to 1

    Last enemy has been destroyed
    +Only one action when event loops
    >Add 1 to Global value A

    Global value A=2
    +Run this event once
    >Create two enemies

    Global value A=3
    +Run this event once
    >Create three enemies

    and etc

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  2. #12
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Increase speed

    That would mean he would have to make events for enemies all the way up to the object limit!! Why not just do this?

    Start of frame: Set Global Value to 1.

    # of enemies = 0: Add 1 to Global Value, Start Loop "Enemies".

    On Loop "Enemies": Create Enemy at (-100, -100), Set position of Enemy to (Random(Frame Width), Random(Frame Height)) {Or wherever you want your enemies to go, eg select a random spawn point and create an enemy relative to that)

    OF you want to have them appear gradually, then use a counter loop instead of a fastloop.
    Working as fast as I can on Fusion 3

  3. #13
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Increase speed

    Quote Originally Posted by LB
    That would mean he would have to make events for enemies all the way up to the object limit!! Why not just do this?

    Start of frame: Set Global Value to 1.

    # of enemies = 0: Add 1 to Global Value, Start Loop "Enemies".

    On Loop "Enemies": Create Enemy at (-100, -100), Set position of Enemy to (Random(Frame Width), Random(Frame Height)) {Or wherever you want your enemies to go, eg select a random spawn point and create an enemy relative to that)

    OF you want to have them appear gradually, then use a counter loop instead of a fastloop.

    But I have to enter number of loops too, and when the number of enemies is 0, it always create enemies for example 5 times.

    This is what I want:
    At the start of frame it's only 1 enemy. When I kill that one, it creates 2 more, I kill these two, it creates 3 more, etc, etc.

    Maybe I do something wrong. I don't know.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. How to increase animation speed in game
    By MonDieu72 in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th December 2013, 02:43 AM
  2. Does timer speed increase with the framerate?
    By MechatheSlag in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th April 2010, 08:34 PM
  3. Gradual speed increase help
    By TheWonkits in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 7th May 2009, 08:51 PM
  4. Gradual increase in speed of object
    By OldGuy in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 4th November 2008, 09:16 PM
  5. Speed Increase in next beta release? (please!?!)
    By Tuna in forum Hardware Accelerated Runtime
    Replies: 12
    Last Post: 5th October 2008, 08:38 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
  •