Tutorial: Fitting images to a size

Posted by & filed under Tutorials, Tips and Demos.

config-feat

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.


Tutorial: Understanding the Composer API

Posted by & filed under Tutorials, Tips and Demos.

Flat Corona

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.


Tutorial: Introduction to LiquidFun

Posted by & filed under Tutorials, Tips and Demos.

droplet

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.


Tutorial: Corona Particle Tools and Data Formats

Posted by & filed under Tutorials, Tips and Demos.

particles2

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.