From: Brendan Hansen Date: Thu, 6 May 2021 13:48:25 +0000 (-0500) Subject: added docs/ X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=ff41f52826f090d7277d6a52764b91b4edbae734;p=tower.git added docs/ --- 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(); }