Tutorial: Blends and Composite Fills in Graphics 2.0

In Corona’s Graphics 2.0 engine, you can achieve powerful visual effects by blending layers together and applying Photoshop-style composite effects. In today’s tutorial, we illustrate how to apply one of over 25 blend effects to a display object with just a few lines of code.

Tutorial: Fills and Strokes in Graphics 2.0

An exciting new addition to Corona SDK’s Graphics 2.0 engine is the ability to fill and stroke any graphic object with other images, gradients, and over 25 Photoshop-style composite effects. In addition, the new graphics engine features over 50 filter and generator effects which can bring your app’s visuals to amazing new levels. Read further to learn more.

Tutorial: Containers in Graphics 2.0

Corona’s Graphics 2.0 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.

Tutorial: Multi-Pass Shaders in Graphics 2.0

Another new feature in Graphics 2.0 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.

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.

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.

Tutorial: Game Controllers and Axes

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.