I'm making a platform game. I originally coded the engine so that all of the solid platforms and walls were active objects. Everything worked fine, but it was really slow. I found out that MMF can't really handle a lot of actives on the screen at once, so I redid everything so that all of the solid obstacles are now backdrops.
But now my enemies are dissapearing when they're off the screen. It only happens when they're walking on a solid backdrop. I think they're just falling right through the backdrop, but it's hard to tell because, well.. I can't see it happening off the screen.
Anyway, the enemies work fine if they're on a jump-through platform (those are all active objects). They also work fine if they are on a backdrop obstacle AND they're visible on the screen. They detect the obstacle just fine. But if I walk away from them and come back, they will be gone.
Go to the properties of your enemies - and set "Inactive if too far from window" to "No".
Just tried it now, and it seems to work for me (I am using MMF2 - I'm sure there is that option for actives in MMF 1.5 though).
In MMF2 there is a drop-down list for me, set to "Automatic" and there are options of "Yes" and "No" as well.
I can't remember if it is different in MMF..
Tried unticking the other boxes (destroy if too far from frame .etc).
If you can't do it then send me the source and I'll take a look for you. That's if you want too anyway
Edit 2: Oh, nevermind. ThePodunkian over at total-klik figured it out. Its a frame setting for "Handle background collisions even out of window." Fixed it right up.
If yu have some sort of gravity on them.... Go to Frame Properties and CHECK "Handle background collisions even out of window"... Else they will just ignore the background and fall right throguh them...