Hi
I'm having trouble with setpixel32, which according to the docs here (http://phaser.io/docs/2.4.8/Phaser.BitmapData.html#setPixel) can have an alpha value as the 6th argument. However when I try this it just plots over whatever is underneath with a fixed level instead of adding to it.
Here is a jsbin to demonstrate the issue (using Phaser 2.4.8):
http://jsbin.com/repewekopa/1/edit?html,js,output
You'll notice that the alpha works fine with drawing a sprite to the bitmap, but if you substitute "bmd.draw(star, x, y);" with "bmd.setPixel32(x, y, 255, 255, 255, 77);" you'll see that you can only draw a uniform grey colour instead of having it build up as intended.
Can anyone please tell me what I'm doing wrong, or if this is something that isn't possible with this method?
As an extension question, is there any other faster method of plotting pixels with alpha?