Cycle through all your entities without types or other structures.

Blitz3D Forums/Blitz3D Programming/Cycle through all your entities without types or other structures.

The 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.

Whether or not it's slightly faster or slower, you don't worry about speeds for cycling through data when you have much more intensive processes like collision and rendering. I don't know if this gains or loses 2 milliseconds, but it's not really going to make any difference. I'm guessing it would be slightly faster than cycling through all your types looking for the right entity.

Check out the thread called "Add a free four-byte slot..." for info on getting and setting entity properties.