This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
script [2017/10/20 14:30] – justin | script [2020/05/04 08:42] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | A **script** is a resource type that is used to trigger various events during your game or to manipulate and evaluate data. They can be triggered by various methods like the player interacting with an object or stepping onto a tile, or from within a dialogue to invoke cutscene events. Scripts are created visually in the node-based [[Script Editor]] or from source code using the [[Quick Script Builder]] | + | A **script** is a resource type that is used to trigger various events during your game or to manipulate and evaluate data. They can be triggered by various methods like the player interacting with an [[object]] or stepping onto a [[tile]], or from within a [[dialogue]] to invoke cutscene events. Scripts are created visually in the node-based [[Script Editor]] or, in certain situations, |
**Examples: | **Examples: | ||
- | * asda | + | * Playing an " |
- | * asdasd | + | * Initiating a cutscene or a [[battle]] when the player steps onto a specific [[tile]]. |
+ | * Moving the camera to focus on a [[character]] as they speak during some [[dialogue]]. | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | Each game requires at least one script, specifically the [[startup script]]. This script is set in the [[Game Configuration]] and instructs the game what to do when it first launches, for example loading a [[map]] | + | Each game requires at least one script, specifically the [[startup script]]. This script is set in the [[Game Configuration]] and instructs the game what to do when it first launches, for example loading a [[map]] |
</ | </ | ||