Godot Engine Game Development Projects
Chris Bradfield更新时间:2021-06-18 18:52:07
最新章节:Leave a review - let other readers know what you think封面
版权信息
Dedication
www.packtpub.com
Why subscribe?
PacktPub.com
Foreword
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Introduction
General advice
What is a game engine?
What is Godot?
Downloading Godot
Alternate installation methods
Overview of the Godot UI
Project Manager
Choosing filenames
Editor window
About nodes and scenes
Scripting in Godot
About GDScript
Summary
Coin Dash
Project setup
Vectors and 2D coordinate systems
Vectors
Pixel rendering
Part 1 – Player scene
Creating the scene
Sprite animation
Collision shape
Scripting the Player
Moving the Player
About delta
Choosing animations
Starting and Ending the Player's Movement
Preparing for collisions
Part 2 – Coin scene
Node setup
Using groups
Script
Part 3 – Main scene
Node setup
Main script
Initializing
Starting a new game
Checking for remaining coins
Part 4 – User Interface
Node setup
Anchors and margins
Message label
Score and time display
Containers
Updating UI via GDScript
Using buttons
Game over
Adding the HUD to Main
Part 5 – Finishing up
Visual effects
What is a tween?
Sound
Powerups
Coin animation
Obstacles
Summary
Escape the Maze
Project setup
Project organization
Inheritance
Character scene
Animations
Collision detection
Character script
Player scene
Player script
Enemy scene
Optional – turn-based movement
Creating the level
Items
TileSets
Creating a TileSet
TileMaps
Level script
Adding more levels
Game flow
Start and end screens
Globals
Global script
Score
Saving the High Score
Reading and writing files
Finishing touches
Death animation
Sound effects
Summary
Space Rocks
Project setup
Rigid body physics
Player ship
Body setup and physics
State machines
Controls
Screen wrap
Shooting
Bullet scene
Firing bullets
Rocks
Scene setup
Variable size
Instancing
Exploding rocks
Explosion scene
Adding to Rock
Spawning smaller rocks
UI
Layout
UI functions
Main scene code
Player code
Game over
Detecting collisions between physics bodies
Pausing the game
Enemies
Following a path
Enemy scene
Moving the Enemy
Spawning enemies
Enemy shooting and collisions
Additional features
Sound/music
Particles
Enemy trail
Player shield
Summary
Jungle Jump (Platformer)
Project setup
Introducing kinematic bodies
Collision response
move_and_collide
move_and_slide
Player scene
Collision Layer/Mask
Sprite
Collision shape
Shapes
Animations
Finishing up the scene tree
Player states
Player script
Player movement
Testing the moves
Player health
Collectible items
Collectible scene
Collectible script
Designing the level
TileSet configuration
Base-level setup
Designing the first level
Scrolling background
Dangerous objects
About slide collisions
Enemies
Scene setup
Script
Damaging the enemy
HUD
Scene setup
Script
Attaching the HUD
Title screen
Scene setup
Main scene
Level transitions
Door scene
Finishing touches
Sound effects
Infinite falling
Double jump
Dust particles
Crouching state
Climbing ladders
Player code
Level code
Moving platforms
Summary
3D Minigolf
Introduction to 3D
Orienting in 3D space
Godot's 3D editor
Adding 3D objects
Global versus Local Space
Transforms
Transforms in code
Meshes
Importing meshes
Primitives
Multiple meshes
Cameras
Project setup
Creating the course
GridMaps
Making a MeshLibrary
Drawing the course
WorldEnvironment
Finishing the scene
Ball
Testing the ball
Improving collisions
UI
Aiming arrow
UI display
Scripts
UI
Main
Ball
Hole
Testing it out
Improving aiming – option 1
Improving aiming – option 2
Camera improvements
Multiple cameras
Orbiting camera
Creating a gimbal
Tracking camera
Visual effects
SpatialMaterials
Environment options
Lighting
Summary
Additional Topics
Using Godot's documentation
Reading the API documentation
Exporting projects
Getting the export templates
Export presets
Exporting
Example – Coin Dash for Android
Modifying the game
Preparing your system
Exporting
Shaders
Creating a shader
Learning more
Using other languages
C#
VisualScript
Native code – GDNative
Language bindings
Asset library
Contributing to Godot
Contributing to the engine
Writing documentation
Donations
Getting help – community resources
GitHub
Godot Q and A
Discord / Forum
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
更新时间:2021-06-18 18:52:07