Access denied. You must login to view this page.

Corona 2.0 SDK Beta 7 now available

18 replies [Last post]
Eric
User offline. Last seen 1 year 23 weeks ago. Offline
Joined: 23 Jun 2009

Beta 7 adds builds for Xcode simulator, a device information API, improved texture memory management, a Show Project Sandbox menu item in the simulator, and a number of important bug fixes.

http://developer.anscamobile.com/downloads/beta

Replies

DFox
User offline. Last seen 13 hours 53 sec ago. Offline
Joined: 17 May 2010

This is really good stuff! The Device Info is a huge relief. It does pretty much everything I would have wanted, the only thing I would really like to see in the future is the ability to get the actual device screen size, no matter what the content scaling mode is set to.

d3mac123
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 12 Feb 2010

Really nice stuff. What I am missing more right now is the ability to have asynchronous http requests (an xml parser would be nice too :)

DFox
User offline. Last seen 13 hours 53 sec ago. Offline
Joined: 17 May 2010

I second that d3mac123, asynchronous requests would be really really great. I've found that they are required in most situations, and the use for synchronous requests is fairly limited.

OderWat
User offline. Last seen 2 weeks 2 days ago. Offline
Joined: 4 Jun 2010

GOOD WORK!

OderWat
User offline. Last seen 2 weeks 2 days ago. Offline
Joined: 4 Jun 2010

Hum... my Game crashes on the iPhone Simulator but not on the Device... I'll send tom an email with my current project code.

Sunny's picture
Sunny
User offline. Last seen 5 hours 13 min ago. Offline
Joined: 20 Oct 2009

I've got an app that crashes only on beta 7... (working on beta 5, beta 6)

OderWat
User offline. Last seen 2 weeks 2 days ago. Offline
Joined: 4 Jun 2010

@Sunny ... I am sure that the changes in Memory Management will break some apps... I told this to tom and I think that they have to few informations on what have changed!

Is it really a crash? Or does it "bail out?" ... Are you remove()ing and re-insert()ing display objects probably?

Alwayk
User offline. Last seen 38 weeks 6 days ago. Offline
Joined: 11 Jun 2010

Thanks Ansca for these fantastic features, but my game (built with Corona Beta 7, it doesn't have physics) doesn't work in the iPhone simulator.
Is it possible that since I'm using Xcode with iOS 4, the build doesn't work for compatibility reasons?

Eric
User offline. Last seen 1 year 23 weeks ago. Offline
Joined: 23 Jun 2009

Please continue discussion of Xcode simulator in this forum thread: http://developer.anscamobile.com/forum/8

Eric
User offline. Last seen 1 year 23 weeks ago. Offline
Joined: 23 Jun 2009

@Sunny, please make sure to read the release notes in http://developer.anscamobile.com/downloads/beta under "Improvements to memory management". If this is not your issue, please mail support at anscamobile dot com with details, or post details in the Beta forum thread http://developer.anscamobile.com/forums/beta. Thanks!

siriodev
User offline. Last seen 32 weeks 4 days ago. Offline
Joined: 4 Aug 2009

Me too,
I got many trouble with my application
With the simulator all ok but
It crashes in the xcode simulator and in the Ipad it opens but don't receive touch events in 90 % of cases

With Beta 6 all works correctly in simulator and ipad

d3mac123
User offline. Last seen 4 weeks 2 days ago. Offline
Joined: 12 Feb 2010

Same for me. App works in the simulator but not on xcode. i will check the other thread as suggested.

Eric
User offline. Last seen 1 year 23 weeks ago. Offline
Joined: 23 Jun 2009

Fixed. See other thread.

Sunny's picture
Sunny
User offline. Last seen 5 hours 13 min ago. Offline
Joined: 20 Oct 2009

@ OderWat & @Eric : Thanks for your help.
I think that the main crash problems came form remove() (group:remove( indexOrChild )).
I've modified a few lines in my code and now it works perfectly ! thanks for your help

garysims
User offline. Last seen 18 weeks 6 days ago. Offline
Joined: 7 Jan 2010

Please see my thread http://developer.anscamobile.com/forum/2010/07/13/my-experince-trying-port-corona-iphone-app-android

Beta 7 does NOT address the major problems with Android: A) The application can't recover from being suspended and then restored (the screen is either blank or corrupt), B) Sound events don't work. playEventSound() doesn't work (I have tried with .mp3, .wav and .ogg files), media.playSound() works fine (including with MP3) but media.stopSound() doesn't.

Any comments from the developers???

Gary

Alwayk
User offline. Last seen 38 weeks 6 days ago. Offline
Joined: 11 Jun 2010

Gary, I'm sorry but I don't develop for Android since I don't have an Android device.

Eric
User offline. Last seen 1 year 23 weeks ago. Offline
Joined: 23 Jun 2009

Our Android developer was on vacation during part of the Beta 7 release cycle, and that release focused on other priorities.

For event sounds on Android, you have to preload them with newEventSound() and play them after a delay with playEventSound(). What delay? We can't say. The Android API (SoundPool, if you are interested) doesn't signal when load is completed, until Froyo. Yes, this needs to be documented better, I'll open a case about that. #556.

I'll test stopSound (again) today.

garysims
User offline. Last seen 18 weeks 6 days ago. Offline
Joined: 7 Jan 2010

Eric,

Thanks for your reply... and thanks for that golden nugget of information... I now have sound for playEventSound() working perfectly with .ogg files (I haven't tried any other formats, since .ogg is working)...

What I do now is pre-load ALL of my sound events at the start of the application and then just call them when necessary... Works great!

Now if I had only known that like 3 weeks ago... But never mind...

I will update my thread...

Thanks,

Gary
PS. No luck getting a viable workaround for the suspend problem... More in my thread: http://developer.anscamobile.com/forum/2010/07/13/my-experince-trying-port-corona-iphone-app-android

Viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.