Search found 1 match
- Wed Dec 21, 2016 10:50 pm
- Forum: Support and Development
- Topic: For cycle won't work because "attempt to index local 'v' (a number value)"
- Replies: 1
- Views: 1833
For cycle won't work because "attempt to index local 'v' (a number value)"
Hello, so, when running spaceinvaders.love (File attached). And pressing space, I get an error message: main.lua:64: attempt to index local value 'v' (A number value). This is the for cicle: for k, v in pairs(bullet) do love.graphics.rectangle("fill", v[bulx], v[buly], 10, 10) You can see ...