aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Stevens <nilix@nilfm.cc>2019-03-05 16:54:21 -0800
committerDerek Stevens <nilix@nilfm.cc>2019-03-05 16:54:21 -0800
commit1c26ee6a82e614307d97cfb4006e0aff6e49b491 (patch)
tree63d9bcd130f11b0e66e5f19171cc560d97fc200e
parenta729b0459bfdf971a296989677f1fb6ad10a6657 (diff)
more worldbuilding script
-rw-r--r--mapdata/1.txt7
-rw-r--r--sram2
2 files changed, 8 insertions, 1 deletions
diff --git a/mapdata/1.txt b/mapdata/1.txt
index a84c4ce..cfd3907 100644
--- a/mapdata/1.txt
+++ b/mapdata/1.txt
@@ -1,15 +1,22 @@
mkRoom: slot 0, sprite assets/img/backgrounds/blueroom.png, spd 10
mkRoom: slot 1, sprite assets/img/backgrounds/darkroom.png, spd 4
+
addTrigger: room 1, id 0, type 1, x 12, y 22, w 16, h 16
+
mkTextBox: slot 0, portrait assets/img/kmage.gif
addText: slot 0, We have made a dynamic text box!
addText: slot 0, Go figure, huh?
+
mkKaos: slot 0, class M, player, xSpd 0, ySpd 0
mkKaos: slot 1, class C, textbox 0
chainKaos: room 1, trigger 0, kaos 0
chainKaos: room 1, trigger 0, kaos 1
+
addWarp: room 0, x 0, y 0, w 320, h 8, dest 1,1, dX 160, dY 164
addWarp: room 1, x 0, y 172, w 320, h 8, dest 1,0, dX 160, dY 16
+
addPerson: room 1, sprite assets/img/characters/kmage.png, x 20, y 30
+
addObstruction: room 1, x 10, y 16, w 20, h 20
+
addImg: room 0, x 64, y 64, w 22, h 55, sprite assets/img/objects/floatingChips.png, frames 4, dual 1, alpha 255
diff --git a/sram b/sram
index 40f8c3a..bb38ae3 100644
--- a/sram
+++ b/sram
@@ -1 +1 @@
-1 0 198 136 2 \ No newline at end of file
+1 0 102 102 0 \ No newline at end of file