Re: Whole game in 1 frame?
You can, but I think it would be more difficult than separate it to many frames.
Re: Whole game in 1 frame?
Increase the object limit in the game. Default is 500.
My 666th post :(
Re: Whole game in 1 frame?
In the debugger for the frame the glitch happened there are only 350 objects. I already checked that, thats why I wrote:
Also, I added "destroy bullet if distance is -30 from edge of window" so the problem isn't that the bullets are adding up and going past the allowed limit set in preferences.
And just for reference I've been using clickteam products for years, no offense but I keep getting replies as if I don't know a thing about MMF lol.
Re: Whole game in 1 frame?
The Knytt level, which is built into a single frame, is 32400x1920 pixels. It's getting close to the number of backdrop objects that a frame can have (I know, because I got past it before I started to use motif quick backdrops). The frame has 4742 active objects, all inactive when out of window. I remember that a few MMF2 features (e.g. on collide) stopped working, probably due to the number of objects, so I had to replace them with other events instead (on overlap).
It really worked out well in Knytt, but I can at the other hand not recommend it. A 40000x30000 world is probably approximately 10 times as large as the Knytt world. I would not attempt this in MMF2, Knytt was already pushing the limitations.
Re: Whole game in 1 frame?
If you were to load your levels into your frame, the whole game in 1 frame game thing works very well. (As in define your max. level size, save/load level from array and so on.) Would such an approach also suffice for your needs? I suppose it depends on the game you want to make.
I've also experienced hiccups, slowdowns and strange things with really large frames. :/
Re: Whole game in 1 frame?
I doubt there is limit in backdrops - my MMORPG has whole world in one frame, and its tilebased terrain! There is more than 30 000 of background tiles.
Re: Whole game in 1 frame?
Yes, but Knytt has nearly 65535, and above that number, you won't get it to work. Believe me, I have already ran into this.
Re: Whole game in 1 frame?
So basically making a game in one frame isn't too reliable, especially if there are tons of actives/backdrops, am I correct? I definately couldn't do that then, as this game revolves around an infested planet, which means thousands and thousands of enemies, and much more :P Guess I'll just have to get my events a bit more straightened out.
Re: Whole game in 1 frame?
Well, if you build a custom level format like Knytt Stories has, your levels can be more or less infinitely large and still be built into a single MMF2 frame.