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

[Feature request] rgbgfx 8x16 sprite option #1412

Closed
CharlesVanEeckhout opened this issue Jun 20, 2024 · 2 comments
Closed

[Feature request] rgbgfx 8x16 sprite option #1412

CharlesVanEeckhout opened this issue Jun 20, 2024 · 2 comments

Comments

@CharlesVanEeckhout
Copy link

I will call this option --sixteen in this issue, but I don't like this name.
Much like the --columns option, this option will alter the order in which tiles are read. If both --columns and --sixteen are enabled at once, rgbgfx should ignore the --sixteen option.
The height of the image (or the height of the slice, if the --slice option is used) must be a multiple of 16 pixels.

To read all tiles, read all pairs of rows of tiles in the image/slice from top to bottom.
For a given pair of rows of tiles in the image/slice, the order in which the tiles must be read is the following:
0: The first tile in the top row of the pair of rows
1: The tile directly below tile 0
2: The tile directly to the right of tile 0
3: The tile directly below tile 2
4: The tile directly to the right of tile 2
5: The tile directly below tile 4
... and so on, until the right edge of the image/slice is reached.
image

The --sixteen option is compatible with the --reverse option.
The output tileset image will have its tiles placed in the order described above.
The output tileset image's height must be a multiple of 16.
Since the output tileset image from the reverse option has to be entirely filled with tiles (this is a description of existing behavior), it can be deduced that the number of tiles must be a multiple of 2.

This would be a useful option to have for tilesets of sprites using 8x16 sprite mode, since the image would be organized in a way that reflects how the tiles are used in-game.

@Rangi42
Copy link
Contributor

Rangi42 commented Jun 20, 2024

Duplicate of #1005.

@Rangi42 Rangi42 closed this as completed Jun 20, 2024
@ISSOtm ISSOtm closed this as not planned Won't fix, can't repro, duplicate, stale Jun 20, 2024
@ISSOtm
Copy link
Member

ISSOtm commented Jun 20, 2024

Yep, agreed, that'd be really useful. Do you mind re-posting that image on #1005? It'll be useful as a reference.

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

3 participants