Skip to content
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

Add drawable scaled sprites #279

Open
acagliano opened this issue Sep 25, 2020 · 1 comment
Open

Add drawable scaled sprites #279

acagliano opened this issue Sep 25, 2020 · 1 comment

Comments

@acagliano
Copy link

acagliano commented Sep 25, 2020

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.

@mateoconlechuga
Copy link
Member

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 mateoconlechuga changed the title [Function Request] gfx_ScaledSprite/gfx_ScaledTransparentSprite/gfx_ScaledRLETSprite [Function Request] gfx_ScaledSprite/gfx_ScaledTransparentSprite Dec 20, 2020
@mateoconlechuga mateoconlechuga changed the title [Function Request] gfx_ScaledSprite/gfx_ScaledTransparentSprite Add drawable scaled sprites Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants