Tutorial: Passing Data To/From Functions

Posted by & filed under Tutorials, Tips and Demos.

functions-feat

In this week’s foundational tutorial, we inspect the nature of functions, how to pass data of different types to functions, and how to retrieve the information you need. If you’re new to Corona or programming in general, read further to learn how functions can greatly improve your app’s structure and performance.


Tutorial: Tap/Touch Anatomy

Posted by & filed under Tutorials, Tips and Demos.

taptouch-feat

Most Corona developers understand the concept behind tap and touch events, but the lines get a little blurry when dealing with more complex scenarios, for example overlapping objects with different types of event listeners. Today’s tutorial explains exactly how Corona handles these events and which events are broadcast to which objects.


Tutorial: Game Controllers and Axes

Posted by & filed under Tutorials, Tips and Demos.

hid-feat

In a previous tutorial about HID controllers, we showed you how to use Corona SDK to read button inputs from game controllers. In contrast to basic button functionality, analog controls are more complex because they measure an almost infinite number of potential values that must be converted from the analog “infinity” to discrete digital values. Today’s tutorial walks you through the process and includes a full sample project to get you started.


Tutorial: Modernizing the config.lua

Posted by & filed under Tutorials, Tips and Demos.

config-feat

In this week’s tutorial, we revisit the concepts behind the “config.lua” file, with the specific aim of modernizing it for current standards. At the same time, we discuss how to simplify the config file and make the content area easier to work with. Read further to learn more.


Tutorial: Understanding In-App Purchases

Posted by & filed under Tutorials, Tips and Demos.

iap-feat

In the mobile development world, studios have been looking for more models to monetize their product. This doesn’t just impact games, as business app developers are finding it more challenging to monetize as well. This week’s tutorial discusses some important details about In-App Purchases (IAP) and how to implement them in your Corona app.


Tutorial: Introduction to Game Controllers

Posted by & filed under Game Development, Tutorials, Tips and Demos.

hid-feat

It’s an exciting time to be a mobile app developer. Through the magic of mobile and Bluetooth support on devices, it’s now possible to use controllers to play games, in addition to the standard touchscreen and accelerometer. Read further to learn about Corona SDK’s core support for OUYA, Green Throttle, GameStick, SHIELD, and other human interface devices.