I'm trying to setup an animation with Pulpcore using an image properties file, as in the Image sample code. I found this feature absolutely magical!
But i have a question someone could find easy to answer :
Each frame of my animation PNG file is actually made of :
- a 100% opaque content, showing each "instant move" of my sprite character
- a 100% transparent zone, around the sprite character, so that it fits into a square shape.
My character should be animated on a background, so that it lets the impression the character is walking.
The problem i'm facing is : with no blend mode, each keyframe of the animation is actually laid on top of previous key frame.
I'm rather new to blend mode, and i didn't see any blend mode allowing that would allow to "redraw" the background where my frame is transparent between each keyframe.
I could rewrite a sprite class to move the png file by myself, but i'm sure there is a smart way to do this with PCore.
If someone could point me some help i would just greatly appreciate :)
Regards.