From ff41f52826f090d7277d6a52764b91b4edbae734 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Thu, 6 May 2021 08:48:25 -0500 Subject: [PATCH] added docs/ --- docs/tower_defense | 17 +++++++++++++++++ src/tower.onyx | 1 + 2 files changed, 18 insertions(+) create mode 100644 docs/tower_defense diff --git a/docs/tower_defense b/docs/tower_defense new file mode 100644 index 0000000..731316d --- /dev/null +++ b/docs/tower_defense @@ -0,0 +1,17 @@ +Tower Defense with Programmable Robots +-------------------------------------- + +Unlock things such as: + - Sensors for enemies + * Distance + * Health + * etc + + - Movement abilities + + - Weapons / Attacks + + +Programming will be on a SCRATCH like iterface (i.e. no typing the code) +Connect logic blocks and sensors +More like FRP, but not because no one knows what that is diff --git a/src/tower.onyx b/src/tower.onyx index 7f2ed09..b77f78e 100644 --- a/src/tower.onyx +++ b/src/tower.onyx @@ -40,6 +40,7 @@ draw :: () { gl.clear(gl.COLOR_BUFFER_BIT); gfx.quad(.{ 0, 0 }, .{ 400, 400 }, color=.{ 1, 0, 1 }); + gfx.quad(.{ 20, 0 }, .{ 400, 400 }, color=.{ 1, 1, 1 }); gfx.flush(); } -- 2.25.1