summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/dungen
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2020-10-09 23:59:44 -0500
committerepoch <epoch@thebackupbox.net>2020-10-09 23:59:44 -0500
commit19feecae5124e5eb4c8a2f2dfd300e94e59b9d9f (patch)
tree6b3564d100b0a1767772740ace206fa6fe4a7ebb /share/hackvr/examples/dungen
parent0999adf305ad0cc27fb793eb3b230751194e4850 (diff)
downloadhackvr-19feecae5124e5eb4c8a2f2dfd300e94e59b9d9f.tar.gz
hackvr-19feecae5124e5eb4c8a2f2dfd300e94e59b9d9f.zip
little bit of extras to dunexplore
Diffstat (limited to 'share/hackvr/examples/dungen')
-rwxr-xr-xshare/hackvr/examples/dungen/dunexplore.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/share/hackvr/examples/dungen/dunexplore.sh b/share/hackvr/examples/dungen/dunexplore.sh
index 6f71391..6fbd5c3 100755
--- a/share/hackvr/examples/dungen/dunexplore.sh
+++ b/share/hackvr/examples/dungen/dunexplore.sh
@@ -2,7 +2,13 @@
### run me with hackvr_coproc
#the $USER triangle we add first is to give us some sort of avatar to see where the camera is.
#seed=1337
-echo $USER addshape 4 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0
+red=1
+green=2
+blue=4
+echo $USER addshape 6 3 -1 0 -1 0 0 2 1 0 -1 ; echo $USER move 0 2 0
+echo world-x addshape $red 2 0 0 0 1 0 0
+echo world-y addshape $green 2 0 0 0 0 1 0
+echo world-z addshape $blue 2 0 0 0 0 0 1
./dungen $seed | ./dun2hackvr
while read group action target;do
if [ "$action" = "action" ];then