Post by RavMahov on May 29, 2016 8:32:26 GMT -5
[2016-06-12] New functionality: Export re-colored image to PNG
Hello,
A while ago, I've made a thread about PK2 palette, which hopefully helped some of you understand how palette works, and why you should not drop the palette support in your fangames/remakes.
Just lately, it occurred to me that the included Live Example could actually be useful in creation and testing of tilesets, sprites and backgrounds for PK2. So I upgraded it a bit...
Introducing Palette Testbed
Click image below to go to the tool
What it allowed to do back then was to load and see tilesets/sprites on different backgrounds (background image acts as a palette provider).
Moving palette row is also animated on the tileset/sprite (but not on the background, look below for more info).
Now it also supports:
- drag-n-dropping tilesets/sprites and backgrounds from your device, so you can load and preview your content before checking it in the game.
- testing Color Variants (remember Orange chilli pigs?)
- saving re-colored images to PNG for further editing
Background image is not animated (not to add additional sparkling pixels when you are testing your tileset/sprite).
If you want to preview the animation of the background, just drag it onto the Sprite Drag-Drop Zone (this way, you can also check backgrounds with different palettes).
It was never supposed to be a substitute to Level Editor.
It's could be useful for quick preview of the sprites you are working on:
- on different backgrounds
- with different palettes
- with different color variants (cyan, red, violet, remember orange pigs?)
- previewing palette-cycled animation (blinking)
- previewing if you don't have accidentally added blinky parts (check out ENDING image from the left combo box, it shouldn't blink, right?)
You can also save images with custom shading and color variants to create:
- gifs
- icons
- avatars
Additionally, Digi_056 has found another use case:
- testing if Sprite BMP dimensions are okay.
It seems that if the width (not sure about height) is not multiply of 4 (eg. 640), the image will get skewed (eg. 45 degrees). Now a couple of the old sprites might get fixed
You can also do the same with backgrounds (preview them with different palettes/color variants).
WARNING: The saved files are PNGs and are not suitable for use in PK2. That's not what the functionality was intended for. If requested, BMP saving with custom palette might come to the tool.
If you can provide any feedback, or just like that tool, feel free to leave a message below. Feature requests are welcome, too!
-RavMahov
Hello,
A while ago, I've made a thread about PK2 palette, which hopefully helped some of you understand how palette works, and why you should not drop the palette support in your fangames/remakes.
Just lately, it occurred to me that the included Live Example could actually be useful in creation and testing of tilesets, sprites and backgrounds for PK2. So I upgraded it a bit...
Introducing Palette Testbed
Click image below to go to the tool
What it allowed to do back then was to load and see tilesets/sprites on different backgrounds (background image acts as a palette provider).
Moving palette row is also animated on the tileset/sprite (but not on the background, look below for more info).
Now it also supports:
- drag-n-dropping tilesets/sprites and backgrounds from your device, so you can load and preview your content before checking it in the game.
- testing Color Variants (remember Orange chilli pigs?)
- saving re-colored images to PNG for further editing
Background image is not animated (not to add additional sparkling pixels when you are testing your tileset/sprite).
If you want to preview the animation of the background, just drag it onto the Sprite Drag-Drop Zone (this way, you can also check backgrounds with different palettes).
It was never supposed to be a substitute to Level Editor.
It's could be useful for quick preview of the sprites you are working on:
- on different backgrounds
- with different palettes
- with different color variants (cyan, red, violet, remember orange pigs?)
- previewing palette-cycled animation (blinking)
- previewing if you don't have accidentally added blinky parts (check out ENDING image from the left combo box, it shouldn't blink, right?)
You can also save images with custom shading and color variants to create:
- gifs
- icons
- avatars
Additionally, Digi_056 has found another use case:
- testing if Sprite BMP dimensions are okay.
It seems that if the width (not sure about height) is not multiply of 4 (eg. 640), the image will get skewed (eg. 45 degrees). Now a couple of the old sprites might get fixed
You can also do the same with backgrounds (preview them with different palettes/color variants).
WARNING: The saved files are PNGs and are not suitable for use in PK2. That's not what the functionality was intended for. If requested, BMP saving with custom palette might come to the tool.
If you can provide any feedback, or just like that tool, feel free to leave a message below. Feature requests are welcome, too!
-RavMahov