Sandwich Platformer
@Stage\n\nwhen I receive [title! v]\nswitch backdrop to ( v)\n\nwhen I receive [cargadisimo v]\nswitch backdrop to (2 v)\n\nwhen flag clicked\nswitch backdrop to (1 v)\n\nwhen I receive [fisnihs v]\nswitch backdrop to (4 v)\n\nwhen I receive [cargandoooooooooooo v]\nswitch backdrop to (3 v)\n\n@❌\n\nwhen flag clicked\nhide\nset [lives v] to [5]\nhide variable [lives v]\n\nwhen I receive [cargadisimo v]\ngo to x: (-187) y: (-17)\nswitch costume to (sandwich normal v)\nshow\ngo to [front v] layer\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 <key (a v) pressed?>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d 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 color (#00617d)?> then\n        change y by (1)\n    end\n    if <touching color (#00617d)?> then\n        change y by (1)\n    end\n    if <touching color (#00617d)?> then\n        change y by (1)\n    end\n    if <touching color (#00617d)?> then\n        change y by (1)\n    end\n    if <touching color (#00617d)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> 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 color (#00617d)?> 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?>> and <touching color (#00617d)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#a1a1a1)?> then\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        reset player position\n    end\n    if <<(x position) = [240]> or <(x position) > [240]>> then\n        broadcast (mensaje1 v)\n    end\nend\n\nhide\nwait (1.5) seconds\n\nwhen I receive [mensaje1 v]\ngo to x: (-187) y: (-17)\n\nwhen I receive [cargadisimo v]\nforever\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (1)\n    end\nend\n\ndefine reset player position\nclear graphic effects\ngo to x: (-187) y: (-17)\nchange [lives v] by (-1)\n\nwhen I receive [cargadisimo v]\nforever\n    if <key (s v) pressed?> then\n        wait (0.5) seconds\n        broadcast (mensaje1 v)\n    end\nend\n\nwhen I receive [fisnihs v]\nhide\n\nwhen I receive [cargadisimo v]\nforever\n    switch costume to (sandwich normal v)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        switch costume to (walkfront2 v)\n        wait (0.1) seconds\n        switch costume to (walkfront3 v)\n        wait (0.1) seconds\n        switch costume to (walkfront2 v)\n        wait (0.1) seconds\n        switch costume to (walkfront3 v)\n        wait (0.1) seconds\n    else\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            point in direction (90)\n            switch costume to (walkback v)\n            wait (0.1) seconds\n            switch costume to (walkback2 v)\n            wait (0.1) seconds\n            switch costume to (walkback3 v)\n            wait (0.1) seconds\n            switch costume to (walkback2 v)\n            wait (0.1) seconds\n        else\n            switch costume to (sandwich normal v)\n        end\n    end\nend\n\nswitch costume to (walkback v)\nswitch costume to (walkfront v)\n\nwhen I receive [cargadisimo v]\nif <(lives) = [0]> then\n    broadcast (You Lose v)\nend\n\nwhen flag clicked\nforever\n    if  then\n        broadcast (fisnihs v)\n    end\nend\n\n@❤️💛❤️\n\nwhen flag clicked\nhide\nswitch costume to (disfraz1 v)\n\nwhen I receive [cargadisimo v]\nshow\n\nhide\n\nwait (1.5) seconds\n\nwhen I receive [mensaje1 v]\nnext costume\n\nwhen flag clicked\n\nif <(costume [number v]) = [10]> then\n    wait (3.2) seconds\n    broadcast (fisnihs v)\nelse\n    wait until <(costume [number v]) = [10]>\nend\n\n\n\nbroadcast (blovk v)\n\nwhen flag clicked\n\nif <(costume [number v]) = [9]> then\n\nwhen I receive [fisnihs v]\nhide\n\nwhen I receive [fisnihs v]\nhide\n\n@🔺🔸🔹thumbail\n\nwhen flag clicked\nswitch backdrop to (1 v)\nshow\nset [ghost v] effect to (0)\nwait (0.2) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nbroadcast (mostrados xD v)\n\nstart sound [Kevin_MacLeod_-_Monkeys_Spinning_Monkeys v]\n\n@Logo\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (0) y: (0)\n\nwhen I receive [mostrados xd v]\nshow\nset [ghost v] effect to (100)\nset [pixelate v] effect to (200)\nrepeat (20)\n    change [ghost v] effect by (-5)\n    change [pixelate v] effect by (-10)\nend\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\n    change [pixelate v] effect by (10)\nend\nhide\nbroadcast (title! v)\n\n@Platformer\n\nwhen flag clicked\nhide\ngo to x: (-179) y: (143)\nset [tittle letter v] to [1]\nswitch costume to (disfraz11 v)\n\nwhen I receive [title! v]\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nrepeat (9)\n    change [tittle letter v] by (1)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nforever\n    if <(PLATFORMER) = [0]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I start as a clone\nset y to (-200)\nshow\nswitch costume to (tittle letter)\nchange x by ((tittle letter) * (40))\nchange x by (-30)\nrepeat (16)\n    change y by (10)\nend\nrepeat (8)\n    change y by (8)\nend\nrepeat (6)\n    change y by (6)\nend\nrepeat (4)\n    change y by (4)\nend\nrepeat (4)\n    change y by (3)\nend\nrepeat (4)\n    change y by (2)\nend\nrepeat (4)\n    change y by (1)\nend\n\nwhen I start as a clone\nforever\n    repeat (4)\n        change y by (1)\n    end\n    repeat (8)\n        change y by (2)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (4)\n        change y by (2)\n    end\n    repeat (4)\n        change y by (1)\n    end\n    repeat (4)\n        change y by (0)\n    end\n    repeat (4)\n        change y by (-1)\n    end\n    repeat (4)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (4)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-1)\n    end\n    repeat (4)\n        change y by (0)\n    end\nend\n\nwhen I receive [playyy v]\nhide\ndelete this clone\n\n@Play2\n\nwhen flag clicked\nhide\ngo to x: (-34) y: (0)\nset [tittle letter v] to [1]\nswitch costume to (disfraz2 v)\n\nwhen I receive [title! v]\nset y to (-200)\nshow\nswitch costume to (tittle letter)\nchange x by (10)\nchange x by (-10)\nrepeat (16)\n    change y by (5)\nend\nrepeat (8)\n    change y by (4)\nend\nrepeat (6)\n    change y by (2)\nend\nrepeat (4)\n    change y by (2)\nend\nrepeat (4)\n    change y by (2)\nend\nrepeat (4)\n    change y by (1)\nend\nrepeat (4)\n    change y by (1)\nend\n\nrepeat (4)\n    change y by (-4)\nend\n\nrepeat (4)\n    change y by (-8)\nend\nrepeat (3)\n    change y by (-6)\nend\nrepeat (2)\n    change y by (-4)\nend\nrepeat (2)\n    change y by (-3)\nend\nrepeat (2)\n    change y by (-2)\nend\nrepeat (2)\n    change y by (-1)\nend\n\nrepeat (8)\n    change x by (10)\nend\nrepeat (4)\n    change x by (8)\nend\nrepeat (3)\n    change x by (6)\nend\nrepeat (2)\n    change x by (4)\nend\nrepeat (2)\n    change x by (3)\nend\nrepeat (2)\n    change x by (2)\nend\nrepeat (2)\n    change x by (1)\nend\n\nwhen I start as a clone\n\nwhen I start as a clone\n\nwhen I start as a clone\n\nwait (0.1) seconds\ncreate clone of (_myself_ v)\nwait (0.1) seconds\nrepeat (9)\n    change [tittle letter v] by (1)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nforever\n    repeat (4)\n        change y by (1)\n    end\n    repeat (8)\n        change y by (2)\n    end\n    repeat (4)\n        change y by (3)\n    end\n    repeat (4)\n        change y by (2)\n    end\n    repeat (4)\n        change y by (1)\n    end\n    repeat (4)\n        change y by (0)\n    end\n    repeat (4)\n        change y by (-1)\n    end\n    repeat (4)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-3)\n    end\n    repeat (4)\n        change y by (-2)\n    end\n    repeat (4)\n        change y by (-1)\n    end\n    repeat (4)\n        change y by (0)\n    end\nend\n\nforever\n    if <(PLATFORMER) = [0]> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nset [brightness v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((100) - (size)) / (10))\n        set [brightness v] effect to (34.678567)\n    else\n        change size by (((75) - (size)) / (10))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (playyy v)\nhide\n\nhide\nwait (1) seconds\n\n@❤️💛❤️2\n\nwhen flag clicked\nhide\nset size to (70) %\nhide variable [tomatoes v]\n\nwhen I receive [playyy v]\nhide\n\nwait (1.5) seconds\n\nwhen I receive [mensaje1 v]\nshow\nnext costume\n\nwhen flag clicked\nforever\n    if <touching (❌ v)?> then\n        hide\n        change [tomatoes v] by (1)\n    end\nend\n\nwhen I receive [cargadisimo v]\nshow\ngo to x: (-26) y: (0)\nswitch costume to (disfraz1 v)\nshow variable [tomatoes v]\nset [tomatoes v] to [0]\n\nwhen I receive [fisnihs v]\nhide\n\n@loading bar\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [playyy v]\nswitch backdrop to (2 v)\nshow\ngo to x: (-157) y: (-163)\nerase all\nrepeat until <(x position) > [102]>\n    move (pick random (0.5) to (3.4)) steps\n    stamp\nend\nbroadcast (cargadisimo v)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\nwait (1) seconds\nerase all\n\nswitch costume to (disfraz1 v)\nwait (0.9) seconds\ngo to x: (0) y: (0)\nset size to (100) %\nswitch costume to (disfraz1 v)\nwait (0.5) seconds\nswitch costume to (disfraz1 v)\nwait (1) seconds\n\nshow\n\n@loaaading...\n\nwhen flag clicked\nhide\n\nwhen I receive [playyy v]\nshow\nbroadcast (cargandoooooooooooo v)\ngo to x: (0) y: (0)\nswitch costume to (disfraz1 v)\nwait (1) seconds\nswitch costume to (disfraz2 v)\nwait (1) seconds\nswitch costume to (disfraz3 v)\nwait (0.5) seconds\nswitch costume to (disfraz1 v)\nwait (0.05) seconds\nrepeat (10)\n    set [ghost v] effect to (10)\nend\nhide\n\n@TOMATOES\n\nwhen flag clicked\nhide\n\nwhen I receive [cargadisimo v]\nshow\nset size to (75) %\ngo to x: (127) y: (163)\ngo to [front v] layer\n\n@PAUSE\n\nwhen flag clicked\nhide\nswitch costume to (disfraz1 v)\ngo to x: (-200) y: (150)\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((50) - (size)) / (10))\n    else\n        change size by (((75) - (size)) / (10))\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [cargadisimo v]\nshow\n\nwhen I receive [cargadisimo v]\nif <(costume [number v]) = [1]> then\n    start sound [Kevin_MacLeod_-_Monkeys_Spinning_Monkeys v]\nend\n\nwhen I receive [cargadisimo v]\nif <(costume [number v]) = [2]> then\n    stop all sounds\nelse\nend\n\nstop all sounds\n\n\n\nwhen I receive [fisnihs v]\nhide\n\n@Outro\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [fisnihs v]\nshow\ngo to [front v] layer\nset [clone id v] to [screen]\ncreate clone of (_myself_ v)\nset [clone id v] to [OC]\ncreate clone of (_myself_ v)\nset [clone id v] to [username]\ncreate clone of (_myself_ v)\nforever\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n\ndefine smooth glide to x: (x) y: (y)\nrepeat until <(round (x position)) = (x)>\n    change x by (((x) - (x position)) / (5))\n    change y by (((y) - (y position)) / (5))\nend\n\nwhen I start as a clone\nif <(clone ID) = [screen]> then\n    hide\n    point in direction (90)\n    go to x: (-6000) y: (0)\n    switch costume to (disfraz2 v)\n    wait (.5) seconds\n    show\n    smooth glide to x: [0] y: [0]\n    forever\n        set y to (([sin v] of ((timer) * (135)) ) * (20))\n    end\nend\nif <(clone ID) = [OC]> then\n    wait (1) seconds\n    go to [front v] layer\n    point in direction (90)\n    show\n    switch costume to (oc v)\n    go to x: (-494) y: (0)\n    smooth glide to x: [0] y: [0]\n    forever\n        change y by (10)\n    end\nend\nif <(clone ID) = (([cos v] of ((timer) * (70)) ) * (2))> then\n    wait (1) seconds\n    point in direction (90)\n    show\n    go to [front v] layer\n    switch costume to (username v)\n    go to x: (0) y: (0)\n    smooth glide to x: [0] y: [0]\n    set [rotate v] to [0]\n    forever\n        set x to (([cos v] of ((timer) * (135)) ) * (20))\n    end\nend\nif <(clone ID) = [project]> then\n    wait (1) seconds\n    point in direction (90)\n    show\n    go to [front v] layer\n    switch costume to (disfraz4 v)\n    go to x: (0) y: (0)\n    smooth glide to x: [0] y: [0]\n    forever\n        set x to (([cos v] of ((timer) * (135)) ) * (20))\n    end\nend\nforever\n\nwait (.5) seconds\n\nturn right (15) degrees\n\nset [rotate v] to [0]\n\nturn right (15) degrees\n\nforever\n\nhide\n\nturn right (15) degrees\n\npoint in direction (90)\n\n@Objeto1\n\nwhen flag clicked\nhide\n\nwhen I receive [mensaje1 v]\n\nshow\nset [ghost v] effect to (0)\ngo to [front v] layer\nrepeat (10)\n    change [ghost v] effect by (10)\n    wait (.01) seconds\nend\nhide\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\ngo to [front v] layer\nhide\nwait (pick random (8) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\n@BACKGROUND\n\nwhen flag clicked\nhide\n\nwhen I receive [cargadisimo v]\ngo to [back v] layer\nshow\nforever\n    repeat (100)\n        turn left (1) degrees\n    end\n    repeat (100)\n        turn right (1) degrees\n    end\nend\n\nwhen I receive [fisnihs v]\nhide\n\n@BACKGROUND2\n\nwhen I receive [cargadisimo v]\nhide\n\nset [clone count v] to [0]\ngo to x: (230) y: (0)\nrepeat (10)\n    create clone of (_myself_ v)\n    change x by (-100)\nend\n\nforever\n    wait (2) seconds\n    create clone of (_myself_ v)\nend\n\nshow\nforever\n    repeat (100)\n        turn left (1) degrees\n    end\n    repeat (100)\n        turn right (1) degrees\n    end\nend\n\nwhen I start as a clone\n\nshow\nchange [clone count v] by (1)\ngo to x: (230) y: (0)\nrepeat until <(x position) < [-640]>\n    go to [back v] layer\n    change x by (-2)\nend\nchange [clone count v] by (-1)\ndelete this clone\n\nwhen flag clicked\nhide\n\n@L0S3\n\nwhen flag clicked\nhide\n\nwhen I receive [you lose v]\nshow\n\n@FOLLOW\n\nwhen flag clicked\nhide\n\nwhen I receive [cargadisimo v]\nhide\ngo to [front v] layer\nforever\n    if <[12] = ([costume # v] of [❤️💛❤️ v])> then\n        show\n        if <touching (❌ v)?> then\n            broadcast (fisnihs v)\n        end\n    else\n        hide\n    end\nend\n\n\n\nwhen I receive [fisnihs v]\nforever\n    hide\nend\n\n@Objeto2\n\nwhen flag clicked\nhide\n\nwhen I receive [fisnihs v]\nshow\nforever\n    point in direction ((90) + ((5) * ([tan v] of ((timer) * (97)) )))\nend\n\n@Objeto4\n\nwhen flag clicked\nhide\n\nwhen I receive [fisnihs v]\nshow\nset [sine v] to [0]\nforever\n    change [sine v] by (7.5)\n    point in direction ((([sin v] of (sine) ) * (10)) + (91))\n    set size to ((([sin v] of ((sine) * (2)) ) * (5)) + (75)) %\nend\n\npoint in direction ((90) + ((5) * ([cos v] of ((timer) * (450)) )))\n\nwhen this sprite clicked\n\nif  then\nend\n\nchange size by (((100) - (size)) / (10))\n\nwhen I receive [fisnihs v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nchange [color v] effect by (25)\n\n@Objeto5\n\nwhen flag clicked\nhide\n\nwhen I receive [fisnihs v]\nshow\nset [sine v] to [0]\nforever\n    change [sine v] by (7.5)\n    point in direction ((([sin v] of (sine) ) * (5)) + (91))\n    set size to ((([sin v] of ((sine) * (2)) ) * (5)) + (75)) %\nend\n\npoint in direction ((90) + ((5) * ([cos v] of ((timer) * (450)) )))\n\nwhen this sprite clicked\nif <(lista montreè ?) = [oui]> then\n    show list [lienn v]\n    set [lista montreè ? v] to [non]\nelse\n    delete all of [lienn v]\n    add (item (Nº Clone) of [liens des boutons liens v]) to [lienn v]\n    hide list [lienn v]\n    set [lista montreè ? v] to [oui]\nend\n\nwhen I receive [fisnihs v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\n
  ¦  ¦ Don't play with the turbo mode (it's impossible) ¦  ¦ \n\n+5K visits!!\n\n               ɪɴsᴛʀᴜᴄᴛɪᴏɴs\n  ✺    WAD---Arrows.\n  ✺    No a mobile platform.\n  ✺    Don't touch the forks and knives.\n  ✺    Start Button.\n  ✺    S to skip level. \n➠Hard, But all levels are 100% possible.\n✹New STORY.\n↳ https://scratch.mit.edu/projects/479169558/ 