The Daily Click ::. Forums ::. Klik Coding Help ::. loading active objects
 

Post Reply  Post Oekaki 
 

Posted By Message

Paul_James



Registered
  02/07/2002
Points
  1320
26th March, 2007 at 12:28:38 -

So in my level editor im loading mostly backgrounds but i do have foreground objects that are supposed to be loaded but they dont load correctly - as in only one of each shows up - i checked the order of events and its okay as in (Create object first - then set position of created object)

any ideas - should i use a new array to do active objects???


 
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.

Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
26th March, 2007 at 12:36:26 -

I've never ever had that problem. You should probably check out the code.

Try filtering out the events, add an eventbox and add debug comments to each event that has been executed that matters. That's some of the tricks I've learned lately.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

Paul_James



Registered
  02/07/2002
Points
  1320
26th March, 2007 at 12:43:32 -

alas mmf 1.5

 
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.

Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...

WillWill

Give me stuff

Registered
  24/07/2006
Points
  552
26th March, 2007 at 13:07:36 -

1.5 eh? I dunno.. Try MMF2 and see if you get the same problem. Then you'll have a redo on the engine and a chance to see if it's MMF's fault. Truth is, when you redo the engine you always get better results, and maybe it'd work that time.

Oh, and try making a new application with only that part of the game you're making, then you'll see if it really is impossible to 'load' active objects.

 
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
27th March, 2007 at 05:23:37 -

Other thing to check is that ALL the objects aren't setting themselves to one position, eg instance 2 of object 1 sets the same position as instance 1 of object 1

 
Image
http://bfollington.tumblr.com

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
27th March, 2007 at 05:42:06 -

You're still using my engine, right? Send me the source and I'll have a look at it.

 
n/a

Paul_James



Registered
  02/07/2002
Points
  1320
27th March, 2007 at 07:42:55 -

ben how would u fix that? spreading a value???

axel ill send the source later today

 
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.

Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...
   

Post Reply



 



Advertisement

Worth A Click