Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Godot Engine Game Development Projects

You're reading from   Godot Engine Game Development Projects Build five cross-platform 2D and 3D games with Godot 3.0

Arrow left icon
Product type Paperback
Published in Jun 2018
Publisher Packt
ISBN-13 9781788831505
Length 298 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chris Bradfield Chris Bradfield
Author Profile Icon Chris Bradfield
Chris Bradfield
Arrow right icon
View More author details
Toc

Creating the course


For the first scene, add a node called Main to serve as your scene's root. This scene will contain the major parts of the game, starting with the course itself. Start by adding a GridMap node to lay out the course.

GridMaps

GridMap is the 3D equivalent of the TileMap node you used in earlier projects. It allows you to use a collection of meshes (contained in a MeshLibrary) and lay them out in a grid to more quickly design an environment. Because it is 3D, you can stack the meshes in any direction, although for this project, you'll stick to the same plane.

Making a MeshLibrary

The res://assets folder contains a pre-generated MeshLibrary for the project, containing all the necessary course parts along with collision shapes. However, if you need to change it or make your own, you'll find the procedure is very similar to how TileSet is created in 2D.

Note

The scene used to create the pre-generated MeshLibrary can also be found in the res://assets folder. Its name is course_tiles_edit1...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images