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.
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.
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.
During Monday’s Corona Geek Hangout we shared that Corona SDK now supports HID controllers, which means you can now target Ouya, GameStick game controller, MOGA Pro, PS 3 controller, NVIDIA Shield, along with Bluetooth keyboards and mice (all HID devices). Here’s a snippet from the Hangout where Snake Head Software Founder, Gerald Bailey, raised the important question of what do these controllers mean for mobile games. Roaming Gamer, Ed Maurina, responded with a answer that offers up some good perspective.
During this week’s Corona Geek, we shared that Corona Simulator now has Ouya and GameStick ‘View As’ options, Corona SDK now supports all HID controllers, tips for side-loading apps on Nexus 7 and Andrea Zanetti from Italy shared his adventures as a 16 year old app developer.