Learning 2D Game Programming With BlitzMax

BlitzMax Forums/BlitzMax Tutorials/Learning 2D Game Programming With BlitzMax

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.

Why are you loading the missile pic each time the missile is fired? Surely you should just load the image as a static inside the type and draw it for each missile?
Similarly, why are you using the image as a parameter in your creation functions? WOuld a single fixed reference for each type not be simpler and more appropriate?