david-pfx / PuzzleScriptNext

A direct successor to PuzzleScript, building on the work of PuzzleScript Plus, Pattern:Script and others.
http://www.puzzlescriptnext.polyomino.com
MIT License
11 stars 4 forks source link

Tool idea: sprite importer #90

Open Draknek opened 2 weeks ago

Draknek commented 2 weeks ago

Similar to the Sprite Upscaler Tool, I'm suggesting a tool which would allow you to provide an image (PNG/JPG/etc.) and it would output a puzzlescript sprite definition.

Obviously, the source image would need to have a maximum of 10 different colours.

david-pfx commented 2 weeks ago

Or it could output JSON for a canvas: sprite.

Seems like a nice idea for someone to contribute.

PS Next supports more than 10 colours in sprites.

Draknek commented 2 weeks ago

I found a tool that can load an image and export it in PuzzleScript format, you could link it from the Sprite Upscaler Tool page:

http://tmtg.nl/tinyspriteeditor/tinyspriteeditor.html

david-pfx commented 2 weeks ago

Thanks, I didn't know that one. But I see it is in Pedro's list. There is also Asesprite, Narkhos.

Do you have a list of 'really useful tools'? I would like to to add a list of useful tools, but Pedro has way too many, and I'm not sure he's still keeping it up to date.

Draknek commented 1 week ago

I don't have such a list.

Looking at Pedro's list, these are the ones I'd say are maybe worth mentioning:

david-pfx commented 1 week ago

Did you try them? Embed and Pedro's sound library are broken. I've emailed Pedro.

How about https://dekeyser.ch/puzzlescriptmis/?

Draknek commented 1 week ago

I use something based on puzzlescript embed and it still seems to work for me, even with a puzzlescript next project.

PuzzleScript+MIS is not personally interesting to me, maybe it is to other people but I don't know how usable it is.

david-pfx commented 1 week ago

Maybe the link changed. Is this is it: https://github.com/raggy/puzzlescript-embed