Search found 2 matches

by Xgor
Tue May 16, 2017 10:32 pm
Forum: Support and Development
Topic: Table sometimes nil.. sometimes not?
Replies: 2
Views: 900

Re: Table sometimes nil.. sometimes not?

Thank you so much. So used to the way arrays works in other languages so i didn't think that index works different in lua. I added +1 to all the x+*4 stuff but both solutions seem to work great.
by Xgor
Mon May 15, 2017 11:31 pm
Forum: Support and Development
Topic: Table sometimes nil.. sometimes not?
Replies: 2
Views: 900

Table sometimes nil.. sometimes not?

(If you just want to look at the source and figure it out from there it's here https://github.com/Xgor/Lovetris ) Hello Löve forum. I'm currently trying to do a tetris clone in Löve to learn how Löve and Lua works. I was currently trying to get the different parts of the tetromino so i saved it into...