

- HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD HOW TO
- HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD MAC OS
- HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD CODE
- HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD SERIES
While each platform used to emulate a pattern of the platform before it, which was starting to be less than ideal, we now give each platform control as to how to interpret input.
HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD MAC OS
Essentially, we added a new “platform-agnostic input layer” between our engine and the platform on which ROBLOX is running (iOS, Windows, Mac OS X).
HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD CODE
Implementing multitouch support required that Ben write delicate code – he had to add recognition for iOS input while maintaining existing user input code. Applications often recognize certain combinations of touches as gestures and respond to them in ways that are intuitive to users, such as zooming in on content in response to a pinching gesture. iOS tracks fingers touching the screen throughout a multitouch sequence and records the characteristics of each of them, including the location of the finger on the screen and the time the touch occurred. This sequence begins when the first finger touches down on the screen and ends when the last finger is lifted from the screen. IOS recognizes one or more fingers touching the screen as part of a multitouch sequence. In order to recognize the more complex user input of iOS devices, where multitouch creates the equivalent of simultaneous mouse clicks, we had to rework existing code.Īccording to Apple’s developer library, here’s how multitouch works: ROBLOX launched before touch screens went mainstream, so our code was designed to handle mouse and keyboard user input. This could cause inadvertent zooming and disorient players. Without that requirement, we might end up interpreting two separate touches – for instance, interacting with a UI element and panning the camera – as the start of a zoom. There is a unique aspect to the pinch-zoom on ROBLOX: both of the player’s fingers must touch the screen within milliseconds. For ROBLOX gameplay, the fast and intuitive pinch method won. Some alternatives are a zoom slider that players could show and hide, and three-finger, up-and-down swipes. It has become the go-to method of zooming in and out on iOS devices, but it does limit our ability to, for example, simultaneously use two separated fingers to rotate an object in a building game. The pinch-zoom was one of the toughest control challenges.

HOW TO CREATE YOUR OWN GAME IN ROBLOX ON IPAD SERIES
Thus far, our Engineering ROBLOX for the iPad series has focused on iPad development through a performance-optimization lens.
