Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Level02 finished, again missing key mechanic and stuff. That'll come …

…when it comes.
  • Loading branch information...
commit bd7a576dbb6d2b6295abc052a73f0cc421aa7f21 1 parent 5d6eb6f
Josh Hofing authored June 18, 2012

Showing 1 changed file with 182 additions and 0 deletions. Show diff stats Hide diff stats

  1. 182  games/main-game/level02.yaml
182  games/main-game/level02.yaml
... ...
@@ -1,2 +1,184 @@
1 1
 # main-game level 2
2 2
 
  3
+map: |
  4
+
  5
+
  6
+
  7
+                                -----+-------------------------------------------------------------------+----+
  8
+                                   /             s          hhhhh|        \             /    /     /     |     \
  9
+                                  +                         \    |   \     \           /33| /  \  /  \   |  /   \ 
  10
+                                  \    S                     +   |    \     \         / c \     \     \    /     \
  11
+                               +---+                    s    |   |     \ s   \       /----/   +-----------+  s    \
  12
+           +-------+           |n  |                         |ggg|      \     +-----+                      \       +
  13
+          /         \          +---+                         +   |  s    \                                  \     /
  14
+         +          a\            /       s                   \           \                                  |fff/
  15
+         |         a  +-------------------------------------------------------------------------------+      |  +
  16
+         |    +---+        d   s                 s                   s                 s               \    s|   \
  17
+         /   /    |         d          s                    s                         s                 \    |    \
  18
+        /   /     |      +-------+---------------+---------------------------------------------------+   \   +     +
  19
+    +--+   /      |             /                 \             |                 \      s            \   \        |
  20
+    |     /       |            /  /+---------+     \   +-----+  /  +----+-------+  \                   \   \       |
  21
+    | @  /        |     s     /  //           \     \       /  /   |   / \    |  \  +             N     +   +      |
  22
+    +---+         +          /  //  /\         \     \     /          /    /      |ii                   |   |      |
  23
+                   \        /      /  \      s  \     \   +--------------------+ee+   +                 |  s|      +
  24
+                    \      +------+              \     \   s                  /    \ / \  s           s |   |     /
  25
+                     \      \        +------------+     |     +---------+    /      +   +---------------+   |    /
  26
+                      \      \                   /     /      |        /    /          /               /    +   /
  27
+                       \      \     +----+      /     /          /    /    /------+   /    +------    /        /
  28
+                        \      \   /  1c |     /   s /     +----+    /    /   s  /   /    / c2       /    +---+
  29
+                         \      \ /    1 |    /     /     /         /    /    / /   /    /222       /    / 4c /
  30
+                          \      +       |   /     /     /   s     /    /    /     /    /          /    /   4/
  31
+                           \      \     /   /     +-----+         /    /    +-----+    /          /       s /
  32
+                            \   s  \   /   /                     / s  /               /          /---------+
  33
+                             \      \ / s /       +-------------+    +---------------+     s    /
  34
+                              \          /            b                                        /
  35
+                               +--------------------------------------------------------------+
  36
+
  37
+objects:
  38
+    B: #Miniboss
  39
+        name: MiniBoss
  40
+        group: MiniBosses
  41
+        visible: True
  42
+        color: red
  43
+        start:
  44
+            - action: attack
  45
+              target: Player
  46
+        attributes:
  47
+            health: 30
  48
+            defense: 4
  49
+            speed: 2
  50
+            attack: 6
  51
+       
  52
+    M: # boss
  53
+        name: Boss
  54
+        group: Bosses
  55
+        visible: True
  56
+        color: red
  57
+        start:
  58
+            - action: attack
  59
+              target: Player
  60
+        attributes:
  61
+            health: 60
  62
+            defense: 10
  63
+            speed: 4
  64
+            attack: 8
  65
+
  66
+    c: #chest
  67
+        name: Chest
  68
+        group: Chests
  69
+        visible: True
  70
+
  71
+    s: #enemy spawner
  72
+        name: Goblin Spawner
  73
+        group: Goblin Spawners
  74
+        visible: False
  75
+
  76
+    k: # goblin
  77
+        name: Goblin
  78
+        group: Goblins
  79
+        visible: True
  80
+        color: red
  81
+        start:
  82
+            - action: attack
  83
+              target: Player
  84
+        attributes:
  85
+            health: 10
  86
+            defense: 2
  87
+            speed: 1
  88
+            attack: 2
  89
+
  90
+    S: # Boss spawner
  91
+        name: Boss Spawner
  92
+        group: Boss Spawners
  93
+        visible: False
  94
+
  95
+    N: #Miniboss spawner
  96
+        name: MiniBoss Spawner
  97
+        group: MiniBoss Spawners
  98
+        visible: False
  99
+
  100
+triggers:
  101
+    1: #chest 1
  102
+        - action: give
  103
+          actor: chest
  104
+          item: Iron Sword
  105
+          type: weapon
  106
+          attributes:
  107
+               damage: 9
  108
+
  109
+    2: #chest 2
  110
+        - action: give
  111
+          actor: chest
  112
+          item: Bronze Sword
  113
+          type: weapon
  114
+          attributes:
  115
+               damage: 7
  116
+
  117
+    3: #chest 3
  118
+        - action: give
  119
+          actor: chest
  120
+          item: Something Strange
  121
+          type: weapon
  122
+          attributes:
  123
+               damage: 10
  124
+
  125
+    4: #chest 4
  126
+        - action: give
  127
+          actor: chest
  128
+          item: An orange
  129
+          type: weapon
  130
+          attributes:
  131
+               damage: 13
  132
+        - action: script
  133
+          script:
  134
+            - An orange!
  135
+            - The most powerful weapon in the free world!
  136
+            - The gods must smile upon you, O strange one!
  137
+
  138
+    a: #enemy trigger
  139
+        - action: spawn
  140
+          actor: group(Goblin Spawners)
  141
+          target: k 
  142
+
  143
+    b: #enemy trigger
  144
+        - action: spawn
  145
+          actor: group(Goblin Spawners)
  146
+          target: k 
  147
+
  148
+    d: #enemy trigger
  149
+        - action: spawn
  150
+          actor: group(Goblin Spawners)
  151
+          target: k 
  152
+
  153
+    e: #enemy trigger
  154
+        - action: spawn
  155
+          actor: group(Goblin Spawners)
  156
+          target: k 
  157
+    
  158
+    f: #enemy trigger
  159
+        - action: spawn
  160
+          actor: group(Goblin Spawners)
  161
+          target: k 
  162
+
  163
+    g: #enemy trigger
  164
+        - action: spawn
  165
+          actor: group(Goblin Spawners)
  166
+          target: k 
  167
+
  168
+    h: # boss trigger
  169
+        - action: spawn
  170
+          actor: group(Boss Spawners)
  171
+          target: M 
  172
+
  173
+    i: # miniboss trigger
  174
+        - action: spawn
  175
+          actor: group(MiniBoss Spawners)
  176
+          target: B
  177
+
  178
+    n: # next level
  179
+        - action: script
  180
+          script:
  181
+            - Ben hasn't implemented keys and stuff yet, so this is a reminder.
  182
+            - Or maybe it's just a joke so we don't have to write more than one map.
  183
+            - Who can know for sure?
  184
+    

0 notes on commit bd7a576

Please sign in to comment.
Something went wrong with that request. Please try again.