benzoe590 wrote:Is there any way you can save pixels on a canvas?
setpen(0, 0, 0, 0, 1);
putpixel(10, 10);
bmp_array[10][10][0] = 0; // r
bmp_array[10][10][1] = 0; // g
bmp_array[10][10][2] = 0; // b
// this would work because you are updating an array that holds the values of the bmp
draw_from("player", 0, 0, 5);
// this can't be saved, as there is no way of storing it into an array
Users browsing this forum: No registered users and 1 guest