O'Reilly logo

GameMaker: Studio For Dummies by Michael Rohde

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required