We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I find interesting having a function to draw sprites in a scalled way.
For example, adding a new parameter to cpct_drawsprite:
cpct_drawSprite (void* sprite, void* memory, u8 width, u8 height, i8 scale)
So:
cpct_drawSprite (G_enemySprite, pvideo, 16, 16, 2)
Would draw a 32x32 sprite, doubling pixels.
Or:
cpct_drawSprite (G_enemySprite, pvideo, 16, 16, -2)
Would draw a 8x8 sprite, skipping pixels (for example) on the sprite.
This is just a simple implementation idea. Maybe it could be usefull to be able to use different scales for height and width.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I find interesting having a function to draw sprites in a scalled way.
For example, adding a new parameter to cpct_drawsprite:
cpct_drawSprite (void* sprite, void* memory, u8 width, u8 height, i8 scale)
So:
cpct_drawSprite (G_enemySprite, pvideo, 16, 16, 2)
Would draw a 32x32 sprite, doubling pixels.
Or:
cpct_drawSprite (G_enemySprite, pvideo, 16, 16, -2)
Would draw a 8x8 sprite, skipping pixels (for example) on the sprite.
This is just a simple implementation idea. Maybe it could be usefull to be able to use different scales for height and width.
The text was updated successfully, but these errors were encountered: