Paths for modules

Hello,

I ran into following error:

1
display.newImage("Media/GFX/back.png", 0, 0, true)

Yep seems to work with image and audio resources but not code modules.

Likewise Corona emulator is not case sensitive with module names but build applications are.

I know of no way to subdir module files. I just suck it up and give them categorised prefix names eg:

gfx_anim.lua
gfx_load.lua
gfx_lib.lua
screen_state.lua
screen_init.lua
etc.

Thanks for the answer, yeah I already thought that it is a bug. I guess I'll use your solution till they fix it, if they fix it.

Cheers!

views:1316 update:2011/10/9 22:34:50
corona forums © 2003-2011