On GitHub wiki isn’t written how to generate random numbers, for what is needed function init, how to check line collisions etc. Where I can find answers?(I am Ukrainian and speak Russian so maybe I missed it)
Hi,
try to use math.random() https://www.lua.org/manual/5.3/manual.html#pdf-math.random to generate random numbers
As for line collision, it's not TIC-80 specific question, pls google it.
Here https://tic80.com/play?cart=2073 a cartridge showing how line collision works