The Daily Click ::. Forums ::. Klik Coding Help ::. Too many objects
 

Post Reply  Post Oekaki 
 

Posted By Message

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
9th May, 2006 at 13:39:43 -

Okay, I try to tell what is my problem:

I have made a little level editor test (only test, I'm not making a new game after Trade Wars 2 is ready ). You can put trees, walls, earth, water and so on to the map. When you load the map to the game, it pastes all earth-objects to the backdrop with no collission and all wall, trees and so on with collission (obstacle). What should I do whit the water? There can be lots of water objects in the same level. If paste them to the backdrop, there are no "effect" when you walk on them and there cannot be any animations in water backdrop-objects. If I let them active, there can be about 200 active water objects in the same level. Plus player, enemies and so on it makes the game go very slow.

Do you have any ideas how to make good water without hungres of active objects?

 
n/a

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
9th May, 2006 at 19:30:19 -

you could use one huge water active object, then make the player shoot the special effects (ripples, etc.). Just make sure it's always in the back.

 
Craps, I'm an old man!

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
10th May, 2006 at 10:55:41 -

Are you using TGF? Bcos if I was doing it in MMF, I would make a water background system box, and make it loop a movement, then leave gaps when you paste the background for the water to show the bgs box thru

 
n/a

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
10th May, 2006 at 14:04:13 -

I use MMF.

And I can't make water one big object, bacause there is a level editor and you can put little water objects in the map :S

EDIT: Klikmaster: Your idea sounds fine, but I'm not sure works it very well.
EDIT 2: I can't make any collission to backdrop system box? And if I use Active system box, I can't paste land over it. So you can see the water effect even if there is a land over the water.

Image Edited by the Author.

 
n/a

Lazernaut



Registered
  08/09/2002
Points
  1103

VIP MemberThe Cake is a LieIt's-a me, Mario!Wii OwnerPokemon Ball!
11th May, 2006 at 17:56:20 -

Maybe you could paste the water to the back, and have zones for the water so your game tests for the zone rather than the actual water.

- If number of "player" = 1 in zone <whatever>
o add water effect to player movement n stuff

dunno if that made any sense

 
n/a

Jarzka



Registered
  26/12/2003
Points
  270

VIP Member
11th May, 2006 at 18:46:38 -

Hmm, that sounds fine too. I will try it when I have time

 
n/a
   

Post Reply



 



Advertisement

Worth A Click