Hello everybody,
i am working for years on a larger topdown project. Now a bug has occured, that gets me busy for weeks.
the following happened during an larger game animation and while trying to reproduce the bug with a new object, the bug is still there against all logic.
I created a new object and within this object default animations 12 and 13. Each animation is filled with a block of 300x80 pixel size, the animation is looped and then all 32 directions are filled with "create rotated animation".
Then there are just two event lines for this object:
when hit "space" then set direction of object to one of 32 an play animation 12
and
when hit "enter" then set direction of object to one of 32 an play animation 13
Now the bug:
Most of the time the object just disappears, when the button is pressed.
Some of the directions are shown completely, in some directions only some frames are shown, while some frames stay invisible.
If a change the pictures in the frame editor in anyway, lets say i change the color or resize the boxes a little, the bug changes everytime. Now other directions are shown, while others disappear.
My application is quite large. I contains about 11000 events and severel hundred groups. The application was created in mmf 1.5 back in the days, if this is importend. And i currently work with the mmf2 developer demo (build 253), because my original disc was destroyed in a fire
i dont use hwa.
However ive done a lot of testwork the last weeks:
the object doesnt get destroyed, it is still there and reacts to collisions. Despite being invisible at some frames or complete animations, the object is counted as "visible".
It can still use values and everything, the debugger isnt a help either.
If I create the same object with the same events in another frame within the same apllication, everything works fine.
Of course, i have partly reduced / deleted my code, to make sure, the other code isnt responsible for that. Even when I deactivate ALL groups, what means NO code ist active, despite the 2 events mentioned above, the bug is still there. Only, when I delete about 3 / 4 of the whole code, the bug disappers, what isnt logical, because in my last backupcopy i had the same amount of events and groups, and the bug wasnt there.
My guess is, I am hitting some kind of limits of mmf2, although a dont know, which one.
ps: i have played around with application and frame properties of course. Things like "load on call" and such seem to work sometimes, then again it doesnt work.
I hope, this is all understandable!!
Thanks for your time!!
8pack



Reply With Quote













