Chapter 13

Creating Controls for Mobile Devices

In This Chapter

arrow Playing games on mobile devices

arrow Creating virtual keys on the screen

arrow Adding swipe controls

arrow Creating pinch and zoom controls

arrow Playing mobile games with virtual analog sticks

If you want to make a game these days, there’s a very good chance you want your audience to play it on a mobile device. That’s where this chapter, and Chapter 10 on scaling and resolution, come into play. In this chapter, I show you how to add controls to your game so that it’s playable on a mobile device such as a tablet or phone. This includes virtual keys such as analog sticks, swiping, and pinching and zooming. You can add all these features to your game through GameMaker: Studio functions.

Putting Your Game on a Mobile Device

During the game creation process, be sure to test your game as you go. Think about how you’re going to test your game on a mobile device before you create it. After all, it would be awful to spend hours creating virtual joysticks ...

Get GameMaker: Studio For Dummies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.