Primary tabs

Comments by User

Wednesday, June 24, 2020 - 22:11

That feedback was meant for William.Thompsonj, I edited that apparently too late.
I overread your post at first and noticed later that my response could be misunderstood as being addressed at you.

The downloading problem and sorting does not apply to yours. But the magic knob issue does.

Even though those ideas could be implemented in yours too, indeed.

> Do you have any suggestions for palettes that I should add to the library?
Zoria (not on lowspec) https://opengameart.org/content/zoria-tileset
And maybe the original palette of LPC (neither on lowspec) https://lpc.opengameart.org/static/lpc-style-guide/styleguide.html

> I'm not sure what you mean by palettes with duplicate colors
In a paletted image each pixel stores the palette index instead of the color. And the palette then is made up of colors, there can be duplicate colors at different indices.
You might not be able to access palettes with JavaScript, at least I wasn't the last time, I tried.

I attached a little bit forced example. It uses a palette of 5 colors. Color #1 and #2 are both black, but #1 is the outline and #2 is the hair color. You can change hair color and outline color independently by changing the color value of those indices.

EDIT:
Added screenshot for palettes

Wednesday, June 24, 2020 - 20:51

@williamthompsonj:
Drawbacks: (as far as I can see)
- can't be used in automated work flow with Makefiles etc.
- can't handle palettes with duplicate colors
- automatically sorted palette might be undesirable in certain situations

Feature ideas:
- loading palettes from lowspec
- importing/exporting .gpl (simple text file)

I wasn't able to check whether the swapped image is a paletted png, since the download does not work for me. It's just called `no_image_loaded`

EDIT:
Just remembered this little tool: https://github.com/PureAsbestos/Image-palettizer

EDIT2:
@laborious-rex:
Magic knob does not appear to work on firefox, it just makes the palettes shake.

Monday, May 25, 2020 - 23:47

If it would not touch the image, the pixel's colors would change.

Monday, May 25, 2020 - 16:17

Well, changing the palette is not enough, you also have to adapt the indices of the pixels.
mtPaint is capable of changing the order, when you press shift and drag a color in the palette.
Grafx2 allows to swap two colors in the palette with or without also changing the pixels.

Wednesday, May 6, 2020 - 00:48

I'd say structs are more type-save. But unions are quite handy when you have different versions of savegame formats (backward compatibilty) and just extend the previous version a bit.

Wednesday, May 6, 2020 - 00:40

Well 3 colors looks doable. But I'm not sure if I will make something.

I'm more having fun sketching. I could make a second iteration of my breakout game from last summer.

What does that "Look at any existing prototypes you've made and see if you can work with one of them." on itch.io mean? Is it allowed to pick up old jam games? Well not that I'm planning on doing that, it might be better to start from scratch.

Wednesday, May 6, 2020 - 00:37

If you want something lighter, you must be more specific. Lighter engines are focused on specific genres etc. (flarerpg, solarus, springrts, ren'py...)

I think console export with open source engines might be hard, they are not really open ecosystems?

Saturday, May 2, 2020 - 19:23

Well ... you can create more colors by just switching the palette of the screen faster than the eye can handle it.

Thursday, April 30, 2020 - 08:30

Tommy Cathodic has more fovorites than Señor Moreno. He linked it here, but did not tag it properly.

Monday, April 20, 2020 - 13:36

> Have all your entries submitted by end of the day on Tuesday, April 21st, 2020.

Which timezone? UTC?

Pages