E
Edeyz
Guest
No matter what this always returns a 0.
>global.valueTotal = 0;
>currentPos = draw_getpixel(xPosition, yPosition);
>global.valueTotal += colour_get_value(currentPos);
I have tested this with all the pixels from this test image.
(image will be uploaded in a moment, the upload at image button is not working)
What have I done wrong?
Sorry I cant give you much more information that that.
Thanks
Edeyz
>global.valueTotal = 0;
>currentPos = draw_getpixel(xPosition, yPosition);
>global.valueTotal += colour_get_value(currentPos);
I have tested this with all the pixels from this test image.
(image will be uploaded in a moment, the upload at image button is not working)
What have I done wrong?
Sorry I cant give you much more information that that.
Thanks
Edeyz