summaryrefslogtreecommitdiff
path: root/maps/lvl1
diff options
context:
space:
mode:
authorSteph Enders <smenders@gmail.com>2022-06-15 23:36:43 -0400
committerSteph Enders <smenders@gmail.com>2022-06-15 23:36:43 -0400
commiteaaf57114cfb74c29f1b0c4e9786bed6d225225c (patch)
tree8f4946942a9f93f2bba8b1c4c39045e8ee02811d /maps/lvl1
Initial setup commit
This setups up the project for messing around with C++ and Lua bindings. So far this project just prints the defined dng map and lets you move the character around. What this fails to do is actually provide any reason to use Lua at the moment. So I need to figure out some way of enabling logic on the processing side of things.
Diffstat (limited to 'maps/lvl1')
-rw-r--r--maps/lvl1/dng.map10
-rw-r--r--maps/lvl1/proc.lua4
2 files changed, 14 insertions, 0 deletions
diff --git a/maps/lvl1/dng.map b/maps/lvl1/dng.map
new file mode 100644
index 0000000..fb9ceb1
--- /dev/null
+++ b/maps/lvl1/dng.map
@@ -0,0 +1,10 @@
+w w w w w w w w w w
+w 0 0 0 0 0 0 0 0 w
+w 0 w w 0 w w 0 0 w
+w p 0 0 0 e 0 w 0 w
+w 0 w w w 0 w w 0 w
+w 0 w w w 0 w w w w
+w 0 w t w 0 0 0 0 w
+w 0 w 0 w w w w 0 w
+w 0 0 0 w 0 0 0 0 w
+w w w w w w w w w w
diff --git a/maps/lvl1/proc.lua b/maps/lvl1/proc.lua
new file mode 100644
index 0000000..fec9ed5
--- /dev/null
+++ b/maps/lvl1/proc.lua
@@ -0,0 +1,4 @@
+require "include.constants";
+
+function onKeyPress(key)
+end \ No newline at end of file