changeset 451:0ebdd88028fb

some changes to tunnels
author Adrianna Pińska <adrianna.pinska@gmail.com>
date Sat, 07 Sep 2013 15:15:17 +0200
parents fe6546d07d5e
children 9ae08939fd90
files data/levels/alientunnels source/levels/alientunnels.svg
diffstat 2 files changed, 80 insertions(+), 131 deletions(-) [+]
line wrap: on
line diff
--- a/data/levels/alientunnels	Sat Sep 07 15:12:02 2013 +0200
+++ b/data/levels/alientunnels	Sat Sep 07 15:15:17 2013 +0200
@@ -1,97 +1,70 @@
 base_tile: tiles/alien_tile.png
-enemies: []
-game_objects:
+enemies:
 - args:
-  - [350, 3450]
-  - alientunnels
-  - [300, 3000]
-  - 135
-  classname: Door
-  name: entrance
-- args:
-  - [1050, 3450]
-  - alientunnels
-  - [1150, 3550]
-  - 45
-  classname: Door
-  name: 1to2
+  - [1200, 2200]
+  - [1700, 2000]
+  classname: PatrollingAlien
+  name: alien_1_1
 - args:
-  - [1150, 3550]
-  - alientunnels
-  - [1050, 3450]
-  - 45
-  classname: Door
-  name: 2to1
-- args:
-  - [1850, 3550]
-  - alientunnels
-  - [1950, 3450]
-  - 135
-  classname: Door
-  name: 2to3
+  - [1300, 2100]
+  - [1500, 1900]
+  classname: PatrollingAlien
+  name: alien_1_2
 - args:
-  - [1950, 3450]
-  - alientunnels
-  - [1850, 3550]
-  - 135
-  classname: Door
-  name: 3to2
-- args:
-  - [1950, 2750]
-  - alientunnels
-  - [1850, 2650]
-  - 45
-  classname: Door
-  name: 3to4
+  - [1200, 2300]
+  - [1200, 2100]
+  classname: PatrollingAlien
+  name: alien_1_3
+game_objects:
 - args:
   - [1850, 2650]
   - alientunnels
-  - [1950, 2750]
+  - [1500, 2500]
   - 45
   classname: Door
-  name: 4to3
+  name: entrance
 - args:
   - [1850, 1950]
   - alientunnels
   - [1950, 1850]
   - 135
   classname: Door
-  name: 4to5
+  name: 1to2
 - args:
   - [1950, 1850]
   - alientunnels
   - [1850, 1950]
   - 135
   classname: Door
-  name: 5to4
+  name: 2to1
 - args:
   - [1950, 1150]
   - alientunnels
   - [1850, 1050]
   - 45
   classname: Door
-  name: 5to6
+  name: 2to3
 - args:
   - [1950, 1150]
   - alientunnels
   - [1850, 1050]
   - 45
   classname: Door
-  name: 6to5
+  name: 3to2
 - args:
   - [1150, 1050]
   - alientunnels
   - [1050, 1150]
   - 135
   classname: Door
-  name: 6to7
+  name: 3to4
 - args:
   - [1050, 1150]
   - alientunnels
   - [1150, 1050]
   - 135
   classname: Door
-  name: 7to6
+  name: 4to3
 - args:
   - [350, 1850]
   - alientunnels
@@ -99,39 +72,21 @@
   - 135
   classname: Door
   name: exit
+- args:
+  - [1392, 2536]
+  - - [1392, 2536]
+    - [1252, 2468]
+    - [1266, 2270]
+    - [1504, 2112]
+    - [1812, 2104]
+    - [1960, 2196]
+    - [1896, 2380]
+    - [1688, 2524]
+  classname: AcidFloor
+  name: acid_1
 lines: []
 polygons:
   1:
-  - [1300, 4400]
-  - [1700, 4400]
-  - [2000, 4100]
-  - [2000, 3700]
-  - [1700, 3400]
-  - [1300, 3400]
-  - [1000, 3700]
-  - [1000, 4100]
-  - [1300, 4400]
-  2:
-  - [500, 3600]
-  - [900, 3600]
-  - [1200, 3300]
-  - [1200, 2900]
-  - [900, 2600]
-  - [500, 2600]
-  - [200, 2900]
-  - [200, 3300]
-  - [500, 3600]
-  3:
-  - [2100, 3600]
-  - [2500, 3600]
-  - [2800, 3300]
-  - [2800, 2900]
-  - [2500, 2600]
-  - [2100, 2600]
-  - [1800, 2900]
-  - [1800, 3300]
-  - [2100, 3600]
-  4:
   - [1300, 2800]
   - [1700, 2800]
   - [2000, 2500]
