User Tag List

Results 1 to 3 of 3

Thread: Create 'Coins' at runtime (SpeedBoost)

  1. #1
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Question Create 'Coins' at runtime (SpeedBoost)

    Hi! I'm already working on a platformer and have good performance on iphone5 and pc (60fps).

    on iphone4 it drops down to 30 fps. i have about 300 coins (active obj) in the frame. i always hide them,
    if they are outside the screen. this does help a little bit for performance, but MUCH better is to create them at runtime, i think.

    (I've deleted just the coins and got a speed boost )

    but how would you handle this? if i start a fastloop checking the xpos of the player i think the speedboost is gone.

    isnt there some nice way to create the objects just if they are visible? (as long as the player doesnt collect them, of course)


    thanks for your suggestions!

  2. #2
    Clicker

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-onInstall Creator Pro
    StingRay's Avatar
    Join Date
    Nov 2006
    Location
    Austria
    Posts
    1,057
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    ok, hmmm, I've learned again

    For everyone expieriencing a similar problem, don't trust in "Inactive if too far from window -> Automatic"

    If you need speed, set it to "YES". It boost my game from 30 fps to 60 fps (960x640 res -> 9000x2000 pixel frame)

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I always set that option to YES for anything I don't need to be monitoring off screen, it makes a huge difference to performance.

Similar Threads

  1. Bouncing Coins
    By Panchos in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 25th March 2013, 02:27 PM
  2. Beta 12: Create at start runtime property crash
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 15
    Last Post: 24th February 2011, 11:03 AM
  3. Mochi coins help
    By VertigoZero in forum SWF/Flash Export Module Version 2.0
    Replies: 0
    Last Post: 15th September 2010, 06:43 PM
  4. Mochi Coins
    By Pharanygitis in forum SWF/Flash Export Module Version 2.0
    Replies: 28
    Last Post: 16th March 2010, 04:00 PM
  5. Create sprites using spritesheets during runtime
    By Pablo in forum File Archive
    Replies: 0
    Last Post: 18th October 2007, 09:44 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
  •