you should use bmap_to_format(pattern_1,8888); to convert it first to 32b ARGB to enable alpha writing. or use first bmap_to_alpha simply.

and use 2 different pixel variable when reading pixels , to not to overwrite previously read data.


Free world editor for 3D Gamestudio: MapBuilder Editor