toolchain icon indicating copy to clipboard operation
toolchain copied to clipboard

Add drawable scaled sprites

Open acagliano opened this issue 5 years ago • 1 comments
trafficstars

As of right now, if you have a need to scale/draw a transparent sprite, you either have to sacrifice clipping or sacrifice scaling. Or write your own handlers for clipping and scaling, and wind up with less-optimal code than if it was just provided within the lib's routines. For that reason, I'm proposing that: gfx_ScaledRLETSprite(), and gfx_ScaledRLETSprite_NoClip() be added such that you can render scaled, clipped RLET sprites.

acagliano avatar Sep 25 '20 03:09 acagliano

RLET sprites will never support scaling and clipping. Use normal sprites for that.

I have changed the title to only be for gfx_ScaledSprite/gfx_ScaledTransparentSprite

mateoconlechuga avatar Dec 20 '20 05:12 mateoconlechuga