Bug: Random objects created at 0,0 at start
I cloned a frame, and when I run the new one, 2 objects with no relation (And no events to create them active) drop from 0,0. I deleted every instance of the object aside from 1 each then placed them next to me and new ones still came from 0,0.
I tried deleting every line of code in the game and the objects are still created there. Seems like a bug with mmf?
Re: Bug: Random objects created at 0,0 at start
http://www.faindfiles.com/dustingunn/Maybug.zip see?!
Re: Bug: Random objects created at 0,0 at start
Any help here? It happens every time I clone the frame and there doesn't seem to be a single thing I can do about it
Re: Bug: Random objects created at 0,0 at start
I remember having a problem like this myself which was, after all, caused by my own coding. I'd like to take a look but the link isn't working.
Re: Bug: Random objects created at 0,0 at start
the link is working fine
the example I uploaded has no coding at all, it's gutted to just a few objects to show the dysfunction
Re: Bug: Random objects created at 0,0 at start
I left the link open for 10 minutes and it was connecting all the time. Maybe try uploading it to the file archive?
Re: Bug: Random objects created at 0,0 at start
Re: Bug: Random objects created at 0,0 at start
Have DL'd and am taking a look - Yes, there's something very odd about this file.
Yes, I think you need to send this file to Clickteam - this is not what I would expect of MMF2.
Your workaround options that I have found are:
1. Destroy the objects that are created outside of the frame using
+ "Start of Frame"
+ "Object is 0 pixels from window's edge"
That worked OK.
2. Better is to clone the two objects and use the "replace by another object" feature in the event editor. then you have a perfect, working copy of your object and you delete the original object which appears to have become a "bad object" somehow but MMF2 is not informing us of it.
This should be done with both offending objects. (I've tried this at my end and it works).
This is my constant workaround to bad objects appearing in my game - it seems to the only way of killing them without losing work.
Before anyone asks: the problem has nothing to do with the 1 event in the application, the global events (there are none), behaviours (none) or qualifiers (which weren't the problem either since I turned them off to check).
Re: Bug: Random objects created at 0,0 at start
Interesting... Have you got the original frame? (the one you cloned) If so, could you send it to me?
Re: Bug: Random objects created at 0,0 at start
sent.
If it helps to know, I've been working on this game for about 4 years and it went from CnC to mmf1.5 to mmf2
Re: Bug: Random objects created at 0,0 at start
Ahh mine too (from TGF-MMF1.5-MMF2) - I think the conversion process causes the odd hiccup which is kinda understandable seeing as mine has had to be be converted twice.