Tutorial: Incrementing Score Counter

Posted by & filed under Tutorials, Tips and Demos.

nums2

When you complete a level in a video game, it often shows your score in an animated fashion. Sometimes this involves the numbers “spinning” in such a way that they count up from the 1s column to the 10s column and so on, like an odometer of a car but much faster. Today’s tutorial shows how to easily accomplish this in Corona.


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.