In some apps, you’ll need to perform some continuous action while the user’s touch remains on the screen. This could include a character running while the player holds down a “run” button, a space ship firing its lasers while the player’s finger is down, or some action being performed while the player holds the “X” button on a game controller. Today’s tutorial provides a foundation for this task.
For those Corona developers seeking a way to get the color of a specific pixel on the screen, you’re in luck! Starting with Daily Build #2106, our engineers have implemented the “display.colorSample()” function for this purpose. Read further to learn how it’s used.
Starting in Daily Build #2154, we’ve added the ability to trace the outline of non-transparent assets in both an image or frames from an image sheet. These outlines can then be used for drawing a polygon or generating physics bodies. Read further to learn how.
We are pleased to introduce a new scene manager: the Composer API. Composer builds on a simpler and better base. Read on to learn how it works and how to take advantage of it starting today.
Getting a list of Facebook friends may seem challenging, but it doesn’t have to be. Today’s tutorial walks you through the simple process in Corona SDK, allowing you to retrieve a list of Facebook friends and use it as you desire.
There are many ways to move objects in Corona SDK. If you want to move an object from point A to point B, the simplest approach is to use a transition. But what if you need to move it along a path with multiple segments, like moving a knight on a chess board in its unique “L” pattern? This tutorial outlines how to achieve sequential movement via a series of queued transitions.
Today’s tutorial illustrates how to create a standard iOS-style “UI Navigation Bar” widget in which we provide the definitions for two buttons, the functions to handle button interaction, and some basic information to draw the bar. Read further to learn more.
For iOS users, Corona SDK now offers the QuickLook Plugin. This allows your app to show various document files, including iWork, Microsoft Office, Rich Text Format (RTF), PDF, images, and more. Read further to learn how to implement QuickLook in your apps.
You can now use the camera feed as a texture, which opens up a world of possibilities and new effects.
A common requirement for business app developers is the ability to copy and paste items — in specific, the ability to select something from your app and paste it into another, or copy something from another app and paste it into yours. Read further to learn how, using the simple pasteboard plugin.