Done working on asset corruption. It was an error of bit masking rgb888 colors to rgb565 when writing the asset file.
This commit is contained in:
parent
66bd64d7dc
commit
1a36cccebc
|
|
@ -1 +1 @@
|
|||
Subproject commit de1f66374bf88d0dce6b3ea381667e10701c5d02
|
||||
Subproject commit d0e2dc99d2305ecea709632c75027fd33d863088
|
||||
4
TODO.md
4
TODO.md
|
|
@ -24,12 +24,12 @@
|
|||
|
||||
###### Bugs
|
||||
|
||||
- [ ] Work on asset corruption.
|
||||
|
||||
### In progress
|
||||
|
||||
### Done
|
||||
|
||||
- [x] Work on asset corruption.
|
||||
|
||||
- [x] Make functionnal hitboxes between entities
|
||||
|
||||
- [x] Change the way default values are defined across components and systems
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@ int parse_png_for_content_and_write(const char *input_file_name, FILE *output_fi
|
|||
b = 0x1F;
|
||||
}
|
||||
|
||||
uint16_t pixel = ((r) << 11) | ((g) << 6) | b;
|
||||
uint16_t pixel = ((r) << 11) | ((g) << 5) | b;
|
||||
|
||||
// printf("\033[48;2;%d;%d;%dm ", r << 3, g << 2, b << 3);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue