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

There should be a shipped example of a PNG8 setup. #15800

Open
GraionDilach opened this Issue Nov 7, 2018 · 2 comments

Comments

Projects
None yet
4 participants
@GraionDilach
Contributor

GraionDilach commented Nov 7, 2018

Even the source code is unclear about how to set up the metadata properly, so the best would be to extract it from an already existing PNG, but there isn't such in the first-party.

The best suggestion I would make in this regard is to port the lighthouse from RA to TD, but letting it stay within RA palette, so that it can feature both usecases as an asset and as a palette.

@IceReaper

This comment has been minimized.

Contributor

IceReaper commented Nov 7, 2018

Example png i use for my custom mousecursors: (metadata included)
Cursors
Cursor usage:

Cursors:
	bits/Cursors.png: kknd
		sell:
			Start: 0
			Length: 12
		sell-blocked:
			Start: 19

And the shared palette i am using for my whole kknd project:
Palette
Palette usage:

^Palettes:
	PaletteFromPng@kknd:
		Name: kknd
		Filename: bits/palette.png
		CursorPalette: true

Hope this helps as example :)

@reaperrr

This comment has been minimized.

Contributor

reaperrr commented Nov 8, 2018

Added link to #15336 since that's where people arriving from the changelog entry will look first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment