Deleting Types.

Blitz3D Forums/Blitz3D Beginners Area/Deleting Types.

For Box.Box = Each Box 
If Box\Alive = 1 And Ball\Direction = 4 And Box\X + ImageHeight(BoxFN) + 1 > Ball\X Then Ball\Direction = 3 : Box\Alive = 0 ; Bottom 
If Box\Alive = 1 And Ball\Direction = 1 And Box\X + ImageHeight(BoxFN) + 1 > Ball\X Then Ball\Direction = 2 : Box\Alive = 0 ; Bottom 
if Box\Alive=0 delete Box
Next