create with copyentity many entitys
Blitz3D Forums/Blitz3D Beginners Area/create with copyentity many entitys
| ||
hi, i want to know if this process is write correctly. i'm trying to reduce the resources using copyentity when i load a new unit in my game... type obj are my units in the game type units are my Data base of units, with their propertys in the game i used this code to create new units... If unit\loaded = 0 Then unit\entidad = LoadAnimMesh(archivo$) HideEntity unit\entidad End If obj\entidad = CopyEntity(unit\entidad) ShowEntity obj\entidad unit\loaded = 1 is correctly? can i optimize more the resourses? regards, santiago |
| ||
Copyentity is the most resource efficient way to duplicate your objects, IMO. Unless it's particles, in which case, a single surface system is the way to go :) |
| ||
thanks Ross C. |