-
Notifications
You must be signed in to change notification settings - Fork 33
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
Tile Id Offset Meta Sprite Feature Request #65
Comments
Quite recently in fact I hacked in something along that line, but you need to recompile the library adding the |
Oh very nice, that should do it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know if this has been implemented yet, or exists. Say a metasprite has been defined eg:
// Frame 0 of multi framed sprite, for entity with loads of states, but tiles may be located differently for each instance:
const unsigned char sprite_00[] = { 0, 0, 0, 8, 0, 2, 16, 0, 4, 0, 16, 6, 8, 16, 8, 16, 16, 10, 0, 32, 12, 8, 32, 14, METASPRITE_END };
Is there a way to offset the tile id, so that the tile id starts with the array tile id + offset?
Sort of like:
SMS_addMetaSprite(x, y, [offset], sprite_00);
Where [offset] would be applied to the defined tile id for each sprite.
The text was updated successfully, but these errors were encountered: