Need Help With This Game!

Blitz3D Forums/Blitz3D Beginners Area/Need Help With This Game!

the
;Robot\Robot_Type = NumOfType
;NumOfType = NumOfType + 1
;EntityType Robot,Robot_Robot_Type
;Next 
;So every time a new robot is created, its Type = that of
;the last Robot + 1.
is not needed. they can share a collision type. i will look at the rest of the code too to see if i can spot other problems.


[edit] i looked at your code and it runs slowly due to the massive number of collision types and you should make your collision types const not global. i have a little trouble reading the code due to the random commented blocks if its not needed delete it. if your working on that section thats fine too.