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

Hello, World!

Okay, before you go any further, you’re going to write your first program. This is a common one for first-time programmers to write in any computer programming language, most likely because it is so simple. This program simply displays the text Hello, World! on the screen. That’s right, no graphics, no special effects, just pure, hard-core text.

Let’s go over how to compile the following code. Type what follows into your Blitz3D compiler or open demo02-01.bb (see Figure 2.1). Next, select Program > Run Program and watch the magic.

Figure 2.1. The Hello World program in Blitz3D.

If you decide to type the code ...

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