Support most Maniac Patch Picture enhancements#2628
Conversation
|
Maybe it's a good chance for supporting #1068. |
|
I'm not a fan of this filename stuff, imo this should be focused on Pictures only (for other stuff there could be an additional config option in our editor cough). But I like this Pixman op -> enum mapping. Will adopt this... |
This is supported e.g. by a DynRPG plugin but we are not feature compatible to this. Works for everything that is processed as a Sprite which is almost everything except scrolling backgrounds (e.g. Panorama) and the Tilemap. Fix EasyRPG#2628
|
Added blending based on the filename but this is more for playing around. Not sure if we should keep this abomination (or move it at least to a different PR) |
|
I remove the filename based Blend Mode for now and only focus on the Maniacs part. |
…ions. The until now unused variable "blend_type_effect" in Sprite is used to configure the blend mode.
- Blend Mode - Flip X/Y The way how this is stored in the savefile is incompatible. Maniac Patch uses the upper bits of "bottom_transparency" here.
- Blend Mode - Flip X/Y The way how this is stored in the savefile is incompatible. Maniac Patch uses the upper bits of "bottom_transparency" here.
|
@gadesx you played around with some of the features already. Could you also test the rest? The stuff that should work is: For Show Picture:
For Move Picture:
For Erase Picture:
"Variable ID" should also work for most of the options but I did not check all of them. |
For Show Picture: For Move Picture: For Erase Picture: |
|
Can this be merged? There was no further feedback since weeks on this ^^ |
and Flip X/Y because this was trivial to add
needs EasyRPG/liblcf#434