diff --git a/examples/tasks_and_graphics.claro b/examples/tasks_and_graphics.claro new file mode 100644 index 0000000..8bbd6a4 --- /dev/null +++ b/examples/tasks_and_graphics.claro @@ -0,0 +1,15 @@ +SAY "Task and graphics starter demo" + +START TASK helloTask + SAY "This task ran." +END + +WAIT TASK helloTask + +OPEN WINDOW "Claro Game" WIDTH 640 HEIGHT 360 +CLEAR SCREEN +DRAW TEXT "Hello from Claro graphics" AT 20 20 +UPDATE SCREEN +CLOSE WINDOW + +SAY "Graphics commands are accepted in v1.10.26."