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, include FTF: in the subject, and specify the post’s URL in the body.

Rob Miracle

Rob is the Developer Relations Manager for Corona Labs. Besides being passionate about helping other developers make great games using Corona, he is also enjoys making games in his spare time. Rob has been coding games since 1979 from personal computers to mainframes. He has over 16 years professional experience in the gaming industry.

No Comments

Sorry, the comment form is closed at this time.