Search found 2 matches
- Tue Sep 23, 2014 3:27 am
- Forum: Support and Development
- Topic: Using the love api in other classes/tables other than main.
- Replies: 3
- Views: 3134
Re: Using the love api in other classes/tables other than ma
Thanks for the replies. It turns out that I was pointing at the directory incorrectly. I had to point to the png as if it was being directed from the main class like this from symbol.lua: image = love.graphics.newImage("/assets/symbols/p1.png") as oppose to this image = love.graphics.newIm...
- Mon Sep 22, 2014 4:07 am
- Forum: Support and Development
- Topic: Using the love api in other classes/tables other than main.
- Replies: 3
- Views: 3134
Using the love api in other classes/tables other than main.
Hello all. First time posting here. I am pretty new to Love. So far I like it. I did have a question that I believe is a bit noob, but nevertheless I need to figure it out. So calling the love api from another class other than the main class/table ex. image = love.graphics.newImage('p1.png') It retu...