Book description
Create video game elements using the Godot game engine, gaining practical experience in programming and video game development. The Godot game engine uses a simplified programming language called GDScript, which closely resembles Python. By learning GDScript, you can focus more on learning the basics of programming.
You’ll explore concepts such as variables and data structures variables used to store information about video game objects that can be manipulated using a keyboard or a mouse. You’ll also learn about user interface design, branching statements, and looping statements, enabling you to actively engage in programming and create your own interactive games.
By the end of the book, you’ll have a solid understanding of how video game elements work and how the basic principles of programming work as well. By programming simple video game elements in the Godot game engine, you’ll learn both programming and the principles of 2D video game design.
What You Will Learn
- Understand the basics of programming by creating simple video game elements in the Godot game engine.
- Explore variables and data structures to actively store and modify information about video game objects.
- Gain a deeper understanding of user interface design.
- Master simplified programming languages like GDScript.
Who This Book Is For
Aspiring programmers and game enthusiasts seeking an engaging introduction to programming through video game creation.
Table of contents
- Cover
- Front Matter
- 1. Why Learn Programming with the Godot Game Engine?
- 2. Getting to Know Godot
- 3. Writing Scripts
- 4. Storing Data in Variables
- 5. Mathematical Operations
- 6. Branching Statements
- 7. Looping Statements
- 8. Understanding Arrays
- 9. Understanding Dictionaries
- 10. Functions
- 11. Object-Oriented Programming
- 12. Getting Input from the User
- 13. Shooting Projectiles
- 14. Adding Projectiles to a Player
- 15. Hitting Enemies with Projectiles
- 16. Displaying a User Interface
- 17. Adding Physics
- 18. Playing Audio
- 19. Creating and Using Scenes
- 20. Using Signals
- 21. Creating a Simple Tic-Tac-Toe Game
- Back Matter
Product information
- Title: Programming for Game Design: A Hands-On Guide with Godot
- Author(s):
- Release date: February 2024
- Publisher(s): Apress
- ISBN: 9798868801907
You might also like
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 GDScript by Developing a Game with Godot 4
Learn the Godot 4 game engine and GDScript 2.0 as you build your own game and …
book
Godot Engine Game Development Projects
A project based guides to learn animation, advanced shaders, environments, particle rendering, and networked games with …
book
Game Programming in C++: Creating 3D Games, First Edition
You can program games in many languages, but C++ remains the key language used by many …