Problem with spawning things.
Today, I decided to place into my (then working) single-frame level a bunch of new sprites. This was fine, until I decided to add in bumpers that would keep my character from sticking to the walls and ceiling. The bumpers are not finished, they are simply edits of the original character.
Basic problem: Ever since I added in many new items, when I have playable character Boxman touch a specific sprite, he disappears but the spawning for second playable character Scissorman never occurs. The code is that the system will create Scissorman at 0,0 from the spawning point, which is set at the center of the item in question. I would like to upload the file but for some reason, when I hit "add file," all that happens is that it loads and takes me to the list of forums. I have not made any alterations to any of the original working code, I have only added new objects in that I have not even made any code for yet. It makes little sense to me.
The bumpers were cloned (as in, new objects) of Boxman, and were renamed. I deleted them when I found the problem but that didn't fix the problem. Can anyone give me any ideas of what may have happened here? Or at least tell me why the uploader isn't working?
Re: Problem with spawning things.
Not sure why I didn't do this before.
http://www.megaupload.com/?d=3Q57SJ19
Perhaps now I might be able to get some expert opinions on why adding objects to a map somehow screwed up the code.
Unless taking those objects from another map would also take related code with them...
Re: Problem with spawning things.
I'm sorry - I didn't see this topic before. Maybe it got pushed onto the second page, which is why we haven't had any replies yet.
I'm just downloading the thing...
Re: Problem with spawning things.
Alright. Thanks.
As I said, I've only added new sprites in. I haven't even touched the code and somehow, adding in the sprites caused some of my code to glitch up and I haven't the foggiest as to why.
Re: Problem with spawning things.
Found the Problem!
It had me stumped for a while but the number of objects at runtime is too low.
You have to go into the frame's properties and under the "Runtime Options" tab: instead of 500 - feed in a nice big number like 10,000 and then you can create objects to your heart's content.
Re: Problem with spawning things.
Thanks! Woo!
Bah. Always with small things like that. I have a habit of shoving items into things, but I didn't expect there to be a preset limit on the frame!
Again, thank you very much. Now to find that drawing of the level and to get back to work.
Re: Problem with spawning things.
No - I'm sorry it took us so long to figure out - I was a little puzzled with it myself.
I find that very... restrictive limit quite a troublesome part of MMF myself.
Re: Problem with spawning things.
Well it's actually pretty handy to be able to control "every" aspect of MMF. [smile]