Too Many Objects?
#1
Posted 25 January 2012 - 08:47 PM
Well I'm having a problem. I get an error message (the general "unexpected error occurred") now when I start my game. I've played around with it and it seems that this happens whenever I try to add more objects after a certain point (certain amount of objects). Can anyone think what I'm doing wrong? I haven't even changed any code recently, at all.
#2
Posted 25 January 2012 - 08:51 PM
#3
Posted 25 January 2012 - 08:53 PM
1. A sprite was 640 px wide
2. Something had an M in it
... and probably more that I don't remember
Just go change a bunch of random things until it works is how I fix it...
#4
Posted 25 January 2012 - 09:30 PM
I had this error from so many things...
1. A sprite was 640 px wide
2. Something had an M in it
... and probably more that I don't remember
Just go change a bunch of random things until it works is how I fix it...
Seriously? Something had an M in it....
#5
Posted 25 January 2012 - 10:02 PM
Yes. GM is that broken sometimes.
#6
Posted 26 January 2012 - 04:23 AM
Well... maybe it wasn't an M in it... I think it had something to do with a M or R... I also think I just changed the capitalization... It was a long time ago, so I don't remember exactly but it was totally weird.
Yes. GM is that broken sometimes.
This error only happens to me in one circumstance: I have a graphic somewhere that's too large for my computer to work with. Usually, this is a background I'm using as a tileset, or a massive sprite or something. You say you have a huge room. Do you have a huge background to go with it? If so that might be your problem. You could remake it from tiles or break it into sections (in a sprite maybe) and only draw those that are within your view.
#7
Posted 26 January 2012 - 03:43 PM
For a background I'm using 320x240 tiles, which perfectly fit each screen. I just put one at a depth of like 100000 in every view.
I really don't know what else to say. Any ideas, given that it seems object related? I haven't changed the code in the objects i've been using for a while, either.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











