Efficiency question

Blitz3D Forums/Blitz3D Programming/Efficiency question

elseano(Posted 2004) [#1]
Hi
The enemies in my game are basically just going to be these rotating, textured cubes with other cubes spinning around them, kind of like electrons flying around a neutron (not very good at science, hope that's right ;)).
What would be more framerate/memory efficient to do this; Have different animations for each enenmy of cubes flying around eachother, or to do it 'maually' ie. with pivots and CreateCube() command?

Thnx in advance


eBusiness(Posted 2004) [#2]
I don't know, it's probably not a big issue, but you might want to do it manually, as this will give you a lot more flexibility, for instance, if you later on decide that a group should be able to break up you can't really do with a single animation.


elseano(Posted 2004) [#3]
Good point. Thanks.