@@ -141,7 +96,7 @@
   - [1000, 2100]
   - [1000, 2500]
   - [1300, 2800]
-  5:
+  2:
   - [500, 2000]
   - [900, 2000]
   - [1200, 1700]
@@ -151,7 +106,7 @@
   - [200, 1300]
   - [200, 1700]
   - [500, 2000]
-  6:
+  3:
   - [2100, 2000]
   - [2500, 2000]
   - [2800, 1700]
@@ -161,7 +116,7 @@
   - [1800, 1300]
   - [1800, 1700]
   - [2100, 2000]
-  7:
+  4:
   - [1300, 1200]
   - [1700, 1200]
   - [2000, 900]
@@ -171,4 +126,5 @@
   - [1000, 500]
   - [1000, 900]
   - [1300, 1200]
-size: [3000, 4600]
+  6: []
+size: [3000, 3000]
--- a/source/levels/alientunnels.svg	Sat Sep 07 15:12:02 2013 +0200
+++ b/source/levels/alientunnels.svg	Sat Sep 07 15:15:17 2013 +0200
@@ -10,7 +10,7 @@
    xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
    xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
    width="3000"
-   height="4600"
+   height="3000"
    id="svg2"
    version="1.1"
    inkscape:version="0.48.4 r9939"
@@ -24,9 +24,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="0.175"
-     inkscape:cx="1556.0113"
-     inkscape:cy="3201.2529"
+     inkscape:zoom="0.12374369"
+     inkscape:cx="-857.7453"
+     inkscape:cy="2386.4477"
      inkscape:document-units="px"
      inkscape:current-layer="layer1"
      showgrid="true"
@@ -54,7 +54,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title></dc:title>
+        <dc:title />
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -62,48 +62,41 @@
      inkscape:label="Layer 1"
      inkscape:groupmode="layer"
      id="layer1"
-     transform="translate(0,3547.6378)">
-    <path
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 1300,-3347.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
-       id="path2987"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccc" />
-    <path
-       sodipodi:nodetypes="ccccccccc"
-       inkscape:connector-curvature="0"
-       id="path2989"
-       d="m 500,-2547.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
-    <path
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 2100,-2547.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
-       id="path2991"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccc" />
-    <path
-       sodipodi:nodetypes="ccccccccc"
-       inkscape:connector-curvature="0"
-       id="path2993"
-       d="m 1300,-1747.6378 400,0 300,300 5.7143,400 -305.7143,300 -400,0 -300,-300 0,-400 z"
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
-    <path
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 1300,-147.6378 400,0 300,300 -1.4286,401.42857 L 1700,852.3622 l -400,0 -300,-300 0,-400 z"
-       id="path2995"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccc" />
-    <path
-       sodipodi:nodetypes="ccccccccc"
-       inkscape:connector-curvature="0"
-       id="path2997"
-       d="m 500,-947.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
-    <path
-       style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
-       d="m 2100,-947.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
-       id="path2999"
-       inkscape:connector-curvature="0"
-       sodipodi:nodetypes="ccccccccc" />
+     transform="translate(0,1947.6378)">
+    <g
+       id="g5460"
+       transform="translate(0,1600)">
+      <path
+         sodipodi:nodetypes="ccccccccc"
+         inkscape:connector-curvature="0"
+         id="path2987"
+         d="m 1300,-3347.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
+         style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+      <path
+         style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+         d="m 500,-2547.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
+         id="path2989"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="ccccccccc" />
+      <path
+         sodipodi:nodetypes="ccccccccc"
+         inkscape:connector-curvature="0"
+         id="path2991"
+         d="m 2100,-2547.6378 400,0 300,300 0,400 -300,300 -400,0 -300,-300 0,-400 z"
+         style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+      <path
+         style="fill:#ff0000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+         d="m 1300,-1747.6378 400,0 300,300 5.7143,400 -305.7143,300 -400,0 -300,-300 0,-400 z"
+         id="path2993"
+         inkscape:connector-curvature="0"
+         sodipodi:nodetypes="ccccccccc" />
+      <path
+         sodipodi:nodetypes="ccccccccccccc"
+         transform="translate(0,-3547.6378)"
+         inkscape:connector-curvature="0"
+         id="path5458"
+         d="m 400,1500 100,100 100,0 200,-200 0,-100 -100,-100 200,0 100,100 0,200 -300,300 -200,0 -100,-100 z"
+         style="fill:#00ff00;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
   </g>
 </svg>