A few weeks ago, raycasting was added to Corona’s physics system. The core API is an easy-to-use function for casting a “sensor ray” into the physics world — and we didn’t stop with that. Soon after, reflection was added to the raycasting system. Today’s tutorial discusses both of these features and includes a downloadable demo project to assist with your own development.
Posts By: Brent Sorrentino
Physics: Radial Gravity and Predicting Trajectory
Today’s tutorial features two more physics methods. In specific, we’ll discuss “radial gravity” and how to visually predict the launch trajectory of an object. Better yet, both methods are available as downloadable projects so you can explore the full implementation at the code level. Read on to learn more!
Updating Mobile Game Content in Runtime (Guest Post)
This week’s tutorial examines the use of network.download() and remote data files to update app content “on the fly.” Using an XML file, we’ll also examine how to manage these remote assets properly. Read on to learn how!
Performance Optimizations
Performance optimization is a topic that concerns all developers and spans all genres. Today’s tutorial discusses 10 useful performance tips that are not necessarily “familiar” to Corona developers. Read on to learn how these tips and tricks can improve the performance of your app.
New Widgets: Part 3
Today’s tutorial discusses the remainder of the new widgets introduced recently, available in Daily Builds. These include the “table view,” “scroll view,” “picker wheel,” and “progress bar.” Read on to learn about the features of these new widgets and how to easily implement them into your Corona app.
New Widgets: Part 2
After much anticipation, we’ve finally released the majority of new Corona widgets! All new widgets share a common trait: each has been written atop a new foundation that is more flexible and stable. Today’s tutorial outlines five of the new widgets — read further to learn how to implement them in your apps.
More Physics Tricks Explained
Today’s tutorial introduces a few new physics methods for your bag of tricks. We’ll solve the “Can I jump?” issue for 2D side-view games, and also discuss how to handle “sticky projectiles” and basic “wind tunnel” behavior. Three sample projects are available for download in order to study each case.
iOS Tutorial: Using Email Attachments
Would you like to open an email attachment with your own custom extension directly in your iOS app? Today’s guest tutorial walks you through the essential steps, including the necessary additions to “build.settings” and the functions required to load an email attachment into your app’s local directory. Read further to learn how!
Implementing Pinch-Zoom-Rotate
Many apps have a huge feature set but still function primarily with a single point of input: buttons, touch-drags, individual swipe actions, etc. However, even the most basic interface can benefit from the multitouch capabilities of modern devices; for example, zoom in and out on a background, scale/rotate objects and layers, etc. Today’s tutorial walks you through a full “pinch-zoom-rotate” methodology and includes a working module that you can incorporate into your own app.
Working With Multi-Element Physics Bodies
This week’s tutorial steps you through some advanced tactics involving multi-element physics bodies. Mutli-element bodies possess some valuable traits that joint-assembled bodies don’t — but they also present some quirks and hurdles. Learn how to work around some of those in your physics-based apps!



Add to Google