Optimizing Code

Blitz3D Forums/Blitz3D Beginners Area/Optimizing Code

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.

If your collisions are pixel-perfect (ImagesCollide), you might be able to shave off a few seconds by performing a box-collision check (ImagesOverlap) first. If that fails, there's no need to perform a pixel-perfect check.

I haven't actually tested this, but it should help.