aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--background.lua16
-rw-r--r--draw.lua1
-rw-r--r--pico-bhell.p86
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
diff --git a/draw.lua b/draw.lua
index 01598a3..8bd2e3f 100644
--- a/draw.lua
+++ b/draw.lua
@@ -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