Raycasting is like shooting an invisible laser beam from one point to another — and being able to see what physics bodies intersect with that beam/ray. It’s a really cool tool that not many people use.
In this tutorial series I’ll show you one cool use for raycasting — keeping an enemy (or friendly) object from walking off the edge of a platform. While there are multiple ways to accomplish that, raycasting is a fun way to handle it.
This tutorial is for Corona SDK developers with at least a beginning understanding of Lua and Corona.
Jay has been programming professionally since 1988, starting with game programming and then over the years moving to internet programming with a major Seattle telecommunications firm. Jay started programming for mobile devices in 2010 and currently has several games and apps in the Apple App Store with more on the way.
In addition to writing scores of technical articles over the years, Jay has recorded dozens of hours of tutorial videos. He's been a speaker at technical conferences and enjoys teaching how to make games and apps almost as much as making games and apps themselves.
Jay is a Certified Developer with Corona SDK and has created a computer science course for the University of Alaska on using Unity to make 2D games.