-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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