User Tag List

Results 1 to 5 of 5

Thread: Weird Array Object bug

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2010
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Weird Array Object bug

    I was tinkering around with drunken walk level generation, and noticed a problem that has had me driving me up the wall the last 3 hours, tough I now have figured how to sidestep the whole issue I really would like to know what the hell is going on in my application.

    That was until I was able to confirm that it wasn't a coding error but strange behaviour by MMF2 itself. When writing to the array and creating an object or pasting a backdrop while checking a counter in the same event, I have noticed that that the application always writes to the array correctly but dosen't always create or paste an object to the screen. So it appears that it only executes half the event on occasions.

    The problem goes away if I don't check the counter, or if I remove the writing to the array part of the even, any insight on why it happens would be appreciated.

    The mfa is included, I apologize for the messy code, it never looks good when I'm trying to get something to work.

    For convenience I have highlighted the event in question for convinience with a comment.

    To input a seed and make a "map" input a number in the edit box and push restart.
    Attached files Attached files

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    This is going to be impossible to fix unless we know what it looks like when breaking.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2010
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is incomplete when the map is generated, if you push the repair button after generating a "map" with a seed other than 0, it will show the map that the array actually has stored.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Honestly I don't know why it's doing that, but for a solution couldn't you just run the create loop to fill the array without generating boxes, and then do a separate fast loop to generate the actual boxes from the array data?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2010
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah that was what I had figured I'd do, but still it would be nice with some insight on the issue.

Similar Threads

  1. Weird Get object crash (257.10)
    By MJK in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 14th May 2013, 12:05 PM
  2. Weird behaviors in iOS with Multiple Touch Object
    By Sumo in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 1st October 2012, 06:30 PM
  3. MMF2 weird object selection?
    By JimJam in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th November 2010, 10:16 PM
  4. Weird GET Object issue o_O
    By Evoxe in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th October 2009, 10:40 PM

Tags for this Thread

Posting Permissions

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