User Tools

Site Tools


script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
script [2017/10/20 14:30]
justin
script [2017/10/20 14:44] (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]] ​when available.+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, ​from source code using the [[Quick Script Builder]].
  
 **Examples:​** **Examples:​**
-  * asda +  * Playing an "​opening"​ [[animation]] and giving an [[item]] to the player when they click on a treasure chest. 
-  * 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%>
script.txt · Last modified: 2017/10/20 14:44 by justin