O'Reilly logo

3D Game Programming for Teens, Second Edition by Eric Grebler, Maneesh Sethi

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 3. Loops, Functions, Arrays, and Types

We are finally moving up to the tough stuff. This chapter introduces the important and interesting subjects of loops, functions, arrays, and types. All of these are essential to any computer game program.

In this chapter, I’m going to explain each of the processes separately and then create a simple game that incorporates them all. By the time you get there, you will know how to use loops, functions, arrays, and types.

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