08-08-2020, 06:51 AM
Hi!
Nice to hear from you again, I'm glad you like the news about tilengine. I'm still working on the documentation, at my own pace
About features you request: of course, they're possible to implement without much effort. Microsoft .pal format is documented and I've worked with it in the past. And loading palettes from png's is also possible, but how common is this? Using png as a palette container, I mean. Which software are you using for asset editing?
As a tempral workaround, you can load palettes from png this way:
Nice to hear from you again, I'm glad you like the news about tilengine. I'm still working on the documentation, at my own pace

About features you request: of course, they're possible to implement without much effort. Microsoft .pal format is documented and I've worked with it in the past. And loading palettes from png's is also possible, but how common is this? Using png as a palette container, I mean. Which software are you using for asset editing?
As a tempral workaround, you can load palettes from png this way:
Code:
TLN_Bitmap bitmap = TLN_LoadBitmap("bitmap.png");
TLN_Palette palette = TLN_ClonePalette(TLN_GetBitmapPalette(bitmap));
TLN_DeleteBitmap(bitmap);