Book description
Learn the Godot 4 game engine and GDScript 2.0 as you build your own game and transform into a proficient programmer with this illustrated guide
Key Features
- Learn the fundamentals of programming as you write GDScript 2.0
- Explore the world of GDScript 2.0 with this comprehensive introduction to the language
- Work with Godot 4’s robust features and built-in tools to create captivating 2D and 3D games, simulations, and interactive applications
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
In the digital landscape driven by interactive experiences, the demand for creative individuals with the skills to create captivating games has never been higher. Written by Sander Vanhove, a seasoned game developer with over 20 games to his credit, this book will serve as your entry point into game development, showing you how to leverage the powerful features of the open-source, versatile GDScript 2.0 to develop your ideas, from simple platformers to complex RPGs.
Whether you're an aspiring game developer, a hobbyist seeking a creative outlet, or simply someone intrigued by the world of game programming, this book will guide you through the intricacies of the Godot 4 game engine. Starting with a primer on the fundamentals of programming, you’ll cover everything from data to logic, while familiarizing yourself with Godot’s built-in tools such as the physics engine, navigation, and cameras. As you progress, you’ll unlock deeper insights into more advanced tools that will take your programming to the next level. Aided by easy-to-follow step-by-step tutorials, examples, exercises, and experiments, you’ll seamlessly integrate this newfound knowledge to create a Vampire Survivor-like game from scratch.
By the end of this book, you’ll have become proficient in leveraging the Godot 4 game engine to bring your gaming visions to life.
What you will learn
- Develop your GDScript 2.0 programming skills from basic to advanced, emphasizing code cleanliness
- Harness Godot 4's integrated physics engine to control and manipulate in-game objects
- Design a vibrant and immersive game world by seamlessly integrating a diverse array of assets
- Master the art of processing input from various sources for enhanced interactivity
- Extend the reach of your game by learning how to export it to multiple platforms
- Incorporate simple multiplayer functionality for a dynamic gaming experience
Who this book is for
This book is for programmers, game designers, game developers, and game artists who want to start creating games in Godot 4. If you’re new to coding or game development, looking for a new creative outlet, and want to give Godot 4 and GDScript 2.0 a try, this book is for you. While no prior knowledge of programming or Godot is required, this book gradually introduces more complex concepts as you advance through the chapters.
Table of contents
- Learning GDScript by Developing a Game with Godot 4
- Contributors
- About the author
- About the reviewers
- Preface
- Part 1:Learning How to Program
- Chapter 1: Setting Up the Environment
- Chapter 2: Getting Familiar with Variables and Control Flow
- Chapter 3: Grouping Information in Arrays, Loops, and Dictionaries
- Chapter 4: Bringing Structure with Methods and Classes
- Chapter 5: How and Why to Keep Your Code Clean
- Part 2: Making a Game in Godot Engine
- Chapter 6: Creating a World of Your Own in Godot
- Chapter 7: Making the Character Move
- Chapter 8: Splitting and Reusing Scenes
- Chapter 9: Cameras, Collisions, and Collectibles
- Chapter 10: Creating Menus, Making Enemies, and Using Autoloads
- Chapter 11: Playing Together with Multiplayer
- Part 3: Deepening Our Knowledge
- Chapter 12: Exporting to Multiple Platforms
- Chapter 13: OOP Continued and Advanced Topics
- Chapter 14: Advanced Programming Patterns
- Chapter 15: Using the File System
- Chapter 16: What Next?
- Index
- Other Books You May Enjoy
Product information
- Title: Learning GDScript by Developing a Game with Godot 4
- Author(s):
- Release date: May 2024
- Publisher(s): Packt Publishing
- ISBN: 9781804616987
You might also like
book
Programming for Game Design: A Hands-On Guide with Godot
Create video game elements using the Godot game engine, gaining practical experience in programming and video …
book
Godot Engine Game Development Projects
A project based guides to learn animation, advanced shaders, environments, particle rendering, and networked games with …
book
Game Development with Blender and Godot
Understand how to use one of the most popular 3D modeling software and advanced game engines …
book
Learning C# by Developing Games with Unity - Seventh Edition
Learn C# programming from scratch using Unity as a fun and accessible entry point with this …