Search found 3 matches
- Thu Dec 26, 2013 3:22 pm
- Forum: Support and Development
- Topic: Image assignment issue
- Replies: 4
- Views: 1586
Re: Image assignment issue
Thank you very much. I'm only used to (my favourite) Assembler, Pascal and some C.
- Thu Dec 26, 2013 2:51 pm
- Forum: Support and Development
- Topic: Image assignment issue
- Replies: 4
- Views: 1586
Re: Image assignment issue
Actually, the case is more complicated: function love.load() for i=1,#buttons do button_images[i][1] = love.graphics.newImage(buttons[i][5]) button_images[i][2] = love.graphics.newImage(buttons[i][6]) end love.graphics.setBackgroundColor(0, 0, 0) love.mouse.setVisible(true) end Even with "butto...
- Thu Dec 26, 2013 2:26 pm
- Forum: Support and Development
- Topic: Image assignment issue
- Replies: 4
- Views: 1586
Image assignment issue
Hi everyone,
I'm wondering why I can't do the following:
I get the exception:
I'm wondering why I can't do the following:
Code: Select all
abc[1] = love.graphics.newImage('Button_normal.png')
attempt to index global 'abc' (a nil value)