r/lua • u/MohammedThaier • Oct 15 '23
I coded a simple logic gates simulator with Lua and TIC-80
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
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
5
5
2
2
2
2
2
6
u/MohammedThaier Oct 15 '23
https://github.com/itsMohammedThaier/LogicGatesSim_TIC-80