You are previewing 2D Game Building for Teens.
O'Reilly logo
2D Game Building for Teens

Book Description

Bring your video game ideas to life with 2D Game Building for Teens! Written for anyone with an interest in creating video games, this book will show you how to use the Torque Game Builder, a simple drag-and-drop game engine, to make your very own games to play and share. Following easy-to- understand techniques and directions, you'll work your way through hands-on tutorials that help you put your new skills to use right away as you build simple to more complex games. Everything you need to build your own 2D game can be found in the book, including an introduction to the Torque Game Builder, how to design game graphics, basic programming and scripting techniques, and more. You'll even find an overview of the game development industry to give you an inside look at what it takes to make games, and information on the history of classic 2D games. If you've ever wanted to create your own video games, 2D Game Building for Teens will show you how.

Table of Contents

  1. Copyright
    1. Dedication
  2. Acknowledgments
  3. About the Author
  4. Introduction
    1. What You Will Learn from This Book
    2. Who Should Read This Book
    3. How This Book Is Organized
  5. 1. Want to Make Games?
    1. What Are Games?
      1. Huizinga’s Magic Circle
      2. Core Mechanics
      3. Gameplay
      4. Graphics
    2. How to Be a Game Designer
    3. Come Up with Your Own Game Ideas
      1. Write Your Ideas Down
        1. Game Concept 1—Jake Space Racer
        2. Game Concept 2—Jenny and the Haunted Schoolhouse
    4. Game Design Step-by-Step
      1. Preproduction
        1. Design Documents
        2. Prototypes
      2. Production
      3. Postproduction
    5. Starting Your Own Game Company
    6. The Importance of Being Independent
    7. Review
  6. 2. Brief Look at 2D Games
    1. Where Do 2D Games Come From?
      1. Electronic Game Firsts
      2. 2D in a 3D World
    2. Popular 2D Game Genres
      1. Action Games
      2. Adventure Games
      3. Role-Playing Games
      4. Strategy Games
      5. Other 2D Game Genres
    3. Licensed Games
    4. What Makes a 2D Game Great?
      1. Interactivity
        1. Empowering the Player
        2. Immersion
        3. Emotioneering
      2. Game Challenges
        1. Quests
      3. The 4 Fs of Great Game Design
        1. Fun
        2. Fairness
        3. Feedback
        4. Feasibility
    5. Review
  7. 3. The Torque Game Builder
    1. The Torque Game Builder
      1. Licensing
    2. Torque’s Features at a Glance
      1. Built-In Components of TGB
        1. 2D Toolset
          1. Particle Builder
          2. Level Builder
          3. GUI Editor
          4. Tile Editor
          5. Camera System
          6. Sprite Support
          7. Layers
          8. Parallax Scrolling
          9. Scene Graph
          10. Multiple Scenes
        2. Other Built-in Features
          1. TorqueScript
          2. Collision Detection
          3. Physics Engine
          4. TorqueNet Lite
          5. The Packaging Utility
          6. Torque Community
    3. Other GarageGame Products
      1. Torque X Engine
      2. Torque Game Engine
      3. The Torque Game Engine Advanced
    4. Resources
    5. Review
  8. 4. Making Game Graphics
    1. What Are Game Graphics?
      1. Bits and Bytes
      2. Graphics Pixels
      3. Graphics Coordinates
      4. Image Types
    2. What Are 2D Graphics Good For?
      1. Sprites
      2. Tiled Images and Backgrounds
      3. The Draw Order
    3. Making Vector Art
      1. What Is Vector Art?
      2. What Is Illustrator Good For?
      3. The Illustrator Environment
      4. The Anatomy of Vector Objects
        1. Paths and Anchor Points
        2. Fills and Strokes
        3. Transforms
      5. Making a Hearse
        1. Drawing the Hearse Parts
        2. Painting the Hearse
        3. Assembling and Exporting the Finished Hearse
    4. Using Graphics in Torque Game Builder
      1. Making Static Sprites
        1. To Load an Image File
        2. To Set Properties for a Static Sprite
      2. Making Animated Sprites
        1. To Load an Animated Image File
      3. Making Tilemaps
        1. To Load a Tilemap
        2. To Edit a Tilemap
    5. Review
  9. 5. Programming with TorqueScript
    1. Game Programming
      1. Programming Languages
      2. TorqueScript
      3. Algorithms
        1. Variables
        2. Data Types
        3. Objects
        4. Operators
        5. Functions
        6. Control Statements
          1. If-Else
          2. Switch
          3. Loops
      4. Flowcharts
    2. Torsion
    3. Review
  10. 6. Your First Game Project
    1. Getting Started with TGB
      1. Adjusting Your Workspace
        1. Camera View
        2. Design Resolution
      2. Creating a New Project
      3. Saving Your New Level
      4. Loading Your Resources
      5. Level Design
        1. Level Structure
          1. Goals
          2. Duration
          3. Scale
          4. Difficulty
        2. Gimmicks
        3. Art Style
        4. Game Flow
      6. Making a Level in TGB
        1. Adding and Scaling a Background Image
        2. Layering the Background Image
        3. Adding and Layering Other Background Elements
      7. Designing Characters
        1. Name
        2. Personality
        3. Appearance
        4. Five Lessons of Designing Avatars
          1. Capitalize on Lucky Accidents
          2. Exaggerate Action
          3. Use Appealing Colors
          4. Use Your Own Art Style
          5. Stay Away from Stereotypes
        5. Character Animation
          1. Disney Principles of Animation
          2. Animating Motion Cycles
          3. Further Animation Resources
      8. Making an Animated Character in TGB
        1. Programming Batty to Fly
          1. Create a New Class
          2. Make Batty Fly
          3. Flight Test
          4. Setting Speed Variables
          5. Make Batty Fly Right
          6. Adding Automatic Updates
          7. Adding a Speed Boost
          8. Set Batty’s World Limit
          9. Proofreading Your Code
    2. Review
  11. 7. Adding Game Challenges
    1. Game Challenges
      1. Common Types of Game Challenges
      2. Quests
      3. Don’t Forget to Add Conflict
      4. One Lesson to Remember
    2. Creating Game Challenges in TGB
      1. Loading Your Resources
      2. Adding a Reward
        1. Programming the Reward
        2. Creating the Reward
        3. Giving the Coins to Batty
          1. Editing Collision Polygons
          2. Programming Collision Responses
      3. Providing Competition
        1. Creating Other Bats
        2. Programming the Bats
      4. Proofreading Your Program
      5. Testing Your Level
    3. Review
  12. 8. Making a Shooter
    1. Characteristics of the Shooter
    2. Loading a Saved Project
    3. Creating Enemies to Fight
      1. Creating a Ghost Enemy
      2. Programming the Ghost Enemy
      3. Setting the Ghost’s World Limits
      4. Programming the Ghost’s Spawn Function
      5. Having the Ghost Destroy the Player
      6. Proofreading Your Program
      7. Editing the Ghost’s Collision Polygon
      8. Testing Your Level
    4. Having the Player Fight Back
      1. Giving Batty a Ray Gun
      2. Creating Death Rays
      3. Programming the Death Rays
      4. Proofreading Your Program
      5. Testing Your Level
    5. Nuking the Ghosts
      1. Creating a Particle Effect
      2. Programming the Explosion
    6. Adding Audio
      1. Hollywood Sound
        1. A Quick History Lesson
        2. Foley Sound
      2. Sound Basics
        1. Sound Laws
        2. Influencing Factors on Sound
          1. Space’s Impact on Sound
          2. Time’s Impact on Sound
          3. Situational Impacts on Sounds Sounds
      3. Sound in Games
        1. Sound Effects
        2. Music
        3. Voiceovers
      4. Using Sound Libraries
      5. Mixing Your Own Audio
        1. Digital Sound
          1. Sound File Formats
        2. Using Audacity
          1. Record Sound
          2. Edit Sound
          3. Adding Effects
          4. Exporting Your Audio
      6. Sound in the Torque Game Builder
        1. Coding Audio Descriptions
        2. Coding Audio Profiles
        3. Coding Dynamic Sound
    7. Review
  13. 9. Getting Your Game Out There
    1. Where to Go Now
      1. The Packaging Utility
        1. Packaging Your Game Using the Packaging Utility
        2. Burning Your Game to Disc
        3. Creating an Autorun File
          1. Using the Open Command
          2. Using the Shellexecute Command
        4. Physical Packaging
      2. Learn to Advertise Yourself
      3. Learn to Advertise Your Game
        1. Develop a Clear Identity or Gimmick
      4. Pitch a Game Proposal to a Publisher
      5. Advertise Your Game Online
        1. What Is the Web?
        2. Getting an Internet Connection
        3. Web Development
          1. Prepping Your Images
          2. Prepping Your Text Content
          3. Web Browsers and Web Servers
          4. Addresses and Domains
          5. The URL
          6. Building and Maintaining Your Website
          7. Getting a Domain Name
          8. Getting a Web Host
          9. Design Dos and Don’ts
          10. Uploading Your Files
          11. Getting Your Site Noticed
      6. Using Blogs or Online Communities to Get Noticed
        1. Blogs
        2. Online Communities
        3. Setting Up a GGE Account
        4. Setting Up a MySpace Account
    2. What’s Next?
      1. Game Design Schools
    3. Review
  14. A. Keyboard Shortcuts and Operators
    1. Keyboard Shortcuts
    2. Operators and Keyboard Events to Bind
  15. B. What’s on the CD?
    1. Software Demos
    2. Game Demos
    3. Data Files
    4. Royalty-Free SFX
  16. C. Glossary
    1. Glossary Terms
  17. D. Online Resources
    1. Resources