O'Reilly logo

Begin to Code with C# by Rob Miles

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

13. Creating gameplay

Image

What you will learn

In this chapter, you’ll write your first proper game, with a beginning, a middle, and an end. You’ll find out how a game gets input from players and uses it to control objects in the game. You’ll also discover how games detect when objects on the screen interact and how you can use these interactions to generate gameplay. Games are not just about images, though, so we’ll also consider how a game can produce sound output and display text messages for its players. At the end of the chapter, we’ll take a look at a complete game and consider how to use randomness, one of the greatest allies of the computer ...

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