Black Lives MatterII a platformer
@Stage\n\nwhen flag clicked\nwait (1) seconds\nforever\n    play sound [Black Lives Matter v] until done\nend\n\n@Player\n\nwhen I receive [next level v]\nhide\nwait (1) seconds\nshow\n\ndefine DIE\nset [ghost v] effect to (0)\nrepeat (4)\n    change [ghost v] effect by (25)\nend\ngo to x: (-221) y: (-27)\nset [ghost v] effect to (0)\n\nwhen flag clicked\nshow\nset [x v] to [0]\nset [y v] to [0]\nswitch costume to (1 v)\nset size to (50) %\n\nwhen flag clicked\nswitch costume to (stand v)\npoint in direction (90)\n\nwhen flag clicked\nshow\ngo to x: (-221) y: (68)\nset [x v] to [0]\nset [y v] to [0]\nset size to (50) %\nset rotation style [left-right v]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<key (a 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    if <<key (right arrow v) pressed?> or <<key (d 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    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (floor v)?> then\n        change y by (1)\n    end\n    if <touching (floor v)?> then\n        change y by (1)\n    end\n    if <touching (floor v)?> then\n        change y by (1)\n    end\n    if <touching (floor v)?> then\n        change y by (1)\n    end\n    if <touching (floor 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 <(y position) < (mouse y)>>> then\n            set [y v] to [12]\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 (floor 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 <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> and <touching (floor v)?>> then\n        set [y v] to [12]\n    end\n    change y by (2)\n    if <<<(y position) < [-160]> and <touching (_edge_ v)?>> or <touching (danger v)?>> then\n        DIE\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [22]\n    end\n    if <not <([costume # v] of [floor v]) = [18]>> then\n        if <(x position) > [222]> then\n            broadcast (NEXT LEVEL v)\n        end\n    end\n    if <touching (bug-fix v)?> then\n        change y by (-4)\n    end\nend\n\nwhen I receive [next level v]\nrepeat until <(transition) = [0]>\n    go to x: (-221) y: (-27)\nend\n\nwhen I receive [restart v]\ngo to x: (-221) y: (-27)\n\nwhen flag clicked\nforever\n    if <<(x) > [-1]> and <(x) < [0.9]>> then\n        switch costume to (stand v)\n    else\n        next costume\n        wait (0.05) seconds\n    end\nend\n\n@Transition\n\nwhen flag clicked\ngo to x: (0) y: (318)\ngo to [front v] layer\nhide\nhide variable [transition v]\nset [transition v] to [0]\n\nwhen I receive [next level v]\nswitch costume to (pick random (1) to (2))\nshow\nset [transition v] to [1]\nglide (0.5) secs to x: (0) y: (0)\nwait (0.5) seconds\nglide (0.5) secs to x: (0) y: (318)\nset [transition v] to [0]\nhide\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n@Floor\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (lvl 1 v)\nshow\n\nwhen I receive [next level v]\nwait (0.5) seconds\nnext costume\n\nwhen flag clicked\nhide variable [# v]\nhide variable [my variable v]\nhide variable [x v]\nhide variable [y v]\n\n@words\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to ([costume # v] of [floor v])\n    if <(hide?) = [0]> then\n        show\n    else\n        if <([costume # v] of [floor v]) = [11]> then\n            show\n        else\n            hide\n        end\n    end\nend\n\n@Light\n\nwhen flag clicked\nforever\n    go to [back v] layer\n    go to (player v)\nend\n\nwhen flag clicked\nset size to (100) %\nforever\n    repeat (10)\n        change size by (2)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change size by (-2)\n    end\n    wait (0.1) seconds\nend\n\nwhen flag clicked\nforever\n    if <(transition) = [1]> then\n        hide\n    else\n        show\n    end\nend\n\n@RESTART\n\nwhen flag clicked\ngo to x: (-79) y: (-146)\npoint in direction (90)\nset size to (100) %\nforever\n    repeat (15)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\nend\n\nwhen this sprite clicked\nbroadcast (RESTART v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\n    if <([costume # v] of [floor v]) = [11]> then\n        hide\n    else\n        show\n    end\nend\n\n@Skip\n\nwhen flag clicked\ngo to x: (-182) y: (-146)\npoint in direction (90)\nset size to (100) %\nforever\n    repeat (15)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\nend\n\nwhen this sprite clicked\nbroadcast (NEXT LEVEL v)\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\n    if <([costume # v] of [floor v]) = [11]> then\n        hide\n    else\n        show\n    end\nend\n\n@HIDE\n\nwhen flag clicked\ngo to x: (24) y: (-146)\npoint in direction (90)\nset size to (100) %\nset [hide? v] to [0]\nforever\n    repeat (15)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (15)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\n    if <(hide?) = [0]> then\n        switch costume to (hide v)\n    else\n        switch costume to (show v)\n    end\nend\n\nwhen this sprite clicked\nif <(hide?) = [0]> then\n    set [hide? v] to [1]\nelse\n    set [hide? v] to [0]\nend\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (1) layers\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\n    if <([costume # v] of [floor v]) = [11]> then\n        hide\n    else\n        show\n    end\nend\n\n@danger\n\nwhen flag clicked\ngo to x: (0) y: (0)\npoint in direction (90)\nshow\nforever\n    switch costume to ([costume # v] of [floor v])\nend\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\ngo to [front v] layer\nshow\n\n@Bug-fix\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    set [ghost v] effect to (1000)\n    if <([costume # v] of [floor v]) = [6]> then\n        show\n    else\n        hide\n    end\nend\n\n