Mask after Load?

BlitzMax Forums/BlitzMax Programming/Mask after Load?

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.

Great example! It really got me going =)

I figured that you don't really need both tg_pixmap and tg1_pixmap, I used tg_pixmap at both places and it worked fine or am I missing something?

And I have a question, why do you release the pixmap each frame?

My tanks is now running around in different colors =) So it works fine, I used grabimage to get it all together into one image.

It seems like BlitzMax new way to handle images require pixmaps in this way. Still feels a bit strange you can't change the maskcolor after you loaded the image. Anyway if this is the case then I think it should be added to the documentation.