? faster picking of entitys
Blitz3D Forums/Blitz3D Programming/? faster picking of entitys
| ||
If you have 100 enemies running around a level in a first person shooter they are all created from array of types and given entity names that contain there array position would if be quicker to find there type from this name than looping all the array to find the picked enemy |
| ||
As you say it'd be quicker to use the tried and tested meshod of storing the type handle in the entities name and simply using the object command to retrieve the instance. There are loads of examples of this. |
| ||
I wouldn't say the speed is much of an issue really, but if your really wanting a speed up of a small degree, then Stevie is correct. |