The code is simple:
local function createScreen()
local background= display.newImage(“images/background.png” , 10, 200)
end
But it just will not find images in a sub-directory. I cannot, for the life of me, figure out why. If I place in it in th same directory as main.lua, it works fine, but it will not look in sub-directories. And yes, I have double-checked, and they are corerctly named.
I first encountered this problem running through the Angry Birds in 30 minutes demo, when I had to dump all the gdk image files into the main folder, and I haven’t been able to do it since. I’m using Outlaw Version 3.0.14 (19) as my editor.
I know I can just dump images in the main folder to get around this probglem, but I need to know why it is malfunctioning…
