From the Forum – Issue #146

From the Forum – Issue #146

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

Flipping cards

In a 2D system, objects have no depth. You can easily flip an image horizontally by setting its xScale property to -1 and use a transition to get a nice animation, except that it disappears briefly as the scale hits exactly 0. Fortunately, forum stars Steve Johnson (StarCrunch) and Dave Bollinger chimed in on this thread with some different techniques to improve the common case of flipping a card.

Rockets Red Glare

If you want to launch a rocket, there generally should be a smoke trail following it, and that smoke eventually fades. In this thread, follow our forum heroes trying to accomplish this task.

Lights! Camera! Action!

For games in a 3D world, lighting is a major consideration — your objects are made up of meshes, textures, and maps that take the position of lights, ultimately rendering a visible object. In a 2D world, we don’t think about this much, but there are times where you may need dynamic lighting in a 2D world. This thread goes into the possibilities of 3D-style lighting using Corona’s advanced graphics features.

Do you have a particular forum thread that was helpful for you? Let us know about it! Email, put FTF: and the forum title in the subject, and include the URL in the email. We will consider adding it to an upcoming edition of From the Forum.

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.