Quick tips

BlitzMax Forums/BlitzMax Beginners Area/Quick tips

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.

Locals get pushed onto the CPU registers, while globals are always stored in system ram. You can still use globals, but I think you should design tight loops that use all-locals.

Another tip: render your objects in order of image for a mild speed boost (ie. all image A then all image B). Although this isn't essential at all.

LoadAnimImage currently splits the image strip into different textures: I think that it should use a single texture -if the programmer specifies- because sometimes people will be using large anim images.