Home Page Icon
Home Page
Table of Contents for
Index
Close
Index
by Eric Grebler, Maneesh Sethi
3D Game Programming for Teens, Second Edition
Copyright
Acknowledgments
About the Author
Introduction
The Basics of BASIC
Getting Started
A Brief History of BASIC
The First Program: Jumping Cone!
The First Program: Jumping Cone
Summary
Getting to Know Basic
Hello, World!
Variables
Input
Conditionals
Logical Operators
The Goto Command
A Text-Based Guessing Game
Summary
Loops, Functions, Arrays, and Types
Understanding Loops
Understanding Functions
Understanding Arrays
Using Types
Putting It All Together: Textanoid!
Summary
The Style Factor
Developing Style
Comments
Function and Variable Names
Summary
Getting into Graphics
Shapes and Objects
Understanding the 3D World
Creating Basic Shapes
Creating a Cone
Creating Multiple Cones
Creating Cubes, Cylinders, and Spheres
Segments
Resizing and Reshaping Objects
Resizing or Scaling
Reshaping
Flipping an Object
Coloring
Wireframe
Transparency
Textures and Texture Mapping
Applying Image Textures
Scaling Textures
Object Order
Summary
Controlling Objects
Moving Objects
Rotating Objects
Rotating Objects on Their Own
Orbiting (a.k.a. Pivoting)
Summary
Lights and Cameras
Working with Cameras
Creating and Positioning a Camera
Rotating a Camera
Using Two Cameras
Switching Cameras Virtually
Splitting Views
Zooming
Camera Movement
Following an Object
Light
Types of Lights
Light Range
Summary
Getting Graphic
Heightmaps
Creating Heightmaps with Textured Fills
Creating Heightmaps with a Brush
Creating Heightmaps with Effects
Creating Textures
Walls
Terrains and Skies
Creating Terrains with Texture Fills
Wood
Creating Terrains with Effects
Information Screens
Welcome Screen
Pause Screen
Summary
Getting More Advanced
Setting the Stage
Creating a Terrain
Positioning a Terrain
Changing the Terrain Color
Applying a Texture to a Terrain
Changing the Size of a Terrain
Creating a Plane
Applying a Heightmap
Shapes as Environments
Going Inside Shapes
Using Shapes with Terrains
Summary
3D Modeling
Creating a Bottle
Creating the Outline
Lathing the Bottle
Exporting the Bottle
Creating a Missile
Creating the Missile Body
Creating the Wings
Exporting the Missile
Importing Models into Blitz3D
Summary
Collisions
Creating a Collision
Collision Code
Colliding Objects
Collision Radius
Shields Down!—Clear Collisions
Collision Effects
Poof! Now You See It, Now You Don’t
Blowing Up Stuff
Other Collision Commands
Summary
Sounds
Sounds
Loading and Playing Sounds
Adjusting Volume
Adjusting Pitch
Adjusting Pan
Summary
Other 3D Game Components
Gravity
Simple Jumping
Velocity
Chase Camera
Mirror
Timing
Text
Adding and Positioning Text
Adding Text Variables
Setting Font Size and Appearance
Freeing Fonts
Math
Random
Guns and Bullets
Positioning a First–Person Shooter Gun
Bullets
Pausing
Welcome Screens
Summary
Putting It All Together
Planning the Game—“3D Gallery”
Files for the Game
Creating the Water Texture
Welcome Screen
Setting Up the Graphic Elements and Camera
Setting Up the Game Elements
Creating the World
Gallery Items
Creating the Guns and Bullets
Game Control and Gravity
Moving Targets
Firing Bullets
Pausing the Game
Creating Collisions
Changing the Gallery
Destroying Gallery Items
Reloading Bullets
Score
Time Remaining
Ending the Game
Text
Sounds
Epilogue
Appendix Scan Code Reference
Index
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Appendix Scan Code Reference
Index
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset