Learning GDScript by developing a game with Godot 4: A fun introduction to programming in GDScript 2.0 and game development using the Godot engine Front Cover

Learning GDScript by developing a game with Godot 4: A fun introduction to programming in GDScript 2.0 and game development using the Godot engine

  • Length: 376 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2024-06-11
  • ISBN-10: 1804616982
  • ISBN-13: 9781804616987

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

  1. Setting Up the Environment
  2. Getting Familiar with Variables and Control Flow
  3. Grouping Information in Arrays, Loops, and Dictionaries
  4. Bringing Structure with Methods and Classes
  5. How and Why to Keep Your Code Clean
  6. Creating a World of Your Own in Godot
  7. Making the Character Move
  8. Splitting and Reusing Scenes
  9. Cameras, Collisions, and Collectibles
  10. Creating Menus, Making Enemies, and Using Autoloads
  11. Playing Together with Multiplayer
  12. Exporting to Multiple Platforms
  13. OOP Continued and Advanced Topics
  14. Advanced Programming Patterns
  15. Using the File System
  16. What Next?
To access the link, solve the captcha.