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

How can we cut sprites? #307

Open
thomasgoldstein opened this issue Jan 27, 2024 · 0 comments
Open

How can we cut sprites? #307

thomasgoldstein opened this issue Jan 27, 2024 · 0 comments

Comments

@thomasgoldstein
Copy link

Hello!

I'd like to be able to only render part of a sprite. For example, just displaying the top of a character's sprite, and omit the bottom 16px (or whatever). From what I understand, the Mega Drive cannot do this natively.

But it has been done in the Punisher: https://youtu.be/Cje2UHXIa24?t=2698

How did they do it?
Thinking about it, I believe it's like they basically have 2 sprite cutting definitions to be applied on the same sprite sheet graphics.
Since rescomp automatically cuts sprite frames for you, I guess such things won't be possible unless rescomp lets you manually define how frames should be cut, and on top of that, lets you define multiple ways to cut sprite frames. Does that sound correct?

I understand this may be out of the scope of the SGDK or rescomp, because it may be too low level (as it might kinda break the current design logic), but I just wanted to confirm it.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant