Open Dinnerbone opened 4 years ago
I made a strip down example of what I'm doing to load png from an external swf library. Can't wait to see that working as I'm using this method in several of my games: https://www.txori.com/stuff/ruffle/
draw
has been implemented.
AVM1 pixelDissolve()
should be completely functional and have good test coverage.
This is the tracking issue for flash.display.BitmapData in AVM1. We will check off each item of progress as appropriate, and fill in any relevant or missing information as we continue development of Ruffle.
Legend
Each checkbox is independent of another. It's entirely possible for something to be tested but not exist yet, or for us to believe that it's completely functional but we haven't made enough tests to prove it.
"Property Exists"
This means the item exists, but may not necessarily be fully implemented.
"Has Test Coverage"
This means that we believe that we have a good test coverage of this item, regardless of if those tests pass. It's okay to have tests available but not implement the item yet.
"Completely Functional"
This means we believe that the item is completely implemented, and no more work needs to be done towards making it functional.
flash.display.BitmapData
Static Methods
loadBitmap(id)
Properties
width : Number
height : Number
transparent : Boolean
rectangle : Rectangle
Methods
BitmapData(width, height, transparent, fillColor)
clone()
getPixel(x, y)
getPixel32(x, y)
setPixel(x, y, color)
setPixel32(x, y, color)
applyFilter(sourceBitmap, sourceRect, destPoint, filter)
colorTransform(rect, colorTransform)
copyChannel(sourceBitmap, sourceRect, destPoint, sourceChannel, destChannel)
copyPixels(sourceBitmap, sourceRect, destPoint, alphaBitmap, alphaPoint, mergeAlpha)
dispose()
draw(source, matrix, colorTransform, blendMode, clipRect, smooth)
fillRect(rect, color)
floodFill(x, y, color)
generateFilterRect(sourceRect, filter)
getColorBoundsRect(mask, color, findColor)
hitTest(firstPoint, firstAlphaThreshold, secondObject, secondBitmapPoint, secondAlphaThreshold)
merge(sourceBitmap, sourceRect, destPoint, redMult, greenMult, blueMult, alphaMult)
noise(randomSeed, low, high, channelOptions, grayScale)
paletteMap(sourceBitmap, sourceRect, destPoint, redArray, greenArray, blueArray, alphaArray)
perlinNoise(baseX, baseY, numOctaves, randomSeed, stitch, fractalNoise, channelOptions, grayScale, offsets)
pixelDissolve(sourceBitmap, sourceRect, destPoint, randomSeed, numberOfPixels, fillColor)
scroll(x, y)
threshold(sourceBitmap, sourceRect, destPoint, operation, threshold, color, mask, copySource)
compare(otherBitmapData)