Tutorial: Physics Joints Explained — Part 1

Posted by & filed under Tutorials, Tips and Demos.

joint1

Some developers who use the Box2D-based Corona physics engine struggle with the setup of physical joints which are used to attach two bodies. While the most basic joints are easy to configure, others are more complex and require a very specific setup. This tutorial aims to clarify some of these joints, along with their properties and methods.


Tutorial: Implementing AdMob V2

Posted by & filed under Tutorials, Tips and Demos.

google-play-store

The AdMob V2 service is Google’s latest version of the popular AdMob service, built on top of the Google Play service. Today’s tutorial discusses the changes in the latest incarnation and some new features for Corona developers.


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.