diff --git a/forest/body.png b/forest/body.png new file mode 100644 index 0000000..5a07456 Binary files /dev/null and b/forest/body.png differ diff --git a/forest/bow.wav b/forest/bow.wav new file mode 100644 index 0000000..c16c963 Binary files /dev/null and b/forest/bow.wav differ diff --git a/forest/dead.wav b/forest/dead.wav new file mode 100644 index 0000000..28e1d97 Binary files /dev/null and b/forest/dead.wav differ diff --git a/forest/forest.fasl b/forest/forest.fasl index ef32463..65a4895 100644 Binary files a/forest/forest.fasl and b/forest/forest.fasl differ diff --git a/forest/forest.lisp b/forest/forest.lisp index 89bdb45..4f27f6e 100644 --- a/forest/forest.lisp +++ b/forest/forest.lisp @@ -39,6 +39,56 @@ (xe2:set-timer-interval 1) (xe2:enable-held-keys 1 3))) +;;; Text overlay balloons + +(defcell balloon + (categories :initform '(:drawn :actor)) + text timeout + (stroke-color :initform ".white") + (background-color :initform ".gray40")) + +(define-method initialize balloon (&key text (stroke-color ".white") (background-color ".blue") + (style :balloon) (timeout nil)) + (setf text) + (setf stroke-color) + (setf background-color) + (setf