User Tag List

Results 1 to 3 of 3

Thread: When I load a map after destroying a sub-application, the game crashes

  1. #1
    Clicker Fusion 2.5

    Join Date
    Feb 2014
    0 Post(s)
    0 Thread(s)

    When I load a map after destroying a sub-application, the game crashes

    Basically, I'm making a Cave Story style game engine and I've run into a problem.

    My game's maps and tiles are loaded from external files, so most gameplay takes place in one frame, with another frame being used for the inventory. The inventory is put onto the screen via the Sub-Application Object, and recently this has been causing problems during runtime. Usually I load new maps/tiles (using Tiled Map Loader) with no issue, but if I create and destroy my inventory sub-app beforehand, the game crashes when I try to load a new map and I don't know why. My hunch is that it has something to do with the sub-app doing/changing something after I destroy it and that somehow impacts the program's ability to reload the main frame with a different map. I'm really confused, so I was hoping that someone could help. Thank you in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleInstall Creator Pro
    Julian82's Avatar
    Join Date
    May 2012
    50 Post(s)
    0 Thread(s)
    Does your subapp access/share external files the main frame also uses? Just an idea, but when I got crashes in my level loading routines it was usually associated to external data being blocked by one part of the code so some other object or loop fails to access it. Sometimes it helps to just delay certain operations by a couple of frames or set flags to make sure one operation is really completed before the some other complex routine starts (don┤t destroy subapp and reload your main frame within the same frame loop). I know this maybe difficult in a level loading loop, but another common approach would be to divide your code in two halfs, see what half causes the crash. Then go on with the division and narrow it down even more.

  3. #3
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    10 Post(s)
    0 Thread(s)
    If you can reproduce this then you could post it in the "bug tracker" for Clickteam to look at. Upload a copy of the .mfa file or a sample test file to show the problem.

    This could be a problem with the extension.

Similar Threads

  1. At ClickJam - MMF2 client crashes on load
    By WJ_Fitzgerald in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 31st August 2013, 06:07 PM
  2. [BUG 257-9] Destroying an Active Picture after loading using selector crashes
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 11th April 2013, 03:47 PM
  3. OpenGL MS3D crashes when trying to load any model
    By Lasse in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th July 2011, 09:11 PM
  4. Destroying an object that crashes with the wall
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 3rd October 2010, 12:34 AM
  5. "Load Frame Position" Crashes Application!
    By DistantJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 21st January 2008, 09:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts