The Dink Network

Palette Changing Stuff

February 24th 2010, 02:49 PM
knightgl.gif
castman
Peasant He/Him Brazil
Some day I'll finish my mod... Some day... 
Since I've played Lyna's Story, and then Dink Goes Boating, I want to know how does that palette change works.
(On Lyna's Story Pliska used it to make the alternative world through DDC portals)

First I tough there was no way to control the color changes but 'DGB' has a lot of different applicable pals...

Anyone knows how can I create (or edit) one of those? I have no idea at all
February 24th 2010, 02:58 PM
spike.gif
Prior to v1.08, the palette could be changed by loading a picture using a different palette to the screen with the copy_bmp_to_screen() command, or at the beginning of the game by using a different palette on splash.bmp.

v1.08 added a command to do that, load_palette(). Check dinkc.chm for more info on that.
February 24th 2010, 03:12 PM
burntree.gif
Fireball5
Peasant He/Him Australia
Let me heat that up for you... 
Just a word of warning, all images must be saved using the original Dink palette, otherwise when you change palette you might get weird colours. Took me a while to figure that out.