Kindness ~ a Platformer!
@Stage\n\nwhen flag clicked\nforever\n    repeat (10)\n        play sound [Main music! v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    repeat (10)\n        switch backdrop to (backdrop1 v)\n        wait (10) seconds\n        switch backdrop to (backdrop2 v)\n        wait (10) seconds\n        switch backdrop to (backdrop3 v)\n        wait (10) seconds\n    end\nend\n\n@Ground\n\nwhen flag clicked\nswitch costume to (level 1 v)\n\nwhen I receive [new level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\nend\n\nwhen flag clicked\nif <(Level) = [5]> then\n    switch costume to (costume6 v)\nend\n\n@Jump\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(Level) = [1]> then\n        show\n    end\n    if <(Level) = [2]> then\n        hide\n    end\n    if <(Level) = [3]> then\n        hide\n    end\n    if <(Level) = [4]> then\n        hide\n    end\n    if <(Level) = [5]> then\n        hide\n    end\n    if <(Level) = [6]> then\n        hide\n    end\n    if <(Level) = [7]> then\n        hide\n    end\n    if <(Level) = [8]> then\n        hide\n    end\n    if <(Level) = [9]> then\n        hide\n    end\n    if <(Level) = [10]> then\n        show\n        go to x: (-126) y: (-61)\n    end\n    if <(Level) = [11]> then\n        go to x: (-72) y: (-64)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player 1 v)?> then\n        repeat (8)\n            next costume\n        end\n        switch costume to (costume1 v)\n    end\nend\n\n@Player 1\n\nwhen flag clicked\nbroadcast (Restart v)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\n        point in direction (90)\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    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground 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 [15]\n            if <([abs v] of (x) ) = (x)> 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 (ground 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 (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\nend\n\nwhen I receive [restart v]\ngo to x: (-225) y: (-45)\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <(x position) > [235]> then\n        broadcast (New Level v)\n        broadcast (Restart v)\n        change [level v] by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <(y position) < [-170]>> then\n        broadcast (Restart v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (jump v)?> then\n        set [y v] to [15]\n    end\nend\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (1 v)\n\nwhen I receive [new level v]\nnext costume\n\n@Intro\n\ndefine Intro\nhide\nstart sound [NIVIRO - Flashes \[NCS Release\] v]\nset [i v] to [0]\nset [i2 v] to [0]\nset [sequence v] to [1]\ngo to x: (0) y: (0)\npoint in direction (90)\nset size to (100) %\nclear graphic effects\nswitch costume to (white v)\ncreate clone of (_myself_ v)\nswitch costume to (letter1 v)\ncreate clone of (_myself_ v)\ngo to x: (-200) y: (0)\nrepeat (8)\n    create clone of (_myself_ v)\n    change x by (50)\n    next costume\n    wait (.05) seconds\nend\ngo to x: (0) y: (0)\nwait until <(Sequence) = [2]>\nswitch costume to (bar v)\ngo to x: (0) y: (0)\ncreate clone of (_myself_ v)\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nwait (.82) seconds\nset [sequence v] to [3]\nwait until <(Sequence) = [4]>\ngo to x: (0) y: (-150)\nswitch costume to (bar #2 v)\nrepeat (5)\n    create clone of (_myself_ v)\n    change y by (75)\n    wait (.01) seconds\nend\nwait (0.5) seconds\ngo to x: (0) y: (0)\nset [sequence v] to [5]\nwait until <(Sequence) = [6]>\nswitch costume to (flash v)\ncreate clone of (_myself_ v)\nswitch costume to (logo white v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [8]>\nswitch costume to (logo v)\ncreate clone of (_myself_ v)\nParticles\nwait (.9) seconds\nset [sequence v] to [9]\nwait until <(Sequence) = [10]>\nrepeat (3)\n    switch costume to (filler v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\n    switch costume to (filler2 v)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nwait (1.3) seconds\nset [sequence v] to [11]\nswitch costume to (fade v)\ncreate clone of (_myself_ v)\nwait until <(Sequence) = [12]>\nset [sequence v] to [13]\nbroadcast (Intro End v)\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen flag clicked\nIntro\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    show\n    go to x: (0) y: (0)\n    wait until <(Sequence) = [13]>\n    delete this clone\nend\nif <<(costume [number v]) > [1]> and <[9] > (costume [number v])>> then\n    show\n    set [ghost v] effect to (100)\n    set size to (0) %\n    set y to (500)\n    point in direction (45)\n    repeat until <(round (y position)) = [0]>\n        change y by (((0) - (y position)) / (5))\n        change [ghost v] effect by (-10)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n    end\n    wait (.2) seconds\n    set [i v] to [15]\n    repeat (40)\n        turn right ((x position) / (20)) degrees\n        change x by (-1)\n        change [ghost v] effect by (3)\n        change y by (i)\n        change [i v] by (-1.5)\n        change size by (-2)\n    end\n    set [sequence v] to [2]\n    delete this clone\nend\nif <(costume [number v]) = [9]> then\n    show\n    go to x: (0) y: (360)\n    set size to (0) %\n    point in direction (0)\n    set [ghost v] effect to (100)\n    repeat until <(Sequence) = [3]>\n        change [ghost v] effect by (-10)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((0) - (y position)) / (5))\n    end\n    set [i v] to [10]\n    set [i2 v] to [15]\n    repeat (30)\n        turn right ((x position) / (40)) degrees\n        change x by (i2)\n        set [i2 v] to ((i2) * (.9))\n        change [ghost v] effect by (4)\n        change y by (i)\n        change [i v] by (-1.5)\n        change size by (-2)\n    end\n    set [sequence v] to [4]\n    delete this clone\nend\nif <(costume [number v]) = [10]> then\n    show\n    go to x: (0) y: (-360)\n    set size to (0) %\n    point in direction (180)\n    set [ghost v] effect to (100)\n    repeat until <(Sequence) = [3]>\n        change [ghost v] effect by (-7)\n        change size by (((100) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n        change y by (((0) - (y position)) / (5))\n    end\n    set [i v] to [15]\n    set [i2 v] to [-15]\n    repeat (40)\n        turn right ((x position) / (40)) degrees\n        set [i2 v] to ((i2) * (.9))\n        change x by (i2)\n        change [ghost v] effect by (4)\n        change y by (i)\n        change [i v] by (-1.5)\n        change size by (-2)\n    end\n    delete this clone\nend\nif <(costume [number v]) = [11]> then\n    show\n    go to x: (0) y: (y position)\n    point in direction (0)\n    set size to (0) %\n    set [ghost v] effect to (100)\n    repeat until <(Sequence) = [5]>\n        turn right (((90) - (direction)) / (5)) degrees\n        change size by (((95) - (size)) / (5))\n        change [ghost v] effect by (-10)\n    end\n    point in direction (90)\n    repeat (15)\n        change size by (((30) - (size)) / (5))\n        change [ghost v] effect by (10)\n    end\n    wait (.02) seconds\n    set [sequence v] to [6]\n    delete this clone\nend\nif <(costume [number v]) = [12]> then\n    show\n    clear graphic effects\n    go to x: (0) y: (0)\n    point in direction (90)\n    wait until <(Sequence) = [7]>\n    wait (.01) seconds\n    set [sequence v] to [8]\n    delete this clone\nend\nif <(costume [number v]) = [13]> then\n    show\n    go to x: (0) y: (0)\n    point in direction (90)\n    set size to (120) %\n    repeat (15)\n        change [ghost v] effect by (7.5)\n        change size by (-2)\n    end\n    set [sequence v] to [7]\n    delete this clone\nend\nif <(costume [number v]) = [14]> then\n    show\n    set size to (0) %\n    set [ghost v] effect to (100)\n    repeat until <(Sequence) = [9]>\n        change [ghost v] effect by (-10)\n        set [i v] to (((i) * (.8)) + (((120) - (size)) / (5)))\n        change size by (i)\n        point in direction ((90) + ((4) * ([sin v] of ((timer) * (190)) )))\n        set y to ((10) * ([sin v] of (((timer) - (2)) * (220)) ))\n    end\n    set [i v] to [10]\n    set [i2 v] to [-15]\n    repeat (35)\n        turn right ((x position) / (40)) degrees\n        change size by (((1) - (size)) / (3))\n        change y by ((0) - (i))\n    end\n    set [sequence v] to [10]\n    delete this clone\nend\nif <(costume [number v]) = [15]> then\n    show\n    set size to (pick random (80) to (120)) %\n    set [i v] to (pick random (-30) to (30))\n    set [i2 v] to (pick random (10) to (20))\n    set [ghost v] effect to (pick random (10) to (30))\n    set [brightness v] effect to (pick random (-20) to (20))\n    repeat until <touching (_edge_ v)?>\n        change [ghost v] effect by (1)\n        change x by (i)\n        change y by (i2)\n        change [i2 v] by (-3)\n    end\n    delete this clone\nend\nif <<(costume [number v]) = [16]> or <(costume [number v]) = [17]>> then\n    show\n    go to x: (-500) y: (500)\n    repeat (20)\n        go to x: ((x position) / (1.2)) y: ((y position) / (1.2))\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\nif <(costume [number v]) = [18]> then\n    show\n    go to x: (0) y: (360)\n    set [ghost v] effect to (35)\n    go to x: (-500) y: (500)\n    repeat (20)\n        go to x: ((x position) / (1.2)) y: ((y position) / (1.2))\n    end\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    wait (0.2) seconds\n    set [sequence v] to [12]\n    delete this clone\nend\n\ndefine Particles\ngo [backward v] (1) layers\nswitch costume to (particles v)\nrepeat (25)\n    create clone of (_myself_ v)\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    hide\nend\n\n@detector\n\nwhen flag clicked\nhide\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (0.5) seconds\nshow\ngo to x: (0) y: (-100)\nreset timer\nswitch costume to (pick random (1) to (4))\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [loved__ v] to [1]\n            end\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            wait (0.2) seconds\n            if <touching (mouse-pointer v)?> then\n                set [faved___ v] to [1]\n            end\n        end\n    end\nend\n\n
Hey guys! I am @BlackLivesMatter385! Check out my profile for some AWESOME projects about how YOU can single-handedly make Scratch* kinder! Thank you SO SO much for clicking on this project! Every view is another person becoming kinder! Woo-Hoo!!!\n\nI love the Scratch* Community and wouldn't leave it for anything! That is why I want it kinder! Every mean comment makes Scratcher* want to leave Scratch* more and more! This is why I am inviting YOU to help out and stop this! We want Scratch* to be a safe area that makes people feel good… right? So join me in my quest to help this community! bye! <3