Skip to content
blikoor edited this page May 9, 2020 · 1 revision

Home>Notes>Part-4

Part-4: Filling the board

Deviations

grid.gd

  1. Create an array named 'possible_pieces' ➨ 'possible_tiles' as indicated in the tutorial.

Summary

Resources
Resources are data containers that can be saved inside scenes or as individual files. Anything Godot saves or loads from disk is a resource. It can be a scene, image, script, texture, mesh, animation, audio, font, translation, etc. They don’t do anything on their own, instead nodes use the data contained in these resources. When the engine loads a resource from disk, it only loads it once. Resources can be loaded while the scene is already running with the load() function or before the scene is running with the preload() function. Read below about background loading of resource.

Terminology

Helper functions
A helper function is a way to reduce complexity within other functions. For example, if you had a computation that needed to be made frequently within other functions, you might make a helper function which returns that computation and embed that function wherever you need it.

More information

Clone this wiki locally