Search found 2 matches

by dmf
Thu Apr 25, 2019 7:22 am
Forum: Support and Development
Topic: Trying to reference specific value from {} object throws 'nil value' error
Replies: 2
Views: 2793

Re: Trying to reference specific value from {} object throws 'nil value' error

How could I possibly not have caught that?

Thanks so much!
by dmf
Wed Apr 24, 2019 1:49 pm
Forum: Support and Development
Topic: Trying to reference specific value from {} object throws 'nil value' error
Replies: 2
Views: 2793

Trying to reference specific value from {} object throws 'nil value' error

Hi all, I'm not sure if I have a syntax error or a lack of understanding here, but I've been puzzled about a bug that I haven't been able to fix for half an hour. Here are the relevant code bits: link = {} link.y = 1 link.speed = 1 link.x = 1 function love.load() link = love.graphics.newImage("...