Category: Tutorials, Tips and Demos

Tutorial: Snapshots

One of the new additions to Corona’s updated graphics engine is the snapshot feature. Snapshots allow you to create a single dynamic image from other images and manipulate it using 2.5D distortion and filter effects. Read further to learn about the core power of snapshots.

READ MORE

Tutorial: Containers

Corona’s updated graphics engine introduces a new and powerful feature: containers. Containers are essentially “self-masking groups” and they feature a flexible, dynamic width and height that can be set on the fly. Read further to learn about containers and how to implement them in your apps.

READ MORE

Tutorial: Multi-Pass Shaders

Another new feature in Corona’s updated graphics engine is the ability to define a graph of effects which can be applied to a display object. We have created a data-driven file format which allows you apply a multi-pass effect by connecting existing shaders to other shaders. Read further to learn how.

READ MORE

Tutorial: Passing Data To/From Functions

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.

READ MORE

Tutorial: Tap/Touch Anatomy

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.

READ MORE

Tutorial: Game controllers and axes

In a previous tutorial about HID controllers, we showed you how 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.

READ MORE

Tutorial: Modernizing the config.lua

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.

READ MORE