Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TIC-80

Fantasy computer for making, playing and sharing tiny games. 路 By Nesbox

I created a node tool to export import tilesets and spritesheets

A topic by RafaelLVX created 7 days ago Views: 42 Replies: 4
Viewing posts 1 to 2

Hi.

Been curious about TIC-80 for a long time, and the holidays looked like as good time as any to start learning. 

While I did that, I thought of writing a node script to help me with tilesets and spritesheets. This is it https://www.npmjs.com/package/tic80-image-tools. It exports tilesets and spritesheets from a lua cartridge into PNGs, so you can edit the images and reimport them to the cartridge with the same tool.

Come to think of it, now I wonder, maybe this already existed. I should have asked. But I guess I was having fun with the challenge.

I'm still testing and refining this. Let me know what you think.

(1 edit)

Cool, you could share it on the wiki external tools page https://github.com/nesbox/TIC-80/wiki/tools
The export and import commands already allow to use png files, but your tool seem to go further like extracting all palette for each bank.

Ooh thanks I'll check the built-in export/import then, I didn't see that. Still learning how to use this.

The tool exports the palettes as reference but there're still a few refinements that could be added I suppose. It just exports an image with squares colored like the palette for reference.

Now that I read it, the built-in import is comically similar to what I tried to do with the node tool hahaha...

I assumed this didn't exist based on videos I watched, I'm glad it does though. I guess at least I learned a bit about node and publishing stuff in npm, which I sorely needed. 馃槄

More or less everything you need to know is on the github wiki ^^