]> Dogcows Code - chaz/carfire/blobdiff - CarFire/leveleditor/sandbox.ini
adding initial level editor files
[chaz/carfire] / CarFire / leveleditor / sandbox.ini
diff --git a/CarFire/leveleditor/sandbox.ini b/CarFire/leveleditor/sandbox.ini
new file mode 100644 (file)
index 0000000..ffaa6a6
--- /dev/null
@@ -0,0 +1,55 @@
+; Comments can be made with a semicolon as the first character of a line.
+; Blank lines are also ignored.
+; This is my sandbox level I will use to test against while building the
+; level-loading code.
+
+[metadata]
+       author = Chaz McGarvey
+       levelname = Sandbox
+    type = Campaign
+       dimensions = [80,21]
+    tileset = FuturisticBuilding
+    numplayers = <1-4>
+
+[A]
+    entity = SaberMonster
+       path = [1,1] [5,6] wait(5) [45,2]
+       loop = true
+[B]
+       condition = has(key)
+       event = wait(2) remove([2,6]) remove([2,7])
+
+; Function ideas:
+; has(entity)           Player has given entity in his inventory.
+; wait(seconds)         Pause for some number of seconds.
+; remove(entity)        Remove an entity from the game.
+; remove(coord)         Remove whatever is at the given coordinates.
+; create(entity, coord) Create an entity at some location
+
+[maptable]
++------------------------------------------------------------------------------+
+|                                                                              |
+| 1                                                                            |
+|                                                                              |
+| 2                +----                                                       |
+|                  |                                                           |
+| 3                |                                                           |
+|                  |                                                           |
+| 4                |                                                           |
+|                  |                                                           |
++-------------+----+                                                           |
+|             |                                                                |
+|             |                                                                |
+|             |                                                                |
+|             |                                                                |
+|     +-------+                                                                |
+|                                                                              |
+|                                                                              |
+|                                                                              |
+|                                                                              |
++------------------------------------------------------------------------------+
+
+; Character representations:
+; [-+|]     Place wall segments.
+; [1-4]     Identify the player starting positions.
+; [A-Za-z]  Place a defined game entity.
This page took 0.020351 seconds and 4 git commands to generate.