diff options
| author | Ribbon <ambiguousmachine@gmail.com> | 2022-02-02 16:22:08 -0800 |
|---|---|---|
| committer | Ribbon <ambiguousmachine@gmail.com> | 2022-02-02 16:22:08 -0800 |
| commit | 412845549a7ce09a4cd828113625fcb928c52be0 (patch) | |
| tree | c4bea95a41435e9282c70b8674baf9fe267a4c75 | |
| parent | 0dc11e3e4315cbbfcaec75950a7c106f3b7d73eb (diff) | |
Added background.lua, updated draw.lua
| -rw-r--r-- | background.lua | 16 | ||||
| -rw-r--r-- | draw.lua | 1 | ||||
| -rw-r--r-- | pico-bhell.p8 | 6 |
3 files changed, 19 insertions, 4 deletions
diff --git a/background.lua b/background.lua new file mode 100644 index 0000000..48a2f57 --- /dev/null +++ b/background.lua @@ -0,0 +1,16 @@ +circfill(6,6,4,8) +circfill(12,12,4,2) +circfill(32,32,4,4) +circfill(64,64,4,6) + + + +circfill(6,12,4,8) +circfill(12,18,4,2) +circfill(32,38,4,4) +circfill(64,66,4,6) + + + +circfill(-t()*100%256-64,145,64,2) +circfill(-t()*100%230-64,160,80,2)
\ No newline at end of file @@ -1,3 +1,2 @@ -cls(0) drawobjs() print(#obj)
\ No newline at end of file diff --git a/pico-bhell.p8 b/pico-bhell.p8 index 91e8116..c227e30 100644 --- a/pico-bhell.p8 +++ b/pico-bhell.p8 @@ -3,6 +3,7 @@ version 34 __lua__ #include objects.lua #include players.lua +#include enemies.lua #include bullets.lua function _update60() @@ -10,9 +11,8 @@ function _update60() end function _draw() - -circfill(64,64,32,4) - +cls(0) +#include background.lua #include draw.lua end |
