-
Notifications
You must be signed in to change notification settings - Fork 6
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
Problem with palette 4 colors. #8
Comments
It may look like it only has 4 colors, but it might actually have 5 colors where two are close in appearance. You're welcome to post the image in this ticket. What C file are you trying to compile with GBDK-2020? Why are you using |
Thanks for your answer. |
I read your answer on discord and i don't understand how to use png2asset. |
png2assetIn order to use
And some example projects:
png2gbtilesHowever, if after that you still want to use There are more details about it's options here: |
If you want to share an image, you can just drag it into the comments. Please avoid using third party link storage services |
Hello, when i open the placeholder file i found in gb-studio .
I see only 4color ,but the plugin export gbm say that i have 5 colors.
The export in .c seem to work correctly .
But when i want to compile with gbdk-2020 i have some errors.
`main.c:309: syntax error: token -> 'guint' ; column 7
main.c:310: error 1: Syntax error, declaration ignored at 'guint'
main.c:311: error 1: Syntax error, declaration ignored at 'guint'
main.c:312: error 1: Syntax error, declaration ignored at 'guint8'
make: *** [Makefile:29 : Example.gb] Erreur 1
the line in my file.c
guint width;
guint height;
guint bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
guint8 pixel_data[160 * 144 * 3 + 1];
Thanks for your help
The text was updated successfully, but these errors were encountered: