Tutorial: Introducing the “Social” Plugin (iOS)

Posted by & filed under Tutorials, Tips and Demos.

social-feat

In iOS 6, Apple included a class which handles not only Twitter, but also Facebook and even the widely-used Chinese social networking service, Sina Weibo. Now that Corona’s plugin system is in place, we’ve rolled out a new plugin for Pro subscribers. This is the “Social” plugin and it allows developers to implement these three services directly into their apps. Read further to learn more.


Understanding Facebook Authentication

Posted by & filed under Tutorials, Tips and Demos.

facebook-auth

Some developers encounter road blocks when they attempt to get Facebook working in their apps. Part of the challenge is trying to understand how Facebook authenticates users. This week’s tutorial walks you through the process on both iOS and Android.


Tutorial: Non-Physics Collision Detection

Posted by & filed under Tutorials, Tips and Demos.

colldet-feat

Corona SDK has a robust physics-based collision detection system, but it requires some extra processing behind that scenes that you typically don’t need if you’re not using physics for other purposes. Today’s tutorial explains how to detect collisions between two circles or two rectangles without using the physics engine. Read further to learn how.


Tutorial: Stylizing Widgets, Part 1

Posted by & filed under Tutorials, Tips and Demos.

widget-style-1-feat

This week’s tutorial discusses how to visually stylize widgets. Although widgets will adopt the OS-like appearance by default, in many cases you’ll want to customize the appearance to suit the style of your app. In this part of the series (1), learn how to properly style the button, table view, stepper, and spinner widgets.


Tutorial: Extending Libraries Without Native Code

Posted by & filed under Guest Bloggers, Tutorials, Tips and Demos.

book-feat

Sometimes, in development, we wish that there was “one extra little thing” in a particular library, or that a function handled a use case specific to our needs. In today’s tutorial, using a little Lua “magic,” we’ll learn how to add custom functions to existing Corona libraries and even extend the functionality of existing APIs. Read further to learn how.


Tutorial: Introducing Google Play Game Services

Posted by & filed under Tutorials, Tips and Demos.

google-play-store

At the Google I/O conference last May, Google announced “Google Play game services” and began offering online game support similar to Apple’s GameCenter. Corona Labs, working with Google, demonstrated live apps at Google I/O using these game services. And now, following on the heels of this demo, we’ve rolled out the first version of Google Play game services support in Corona SDK. Read further to learn how to implement leaderboards and achievements on Android using Google Play game services.


Tutorial: Delta Time in Corona

Posted by & filed under Guest Bloggers, Tutorials, Tips and Demos.

delta-time-feat

One method of animating, moving, and timing things in games is to programmatically change certain values on each frame update. However, If the frame rate fluctuates, the speed of this action may seem inconsistent to the player. To compensate for this, you can use “delta time,” a process which helps ensure that your game speed appears consistent on all devices and during processor-intensive periods. Read further to learn how delta time can be implemented in Corona.