Page 1 of 1
Love2D console keeps on printing "0" for some reason. How would I stop it ?
Posted: Mon Dec 04, 2017 5:32 am
by Raj
the console of Love2D keeps printing "0" infinitely. How would I stop it ?
Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?
Posted: Mon Dec 04, 2017 6:15 am
by xNick1
Try to look for a print() instruction!
Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?
Posted: Mon Dec 04, 2017 6:17 am
by Raj
xNick1 wrote: ↑Mon Dec 04, 2017 6:15 am
Try to look for a print() instruction!
I did, again. There is no print() function in any lua file.
Edit: Actually you were right, there was a print() called in one of the lua files. Resolved.
Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?
Posted: Mon Dec 04, 2017 9:13 am
by Nixola
Does it do it with an empty main.lua or with the nogame screen? Do you have any io.write or io.stdout, io.stderr or io.output?
Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?
Posted: Mon Dec 04, 2017 10:23 am
by Raj
So there was a print() function that was doing it. Lol. Problem solved.
Re: Love2D console keeps on printing "0" for some reason. How would I stop it ?
Posted: Mon Dec 04, 2017 8:40 pm
by KayleMaster
Color me surprised ... Don't you use the find function of your IDE/text editor ?