folders and subfolders

Hi,

I am using build 704 on the mac.

I am using the following folder structure

build.settings config.lua main.lua hero/ hero/img background/ background/img
On the simulator this works fine, but when I build it and test it on an ipad, all I get is a blank screen…

am I missing something? for some reason I thought I could use folders and subfolders

Thanks

Vik [import]uid: 67619 topic_id: 20532 reply_id: 320532[/import]

worked out the issue…
I also have another folder called “items” and underneath the folder I have “items.lua”

It looks like “items” must be a reserved word?? as soon as I changed the folder and the lua file name it worked.

Is there any doco about reserved words for apple and android?

Thanks [import]uid: 67619 topic_id: 20532 reply_id: 80529[/import]

Was changing the “items” file enough to fix it?

I’ll look and see if I can find a list of reserved words - the one BIG one to avoid is naming a subdirectory “resources”. (It breaks signing.)

Peach :slight_smile: [import]uid: 52491 topic_id: 20532 reply_id: 80546[/import]

Thanks Peach…

I had to rename the folder as well as the file…

It would great if the corona SDK could pick up reserved words and throw erros, depending on what you are building for…

Also a while back when I was trying to finish off ‘Crimson Kingdom’ I was having issues with the an image that was named ‘Pause.png’. After numerous attempts at commenting and uncommenting code I stumbled on to it… changed the name and again it worked. This was for Android though.

Too hot in melb today… hows sydney? [import]uid: 67619 topic_id: 20532 reply_id: 80552[/import]

Sydney was unpleasantly warm and humid today but not totally intolerable. (We have been VERY lucky this summer, few days over 32. Adelaide has been hammered with 40+ temps.)

I agree we could use warnings for that kind of thing, yes. Maybe a post for Feature Requests?

Peach :slight_smile: [import]uid: 52491 topic_id: 20532 reply_id: 80584[/import]

I had to go back and recheck, it looks like the actual folder might have been “Items”, where as the code was looking for “items”…

Will double check though… such a noob :frowning: [import]uid: 67619 topic_id: 20532 reply_id: 80737[/import]

Haha, no, I would have jumped to a “reserved” work too - not necessarily in Lua but relating to Apple. (Just like “resources”.)

Mistakes happen - you managed to catch it though.

Peach :slight_smile: [import]uid: 52491 topic_id: 20532 reply_id: 80783[/import]

I’m having a problem with installing my app on the iphone. It works fine with an empty app but not with our game that we are developing.

I’m guessing it could have something to do with the subdirectories or the naming of files and folders.
I actually had a folder that was named “resources” and i’v now changed it to “res” but it still doesn’t
work. I would be really helpful the get a list of all the keywords that are not allowed.

I can build, but not install it on the iphone. [import]uid: 103182 topic_id: 20532 reply_id: 83401[/import]

What issues do you get when installing on the phone? Does an error appear?

Let me know.

Peach :slight_smile: [import]uid: 52491 topic_id: 20532 reply_id: 83487[/import]