
Beginning Game Development with Godot: Learn to Create and Publish Your First 2D Platform Game
Maithili Dhule
Résumé
Learn the fundamentals of Godot by diving headfirst into creating a 2D platformer from scratch. This book is a hands-on, practical guide to developing 2D games using the Godot Engine 3.2.3/3.3, with the help of GDScript.
Author Maithili Dhule begins by explaining some basic tools and techniques used to make games, the factors that need to be considered while choosing a game engine, and pointing out the benefits of using Godot. She then walks you through downloading the engine and guides you as you explore key features of its interface. Next, you'll receive a concise introduction to the basics of GDScript, the main scripting language used in Godot, before moving on to essential topics such as Godot's node-scene architecture, the interaction of various physics bodies, the creation of game scenes, and writing scripts. As the book progresses, you'll learn how to create and animate your game character, design the game world, add enemies, and implement a coin-collection system. You'll also see how the user's gaming experience can be enhanced through the addition of parallax backgrounds, a title screen, music, and sound effects. Toward the end of the book, you'll learn how to export your game to different platforms, both mobile and PC, as well as possible avenues for monetizing the game.
Throughout the book, theoretical concepts are supplemented with concrete, ready-to-implement examples that you can try out. Upon finishing this book, you'll be able to make and publish your first 2D platform game. Beginning Game Development with Godot is for game development enthusiasts of all levels interested in creating their own games.
What You Will Learn
- Understand the Godot engine and the benefits of using it for game development
- Master the fundamentals of programming in GDScript
- Use the Godot graphical interface to design and animate players, the game world, menus, and various games scenes
- Create your first 2D game in Godot and publish it to various platforms
Who This Book Is For
Aspiring game developers who may be new to game development, as well as experts exploring the potential of the Godot Engine.
Chapter 2: Getting Started with GodotSub - Topics:* Downloading the Godot engine* Starting a new project * Exploring the Godot interface* Icons and shortcuts
Chapter 3: GDScript in a NutshellSub - Topics:* Keywords, operators, and identifiers* Commenting code* Variables and data types* Functions and method calls* Example code
Chapter 4: Exploring Game PhysicsSub - Topics:* Node-scene architecture* Physics bodies - what are they? * RigidBody2D * StaticBody2D* Collision shapes * Introducing gravity* Try it yourself - Your first game scene
Chapter 5: Adding Game GraphicsSub - Topics: * Creating game objects * Instances of scenes* Importing game assets* Writing a game script* Adding and detecting key presses* Try it yourself - Creating your player Chapter 6: Game Animations Sub - Topics: * Giving life to the player * Player animation * Detecting the floor and ceiling * Adjusting gravity* Try it yourself - Making your player run, jump, and climb
Chapter 7: Building the World Sub -Topics:* Parallax background * Try it yourself - Creating a parallax background* Tilemaps, Tilesets, and the Tile Palette* Painting the game level* Implementing camera-follow* Try it yourself - Designing the game world
Chapter 8: Counting Wins and Losses Sub - Topics: * Coin-collection * Deleting in-game objects * Using signals * Creating enemies* Try it yourself - Adding rewards and enemies* Game scene change* Try it yourself - Creating the game over scene
Chapter 9: Game GUISub - Topics:* The title screen * Buttons* Adding music and sound effects
Chapter 10: Publishing your GameSub - Topics: * Exporting the game to various platforms* Monetization * Introducing game updates* What next?
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Apress |
Auteur(s) | Maithili Dhule |
Parution | 17/12/2021 |
Nb. de pages | 366 |
EAN13 | 9781484274545 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse