Black and White [ A Platformer ]
@Stage\n\nwhen I receive [start  v]\nforever\n    play sound [pop v] until done\nend\n\n@Picture\n\nwhen flag clicked\ngo to x: (36) y: (28)\npoint in direction (90)\nshow\nset [ghost v] effect to (100)\n\n@Intro\n\nwhen flag clicked\nhide\nhide variable [1 v]\n\nwhen flag clicked\nwait (2) seconds\nswitch costume to (logo v)\ncreate clone of (_myself_ v)\nwait (2.3) seconds\nrepeat (19)\n    switch costume to (right v)\n    create clone of (_myself_ v)\n    change [brightness v] effect by (4)\n    wait (0.034) seconds\nend\nwait (.01) seconds\nswitch costume to (name v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    point in direction (90)\n    set size to (100) %\n    clear graphic effects\n    go to x: (0) y: (5)\n    show\n    set [brightness v] effect to (0)\n    set [ghost v] effect to (0)\n    repeat (20)\n        change y by (((1) - (y position)) / (7))\n        change [ghost v] effect by (-6)\n    end\n    set [1 v] to [0]\n    repeat (5)\n        change [1 v] by (1)\n        turn right (1) degrees\n        change size by (1)\n    end\n    set [1 v] to [0]\n    repeat (20)\n        turn right (1) degrees\n        change size by (((60) - (size)) / (10))\n        change y by (1)\n        change [ghost v] effect by (6)\n        change [1 v] by (-1)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [2]> then\n    set size to (100) %\n    show\n    switch costume to (right v)\n    go to x: (500) y: (0)\n    point in direction (-90)\n    repeat (30)\n        change x by (((0) - (x position)) / (6))\n    end\n    delete this clone\nend\n\nwhen flag clicked\nhide variable [2 v]\nwait (1) seconds\nswitch costume to (picture v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [number v]) = [3]> then\n    clear graphic effects\n    switch costume to (name v)\n    set size to (0) %\n    set [pixelate v] effect to (0)\n    go to [front v] layer\n    show\n    set [ghost v] effect to (0)\n    go to x: (-300) y: (-331)\n    point in direction (30)\n    repeat (30)\n        change [ghost v] effect by (-12)\n        change size by (((100) - (size)) / (6))\n        change x by (((0) - (x position)) / (6))\n        change y by (((0) - (x position)) / (6))\n        turn right (((90) - (direction)) / (6)) degrees\n    end\n    repeat (28)\n        turn right (((90) - (direction)) / (5)) degrees\n        change size by (((size) - (101)) / (5))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\ngo [forward v] (55) layers\nif <(costume [number v]) = [4]> then\n    show\n    clear graphic effects\n    switch costume to (picture v)\n    go to [front v] layer\n    set size to (0) %\n    set [2 v] to [1]\n    go to x: (0) y: (-360)\n    set [ghost v] effect to (100)\n    repeat (23)\n        switch costume to (picture2 v)\n        change [ghost v] effect by (-5)\n        change [2 v] by ((2) / (3))\n        change size by (2)\n        change y by (((0) - (y position)) / (6))\n        switch costume to (picture v)\n    end\n    wait (7) seconds\n    repeat (20)\n        change size by (((200) - (size)) / (5))\n    end\n    set [2 v] to [1]\n    repeat (12)\n        change [ghost v] effect by (5)\n        change size by (2)\n        change [2 v] by (-3.5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nset volume to (volume) %\nplay sound [Intro Music v] until done\nbroadcast (Start  v)\n\n@Player\n\nwhen flag clicked\nhide\nhide variable [x v]\nhide variable [y v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nrepeat (5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [start  v]\nshow\nswitch costume to (costume1 v)\nset size to (100) %\npoint in direction (90)\ngo to x: (-203) y: (-87)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((X) * (-1))\n                            change y by (-1)\n                            if <key (up arrow v) pressed?> then\n                                if <(X) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (ground v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n    end\n    if <(x position) > [219]> then\n        set size to (100) %\n        go to x: (-203) y: (-87)\n        broadcast (Next v)\n    end\n    if <<touching (spikes v)?> or <touching (saw v)?>> then\n        repeat (20)\n            change [ghost v] effect by (5)\n        end\n        set size to (100) %\n        point in direction (90)\n        set [ghost v] effect to (0)\n        go to x: (-203) y: (-87)\n    end\n    if <touching (end v)?> then\n        broadcast (Outro v)\n    end\nend\n\nwhen I receive [outro v]\nhide\n\n@Ground\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\n\nwhen I receive [start  v]\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (Show End v)\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\n\nwhen I receive [start  v]\nshow\n\nwhen I receive [next v]\nnext costume\n\n@Saw\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\n\nwhen I receive [start  v]\nshow\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [3]> then\n        go to x: (-9) y: (-102)\n        turn right (15) degrees\n    end\n    if <(costume [number v]) = [4]> then\n        go to x: (-9) y: (-102)\n        turn right (5) degrees\n    end\n    if <(costume [number v]) = [7]> then\n        go to x: (145) y: (-101)\n        turn right (15) degrees\n    end\n    if <(costume [number v]) = [8]> then\n        go to x: (145) y: (-101)\n        turn right (15) degrees\n    end\n    if <(costume [number v]) = [12]> then\n        go to x: (31) y: (11)\n        turn right (3) degrees\n    end\nend\n\ngo to x: (-9) y: (-102)\n\n@End\n\nwhen I receive [show end v]\nshow\ngo to x: (172) y: (-62)\n\ngo to x: (31) y: (11)\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [outro v]\nset [ghost v] effect to (100)\nhide\n\n@outro picture\n\nwhen flag clicked\nhide\n\nwhen I receive [outro v]\nshow\n\n@Word\n\nwhen flag clicked\nhide\n\ngo to x: (-107) y: (136)\n\nwhen I receive [outro v]\nshow\ngo to x: (-107) y: (136)\npoint in direction (90)\nforever\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\n@Lov, Fav\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\n\nwhen I receive [outro v]\nshow\nforever\n    glide (0.7) secs to x: (36) y: (37)\n    glide (0.7) secs to x: (36) y: (21)\nend\n\n@ManGold-0658\n\nwhen flag clicked\nhide\ngo to x: (156) y: (-9)\n\nwhen I receive [outro v]\nshow\npoint in direction (90)\nforever\n    repeat (10)\n        turn right (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\n
\n\n