Tutorial: Simulating Game Controllers

If you’re developing Corona-powered apps for HID-controller-based environments, you might have wished that you can “simulate” the controller input similarly to how you simulate other aspects of your app. Now you can! In today’s guest tutorial, learn how to simulate HID controllers directly in the Corona Simulator.

Tutorial: Game Controllers and Axes

In a previous tutorial about HID controllers, we showed you how to use Corona SDK to read button inputs from game controllers. In contrast to basic button functionality, analog controls are more complex because they measure an almost infinite number of potential values that must be converted from the analog “infinity” to discrete digital values. Today’s tutorial walks you through the process and includes a full sample project to get you started.

Tutorial: Introduction to Game Controllers

It’s an exciting time to be a mobile app developer. Through the magic of mobile and Bluetooth support on devices, it’s now possible to use controllers to play games, in addition to the standard touchscreen and accelerometer. Read further to learn about Corona SDK’s core support for OUYA, Green Throttle, GameStick, SHIELD, and other human interface devices.