Hacker News new | ask | show | jobs
by AISnakeOil 269 days ago
Is there any way to edit programs in my own editor?

I can't work with these blocky fonts.

2 comments

Yes, you can write code in a separate file and then import it to cartridge with tic-80 console commands[1]

You don't have to do this manually every time, just make a shell script with multiple commands; e.g. this will import code, save and run the cartridge:

    ./tic80 --skip --fs="$PWD" --cmd="load cart.tic & import code main.lua & save & run
The other way is indeed to buy or build yourself a PRO version, it can work with cartridges in plaintext format.

[1] https://github.com/nesbox/TIC-80/wiki/import

There is, but it's one of the few features reserved for the pro version ($10)

https://github.com/nesbox/TIC-80/wiki/external-editor

You can also build the Pro version yourself for free according to the docs: https://github.com/nesbox/TIC-80/wiki/PRO-Version