Possible to detect texture collision?

Blitz3D Forums/Blitz3D Programming/Possible to detect texture collision?

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.

Version 1.85 of Blitz3D features the useful commands:

brush=GetSurfaceBrush( surface )
texture=GetBrushTexture( brush[,index] )
name$=TextureName$( texture )

Remember to use FreeBrush and FreeTexture after you have finished using the results to avoid memory leaks.