Explorer || Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (kostüm2 v)\n\nwhen I receive [intro finish v]\nswitch backdrop to (kostüm1 v)\n\nwhen flag clicked\nforever\n    play sound [Spirit Final Ver v] until done\nend\n\n@Player\n\nwhen I receive [start v]\nswitch costume to (kostüm2 v)\npoint in direction (90)\nset rotation style [left-right v]\nshow\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (1)\n    end\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\n            if <(x) > [0]> then\n                set [x v] to [-10]\n            else\n                set [x v] to [10]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching (platformer v)?> or <touching (helper v)?>> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <<touching (platformer v)?> or <touching (helper v)?>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<touching (enemy v)?> or <<touching (arrows 1 v)?> or <<touching (arrows 2 v)?> or <<touching (saw v)?> or <<<touching (spikes v)?> or <touching (traps v)?>> or <touching (traps2 v)?>>>>>> then\n        broadcast (Death v) and wait\n        go to x: (-217) y: (42)\n        point in direction (90)\n        set rotation style [left-right v]\n        broadcast (Reset the moving variables v)\n        clear graphic effects\n    end\n    if <(x position) > [222]> then\n        hide\n        broadcast (Levelübergang v) and wait\n        go to x: (-214) y: (42)\n        broadcast (Reset the moving variables v)\n        show\n    end\nend\n\nwhen I receive [reset the moving variables v]\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\n\nforever\n    if <(x position) > [222]> then\n        wait (1) seconds\n        broadcast (Next level v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [222]> then\nend\n\nwhen I receive [death v]\n\nwhen I receive [death v]\n\nif <(direction) = [90]> then\n\nrepeat (10)\n    turn right (15) degrees\nend\n\nturn left (15) degrees\n\nwhen I receive [death v]\nclear graphic effects\nrepeat (17)\n    change [ghost v] effect by (5.8)\nend\n\nwhen flag clicked\ngo to x: (-214) y: (-85)\npoint in direction (90)\n\nwhen I receive [skip v]\nhide\nbroadcast (Levelübergang v) and wait\ngo to x: (-214) y: (42)\nbroadcast (Reset the moving variables v)\nshow\n\nwhen flag clicked\nforever\n    if <<touching (bounce v)?> or <touching (bounce2 v)?>> then\n        set [y v] to [20]\n    end\nend\n\nchange [y v] by (8)\n\nwhen flag clicked\nforever\n    if <touching (speed v)?> then\n        change [x v] by (10)\n    end\n    if <<touching (speed2 v)?> or <<touching (speed3 v)?> or <touching (speed4 v)?>>> then\n        change [x v] by (-10)\n    end\nend\n\n@Platformer\n\nwhen I receive [levelübergang v]\nnext costume\nchange [level v] by (1)\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [level v] to [1]\n\nwhen I receive [intro finish v]\ngo to [front v] layer\ngo [backward v] (5) layers\n\n@Übergang\n\nwhen I receive [levelübergang v]\nhide\n\nwhen flag clicked\nhide\nforever\n    go to [front v] layer\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [level v] to [1]\nforever\n    set drag mode [not draggable v]\n    switch costume to ([costume # v] of [platformer v])\n    go to x: (0) y: (0)\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\n@Thumbnail\n\nwhen I receive [intro finish v]\ngo to x: (0) y: (0)\nclear graphic effects\nset size to (100) %\nshow\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (Start v)\nforever\n    set size to (100) %\n    go to [front v] layer\n    go to x: (0) y: (0)\n    show\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (15502222220000) layers\nend\n\n@Arrows 1\n\ngo to x: (-30) y: (-80)\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (-80) y: (-80)\n    glide (1) secs to x: (-45) y: (-80)\n    glide (1) secs to x: (-80) y: (-80)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nswitch costume to (kostüm1 v)\nwait (0.5) seconds\n\nwait (1.5) seconds\n\nchange x by (-5)\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\n@Skip\n\nwhen flag clicked\ngo to x: (181) y: (-140)\npoint in direction (75)\nforever\n    repeat (25)\n        turn right (1) degrees\n    end\n    repeat (25)\n        turn left (1) degrees\n    end\nend\n\nwhen flag clicked\nshow\nset size to (100) %\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (100) %\n        repeat (20)\n            change size by (0.5)\n        end\n        repeat (20)\n            change size by (-0.5)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Skip v)\n\nwhen flag clicked\nhide\ngo to [front v] layer\nforever\n    switch costume to ([costume # v] of [platformer v])\nend\n\nwhen I receive [intro finish v]\nshow\n\nwhen flag clicked\nwait until <([costume # v] of [platformer v]) = [23]>\nhide\n\n@Deko\n\nwhen flag clicked\nswitch costume to (level 1 v)\nset [level v] to [1]\nforever\n    switch costume to ([costume # v] of [platformer v])\n    go to x: (0) y: (0)\n    go to [back v] layer\nend\n\n@Arrows 2\n\ngo to x: (-30) y: (-80)\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to x: (80) y: (-80)\n    glide (1) secs to x: (45) y: (-80)\n    glide (1) secs to x: (80) y: (-80)\nend\n\nwhen flag clicked\nforever\n    switch costume to (kostüm2 v)\nend\n\nswitch costume to (kostüm1 v)\nwait (0.5) seconds\n\nwait (1.5) seconds\n\nchange x by (-5)\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [5]> then\n        show\n    else\n        hide\n    end\nend\n\n@Intro\n\nwhen flag clicked\ngo to [front v] layer\npoint in direction ((([sin v] of ((timer) * (100)) ) * (12)) + (90))\nhide\nset [größe v] to [0]\ngo to x: (0) y: (0)\nset size to (0) %\nwait (0.3) seconds\nshow\nrepeat (10)\n    change size by (Größe)\n    change [größe v] by (2)\nend\nrepeat (100)\n    point in direction ((([sin v] of ((timer) * (100)) ) * (12)) + (90))\n    set size to ((([sin v] of ((timer) * (200)) ) * (10)) + (93)) %\n    set y to ((([sin v] of ((timer) * (500)) ) * (15)) + (0))\nend\nrepeat (10)\n    change size by (-10)\nend\nhide\nbroadcast (Intro finish v)\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    wait until <not <mouse down?>>\n    wait until <mouse down?>\n    stop [other scripts in sprite v]\n    repeat (10)\n        go to [front v] layer\n        go [forward v] (100000) layers\n        change size by (-10)\n    end\n    go to [front v] layer\n    go [forward v] (100000) layers\n    hide\n    broadcast (Intro finish v)\n    stop [this script v]\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [forward v] (100000) layers\nend\n\n@Intro2\n\nwhen flag clicked\nclear graphic effects\ngo to [front v] layer\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nshow\nforever\n    go to [front v] layer\n    go [backward v] (4) layers\nend\n\nwhen I receive [intro finish v]\nrepeat (25)\n    change [ghost v] effect by (4)\nend\nhide\n\n@Bounce\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [12]> then\n        go to x: (-19) y: (-76)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    wait until <touching (player v)?>\n    repeat (5)\n        next costume\n        wait (0.05) seconds\n    end\nend\n\n@Traps\n\nwhen flag clicked\ngo to x: (36) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\ngo to x: (36) y: (35)\nforever\n    glide (1) secs to x: (36) y: (0)\n    glide (1) secs to x: (36) y: (35)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [9]> then\n        show\n    else\n        hide\n    end\nend\n\n@Bounce2\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [13]> then\n        go to x: (-175) y: (-76)\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    switch costume to (costume1 v)\n    wait until <touching (player v)?>\n    repeat (5)\n        next costume\n        wait (0.05) seconds\n    end\nend\n\n@Speed\n\nwhen flag clicked\nforever\n    set size to (40) %\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [15]> then\n        show\n        go to x: (9) y: (-77)\n    else\n        if <([costume # v] of [platformer v]) = [16]> then\n            show\n            go to x: (-40) y: (-77)\n        else\n            hide\n        end\n    end\nend\n\n@Speed2\n\nwhen flag clicked\nforever\n    set size to (40) %\n    go to [back v] layer\n    if <<([costume # v] of [platformer v]) = [16]> or <([costume # v] of [platformer v]) = [18]>> then\n        show\n        go to x: (55) y: (-77)\n    else\n        hide\n    end\nend\n\n@Speed3\n\nwhen flag clicked\nforever\n    set size to (40) %\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [18]> then\n        show\n        go to x: (-74) y: (-77)\n    else\n        hide\n    end\nend\n\n@Speed4\n\nwhen flag clicked\nforever\n    set size to (40) %\n    go to [back v] layer\n    if <([costume # v] of [platformer v]) = [18]> then\n        show\n        go to x: (159) y: (-77)\n    else\n        hide\n    end\nend\n\n@Saw\n\nwhen flag clicked\ngo to x: (-34) y: (-104)\nforever\n    if <([costume # v] of [platformer v]) = [20]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    set [speedofsaw v] to [25]\n    repeat (40)\n        set [speedofsaw v] to ((speedofsaw) * (0.9))\n    end\n    repeat (40)\n        set [speedofsaw v] to ((speedofsaw) * (-0.9))\n    end\nend\n\nchange [speedofsaw v] by (1)\n\nwhen flag clicked\nforever\n    turn right (speedofsaw) degrees\nend\n\n@Traps2\n\nwhen flag clicked\ngo to x: (10) y: (28)\nforever\n    glide (1) secs to x: (10) y: (100)\n    glide (1) secs to x: (10) y: (28)\nend\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [21]> then\n        show\n    else\n        hide\n    end\nend\n\n@Enemy\n\nwhen flag clicked\nforever\n    if <([costume # v] of [platformer v]) = [22]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset rotation style [left-right v]\ngo to x: (160) y: (-86)\npoint in direction (-90)\nforever\n    glide (2) secs to x: (-160) y: (-86)\n    point in direction (90)\n    glide (2) secs to x: (160) y: (-86)\n    point in direction (-90)\nend\n\n
Control with the arrow keys.\nAll levels are possible. \nDon't touch the spikes, the saws, the crusher and the enemys