Search found 1 match

by TabloidA
Wed Mar 04, 2015 3:36 pm
Forum: Support and Development
Topic: bad argument #2 to ' rectangle' (number expected, got nil)
Replies: 1
Views: 2877

bad argument #2 to ' rectangle' (number expected, got nil)

So I'm trying to build off of the "Grid-Locked Player" Tutorial. And I've added a turret that should shoot at the player when within a certain distance of it. Here's my code: function love.load() enemyImage = love.graphics.newImage("turret.png") enemyBullets = {} bulletSpeed = 25...