Halloween - A Platformer
@Stage\n\n@Figur4\n\nwhen flag clicked\nhide\nbroadcast (play v)\nbroadcast (start v)\n\nwhen flag clicked\nclear graphic effects\nhide\nset size to (100) %\nforever\n    repeat (30)\n        change size by (0.3)\n    end\n    repeat (30)\n        change size by (-0.3)\n    end\nend\n\nwhen I receive [dead v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [levelup v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [play v]\nshow\nforever\n    go to (figur2 v)\nend\n\n@Figur2\n\ndefine touching ground\nrepeat until <not <touching (figur3 v)?>>\n    change y by (1)\n    set [y2 v] to [1]\nend\n\nwait until <(end) = [1]>\nset [brightness v] effect to (-100)\nswitch backdrop to (bühnenbild2 v)\nplay sound [Crunch v] until done\nrepeat (10)\n    change [brightness v] effect by (10)\nend\n\nwhen I receive [play v]\nswitch costume to (kostüm1 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-180) y: (-50)\nset [level v] to [1]\nset [x v] to [0]\nset [y2 v] to [0]\npoint in direction (90)\nforever\n    change [y2 v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x v] by (-0.6)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (0.6)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (figur3 v)?> then\n        change y by (1)\n    end\n    if <touching (figur3 v)?> then\n        change y by (1)\n    end\n    if <touching (figur3 v)?> then\n        change y by (1)\n    end\n    if <touching (figur3 v)?> then\n        change y by (1)\n    end\n    if <touching (figur3 v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y2 v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-5]\n            else\n                set [x v] to [5]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y2)\n    if <touching (figur3 v)?> then\n        change y by ((0) - (y2))\n        set [y2 v] to [1]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (figur3 v)?>> then\n        set [y2 v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y2 v] to [0]\n    end\nend\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <<key (b v) pressed?> or <touching (figur5 v)?>> then\n        go to x: (-180) y: (-50)\n        broadcast (dead v)\n    end\n    if <(x position) > [250]> then\n        go to x: (-180) y: (-50)\n        broadcast (levelup v)\n        change [level v] by (1)\n    end\n    if <(Level) = [15]> then\n        broadcast (end v)\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen flag clicked\nset volume to (100) %\nforever\n    start sound [halloween-background-music-royalty-free-instrumental-music-for-videos v]\n    wait (75) seconds\nend\n\n@Figur1\n\nwhen flag clicked\nclear graphic effects\nhide\nset size to (100) %\nforever\n    repeat (30)\n        change size by (0.3)\n    end\n    repeat (30)\n        change size by (-0.3)\n    end\nend\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\nshow\nwait (2) seconds\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@Figur3\n\nwhen I receive [end v]\nhide\n\ngo to [front v] layer\n\nwhen flag clicked\nhide\n\nwhen I receive [levelup v]\nnext costume\n\nwhen I receive [play v]\nshow\nswitch costume to (01 v)\n\n@Figur5\n\nwhen flag clicked\nhide\n\nwhen I receive [levelup v]\nnext costume\n\nwhen I receive [play v]\nshow\nswitch costume to (01 v)\n\n@Sprite1\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (500)\n\n
Halloween - A Platformer: by @Rolibdan32\n\nHow to play:\n✯Arrow keys for move / mobile friendly\n✯Don't touch spikes!!\n✯Complete all 15 levels 100% possible!\n\nThanks every body for 1k !! Go 1.5k - @Rolibdan32