FusePowered

Corona SDK Release Notes (Build 2014.2381)

This document describes the changes to the Corona SDK on Mac OS X and Windows, including the Simulator, and iOS and Android device builds since 2014.2189


What’s New in This Release

  • Composer GUI Beta (Mac only)
  • ParticleSystem objects library (Pro subscription and higher)
  • Support for Particle Designer 2.0 and other Particle Design tools
  • LiquidFun library (Pro subscription and higher)
  • Custom Device skin (Pro subscription and higher)
  • Widget library fixes
  • Transition library fixes
  • Updated Android Facebook SDK
  • Updated iOS Facebook SDK (plugin)
  • Miscellaneous bug fixes
  • Improvements to Mac and Windows Simulator

Please Note the Following

  • The Mac Simulator requires OSX 10.7 or later. For the Yosemite beta, the Simulator is waiting on a fix from Apple (rdar://17202371)
  • For iOS builds (Mac), requires Xcode 5.1 or later and OSX 10.8 or later
  • Mac and Window Simulator requires Java 6 (Java 7 and Java 8 are now supported on Windows)
  • Requires a modern graphics card that supports OpenGL 2.1 and higher
  • For iOS the minimum version supported is now 6.0 (was 5.1.1). iOS 8 Beta is not supported in this release.
  • For Android the minimum version supported is now 2.3.3 (was 2.2)

Known Issues in This Release

Because of the high priority to support the updated Goggle Play Services SDK for our AdMob plugin, it was not possible to fix the following known bugs in this release.

  • All: ParticleEffects and LiquidFun samples return runtime errors for Starter/Basic users
  • iOS: build.settings with “supported” field required for iOS apps that use Portrait-only orientation
  • Mac: On the beta version of Yosemite, native display objects are disabled due to an Apple bug that prevents the use of native controls with OpenGL surfaces (Apple bug #17202371). This also prevents Composer GUI from running.
  • Mac: "Automatically Open Last Project" in the preference menu is not working.
  • Windows: Custom Device skin mode is not remembered when the Corona Simulator is restarted
  • Windows: Creating a new Composer Project creates a scene with a blank screen
  • Windows: Graphics-Premium/ParticleEffects projects are in subfolders and don’t show up in the Samples menu
  • Windows: Physics/LiquidFun projects are in subfolders and don’t show up in the Samples menu

New Features and Bug fixes

  • All: Added “neverStripDebugInfo” support to build.settings to allow unstripped distribution builds (see build.settings documentation). No casenum.
  • All: Added build number to “Platform” diagnostic message. No casenum.
  • All: Added filename/line number to many error messages. No casenum.
  • All: Added “excludeFiles” build.settings directive to allow fine-tuning of project -> app file copies. No casenum.
  • All: Updated embedded version of JSON to DKJSON 2.5; encode unencodable items (functions, userdata) as strings by default. No casenum.
  • All: Deprecated the following APIs: Recording:getTunerFrequency(), Recording:startTuner(), Recording:getTunerVolume(), Recording:stopTuner(). Removed SimpleTuner sample. No casenum.
  • Android CoronaCards: Setting the path without a trailing slash will appened the slash automatically. No casenum.
  • Android: Facebook place picker wasn’t correctly passing in the options. Casenum 29214.
  • Android: Fixed an issue where Corona would crash on startup on certain devices. No casenum.
  • Android: Fixed an issue where if the content type of a network request can’t be returned, causes a null pointer exception. Casenum 31283.
  • Android: Fixed an issue where tapping on status bar notifications would cause a crash. Casenum 31726.
  • Android: Fixed an issue where the webview can cause a crash. No casenum.
  • Android: Fixed a memory leak. Casenums 31408, 33402.
  • Android: Fixed an issue where audio wouldn’t play again after back out of an app. Casenums 31980, 31965.
  • Android: Fixed an issue where calling stop() on a webview will cause it to freeze. Casenum 31874.
  • Android: Fixed an issue where changing a webview’s height/width after orientation keeps shrinking the webview. Casenum 32270.
  • Android: Fixed an issue where the “applicationOpen” event was not providing Android intent information. Casenum 31502.
  • Android: Raised the minimum supported Android version to 2.3.3. Needed for Amazon Game Circle and Google Play Services SDK. No casenum.
  • Android: Removed Samsung from the list of target app stores. No casenum.
  • Android: Return the correct status bar heights for the Kindle Fire HDX 8.9“ and 7” devices. Casenum 31504.
  • Android: Return the last known location when using location services. Previously if the location stayed the same, it would look like location services weren’t working. Casenum 32990.
  • Android: Update the expansion file download screen to graphics 2.0. No casenum.
  • Android: Update the Facebook SDK to version 3.14.1. No casenum.
  • Core: Fixed argument processing for native.showAlert() so that the listener is optional. Casenum 31999.
  • Core: Improved display.* error message with filenames and line numbers. No casenum.
  • Core: Improved error message for missing image files. No casenum.
  • Core: Added a “backgroundColor” parameter to display.save(). Casenum 30973.
  • Core: Added the ability to set the jpeg quality for display.save(). No casenum.
  • Core: Fixed crystallize and posterize filter precision. No casenum.
  • Core: Fixed filter.hue. No casenum.
  • Core: Fixed filter.opTile, filter.radialWipe, generator.marchingAnts, and generator.stripes to work on all Android devices. No casenum.
  • Core: Fixed shaders to take alpha into account. Casenum 31987.
  • Core: Fixed the filter.blurGaussian on Nexus 7 devices. No casenum.
  • Core: Fixed setting the alpha on an embossed text object. Casenum 32642, 33557.
  • Core: Fixed Camera paints crash when you remove the display object using it. Casenum 31373.
  • Core: Gracefully degrade shaders when highp isn’t supported. No casenum.
  • Core: Removed the need for “forceRender” when using a ParticleSystem. No casenum.
  • Core: Users can set the cursor position or selected text in text boxes/fields via the setSelection method. No casenum.
  • Enterprise: Fixed builds for apps with spaces in their names. No casenum.
  • iOS: Make iOS SDK 7.1 the default for builds. No casenum.
  • iOS: Changed minimum iOS build support to 6.0 (was 5.1.1). No casenum.
  • iOS: Added support for back/front facing camera mode for paint/fill support (display.setDefault( “cameraSource”, “front” ).
  • iOS: Changing webView width and height after rotation is now honored correctly on iO. Casenum 30097.
  • iOS: Custom map markers will be anchored in the image’s bottom center instead of the center of the image. Casenum 31934
  • iOS: Display update change to try and address the initial screen flicker issue. Casenum 30361.
  • iOS: Facebook logout event wasn’t being dispatched. Casenum 32989.
  • iOS: Fixed the Facebook plugin’s isPublishPermission unrecognized selector error. No casenum.
  • iOS: Fixed an issue where it would take 2 taps for the MapView bubble to popup. Now it only takes 1 tap. Casenum 32780.
  • iOS: Fixed an issue where map marker listeners weren’t triggered when a marker was tapped. Casenum 32082.
  • iOS: Fixed an issue where posting an image to Facebook would not work. Casenum 31002, 31671.
  • iOS: Fixed an issue where pressing the undo button on the keyboard would cause a crash. Casenum 31354.
  • iOS: Fixed an issue where tapping a map marker which doesn’t have a listener crashes. No casenum.
  • iOS: Fixing regression width/height value issue of native display objects when changing width/height of native display objects that was introduced fixing casenum 30097.
  • iOS: Updated orientation support to avoid requiring special strings in the build.settings to handle iOS controllers that require specific orientations.
  • Mac: Simulator is now smarter about choosing a device to emulate in the Xcode iOS Simulator. No casenum.
  • Mac: Fixed a couple of issues with native.showAlert() in Simulator. Casenums 19630, 23582.
  • Mac: Fixed crash when Chinese input method is used on native textfield. Casenum 31262.
  • Mac: Fixed crash with native.showWebPopup() on Mac OSX 10.9. Casenum 31806.
  • Mac: Fixed issue which sometimes caused Simulator app window to jump to a different screen on a zoom. No casenum.
  • Mac: Fixed issue with Xcode 5.1. No casenum.
  • Mac: Fixed problem with entering password for Android key alias. Casenum 31539.
  • Mac: Improved “license expiring” reminder behavior (in particular, remember the “Remind Me Later” button was pressed). No casenum.
  • Mac: Improved diagnostic information when there’s a problem connecting to the build server. No casenum.
  • Mac: Improved directory handling in New Project module. No casenum.
  • Mac: Improved login failure error message. No casenum.
  • Mac: Reduced console chattiness of Simulator. No casenum.
  • Mac: Updated Xcode Simulator launch code; Xcode Simulator now tries to match the skin in use for iOS (Android skins result in either a phone or a tablet). No casenum.
  • Mac: Change to allow standard GL view support on Yosemite while Apple fixes NSOpenGLView. Side-effect is that native display objects will not work on Yosemite
  • Mac: Fixed invocation of Sublime Text so that it opens the project file when asked. No casenum.
  • Mac: Fixed issue with restoring Simulator window positions on Mac OSX 10.9. Casenum 33055.
  • Mac: Fixed an issue where webviews would shrink when setting its size. Casenum 32659.
  • Mac: Show suspended animation during Android builds. Casenum 32965.
  • Mac: When a destination location is supplied to media.capturePhoto, a display object is not returned anymore. This is to make it behave like the devices. Casenum 31630.
  • Mac, Windows: Fixed possible memory trashing issue that might occur when reloading a project. No casenum.
  • Mac, Windows: Support custom skins, arbitrary custom devices (Pro only). No casenum.
  • Mac, Windows: Show a warning message instead of an error when calling store API’s. Casenum 33038.
  • Mac, Windows: The error message when trying to use a version of the Simulator below the minimum version of the plugin wasn’t shown. A lua error would happen instead. Casenum 32092.
  • Physics: Added physics.engineVersion. No casenum.
  • Physics: Added support for Particle Designer 2 and oner Particle Design tools. No casenum.
  • Physics: Added support for the “minRadiusVariance” attribute in newEmitter(). No casenum.
  • Physics: Added LiquidFun library. No casenum.
  • Physics: Added ParticleEffects library. No casenum.
  • Physics: Fixed bad outlines defaulting to boxes shapes. Casenum 32646.
  • Physics: Fixed the drawing of the center of mass of b2Bodies in Composer. No casenum.
  • Physics: Gracefully handle invalid maxParticles and particleLifespan in Particle Emitters. No casenum.
  • Physics: Added object:getMassWorldCenter() and object:getMassLocalCenter(). No casenum.
  • Physics: Improved parameter checking particularly for physics. No casenum.
  • Plugins: Removed the address book calls from the iOS Facebook plugin. This is in a plugin so it is not tied to this version of Corona. Casenum 33259.
  • Plugins: Upgraded the OpenSSL library to v.1.0.1h. No casenum.
  • Plugins: Upgraded the iOS Facebook SDK. No casenum.
  • Transition: Fixed a variety of issues. Casenums 32567, 32746, 33772, 34032, 34170, 34182, 34276.
  • Transition: Fixed paused transitions being cancelled causing a memory leak.
  • Transition: Fixed some issues with transition.cancel(). Casenums 32746, 33772, 32567.
  • Transition: Fixed a regression bug. Casenum 29913.
  • Transition: Fixed an issue with composer and transitions. Casenum 34032.
  • Transition: Fixed a tag reuse issue after cancelling transitions. Casenum 34033.
  • Transition: Fixed onComplete events firing twice. Casenum 29913.
  • Widgets: Fixed a crash of the scrollable widgets upon storyboard scene load. Casenum 33391.
  • Widgets: Fixed an issue where onEvent’s handler wasn’t being enabled correctly. No casenum.
  • Widgets: Fixed an issue where an onOff’s .isOn property wasn’t being set correctly. No casenum.
  • Widgets: Fixed an issue where the defined events on an onOff switch were not firing correctly. No casenum.
  • Widgets: Added “Holo Light” and “Holo Dark” Android Widget themes. No casenum.
  • Widgets: Added new WidgetDemo sample
  • Widgets: Changed “backgroundColor” to “fillColor” for shape buttons. No casenum.
  • Widgets: Incorrect Error Message for widget.newSlider (spelling error). Casenum 30679.
  • Widgets: Inserting rows into a newTableView makes the TableView scrollable. Casenum 29657.
  • Widgets: newSegmentedControl does not work if anchorX is <> .5. Casenum 28956
  • Widgets: Picker acting up when in a group that has been moved after picker added. Casenum 30999.
  • Widgets: Fixed PickerWheel snapping errors. Casenum 31659.
  • Widgets: PickerWheel does not behave properly when display.CenterReferencePoint used. Casenum 25381.
  • Widgets: PickerWheel on Android does not highlight chosen row. Casenum 31694.
  • Widgets: PickerWheel soft landing fails to select correct target. Casenum 24715.
  • Widgets: Runtime error calling ‘widget.newPickerWheel’. Casenum 25621.
  • Widgets: Scrolling behaves differently depending on touch location( widget.newTableView ). Casenum 29658.
  • Widgets: scrollToIndex() does not obey the bottom of the list when jumping. Casenum 29560.
  • Widgets: scrollToPosition in Widgets 2.0. Casenum 26478.
  • Widgets: ScrollView: combination of setIsLocked and setScrollHeight hides scrollbar. Casenum 31490.
  • Widgets: ScrollView does not move smoothly, sometimes with jerkiness & choppiness. Casenum 30976.
  • Widgets: ScrollView incorrect Scrolling effect after ‘setScrollHeight’. Casenum 31096.
  • Widgets: ScrollView problem with :setScrollHeight( newHeight). Casenum 29266.
  • Widgets: TableView scrolling bug. Casenum 31422.
  • Widgets: TableView and ScrollView Widgets scroll-back bug. Casenum 26164.
  • Widgets: TableView listener does not send “moved” phase. Casenum 28959.
  • Widgets: TableView: Categories do not re-render properly. Casenum 31219.
  • Widgets: takeFocus does not work with multiple ScrollViews. Casenum 31363.
  • Widgets: PickerWheel not working properly. Casenum 26258.
  • Widgets: PickerWheel values greyed out. Casenum 31460.
  • Widgets: widget.newScrollView() has a sharp autosnap regardless of touch event. Casenum 26388.
  • Windows: Fixed Ctrl+Shift+DownArrow to suspend app without drawing the user interface. No casenum.
  • Windows: Fixed loop when trying to cancel login. Casenum 29528.
  • Windows: Fixed an issue where calling require “gameNetwork” would fail. No casenum.