Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+2)

Hi there!

I've just types some javascript until it worked. (Honestly, it's some rubbish code there!). I mostly relied on the browser's Canvas Api.

The "layering" - if I can call it like that - is just drawing elements on the in-memeory canvas where I want them in the order I want them - no magic here.

The export is done with an old trick of assigning base64 encoded canvas (exportLink.href = canvas.toDataURL("image/png")) into the export anchor's href attribute on every change.

This technique has some limitations but for small files it works like a charm.

Let know if you have more questions, and good luck with your tool!

Thanks for that about our own stuff ʕノ•ᴥ•ʔノ ︵ ┻━┻
Still it's a pretty inspiring project. Thanks a lot for the answer and link,
I'll definitely give you an update when I get started on that. It'd mostly

be for my own use, I am working on a new game and characters in that are simple

enough to try that :D