Category: Tutorials, Tips and Demos

Tutorial: Repeating Fills

In today’s tutorial, we’ll explore how to use repeating fills on display objects. This allows you to fill a larger display object with a “tiled pattern” in a variety of repetition modes. Furthermore, you can offset the fill position, rotate it, and even scale it — all independently of the object. Read further to discover how.

READ MORE

Tutorial: Capture/Select Photo and Video

Corona SDK has long offered the ability to load images, save images, and work with images/photos in the camera roll or photo album. Now, we’ve added the ability to load and record video as well. In today’s tutorial, learn how to use the new video capture and select features, as well as the new photo capture/select functions.

READ MORE

Tutorial: 2.5D Perspective

Corona’s Graphics 2.0 engine allows you to simulate 2.5D effects that appear to be 3D but don’t involve the complexity of working in the third dimension. This includes quadrilateral distortion, billboarding, Mode 7, and more. In today’s tutorial, learn how to implement 2.5D effects and transitional distortion in your apps.

READ MORE

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