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

Array of color keys in map/font/textri? #996

Closed
StinkerB06 opened this issue Jan 28, 2020 · 1 comment · Fixed by #1095
Closed

Array of color keys in map/font/textri? #996

StinkerB06 opened this issue Jan 28, 2020 · 1 comment · Fixed by #1095

Comments

@StinkerB06
Copy link

The spr() function's colorkey parameter can accept a table array of numbers (instead of just a single number), so that we can specify multiple simultaneous transparent color indexes in the same sprite. However, such functionality doesn't exist with the other three functions as mentioned in the title.

@RobLoach
Copy link
Contributor

The chroma key is used to determine how to blit the image. Having multiple choma keys could have a pretty poor effect on performance.

Is there another way you could accomplish this?

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

Successfully merging a pull request may close this issue.

2 participants