Search found 3 matches
- Thu Sep 17, 2020 12:51 am
- Forum: General
- Topic: Error attempt to perform arithmetic on local 'dt' (a table value)
- Replies: 2
- Views: 8982
Re: Error attempt to perform arithmetic on local 'dt' (a table value)
Thank you so much :-) it works now
- Sun Sep 13, 2020 9:51 pm
- Forum: General
- Topic: Error attempt to perform arithmetic on local 'dt' (a table value)
- Replies: 2
- Views: 8982
Error attempt to perform arithmetic on local 'dt' (a table value)
Having an issue with 'dt'(deltatime), I am confused of why I can't reference dt in main.lua. I've made sure I put dt in all update functions but I still come out with this error. error: Error Player.lua:21: attempt to perform arithmetic on local 'dt' (a table value) Traceback Player.lua:21: in funct...
- Thu Jul 16, 2020 7:20 am
- Forum: Support and Development
- Topic: Having a problem with a 'table[i] = nil'
- Replies: 2
- Views: 1751
Having a problem with a 'table[i] = nil'
Hello my name is Wilson, as of right now I'm having a problem with my code that I cant wrap my head around. I"m very new to love2d and I bought a class from udemy (heres the link to it: https://www.udemy.com/course/lua-love/). The problem I'm facing is where I have a for loop inside of table. I...