User Tools

Site Tools


script:reference

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
script:reference [2018-12-15 20:43]
skyjake [See also]
script:reference [2018-12-16 09:22] (current)
skyjake [See also]
Line 8: Line 8:
  
  
-As a scripting language, Doomsday Script serves in many roles, ​including [[scripted_ui|user interface and menu functionality]], ​configuration ​(cf. traditional cvars), high-level game logic (cf. Hexen ACS; XG), and [[ded_2.0|game data definitions]].+As a scripting language, Doomsday Script serves in many roles, ​for instance managing engine ​configuration and controlling ​[[assets:​model#​timelines|3D model asset animation]].
  
 Doomsday Script is not a compiled language and thus is not intended for high-performance or time-critical tasks. Game plugins written in native code should be used for processing-intensive functionality. Doomsday Script is not a compiled language and thus is not intended for high-performance or time-critical tasks. Game plugins written in native code should be used for processing-intensive functionality.
Line 35: Line 35:
   * There are a couple of special assignment operators. Global assignment ('':​=''​) will assign into variables in parent scopes if no local variable with the given name is found. Weak assignment (''?​=''​) will only assign a value if a variable has not yet been created.   * There are a couple of special assignment operators. Global assignment ('':​=''​) will assign into variables in parent scopes if no local variable with the given name is found. Weak assignment (''?​=''​) will only assign a value if a variable has not yet been created.
  
 +===== Built-ins =====
  
 ==== Built-in types ==== ==== Built-in types ====
Line 83: Line 84:
  
 [[script:​walkthrough:​start|Doomsday Script feature walkthrough]] [[script:​walkthrough:​start|Doomsday Script feature walkthrough]]
 +
  
 ===== Standard library modules ===== ===== Standard library modules =====
Line 103: Line 105:
  
  
-===== See also =====+===== Feature status ​=====
  
-  *  ​[[https://github.com/​skyjake/​Doomsday-Engine/​blob/​master/​doomsday/​tests/​test_script/​kitchen_sink.ds|The "​Kitchen Sink" test script]]+Doomsday Script is not yet fully utilized (as of [[version:2.1]]). Upcoming uses include: 
 +  * Backend of the console prompt, console variables and commands. 
 +  * Manipulating level data and game objects.
  
  
 +===== Examples =====
 +
 +  *  [[https://​github.com/​skyjake/​Doomsday-Engine/​blob/​master/​doomsday/​tests/​test_script/​kitchen_sink.ds|The "​Kitchen Sink" test script]]
 +  * [[https://​github.com/​skyjake/​Doomsday-Engine/​blob/​master/​doomsday/​apps/​client/​net.dengine.client.pack/​modules/​controllers.ds|Game controller presets script]]
script/reference.1544899400.txt.gz · Last modified: 2018-12-15 20:43 by skyjake