From f16fed3d50fd3d56deb46a3d4641a81460e389de Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 12 Dec 2018 09:20:10 -0500 Subject: Update Chickadee manual and home page for 0.3.0. Better late than never! --- manuals/chickadee/Scripting.html | 127 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 manuals/chickadee/Scripting.html (limited to 'manuals/chickadee/Scripting.html') diff --git a/manuals/chickadee/Scripting.html b/manuals/chickadee/Scripting.html new file mode 100644 index 0000000..dd82e04 --- /dev/null +++ b/manuals/chickadee/Scripting.html @@ -0,0 +1,127 @@ + + + + + + +Scripting (The Chickadee Game Toolkit) + + + + + + + + + + + + + + + + + + + + +
+

+Previous: , Up: API Reference   [Contents][Index]

+
+
+ +

2.4 Scripting

+ +

Game logic is a web of asynchronous events that are carefully +coordinated to bring the game world to life. In order to make an +enemy follow and attack the player, or move an NPC back and forth in +front of the item shop, or do both at the same time, a scripting +system is a necessity. Chickadee comes with an asynchronous +programming system in the (chickadee scripting) module. +Lightweight, cooperative threads known as “scripts” allow the +programmer to write asynchronous code as if it were synchronous, and +allow many such “threads” to run concurrently. +

+

But before we dig deeper into scripts, let’s discuss the simple act +of scheduling tasks. +

+ + + + + + + + + + + + -- cgit v1.2.3