Search found 1 match
- Sun Apr 29, 2012 3:43 pm
- Forum: Support and Development
- Topic: Not sure what is wrong with my table
- Replies: 6
- Views: 2667
Re: Not sure what is wrong with my table
Hi, In the love.keypressed part you don´t initialize the table that contains the position right. Change table.insert(bullets, {playerX + 150,playerY}) to table.insert(bullets, { bx = playerX + 150, by = playerY}) Also, to make the bullets really move you need to alter love.draw from love.graphics.dr...