The Daily Click ::. Forums ::. Klik Coding Help ::. Memory/size of active objects
 

Post Reply  Post Oekaki 
 

Posted By Message

[DELETED]

Likes to put dots on paper

Registered
  08/12/2008
Points
  118

MushroomVIP MemberARGH Sign
17th August, 2009 at 07:50:46 -

Okay so something kind of funny happened to me today, I was messing around with a little project of mine working with fastloops and I wanted to create some code that would generate a rock randomly somewhere on the map, so I'm tinkering away and I say yeah let's have a look at this in action and I start up the application and nothing happens .. so, I had a look at the object limit and realised I haven't changed it at all yet for this frame and it's rather important as it's a large engine frame where many objects could potentially be on there, so I bump it all the way up to 4,000 and run the game and realised that I just covered MORE than the entire map in rocks, checking debug I had like 3,000 objects in the screen

But my question is really this, I want to implement a system of plants/planting in to this little engine, is it more efficient to use a single object as all the plants and have dif. animations for each plant on each direction, or does it matter if each plant was just it's own object?

 
n/a
   

Post Reply



 



Advertisement

Worth A Click