Thanks for the ideas. Should have given a bit more detail as I'm already flaging the bad guys as active within a one and a half screen radius which cuts down on going through every sub instruction for each bad guy. I still thought looping through 100 or so variables every frame to see if they're in the screen might be a bit excessive especially as there's hardly likely to be more than 4 bad guys on the screen at once. I think I may create a muliti dimensioned array that cycles through a subset depending on which area of the map they're on (the bad guys are terratorial) just wanted to know best practise.
Too many enemies
BlitzPlus Forums/BlitzPlus Programming/Too many enemiesThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.