Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    111
  • comments
    7
  • views
    3241

New Corona public release is available

Sign in to follow this  
CoronaRob

631 views

Corona Labs is pleased to announce the latest public release of Corona. This new build, 2017.3184 contains many bug fixes and important new features that move Corona forward.

Corona Native builds are now supported on Windows

Starting with this build, Windows developers can now use Android Studio to build native based apps including building plugins, linking to native Android libraries similar to the way Mac based users have been able to do for some time.

You will find a new “Native” folder in Corona’s Start menu folder, which has our standard “App” template in it. Copy that folder to your project directory and use “Open an Existing Android Studio project” option with Android Studio.

iOS 11.2 is the default SDK for iOS builds

Apple continues to improve iOS 11 and move their developers along with it. For this public build, you will need to use Xcode 9.2 to build for iOS. We’ve also added support for the iPhone X. This includes a simulator skin for the device and several new API calls to get the safe zone for your UI elements. These new APIs include:

These API calls are not only iPhone X aware, but they take into consideration status bars and soft button bars, so using these API calls for all devices is considered a best practice. In addition for the iPhone X, you can use native.setProperty() to control if the home indicator automatically hides or not with the "prefersHomeIndicatorAutoHidden" key. You can get the current value using native.getProperty().

iOS Icons

Apple also changed the requirements for how icons are handled. You can no longer just include icons in your project folder and put a list of them in build.settings. You must now use an “xcassets” folder that contains the icons as well as some other important files. Please see the Images.xcassets documentation for details on setting up icons.

Screen-Shot-2017-12-18-at-5.17.13-PM-102New Welcome Window

When you first start Corona you’re presented with a Welcome Window with a list of recent projects, icons to start new projects and open existing projects. This window has been redesigned with a more modern look.

Windows Live Server now supports both Bonjour v2 and v3

Bonjour is Apple’s library that lets Corona Live Server work on Windows. Until recently, Bonjour v3 was included with the installation of iTunes. However, Apple no longer includes Bonjour with iTunes. The standalone version of Bonjour is version 2. Live Server now can use either v2 or v3 of Bonjour.

Gradient paint now supports arbitrary directions

Previously you could only set directions like 0, 45, 90 and 180 when constructing a gradient fill using the fill.rotation value. It can now take a number allowing you to have gradients at other angles.

Windows text renderer is rewritten

Windows text renderer was rewritten to better match other platforms behavior, fixing number of bugs.

Google’s ContentProvider path traversal vulnerability warning

This public build also contains an update that addresses Corona made apps that get flagged in Google Play with the “ContentProvider path traversal vulnerability” warning. If you’re getting this warning in Google Play, simply rebuild with this version of Corona.

Corona can now use the latest Java

Corona has been updated to use 64 bit Java installations. You no longer need to install a specific version of Java, just have the latest version installed.

Android support plugins updated

Our team recently updated the Android dependency plugins to their latest versions. See our recent announcement for details.

Conclusion

With support for native builds on Windows and our continued improvements, this release is our best version of Corona yet. We have more to come so stay tuned to our daily builds to see what’s next for the best 2D cross-platform development framework.


View the full article

Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!