O'Reilly logo

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

Sams Teach Yourself, Godot Engine Game Development in 24 Hours: The Official Guide to Godot 3.0

Book Description

Game developers of all kinds are quickly discovering the power of the completely free, no-royalties, no-strings-attached Godot game engine. Now, in just 24 lessons of one hour or less, you can learn all the skills and techniques you’ll need to write great games with the new Godot 3 release. Each short, easy lesson builds on all that’s come before, helping you master all of Godot’s essentials, and use it to build 2D or 3D games for mobile, desktop, or HTML5 web platforms. Co-authored by Godot co-creator Ariel Manzur, Godot in 24 Hours, Sams Teach Yourself covers all this, and much more:

  • Getting comfortable with the Godot Engine and its scene system
  • Scripting 2D games, handling input, and creating realistic physics
  • Building playable GUIs and sophisticated game flows
  • Creating realistic animations
  • Developing 3D games with shaders, materials, lighting, shadows, environments, and reflections
  • Integrating audio into your games
  • Making the most of Godot’s particle system
  • Creating networked games
  • Efficiently managing projects and exporting games to targeted devices

Godot in 24 Hours, Sams Teach Yourself is packed with up-to-the-minute examples and modern game development techniques. By the time you’re finished, you’ll be comfortable using Godot to create virtually any game you can imagine.

Table of Contents

  1. Cover Page
  2. Title Page
  3. Contents
  4. Contents at a Glance
  5. Foreword
  6. Preface
    1. Who Should Read This Book
    2. How This Book Is Organized
  7. About the Authors
    1. Contributors
  8. Dedication
  9. Acknowledgments
  10. We Want to Hear from You!
  11. Reader Services
  12. Hour 1. Introducing the Godot Engine
    1. Installing Godot
    2. Creating a Project
    3. Using the Visual Editor
    4. Setting Up a Main Scene
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercises
  13. Hour 2. Scene System
    1. Nodes and Scenes
    2. Resources
    3. Combining Scenes
    4. Managing Subscenes
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercises
  14. Hour 3. 2D Graphics
    1. Sprites and Draw Order
    2. Vectors and Transforms
    3. Cameras
    4. TileMaps
    5. ParallaxBackground
    6. Summary
    7. Q&A
    8. Workshop
    9. Exercises
  15. Hour 4. Scripting
    1. Node and Script Relationship
    2. Introduction to GDScript
    3. Signals and Groups
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  16. Hour 5. Game 1: Space Shooter
    1. Concept and Design
    2. Making the Scenes
    3. Scripts and Input
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  17. Hour 6. More Scripting
    1. Notifications
    2. Singletons and Autoloads
    3. Summary
    4. Q&A
    5. Workshop
    6. Exercises
  18. Hour 7. Handling Input
    1. Input Basics
    2. InputEvent Class
    3. Keyboard and Joystick Input
    4. Mouse and Touch Input
    5. Input Mapping
    6. InputEventAction
    7. Summary
    8. Q&A
    9. Workshop
    10. Exercises
  19. Hour 8. Physics System
    1. Bodies and Shapes
    2. Types of Physics Bodies
    3. Areas and Presence Detection
    4. Ray Casting
    5. Navigation and Path Finding
    6. Summary
    7. Q&A
    8. Workshop
    9. Exercises
  20. Hour 9. User Interface
    1. Control
    2. Know Your Controls
    3. Containers
    4. Making an Interface
    5. Theme
    6. Custom Control
    7. Summary
    8. Q&A
    9. Workshop
    10. Exercises
  21. Hour 10. Animation
    1. Animation Editor
    2. Timeline and Keyframes
    3. Blending and Transitioning Animations
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  22. Hour 11. Game Flow
    1. After Launching the Games
    2. Pausing the Games
    3. Switching Scenes
    4. Background Loading
    5. Handling Quit Request
    6. Summary
    7. Q&A
    8. Workshop
    9. Exercises
  23. Hour 12. File System
    1. Special Paths
    2. Game Configuration
    3. Dealing with Files
    4. Dealing with Directories
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercises
  24. Hour 13. 3D Graphics
    1. Spatial Node
    2. Importing Meshes and Models
    3. 3D Editor
    4. Cameras
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercises
  25. Hour 14. Project Management
    1. Importing Resources
    2. Organizing Project Directories
    3. Version Control Software
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  26. Hour 15. Materials and Shaders
    1. CanvasItem Materials
    2. Spatial Materials
    3. Shader Basics
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  27. Hour 16. Lights and Shadows
    1. Light Sources
    2. Shadows
    3. Lights in 2D
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  28. Hour 17. Game 2: Bloxorz Clone
    1. Concept and Design
    2. Making the Scenes
    3. Scripts and Input
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  29. Hour 18. Environments
    1. World Environment
    2. Global Illumination
    3. Reflection Probes
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  30. Hour 19. Sound
    1. Playing Sounds
    2. Positional Audio
    3. Audio Buses
    4. Area Effects
    5. Dynamic Audio
    6. Summary
    7. Q&A
    8. Workshop
    9. Exercises
  31. Hour 20. Particle System
    1. 2D Particles
    2. 3D Particles
    3. Summary
    4. Q&A
    5. Workshop
    6. Exercises
  32. Hour 21. Viewports and Canvas
    1. Viewports
    2. Canvas Layers
    3. Split-Screen
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  33. Hour 22. Networking
    1. TCP, UDP, and Why It Matters
    2. Managing Connections
    3. Remote Procedure Call
    4. Remote and Sync Keywords
    5. Slaves and Masters
    6. Visual Script
    7. Summary
    8. Q&A
    9. Workshop
    10. Exercises
  34. Hour 23. Game 3: Networked Bomberman Clone
    1. Concept and Design
    2. Making the Scenes
    3. Scripts and Input
    4. Enter Multiplayer
    5. Synchronization in Player, Bomb, and Explosion
    6. Summary
    7. Q&A
    8. Workshop
    9. Exercises
  35. Hour 24. Exporting the Project
    1. Platform-specific Considerations
    2. Export Presets
    3. Export Options
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercises
  36. Hour 25. Native Code
    1. GDNative
    2. Summary
    3. Q&A
    4. Workshop
    5. Exercises
  37. Godot Engine book outline (in 24 hours)