r/lua • • Oct 15 '23

I coded a simple logic gates simulator with Lua and TIC-80

184 Upvotes

16 comments sorted by

2

u/n503 Oct 16 '23

why is code stored in a .txt.txt file lol?

1

u/MohammedThaier Oct 16 '23

TIC-80 is a retro games maker, uses carts system; a cart contains all the code/sprites/audios of the game, therefore; the actual code is within the LGS.tic file.

The text file is just a preview of the script

1

u/MohammedThaier Oct 16 '23

Oh wait it's .txt.txt lol, gonna fix it later

2

u/n503 Oct 16 '23

can i do the pull request please

2

u/heyyylookitsnoah Oct 17 '23

Made something similar but more modern, might wanna have a look at it: https://github.com/LogicCircuitSim/LCS/tree/menu-update

1

u/MohammedThaier Oct 19 '23

I'll check it ASAP

5

u/iitzKJ Oct 15 '23

That’s really cool man good job

5

u/Lobotomized_toddler Oct 16 '23

Time to make an 8 bit computer

2

u/ramjithunder24 Oct 16 '23

This is really cool

2

u/TwilCynder Oct 16 '23

I love both the idea and how it looks !