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.
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.