Im having trouble achieving something and I guess this is the best place to get help since Im using Flashpunk after all.
Im trying to create a circle that is divided into 5 slices and each slice is its own bar that gets filled with a different colors during the game.
Something like this, the colors inside the slices move up and down as the player gets or spends resources.
Anyone as a good way to implement this? I’ve tried alot of stuff so far and all of it failed.
Thanks in advance.
PS: Something I tried was using a image of a circle without a slice, converting it to BitmapData and the using it to remove everything but the slice from a drawn circle using this:
Draw.circlePlus(80, 80, 80, 0xc3181b, 1, true); var mtx:Matrix = new Matrix();
powerGemBMD.draw(pieRemoverBMD, mtx, null, BlendMode.ERASE);
It was my best bet and it failed.