While developing an app, you often have to load an image whose dimensions are unknown. The question of how to scale the image is frequently asked, so let’s look at a simple function that will scale any image to fit in an arbitrary box.
Category: Tutorials, Tips and Demos
This week’s tutorial is a foundational tutorial for Composer, the official scene management library for Corona. Its goal is to help you better understand what Composer is, what the various event phases are, and what actions should be performed during each phase.
This week’s tutorial is an introduction to LiquidFun physics effects. LiquidFun allows you to simulate faucets, pools, waves, streams, and other amazing effects for scenarios where the physics world is not composed entirely of rigid objects. Read further to learn the basics.
This week’s tutorial shows you how to add basic events to the iOS “calendar” app from a Corona-based app, using standard formats and Corona APIs. Read further to learn how.
Today’s tutorial discusses how to capture and emulate key inputs for the standard Amazon Fire TV controller/remote using Corona SDK. Read further to learn how.
In this week’s tutorial, guest writer Ed Maurina explains basic particle emitters and some of the properties which fuel them. Learn how to create effects such as fire, waterfalls, and explosions, all of which are common in game design.
Since the “newEmitter()” display object was introduced in Corona Daily Build #2214, the Corona Labs staff and community members have illustrated various methods for the loading/usage of emitter definition files. However, some users are still unsure about how to create and edit emitters. In this tutorial, we’ll briefly examine emitter authoring tools, the Starling format, and emitter loaders.
Utilizing Corona Enterprise can empower your apps with great new features. In this tutorial, we’ll demonstrate how to add basic printing facilities to an iOS app via Enterprise. Read further to learn how.
On iOS, many apps include a share button that lets you share your app’s features, whether it be a message, an achievement, or a high score via various services like Facebook, Twitter, email, etc. This week’s tutorial outlines the basic steps to construct a sharing panel in the iOS 7 style.
Today’s tutorial demonstrates how to create a sliding panel that has many uses, ranging from games to business applications. Using just one core function, you can easily implement a wide variety of panels that appear from different sides of the screen and utilize unique easing transitions.