User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Swf Crash (destroy objects)

  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)

    Swf Crash (destroy objects)

    Hi! In my platformer you collect items and shoot enemies.

    sometimes, the game stops to work (it happens by destroying objects)

    any idea what i can do here?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    oruga's Avatar
    Join Date
    Feb 2012
    Posts
    366
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's hard to tell. We need more details. Try checking the events that destroy objects. Are they looping? try removing these events to see if the problem persists. In short, debug. or post some file so we can look at it

  3. #3
    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)
    it has to do with the creation of objects inside a fastloop. I've found a workaround without using fastloop, BUT:


    now it still sometimes hangs (interesting -> not the total app, the user can still walk, but scrolling, enemy walk,... is disabled)

    it's like the groups are disabled, but they AREN't - very strange...

  4. #4
    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)
    it's:

    if there's too much happening at once (collecting items, shooting, jumping,... --> create & destroy objects)

    it starts to crash.

    if the user takes time, it works

    weird....

    EDIT: btw, the pc version works fine!

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    941
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    if this gets fixed, it might be amazing, i have a really odd bug that happens if my game runs for a long time, i can't pinpoint it, because you have to play for 15minutes or so before it happens.
    But what happens is movements are still active, but all the events stop working, and the graphics glitches out. (some areas of the frame will accumulate glitchyness, like a frozen windows window, if that makes any sense)

  6. #6
    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)
    Almost sounds like a memory leak, or too many objects being created.

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

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I was going to say the same thing Nivram said. To many objects. Look at your Debugger and see what's going on.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Stingray, if you send me your application I can have a look at it and see if there is a crash in Flash debugger...

  9. #9
    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)
    Hi Francois! Did you have any luck here?

    In the meantime i'Ve created a facebook app for the game and got still the problem.

    I have to present the game on a fair this weekend and it would give some trouble with the client, i think if the game stops working...


    thanks for your time!

  10. #10
    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)
    I'm still testing, but i think I figured it out:

    AVOID destroying/creating objects in a loop.

    it looks like this crashed my app (with deleting the 'loop' it dont crashes till now )

Page 1 of 2 1 2 LastLast

Similar Threads

  1. created objects create objects and destroy both.
    By wizlore in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th September 2012, 08:37 PM
  2. Game Over Destroy Objects
    By jbrown2177 in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th August 2012, 06:05 PM
  3. runtime destroy then expression crash
    By Ross in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th February 2008, 06:52 AM
  4. destroy objects with alterables?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th January 2007, 08:20 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
  •