Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “One of the Godot Engine’s Network API core features is the ENetMultiplayerPeer
class.”
A block of code is set as follows:
func _process(delta): server.poll() if server.is_connection_available(): var peer = server.take_connection() var message = JSON.parse_string(peer.get_var()) if "authenticate_credentials" in message: authenticate_player(peer, message) elif "get_authentication_token" in message: get_authentication_token(peer, message)
Bold: Indicates a new term, an important word, or words that you see onscreen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “From there, we first need a server. So, choose one instance and press the ServerButton.”
Tips or important notes
Appear like this.