mkxp-z / mkxp-z

Open-source cross-platform player for (some) RPG Maker XP / VX / VX Ace games. A very heavily modified fork of mkxp. RGSS on steroids with a stupid name.
https://github.com/mkxp-z/mkxp-z/wiki
GNU General Public License v2.0
140 stars 39 forks source link

Improve src_rect handling in sprites, and especially the wave effect #147

Open WaywardHeart opened 5 months ago

WaywardHeart commented 5 months ago

This lets us properly handle src_rects that extend beyond the bounds of the bitmap. I doubt it's used much if it all in the wild, but I'm making use of it for my next PR...

Also, apparently the wave effect wasn't using src_rect's position at all. I'm amazed it took this long to get noticed.