]> git.lizzy.rs Git - nothing.git/commitdiff
(#396) Improve level
authorrexim <reximkut@gmail.com>
Sun, 4 Nov 2018 18:05:42 +0000 (01:05 +0700)
committerrexim <reximkut@gmail.com>
Sun, 4 Nov 2018 18:05:42 +0000 (01:05 +0700)
levels/level-01.svg
levels/level-01.txt
levels/script43.lisp
levels/script44.lisp [new file with mode: 0644]

index ec94dd3381925f1e2565e0bbad21635420b8a76c..5914916a5e9513b9e9c42002480ca2e9ac10b79f 100644 (file)
@@ -25,9 +25,9 @@
      borderopacity="1.0"
      inkscape:pageopacity="0.0"
      inkscape:pageshadow="2"
-     inkscape:zoom="0.125"
-     inkscape:cx="4979.9075"
-     inkscape:cy="3083.2188"
+     inkscape:zoom="0.25"
+     inkscape:cx="6708.9238"
+     inkscape:cy="3185.3802"
      inkscape:document-units="mm"
      inkscape:current-layer="svg4541"
      showgrid="false"
      height="647.5036"
      x="2409.0159"
      y="-321.88171" />
+  <rect
+     style="fill:#ccff00;fill-opacity:1;stroke:none;stroke-width:0.12863588"
+     id="script44"
+     width="74.083344"
+     height="899.58337"
+     x="2185.4583"
+     y="-1044.4375"
+     inkscape:label="#rect44">
+    <title
+       id="title45-6">script44.lisp</title>
+  </rect>
   <rect
      style="fill:#483737;fill-opacity:1;stroke:none;stroke-width:0.26458332"
      id="rect5109-3-5-3-6"
        y="-279.0629"
        style="fill:#fffda5;fill-opacity:1;stroke-width:0.62949532px">Double Jump</tspan></text>
   <rect
-     style="fill:#ccff00;fill-opacity:1;stroke:none;stroke-width:0.26458332"
+     style="fill:#ccff00;fill-opacity:1;stroke:none;stroke-width:0.11723439"
      id="script43"
-     width="656.16669"
-     height="429.68332"
-     x="912.28333"
-     y="-892.56665"
+     width="74.083344"
+     height="747.18329"
+     x="1673.0083"
+     y="-1055.1857"
      inkscape:label="#rect43">
     <title
        id="title45">script43.lisp</title>
index 410bb7a8a393a985c474a99576320ed4e02e2d05..4a85234be40e1073b5d5f4d9b490b55c253a71f6 100644 (file)
@@ -39,8 +39,16 @@ WASD to move
 SPACE to Jump
 950.9303 -279.0629 fffda5
 Double Jump
-1
-912.28333 -892.56665 656.16669 429.68332
 2
-(set on-enter (lambda ()))
+2185.4583 -1044.4375 74.083344 899.58337
+4
+(set on-enter
+     (lambda ()
+       (rect-apply-force "box-1-3" '(-20000 . -50000))))
+(set on-leave (lambda ()))
+1673.0083 -1055.1857 74.083344 747.18329
+4
+(set on-enter
+     (lambda ()
+       (rect-apply-force "box-1-3" '(20000 . -50000))))
 (set on-leave (lambda ()))
index 87ddef61d7fc33d7804b0646d8b776868a671406..7b13c0e8e8fae1df3a2c2d48b94ebd5fd52d1d0b 100644 (file)
@@ -1,2 +1,4 @@
-(set on-enter (lambda ()))
+(set on-enter
+     (lambda ()
+       (rect-apply-force "box-1-3" '(20000 . -50000))))
 (set on-leave (lambda ()))
diff --git a/levels/script44.lisp b/levels/script44.lisp
new file mode 100644 (file)
index 0000000..21dd6d7
--- /dev/null
@@ -0,0 +1,4 @@
+(set on-enter
+     (lambda ()
+       (rect-apply-force "box-1-3" '(-20000 . -50000))))
+(set on-leave (lambda ()))