From 03072ef67af0623758a660e2cd3fb5e153133efa Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 24 May 2023 08:09:03 -0400 Subject: Update chickadee manual. --- manuals/chickadee/Invoking-chickadee-play.html | 50 +++++++++++++++----------- 1 file changed, 29 insertions(+), 21 deletions(-) (limited to 'manuals/chickadee/Invoking-chickadee-play.html') diff --git a/manuals/chickadee/Invoking-chickadee-play.html b/manuals/chickadee/Invoking-chickadee-play.html index 2841c18..786626a 100644 --- a/manuals/chickadee/Invoking-chickadee-play.html +++ b/manuals/chickadee/Invoking-chickadee-play.html @@ -1,6 +1,6 @@ - - + --> + - + Invoking chickadee play (The Chickadee Game Toolkit) - - - - - - - - - - - + + + + + + + + + + + - + @@ -84,7 +84,7 @@ ul.no-bullet {list-style: none}

Next: , Up: Command Line Interface   [Contents][Index]

-
+

3.1 Invoking chickadee play

The chickadee play command is used to open a window and run @@ -166,6 +166,14 @@ controlled via the following options:

Update the game n times per second.

+
--clear-color=color
+
-c color
+
+

Set the screen clear color to color, a hex code in the format +#RRGGBB. For example, to set the clear color to black, pass +--clear-color=#000000. +

+
--repl

Launch a REPL in the terminal. This will allow the game environment @@ -206,7 +214,7 @@ Here’s what a “hello, world” Chickadee program looks like in W

define : draw alpha
-  draw-text "Hello, world!" : vec2 260.0 240.0
+  draw-text "Hello, world!" : vec2 260.0 240.0
 

Assuming the above code is saved to a hello.w file, @@ -219,7 +227,7 @@ Here’s what a “hello, world” Chickadee program looks like in W

-
+

Next: , Up: Command Line Interface   [Contents][Index]

-- cgit v1.2.3