hello, I'd like to know if anyone can help me. I wanted to make a bomb sprite appear 6 times on 6 random places on the screen (except a border that I made), so I made a function for that:
function randombomb() for i = 1,6 do spr(4,rnd(104)+8,rnd(104)+8) end end
I called this function in the _DRAW loop function, which was a mistake because the screen turned into a one big chaotic mess...
if it wasn't clear, I want the function to happen only 1 time and not infinitely. can anyone please help me?