From the Forum – Issue #142

From the Forum – Issue #142

Forum iconWelcome to this week’s From the Forums. Each week we highlight a few Corona Labs Community Forums posts that cover important topics.

Handling global collisions

Detecting when physical objects collide is an important concept in games and Corona features several ways to test for it. In this post, learn how to determine exactly which objects are colliding and prevent them from creating unnecessary interactions.

Which button was pressed?

Corona touch handlers are incredibly easy to implement if you simply want to know when a touch begins, moves, or ends. However, if you need to do more advanced testing like determining when a player presses two or three buttons simultaneously, it takes a little more logic. Check out this post for a few helpful tips.

Getting snapshots to work with GPGS

Corona is fast… sometimes too fast. In a few cases, your code may be ready to move on to other tasks while other API calls still need time to complete. To keep things moving, API calls operate asynchronously, behind the scenes. Check out this thread which discusses how to handle delayed calls.


Has a particular forum thread been especially helpful to you? If so, let us know about it! Simply email support@coronalabs.com, include FTF: in the subject, and specify the post’s URL in the body.

Rob Miracle
rob@coronalabs.com

Rob Miracle creates mobile apps for his own enjoyment and the amusement of others. He serves the Corona Community in the forums, on the blog, and at local events.

No Comments

Sorry, the comment form is closed at this time.