hiding question

Blitz3D Forums/Blitz3D Programming/hiding question

Rook Zimbabwe(Posted 2004) [#1]
Lets sayi have an entity at a certain location like -45,45 but that entity has no name or handle. It was placed there because of the color number in an array... eg: 1 = blue, 2=red etc...

Now I want to completely delete that entity... Is this possible?

Before the game starts I randomly fill a 10,10 matrix with color numbers.

Then I put the pieces on the board depending on their color numbers... I use copymesh to do this.

At a certain point I want to delete the piece that is ther completely... move all the pieces in the array DOWN to fill that one (or those 3)... I can change the colordata in the array and redraw the board... which chenges the color of the piece...

but isn't that just adding to the number of polys on screen??? I am confused??? Someone has to know about this!

:]

Rook


DJWoodgate(Posted 2004) [#2]
Try to keep a handle on things.


Rook Zimbabwe(Posted 2004) [#3]
Actually I tried using types but I am still confused.


gosse(Posted 2004) [#4]
Keep the handles in types or arrays (or both!)
or use ClearWorld() >:D