Release Notes from Previous Versions

Corona Game Edition 2010.240

This release of Corona Game Edition includes all fixes and additions from the Corona SDK 2010.148 release, and includes a new Welcome window, tighter integration with sprite sheet generator tools, and new samples.

New features

  • Improved sprite sheet tool integration - This latest release of Game Edition includes new APIs for creating sprite sheets from the source sprite sheet and a data file that describes the coordinates and dimensions of each sprite in the sheet. Sprite packing tools such as Zwoptex or TexturePacker let you export this kind of sprite sheet data. For example, the code below illustrates how to create a new sprite sheet in Corona using a sprite sheet and associated data exported. Also see the new HorseAnimation sample included in the SampleCode folder that demonstrates this feature.

    1
    2
    3
    4
    5
    6
    7
    
    local sprite = require("sprite")
    -- In this case, test.lua is exported from Zwoptex
    local test = require("test.lua")
    -- Method defined by test.lua that returns table data defining the sprites
    local spriteData = test.getSpriteSheetData()
    -- Load the sprite sheet in test.png using the sprite definitions from spriteData
    local spriteSheet = sprite.newSpriteSheetFromData( "test.png", spriteData )

    And below is the "test.lua" file specified in the code above.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    
    function getSpriteSheetData()
     
            local sheet = {
                    frames = {
                            { 
                            name = "01.png", 
                            spriteColorRect = { x = 38, y = 38, width = 50, height = 50 }, 
                            textureRect = { x = 2, y = 70, width = 50, height = 50 }, 
                            spriteSourceSize = { width = 128, height = 128 }, 
                            spriteTrimmed = true,
                            textureRotated = false
                            },
     
                            {
                            name = "02.png",
                            spriteColorRect = { x = 38, y = 36, width = 50, height = 52 },  
                            textureRect = { x = 2, y = 242, width = 50, height = 52 },  
                            spriteSourceSize = { width = 128, height = 128 },  
                            spriteTrimmed = true,
                            textureRotated = false
                            },
                    }
            }
            return sheet
    end     
    An example for using TexturePacker to export Game Edition sprite sheets is:
    1
    
    TexturePacker --sheet test.png --data test.lua --format corona sprites/*.png
  • Sprite sheet disposal - A new sprite sheet method called dispose() disposes of a sprite sheet and releases its texture memory. It also calls removeSelf() on all sprite instances using the sheet, removing them from the stage. All sprites, sequences, and sets that belong to the removed sprite sheet are no longer valid after calling this method, and will be garbage collected when they are no longer referenced by your application's Lua code.
    1
    2
    3
    4
    
    local sprite = require("sprite")
    local spriteSheet = sprite.newSpriteSheet("test.png")
    -- Later dispose of the sprite sheet and all of its associated sprites, sequences and sets.
    spriteSheet.dispose()
  • Updated OpenFeint API - Several OpenFeint calls are deprecated. These are launchDashboardWithListLeaderboardsPage(), launchDashboardWithListLeaderboardsPage(), launchDashboardWithAchievementsPage(), launchDashboardWithFindFriendsPage(), launchDashboardWithWhosPlayingPage(), launchDashboardWithHighscorePage(). The replacement APIs are:
    1
    2
    3
    4
    5
    6
    
    openfeint.launchDashboard("leaderboards")
    openfeint.launchDashboard("challenges")
    openfeint.launchDashboard("achievements")
    openfeint.launchDashboard("friends")
    openfeint.launchDashboard("playing")
    openfeint.launchDashboard("highscore")
    Additionally, the call setHighscore( leaderboardId, score ) is also deprecated. Its replacement is:
    1
    
    openfeint.setHighScore( { leaderboardID="abc123", score=99 [, displayText="99 sec"] } )
    The optional displayText parameter is passed as a parameter along with the score.
  • OpenFeint is now updated to version 2.7.2
  • Collision events involving a multi-element body now return the specific element involved in the collision. For more information, see Collisions with multi-element bodies.
  • This release of Game Edition has more flexible licensing, allowing you to authorize one primary and one secondary machine per license. Read more on our blog.

New sample code

  • MultiPuck -- Demonstrates automatic culling of offscreen objects, and provides a general library (gameUI.lua) that includes a method for easily dragging physics bodies.
  • HorseAnimation -- Demonstrates how to create a new sprite sheet from data exported from Zwoptex with the new newSpriteSheetFromData() method.

Known issues

  • Game Edition does not currently support rotated sprite sheet images.
  • OpenFeint is supported on iOS, only. OpenFeint SDK samples do not work in the Corona Simulator or on Android device builds.

Bugs fixed

  • Fixed web pop-ups on Android that load remote files (1479)
  • Fixed crashing issue with openfeint.unlockAchievement ( ) function (1521)
  • Sprite sheets can now be loaded from system.DocumentsDirectory or system.TemporaryDirectory (#291)
  • Fixed crash if sprite sheet image does not exist
  • Fixed issue with sprite scaling when setting width and height properties. Setting width/height now does not affect the sprite's width/height. Instead, use xScale and yScale to scale sprites. (#734)
  • Fixed crash when sprite sheet is cleaned up, and also fixed some issues with GC of sprite objects.


What's New in Corona SDK

(Released September 16, 2010)

Welcome to Corona SDK

This release brings the various Corona features of the past several months to production quality, with fixes that literally extend back over a thousand bug numbers.

But we are not stopping here! We plan to continue a schedule of regular releases, since this has been a big part of our success so far. Mobile is a rapidly-evolving space, and we've got a lot of amazing things planned for future editions of Corona throughout the coming months.

We would like to thank our early adopters, and everyone who shipped all the great apps during our beta period. We look forward to seeing what you make in the future!

New launch window and workflow

We've added a launcher window that allows easy navigation to common features, documentation, and demos. The welcome window replaces the "Open..." dialog that appeared on launch in prior builds. You can optionally disable this screen, in which case you'll only see the menu bar.

Note: when using the Corona Terminal or debugger, you may need to bring the Corona simulator to the foreground manually. For the debugger, you'll then need to actually open a project to run after bringing the simulator to the foreground.

More flexible licensing

We know many of you are using Corona SDK and Game Edition on both a laptop and a desktop, and having to de-authorize and re-authorize your machines manually. Now in the new release of Corona SDK at $249 and Game Edition at $349, you can authorize one primary and one secondary machine per license. See our blog for more information.

Android notes

  • Application resources-- Unlike on iOS, Android applications do not have a concept of an application resource bundle whose files can be read using normal system calls. Android applications are delivered in a .apk file (a ZIP format file) and it is not possible to use normal file I/O to access its contents. To allow Corona apps to include generic data files on Android, system.pathForFile copies the resource file from the ZIP archive to a private storage directory associated with the application, and then returns the path to that file. There are some caveats to keep in mind, however, such as storage limits on the device. For more information, see system.ResourceDirectory in the Corona API reference.
  • Screen capture--The display.screenCapture Corona API is now available on Android devices.
  • Android 1.5 support discontinued--Android 1.5 devices comprise 12% of the Android install base and this fraction is shrinking rapidly. At the same time, Android 2.x device installations are climbing rapidly. Android 1.5 also has a number of technical limitations, including incomplete OpenGL implementation, that make it problematic to continue support. As a result, we have removed support for Android 1.5 in this release. We continue to support Android 1.6, 2.0 and 2.2 builds.

Known issues:

  • Disabling the Corona Welcome screen doesn't bring up the Corona menu bar when started with the Terminal or Debugger script. (#1034)
  • isShake event is not invocable from the Xcode Simulator. (#853)
  • Output from Corona apps is not printed consistently to the XCode console(#314)
  • Camera API not yet supported on Android (361)
  • Android 1.6 does not support multitouch (this is an Android OS limitation)
  • Android 1.6 on resume, animation sometimes is paused. Occasionally if there is no animation, a blank screen may occur. (1022)
  • Android display.save and display.captureScreen crash on certain devices (Droid, Droid X). This is a driver issue and we are working with device manufacturers to investigate.(803)
  • Spurious orientation change events on wake from sleep sometimes occur on Android (1079)
  • system.getPreference is unimplemented on Android (1081)

Bug Fixes

  • #237 Simulator launching upside down
  • #242 Problems with Android text - clipping and antialiasing issues
  • #262 Provide option in config.lua to turn on/off anti-aliasing on iOS
  • #381 system.pathForFile not working on Android device
  • #530, 821 iOS movie player backend uses MPMoviePlayerViewController on iOS 3.2/4.0 to solve problems on those versions. Autorotation feature on these OS's is a new feature effect of this.
  • #657 Content scaling improperly in Landscape on Android & iPad
  • #738 Fix to prevent the keyalias from losing its selected value when the textfield loses focus
  • #800 Touch event.xStart/yStart are not mapped properly in content scaling
  • #814 PinchZoomGesture sample code does not work on Android
  • #815 Workaround/fix to sheet bug not being attached to parent build dialog
  • #825 media.playEventSound doesn't support Listener after baseDirectory
  • #847 Files with hidden extensions were not found in system.pathForFile on Mac Simulator
  • #854 Corona Debugger dump/print/eval commands not working
  • #878 Fix minor memory leak in Mac simulator
  • #882 When showing activity indicator, move it above other native objects on iOS
  • #913 Fix webpopup ghosting issue on iPhone
  • #920 Antialias flag in config.lua ignored on iOS
  • #922 Crash when app is showing webpopup and user hits home key, then reopens app
  • #924 Race condition between native.cancelWebPopup and native.showWebPopup on iPhone
  • #928 display.captureScreen and display.save not working when apps launch in landscape
  • #940 Added support for new Xcode versions for build scripts. Fixed and enhanced error messages to be more clear.
  • #944, #949 Escape Application name strings that contain ' or " so template substitution works correctly.
  • #1008 Handle spaces in destination directory path
  • #1009 Android cannot launch properly in landscape
  • #1020 Android multires icons for 1.6 build. They were there, but the presence of a default icon.png sometimes prevented showing the others.
  • Issues with build dialog switching between Android and iOS (#267, #439)
  • Android: PathForFile now allows externalizing resources for ResourceDirectory (case #180, #381, #430)
  • Android: dispatch orientation events, fix orientation issues (case #617, #805, #868, #832, #1012)
  • #794 Android: button up/down states confused during multitouch operation
  • #795 Android webpopup submit handler implemented
  • Android: Hide soft keyboard on focus nil
  • Android: typeface create from file is supported in 1.6 (#1852)



What's New in Corona SDK Beta 8

(Released August 26, 2010)

Beta 8 dramatically improves Corona development for multiple devices, multiple screens, and multiple OS versions. Specific build options now support iOS 4.0 and all available versions of Android, as well as the iPad and iPhone Xcode simulators.

This beta also includes a number of new features, including support for audio recording and improved memory handling:

  • Corona device builds for iOS now target iOS 4.0 for better compatibility with iPhone 4, while remaining backward-compatibile with iOS 3.x. This means that applications no longer use the iOS 3.0 automatic scaling for iPhone 4, and previous Corona apps will look too small on iPhone 4 when recompiled under Beta 8. To remedy this, you should target multiple resolutions. The quickest method is to add a "config.lua" file to your project specifying 320x480 as the content size, and defining a scaling mode such as "letterbox" (see Dynamic Content Scaling), or you may choose to handle the screen sizes within your own code. For examples of config.lua files that target multiple devices, see the revised sample code, which has been updated for multiple-screen deployment.
  • Support has also been added for substitution of higher-DPI asset files on higher-resolution screens; this documentation is currently under revision and will be added shortly.
  • Added specific build support for Android 1.6 and 2.2 devices, in addition to the previous 1.5 and 2.0 support. We recommend building for 1.6 rather than 1.5 when targeting Android 1.6 devices, since OpenGL support in Android 1.5 was incomplete.
  • Streaming video support added to Android
  • iPhone builds can now be configured to run at 60 fps, in addition to the default 30 fps (see Runtime Configuration)
  • Added system.getInfo( "textureMemoryUsed"), returns the texture memory usage (in bytes). See system.getInfo()
  • media.playSound now supports baseDirectory: media.playSound( soundFile, baseDirectory )
  • Added xAlign and yAlign parameters for dynamic content scaling (see Runtime Configuration). By default, content is now centered when scaled up or down to a different screen, but you may select from other alignment modes (for example, you may want your content aligned with the top of all screens, if you have a navbar at the top of your UI).
  • Added new audio recording and audio tuning APIs. See "Audio Recording" and "Audio Tuner".
  • Added low memory warning event (iOS). See "Events and Listeners".
  • Added support for sub-folders in the app bundle for iPhone device builds
  • Added iPhone4 simulator to Corona Simulator
  • iPad Xcode Simulator builds now supported, in addition to iPhone Xcode Simulator builds.
  • Android: multitouch now supported. Note that multitouch on Android requires OS 2.0 and higher (#359)
  • Android: implemented crypto algorithms
  • Android: implemented newTextBox, newTextField (#358, 366)
  • Android: implemented WebPopup (#365)

This beta also fixes a large number of bugs; a full list of bugs fixed is below.

Low memory warning event (iOS)

The iOS low memory warning is now exposed as a new Corona event type named "memoryWarning", documented in the "Events and Listeners" section of the API Reference.

Audio recording and audio tuner APIs

Beta 8 includes new APIs for recording audio and for audio tuning (for example, building a guitar tuner application).

For documentation on these features, see the "Audio Recording" and "Audio Tuner" sections of the API reference.

New and revised sample code

The Beta 8 sample code has been entirely overhauled to support multiple-screen deployment, and should now run properly in all available devices within the Corona Simulator, including the Android devices and the new iPhone4. This has mostly been achieved through the use of "config.lua" files, in addition to some revisions to background graphics (for example, enlarging background sizes to fill the "bleed" area when scaling in "letterbox" mode on devices with a different aspect ratio).

Also, the /SampleCode directory has been reorganized into new categories, and includes several new sample projects, listed below:

Tableview1, Tableview2, Tableview3 -- Demonstrates a library for creating scrolling table views in Corona, in three different styles.
NativeDisplayObjects -- Demonstrates the iOS native objects (not all native objects are implemented on Android).
MultitouchFingers - Shows how to track multiple touches simultaneously.
NativeKeyboard2 - An improved version of "NativeKeyboard"
AudioPlayer - Shows how to play back different audio types and files on different platforms
SystemEvents -- Displays Orientation and System events
Accelerator -- Displays Accelerometer events
SaveTable - Demonstrates a quick method for saving the contents of a Lua table to a local textfile, then reloading the data into a table
SQLite - Demonstrates how to create and store data in a local SQLite database
TimeAnimation - Shows how to make time-based rather than frame-based animation

Bug Fixes

#121 EventSound stops after 750 repetitions on iPhone (timer.performWithDelay problem)
#134 math.random not that random when seeded
#139 Clock sample app freezes (timer.performWithDelay problem)
#189 Improved performance of property accesses in display object
#191 Inconsistent name for myTouch
#200 Android: Frame rate drops due to Dalvik GC
#238 Android: Shake is too aggressive (caused by accelerometer values 10x that of iPhone; values are now scaled to be the same as iPhone)
#264 Add Android 1.6, 2.2
#269 Android: crash on resume (and various redraw issues on resume)
#287 Copy subfolders when doing device builds
#295 Android video playback crashes
#303 Destination device build folder doesn't work when folder name contains spaces
#304 Improved warning message when resource file does not exist
#311 Separate and remember Build Folder and Save to Folder
#313 media.playSound doesn't support baseDirectory
#434 Simulator should create Sandbox folder before calling main.lua
#441 iPad Xcode Simulator Builds don't work
#442 Android Device id returns non unique string
#463 Debugger doesn't pause the app at launch time
#465 AudioPlayer - some sound files don't play on iPhone device
#467 iPad/Multitouch sample app is broken
#471 Device/Camera sample app displays incorrect output on capture
#472 Device/DeviceInfo sample fix for text overflow
#487 iPhone App Crashes in Xcode Simulator
#497 File names in simulator are not case sensitive
#506 Remove simulator time bomb
#524 No applicationStart system event in Simulator when Default.png is present
#529 iPhone Application Build does crash on iPad (and only there)
#532 newTextBox crashes in Xcode simulator
#541 Android app crashing on exit
#548 BUILD ERROR message in terminal lacks newline
#558 Android stopSound doesn't work (also media.getSoundVolume)
#556 Android: eventSound must preload
#560 Xcode Simulator can only run an app once
#614 No warning messages with display.stageWidth/Height in simulator
#630 Remove iPhone+iPad "Options" button from dialog
#633 Plist not working in build.settings
#640 display.captureScreen now supports iPhone4/iPad-sized screens
#669 Android 1.6 and 2.2 device builds fail
#705 Enable iPhone builds to run at 60 fps
#706 Add iPhone4 skin to simulator
#707 Android: remove unused options from Android build dialog
#708 Status bar incorrectly scaled in Simulator when using dynamic content scaling
#717 Simulator does not disable load, loadfile, loadstring, dofile
#722 Fix android dialog resizing issues
#735 Crash in simulator and device with invalid code (text.setColor instead of text:setColor)
#742 Crash when invalid value is passed to getInfo
#748 Crashing simulator with system.getInfo(platformName)
#781 text = followed by setTextColor results in text color not set

Known Issues

  • Touch event.xStart/yStart are not mapped properly in content scaling (#800).
  • The Compass sample app does not support "event.geographic" on Android (#831)
Android specific issues:
  • Crypto does not support MD4 digest or hmac
  • WebPopup submit not functional yet
  • For edit text fields, position the field above where the soft keyboard displays. Otherwise, Android tries to pan the screen resulting in undesirable effects.
  • Calling setKeyboardFocus(nil) sets focus to the first edit text field, but does not show the keyboard.
iOS specific issues:
  • On iPhone4, rotation on the native streaming video player is now enabled by iOS, rather than being forced into landscape mode. This means that the video player now behaves like other native UI elements in Corona: it rotates only to the orientations allowed in the "build.settings" file. This may produce unexpected behavior in older applications that assumed a default landscape mode for video; the fix is to enable the desired orientations in "build.settings". This is not considered a Corona bug, but a revision in Apple's OS design.




What's New in Corona SDK Beta 7

(Released July 29, 2010)

Beta 7 will significantly improve your productivity on iPhone. You can now build for the Xcode simulator and test native UI features directly on your Mac. We recommend you do fast iterations in the Corona Simulator, initial testing on the Xcode simulator, and then final testing on the device.

Here’s the complete list:

  • Xcode simulator builds. You can now build for the Xcode simulator and launch with one click. You’ll be able to test all the native UI features like web popups, input textfields, multiline textfields, etc.
  • Improved usability of file sandbox. The Corona Simulator now features a menu item "Show Project Sandbox" that opens the sandbox folder in the Finder.
  • More aggressive memory management, especially freeing rendering-related resources. Behavioral changes to API's are noted below.
  • Device information, allowing you to detect running in the Corona Simulator, unique device id's, device model information, etc.

Bug Fixes

#222 Simulator Landscape Rendering not centered in device skin (windows jumps 10-20 px)
#284 Photo library crashes on iPad
#288 Expose device info
#290 Incorrect warning for case sensitivity (for file names)
#292 Launch on 1024x768 screen causes crash
#294 Using completion listener of media.playSound() crashes
#297 Crash when running CaptureToFile sample on simulator with beta6
#298 media.playSound Crashes when Stopped
#299 media.playSound Loops after Loop is removed
#300 playEventSound Crashes Simulator if sound file doesn't exist
#301 native.newTextField() can't be removed
#302 iPhone App won't work when built for OS 3.2
#307 Free Display Object with object:selfRemove
#308 Add Xcode Simulator to build
#309 Simulator stops running when menu open
#310 Make Sandbox Folder Name Accessible in Simulator
#344 Texture Memory Not Being GC'd
#429 Android: downloaded image not displaying

Known Issues

  • The iPad/Multitouch sample still needs to be updated to use the improved multitouch functionality introduced in Beta 6. Please look at the iPhone version.
  • Building for the Xcode Simulator only works for iPhone (3.0) builds. It does not yet work for iPad.
  • You may encounter problems building for iPhone if you have previously attempted to do Android builds. Restarting the Simulator makes this problem go away.
  • On Android, not all samples work properly on all devices b/c of permission issues. Bug #443
  • On iPhone 4, native UI are not scaled properly. Bug #420

Building for Xcode Simulator

We have added the ability to build/launch in Xcode simulator. There is a new "Build for" category in the iPhone build dialog. To build for iPhone/iPad, select "Device". To build/launch in the Xcode simulator, select "Xcode Simulator".

File Sandboxing Usability

We have added a menu item "Show Project Sandbox" which causes the current project's sandbox folder to be opened in the Finder.

Device Info

The following API has been added:

system.getInfo( param )

See system.getInfo() in the Corona API Reference.

Improvements to Memory Management

In Beta 8, we made improvements to how memory is managed in regard to the removal of display objects. For details, see Memory management improvements in Corona SDK Beta 8.


What's New in Corona SDK Beta 6

(Released July 16, 2010)

This is a major revision, addressing multiple core elements, as we move closer to our final SDK 2.0 release.

KNOWN ISSUE: The iPad version of the Multitouch sample has not been properly updated to account for the multitouch API change. We'll update this on the next release Please look at the iPhone version instead.

  • Most Corona documentation has now moved online, e.g. the API Reference and the Programming Guide. Also, the "GettingStartedGuide.pdf" alias in the DMG is a broken link. It is also available online.
  • Updated 2.0 Beta Guide documentation included with DMG. We will integrate the new portions of this documentation with the online Corona docs after the DMG ships.
  • Substantially rewritten multitouch implementation. We recommend using this instead of Beta 3 moving forward, as Beta 3 build support will be deprecated. The new implementation addresses multiple use cases beyond pinch/zoom, e.g. simultaneous button presses, and the new method for identifying touches will make it much easier to write multitouch gesture libraries.
  • Per-object focus is now available, so individual finger touches can be associated with particular display objects. Previously, there was only global-level focus available.
  • Update to the ui.lua library that supports the new multitouch system. You should replace your old ui.lua code with the new version. The key difference is that ui.lua uses the new stage:setFocus() behavior instead of the old
  • New multitouch-aware sample code, e.g. "FollowMeMultitouch" and "MultitouchButton". The original Multitouch (iPhone) sample demonstrating pinch/zoom has been updated as well
  • Ability to run at 60 fps (instead of the default 30 fps) via config.lua setting
  • Setting to turn on/off anti-aliasing via config.lua. Starting in Beta 6, anti-aliasing is off by default. This should only affect content that uses Corona vector objects like rounded rectangles, but will significantly increase performance in those cases.
  • Per-application file sandboxing in the Corona Simulator. Documents and temporary folders are now placed in a per-project sandbox to mimic how sandboxing works on devices. The automatically generated sandbox location is displayed in the Terminal at runtime.
  • Networking support for Android. Known issues on Android: problems with saving images to a file off the network, e.g. "SimpleImageDownload" example

Bug Fixes

(Assorted bug numbers): Fixes for properly mapping points to pixels on iPhone4 high-resolution displays
#229: Multitouch not working with simultaneous button presses
#155: Multitouch "began" phase not always firing
#252: Simulator doesn't sandbox documents


Bugs marked "by design" or "not reproducible"

#257: Facebook connect not working: This appears to be caused by temporary issues on Facebook's servers
#236: Twitter: This sample code requires building on device, since it uses native OS multiline text fields.



What's New in Corona SDK Beta 5

(Released June 9, 2010)

  • Updated 2.0 Beta Guide documentation included with DMG
  • Support for landscape orientation (Android)
  • Android permissions in build.settings (Android)
  • GPS support (Android, via androidPermissions)
  • Support for application versioning (Android)
  • Android device builds now available for trial users
  • Internal performance improvements: speed doubled for "torture test" case on iPhone 1G.
  • Temporary custom build setting to restore Beta 3 multi-button behavior
  • Webpopups now in landscape (iPhone)

Bug Fixes

(No case #) Improved warning about filename case sensitivity in simulator.
#188: Need native UI support for landscape. (Previously everything but webpopups were fixed; now webpopup is too.)
#224: empty orientation table in build.settings crashes Simulator
#218: Beta 4 - Simulator Broken for Landscape Orientations with Fixed Content build.settings
#202: build.settings default orientation bug. To create consistency, landscapeLeft and landscapeRight are now defined in terms of the position of the Home key (left or right)
#122: easing.inOutQuad "jumps"
#219: Web popup doesn't scale to fit by default/allow zooming
#203: No custom app icon for Android 1.5
#215: Trial builds don't allow trial Android builds.
#212: Android lacks version # build setting, See Beta Guide for changes.
#204: strange green line appears at the bottom of the image
#189: Internal performance improvements.
#235: Android: play sound with loop = false loops anyway
#216: Boolean keys don't work in Info.plist (specified in build.settings). Fixed for all cases, but note that UIHiddenStatusBar now works correctly but is overridden by internal Corona settings. Use display.setStatusBar( display.hiddenStatusBar ) within main.lua to hide the status bar.



What's New in Corona SDK Beta 4

(Released May 25, 2010)

  • Updated 2.0 Beta Guide documentation included with DMG
  • Support for landscape and orientation (iPhone/iPad), including auto-orientation
  • Separate orientation settings for Corona and native UI elements
  • Improved sound API (all platforms), including looping parameters and sound completion events
  • Polyline drawing (now for all platforms)
  • Dynamic content scaling (now for all platforms)

Bug Fixes

#86: Looping sound
#87: onComplete event
#88: volume
#149: callback for when sound ends
#188: Need native UI support for landscape.
#198: Beta 3 - removeEventListener not working
#201: removeEventListener behavior changed
#187: Simulator orientation type reports wrong orientation
#25: Set default orientation in simulator



What's New in Corona SDK Beta 3

(Released May 13, 2010)

  • New 2.0 Beta Guide documentation included with DMG
  • Android 1.5/1.6 support, in addition to 2.x
  • SQLite support (iPhone, iPad, Android)
  • New parameter to turn off image autoscaling
  • Improved "Movieclip" functionality (note: this is a Lua library that does not require Corona, and will be released on the Ansca site)

Bug Fixes

#28: Need ability to turn off autoscale of large images
#106: Performance degradation with lots of transitions
#112: Images appear wrong size (related to #28)
#119: Images longer than iphone screen size (related to #28)
#125: Textbox doesn't inherit isVisible from group (documentation issue)
#133: UI module: label:setTextColor does nothing
#143: Screen scales incorrectly when dimensions of simulator skin exceed monitor size
#146: removeEventListener not working on a button after clicking
#156: Texture tearing and stuttering of rotations
#157: Build Settings for iPad for Image Orientation Wrong (documentation issue)
#161: Stage coordinates (documentation issue regarding stroke width rendering)
#170: Problems with showAlert on iPad


What's New in Corona SDK Beta 2

(Released April 30, 2010)

  • Polyline Drawing (iPhone/iPad)
  • Dynamic Content Scaling(iPhone/iPad)
  • Runtime Configuration Properties: config.lua (iPhone/iPad)
  • Build Configuration Properties, build.settings (iPhone/iPad)
  • New Keyboard Types, in native.newTextField (iPhone/iPad)
  • Compass (Android)

Bug Fixes

  • Application ID in Provisioning Profile can now have dashes and underscores. (iPhone/iPad)
  • Sound files containing characters other than [a-z0-9_.] no longer cause Android builds to fail. We convert other characters to "_", so note that it is possible (but unlikely) to create file names that collide. (Android)
  • Reloading textures when resuming applications now works (Android)


Minor changes

  • debug.keystore is now in Resource Library/Android  (Android)



What's New in Corona SDK Beta 1

(Released April 16, 2010)

This beta updates all previous versions of Corona, and combines iPhone, iPad and Android simulation and authoring into one unified application for the first time.
  • Switch on the fly between iPhone and iPad previews
  • Simulator has zoom in/out: 12.5%, 25%, 50%, 100%
  • Fishies sample code for iPad
  • Facebook Connect sample code
  • Optimized compression of PNG files
  • Improved error handling on device builds
  • Improved keyboard functionality in web popup
  • Partial-screen webpopups, in addition to fullscreen.
  • Orientation support in iPad simulator
  • Improved error handling on device builds
Note: when building for iPad, you must include an icon that is 72x72 (on iPhone it is 57x57). We also recommend consulting Apple's interface guidelines for iPad applications.



Corona SDK Version 1.1

(Released February 1, 2010)

The following new features have been added:

* media.playVideo supports remote files (absolute url's)
* media.playVideo, media.show, native.showAlert support table listeners via "completion" events
* crypto library added for md5/sha hash and hmac calculations
* ability to add register listeners for custom events with display objects
* access to all native fonts of the device
* added font support to native textfields, textboxes, and also display.newText
* native textfields with keyboard entry; password fields also (device only)
* native scrolling multiline textboxes (device only)
* fullscreen web popups to load remote or local html files (device only)
* internationalization support via system.getPreference()
* location (gps) and heading (compass) support (device only)

In addition, the SampleCode has been revamped and categorized. Notable additions include:

* Device/Compass
* Device/GPS
* GettingStarted/HelloWorldLocalized (demonstrates internationalization)
* Graphics/Clock
* Graphics/WebOverlay
* Interface/ActivityIndicator
* Interface/ButtonEvents
* Social/Twitter (shows how to update twitter status)

Finally, the notorious halo effect has been fixed. PNG images with alpha are now correctly composited with objects below it.