Generic 2 | A Mobile Friendly Platformer | #games #music #all #art #animations #stories #tutorial
@Stage\n\nwhen flag clicked\nswitch backdrop to (intro v)\n\nwhen I receive [>> intro done v]\nswitch backdrop to (backdrop1 v)\nforever\n    if <(pick random (1) to (3)) = [1]> then\n        play sound [We Are One v] until done\n    end\n    if <(pick random (1) to (3)) = [2]> then\n        play sound [World 1 v] until done\n    end\n    if <(pick random (1) to (3)) = [3]> then\n        play sound [Vexento - Syndrome v] until done\n    end\nend\n\n@Player\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [reset v]\nset [ghost v] effect to (0)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen flag clicked\nhide\n\nwhen I receive [>> intro done v]\nwait (1) seconds\ngo to x: (-216) y: (40)\nset size to (150) %\nshow\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x velocity v] by (-1.5)\n        switch costume to (left v)\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 velocity v] by (1.5)\n        switch costume to (right v)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> then\n        change y by (1)\n    end\n    if <<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <<<<touching color (#00ff3a)?> or <touching color (#00bb2c)?>> or <touching color (#8c5900)?>> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n        set [y velocity v] to [15]\n    end\n    if <<touching color (#ff1600)?> or <touching color (#ff6a5d)?>> then\n        set [y velocity v] to [20]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        next backdrop\n        broadcast (Reset v)\n    end\n    if <<touching color (#b4b4b4)?> or <touching color (#d4d4d4)?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    end\n    if <(y position) = [-182]> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    end\n    if <<touching color (#ef1a06)?> or <touching color (#fd9b23)?>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    end\nend\n\n@Player Trail\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nshow\nrepeat (10)\n    change [ghost v] effect by (21)\nend\ndelete this clone\n\nwhen I receive [scroll v]\nhide\ndelete this clone\n\nwhen I receive [>> intro done v]\ngo to [back v] layer\nshow\nforever\n    point in direction ([direction v] of [player v])\n    switch costume to ([costume name v] of [player v])\n    go to x: ([x position v] of [player v]) y: ([y position v] of [player v])\n    create clone of (_myself_ v)\nend\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(Love) = [1]> and <(Favorite) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@TB\n\nwhen flag clicked\nhide\n\n@>> Intro\n\ndefine >> Smooth || X pos: (x) Y pos: (y) Size: (size) Direction: (direction) Speed: (speed)\nrepeat until <<<<(round (x position)) = (x)> and <(round (y position)) = (y)>> and <(round (size)) = (size)>> and <(round (direction)) = (direction)>>\n    set [costume v] to (costume [number v])\n    change x by (((x) - (x position)) / (speed))\n    change y by (((y) - (y position)) / (speed))\n    turn right (((direction) - (direction)) / (speed)) degrees\n    change size by (((size) - (size)) / (speed))\n    if <(size) > [100]> then\n        switch costume to (|| size hack v)\n    end\n    switch costume to (Costume)\nend\n\nwhen I receive [intro v]\nset rotation style [all around v]\nhide\n\ndefine >> Call - (item)\nif <(item) = [Intro]> then\n    switch costume to (|| logo v)\n    create clone of (_myself_ v)\nend\nif <(item) = [Name]> then\n    switch costume to (|| name v)\n    create clone of (_myself_ v)\nend\n\ndefine >> Frame wait: (wait)\nwait until <(timer) > (wait)>\n\nwhen I receive [intro v]\nplay sound [Mike Williams - Wait For You v] until done\n\nwhen I start as a clone\nshow\nif <(costume [name v]) = [>> Particles - Lead]> then\n    go to [front v] layer\n    show\n    set [ghost v] effect to (pick random (0) to (25))\n    set size to (pick random (100) to (120)) %\n    switch costume to (join [|| Particles - ] (pick random (1) to (4)))\n    point in direction (pick random (0) to (360))\n    go to x: (Clone.X) y: (Clone.y)\n    set [movement v] to (pick random (5) to (30))\n    set [dir v] to (pick random (50) to (80))\n    repeat (pick random (25) to (35))\n        change size by (((Dir) - (size)) / (4))\n        move (Movement) steps\n        turn right ((Dir) / (25)) degrees\n        set [movement v] to ((Movement) * (0.85))\n    end\n    set [intro extra << particles v] to (pick random (-3) to (-5))\n    repeat (5)\n        change size by (Intro extra << Particles)\n        change [intro extra << particles v] by ((Intro extra << Particles) / (3))\n        move (Movement) steps\n        turn right ((Dir) / (25)) degrees\n        set [movement v] to ((Movement) * (0.85))\n    end\n    repeat (3)\n        change [ghost v] effect by (34)\n        change size by (Intro extra << Particles)\n        change [intro extra << particles v] by ((Intro extra << Particles) / (3))\n        move (Movement) steps\n        turn right ((Dir) / (25)) degrees\n        set [movement v] to ((Movement) * (0.85))\n    end\n    delete this clone\nend\n\ndefine Effects (type)\nif <(type) = [Particles]> then\n    set [clone.y v] to (y position)\n    set [clone.x v] to (x position)\n    set [costume v] to (costume [number v])\n    repeat (pick random (10) to (20))\n        switch costume to (>> particles - lead v)\n        create clone of (_myself_ v)\n    end\n    switch costume to (Costume)\nend\n\nwhen I receive [intro v]\nset [delete all v] to [0]\nswitch costume to (back v)\ncreate clone of (_myself_ v)\nwait (1) seconds\n>> Call - [Intro]\nwait (2.6) seconds\n>> Call - [Name]\nwait (0.4) seconds\nset [delete v] to [0]\nset [clone.y v] to [-130]\nrepeat (4)\n    set [clone.x v] to [-204]\n    repeat (15)\n        switch costume to (|| panels v)\n        create clone of (_myself_ v)\n        change [clone.x v] by (76)\n    end\n    set [clone.x v] to [-204]\n    change [clone.y v] by (105)\nend\nset [clone.y v] to [300]\nset [clone.x v] to [-204]\nset [delete 2 v] to [0]\nrepeat (8)\n    switch costume to (|| lines v)\n    create clone of (_myself_ v)\n    change [clone.x v] by (83)\nend\nset [delete v] to [1]\nswitch costume to (|| tnt v)\ncreate clone of (_myself_ v)\n\nwhen I receive [>> intro done v]\nrepeat (50)\n    delete this clone\nend\nstop [other scripts in sprite v]\nstop [this script v]\n\nwhen I start as a clone\nset size to (100) %\nif <(costume [name v]) = [|| Logo]> then\n    set size to (0) %\n    hide\n    go to x: (0) y: (0)\n    show\n    >> Smooth || X pos: [0] Y pos: [0] Size: [100] Direction: [90] Speed: [6]\n    >> Smooth || X pos: [-130] Y pos: [0] Size: [80] Direction: [90] Speed: [5]\n    Effects [Particles]\n    wait (3) seconds\n    delete this clone\nend\n\nwhen flag clicked\nbroadcast (Intro v)\n\nwhen I start as a clone\nif <(costume [name v]) = [|| Name]> then\n    go to x: (0) y: (-20)\n    point in direction (90)\n    set size to (100) %\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (3) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [|| Panels]> then\n    go to x: (Clone.X) y: (Clone.y)\n    point in direction (0)\n    >> Smooth || X pos: (x position) Y pos: (y position) Size: (size) Direction: [90] Speed: [4]\n    wait until <(Delete) = [1]>\n    delete this clone\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [|| Panels]> then\n    set [ghost v] effect to (75)\n    repeat (7)\n        change [ghost v] effect by (-10)\n    end\n    change [ghost v] effect by (-5)\n    stop [this script v]\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [|| Lines]> then\n    set [ghost v] effect to (75)\n    repeat (7)\n        change [ghost v] effect by (-10)\n    end\n    change [ghost v] effect by (-5)\n    stop [this script v]\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [|| Lines]> then\n    go to x: (Clone.X) y: (Clone.y)\n    point in direction (90)\n    >> Smooth || X pos: (x position) Y pos: [0] Size: (size) Direction: [90] Speed: [4]\n    wait until <(Delete 2) = [1]>\n    set [ghost v] effect to (0)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nshow\nif <(costume [name v]) = [|| TNT]> then\n    point in direction (90)\n    go to x: (0) y: (0)\n    set [ghost v] effect to (75)\n    repeat (7)\n        change [ghost v] effect by (-10)\n    end\n    change [ghost v] effect by (-5)\n    wait (0.3) seconds\n    set [delete 2 v] to [1]\n    Effects [Particles]\n    repeat (10)\n        change [brightness v] effect by (10)\n    end\n    wait (0.5) seconds\n    change size by (10)\n    >> Smooth || X pos: [0] Y pos: [-400] Size: [100] Direction: [180] Speed: [15]\n    broadcast (>> Intro done v)\nend\n\nwhen I start as a clone\nif <(costume [name v]) = [Back]> then\n    point in direction (90)\n    show\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    forever\n        show\n        go to x: (0) y: (0)\n        go to [back v] layer\n    end\nend\n\nwhen I receive [>> intro done v]\nstop [other scripts in sprite v]\nQuick Delete\nstop [this script v]\n\ndefine Quick Delete\nrepeat (50)\n    delete this clone\nend\n\n
==GENERIC 2 A PLATFORMER=================\n==MOBILE FRIENDLY========================\n\nNOTE: This is MEANT to be generic, so you can comment it's generic ALL. YOU. WANT. xD\n\nNEW MULTIPLAYER PLATFORMER OUT! https://scratch.mit.edu/projects/626264510\n\n#13th on Trending Games!\nTop remixed!\n\nWelcome to my new (generic) game!\nA ❤️ and a ⭐ I would be thankful for!\n\nFULLSCREEN RECOMMENDED!\n\nFollow @TrentonTNT for more games and platformers!\nEnjoy the platformer! :)\n\n\n==INSTRUCTIONS===========================\n\n• Arrow keys or A, D to move\n• Up arrow key or W to jump\n• Dodge them generic spikes\n• Jump on them generic trampolines\n• Beat this generic platformer! xD\n\n==CREDITS================================\n\n• @--AwesomeCode-- for platformer engine\n• @TheCactusMaster for assets\n• @TrentonTNT everything else\n\n==TAGS===================================\n\n#games #all #platformers #music #art #stories #tutorials #animations #trending #generic\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nLOL?!?! Comment "This is SO generic!" like and fav! 