更新时间:2021-06-18 18:52:07
封面
版权信息
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
Main script
Initializing
Starting a new game
Checking for remaining coins
Part 4 – User Interface
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
Escape the Maze
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