Forgive me with this newbie question but I have been having a play with the Corona 2.0 Beta 6 and following some tutorials. I have successfully created the standard hello world app and managed to get this on my iPhone 4 with its own icon. I am very pleased:)
Anyway I thought as a learning exercise I would try and make a sliding picture puzzle.
I created some tile images at 160 pixels by 160 pixels thinking the iPhone 4 screen is 640 pixels wide - hence 4 tiles across.
However when I test this on my iPhone 4 I can see it is displaying as if the screen resolution is 320 wide as I am only seeing 2 tiles across.
So do I have the wrong build settings or am I missing something really fundamental here?
Thanks
Paul [import]uid: 7863 topic_id: 1528 reply_id: 301528[/import]
Currently the SDK only supports IOS 3 so the display is 320 by 480. We hope to have IOS 4 support in the near future. [import]uid: 7559 topic_id: 1528 reply_id: 4290[/import]
Being new to Corona, I was very excited about this tool saving me from the pain of learning Objective-C (at least initially anyway). I will still need to devote time to get up to speed with Lua and the development tool so I am wondering if I should be concerned that there is no IOS 4 support and the fact your reply implies that this is not something that is currently being developed (apologies if I have misread this).
Can I ask if the absence of any speedier action developing an IOS 4 solution is related to the uncertainty regarding the new restrictions banning 3rd party tools creating iPhone content?
I am really hoping that I am not forced to have to slave over text books for months learning Objective-C etc as it seems such a backward step after enjoying the benefits of programming in Flash and Director for many years.
Best wishes
Paul [import]uid: 7863 topic_id: 1528 reply_id: 4312[/import]
I’m pretty sure you can just use the config file or content scaling to fix the size issue…
Did you try a config file like this? From the way I understand it this should do the sizing properly AND size everything down nicely for the old 480x320 setups. But I don’t have an iPhone 4 to test on so I can’t confirm it works.
This file would be right in your app directory and called config.lua:
IOS 4 is on our road map and being worked on. We’ve been very busy with bug fixes and adding some features that have been requested here in the forums. If you have a feature that you feel is missing (like OS 4 support) please post it in the Feature Request section of the forum. Our goal is to support both IOS and Android.
Thanks,
Tom [import]uid: 7559 topic_id: 1528 reply_id: 4329[/import]