Tropical Essence || Scrolling Platformer #games #all v2.0
@Stage\n\nwhen [m v] key pressed\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [,] ((mouse y) + (SCROLL Y))))\n\nwhen flag clicked\nhide variable [mouse v]\n\n@  Player  Scroll\n\nwhen flag clicked\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Set Up v) and wait\n    Game On\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v)\n    end\n    if <(EXIT) = [win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\ndefine Game On\nset [x v] to [0]\nset [y v] to [0]\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset size to (120) %\nset [ghost v] effect to (0)\nshow\n\ndefine Tick\nif <not <<key (right arrow v) pressed?> and <<key (left arrow v) pressed?> and <key (up arrow v) pressed?>>>> then\n    switch costume to (player_center v)\nend\nif <touching (trampoline v)?> then\n    set [sy v] to [25]\n    start sound [Big Boing v]\nend\nif <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>> then\n    if <(In air) < [4]> then\n        set [sy v] to [16]\n        switch costume to (player_up v)\n    end\nend\nchange [sy v] by (-2)\nif <key (down arrow v) pressed?> then\n    switch costume to (player_center v)\nend\nif <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    Change Player x by [-8]\n    switch costume to (player_left v)\nend\nif <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>> then\n    Change Player x by [8]\n    switch costume to (player_right v)\nend\nChange Player y by (sy)\nPosition\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nchange [scroll y v] by (round (((y) - (SCROLL Y)) / (10)))\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nPosition\nif <(y) < [-180]> then\n    set [exit v] to [die]\nend\n\ndefine Change Player y by (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <not <<touching (platforms v)?> or <touching (open doors v)?>>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Change Player x by (sx)\nchange [x v] by (sx)\nPosition\nif <<touching (platforms v)?> or <touching (open doors v)?>> then\n    repeat (17)\n        change [y v] by (1)\n        Position\n        if <not <<touching (platforms v)?> or <touching (open doors v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-17)\n    repeat until <not <<touching (platforms v)?> or <touching (open doors v)?>>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game - Die\nset [exit v] to []\nrepeat (2)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\nwait (0.5) seconds\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((y) - (SCROLL Y))\n\ndefine Test - Die\nif <touching (danger v)?> then\n    set [exit v] to [die]\nend\n\ndefine Game - Win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nchange [level v] by (1)\nwait (1) seconds\nhide\n\n@Danger\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x! [820] yr [0]\n    Clone at x! [650] yr [0]\n    Clone at x! [700] yr [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x! [775] yr [0]\n        Clone at x! [750] yr [0]\n        Clone at x! [700] yr [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x! [900] yr [0]\n            Clone at x! [500] yr [0]\n            Clone at x! [500] yr [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x! [600] yr [0]\n                Clone at x! [700] yr [0]\n                Clone at x! [900] yr [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 1 v)\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x! (x) yr (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Platforms\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [tick v]\nPOSITION ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    CLONE AT X [820] Y [0]\n    CLONE AT X [650] Y [0]\n    CLONE AT X [700] Y [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        CLONE AT X [775] Y [0]\n        CLONE AT X [750] Y [0]\n        CLONE AT X [700] Y [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            CLONE AT X [900] Y [0]\n            CLONE AT X [500] Y [0]\n            CLONE AT X [500] Y [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                CLONE AT X [600] Y [0]\n                CLONE AT X [700] Y [0]\n                CLONE AT X [900] Y [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 1 v)\n                    CLONE AT X [700] Y [0]\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x! (x) yr (y)\n\ndefine CLONE AT X (x) Y (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ndefine POSITION (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\n@Water\n\nwhen I receive [green flag v]\nhide\nchange [ghost v] effect by (25)\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x! [820] yr [0]\n    Clone at x! [650] yr [0]\n    Clone at x! [1000] yr [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x! [775] yr [0]\n        Clone at x! [750] yr [0]\n        Clone at x! [700] yr [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x! [900] yr [0]\n            Clone at x! [500] yr [0]\n            Clone at x! [700] yr [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x! [600] yr [0]\n                Clone at x! [700] yr [0]\n                Clone at x! [900] yr [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 1 v)\n                    Clone at x! [700] yr [0]\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x! (x) yr (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Stuff\n\nwhen I receive [green flag v]\nshow\ngo to [back v] layer\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x! [820] yr [0]\n    Clone at x! [650] yr [0]\n    Clone at x! [700] yr [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x! [775] yr [0]\n        Clone at x! [750] yr [0]\n        Clone at x! [700] yr [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x! [900] yr [0]\n            Clone at x! [500] yr [0]\n            Clone at x! [500] yr [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x! [600] yr [0]\n                Clone at x! [700] yr [0]\n                Clone at x! [900] yr [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 1 v)\n                    Clone at x! [700] yr [0]\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x! (x) yr (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\n@Start\n\nwhen I receive [game on v]\nforever\n    wait (4) seconds\n    play sound [The Beatles - Here Comes the Sun v] until done\n    wait (2) seconds\n    play sound [Plugged \(post mastering\) v] until done\nend\n\nwhen I receive [introover v]\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\nwait (2) seconds\nswitch costume to (0 v)\nwait (1) seconds\nswitch costume to (1 v)\nwait (2) seconds\nswitch costume to (2 v)\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nbroadcast (Game on v)\nset volume to (50) %\nforever\n    play sound [Ocean Wave v] until done\n    wait (10) seconds\nend\n\nwhen flag clicked\nhide\n\n@Sun\n\nwhen flag clicked\nshow\npoint in direction (90)\ngo to x: (-215) y: (153)\nset size to (100) %\nswitch costume to (costume1 v)\nforever\n    wait (0.03) seconds\n    repeat (10)\n        change size by (1.5)\n    end\n    wait (0.03) seconds\n    repeat (10)\n        change size by (-1.5)\n    end\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nforever\n    go to [back v] layer\nend\n\n@Collectables\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <touching (  player  scroll v)?> then\n    start sound [Coin v]\n    change [collected v] by (1)\n    if <(COLLECTED) = (COLLECTED MAX)> then\n        broadcast (Open Portal v)\n    end\n    delete this clone\nend\n\nwhen I receive [set up v]\nhide\nset [collected max v] to [0]\nset [collected v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (dot v)\n    Clone at x! [-119] yr [33]\n    Clone at x! [635] yr [254]\n    Clone at x! [2310] yr [21]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (dot v)\n        Clone at x! [1590] yr [-18]\n        Clone at x! [-213] yr [43]\n        Clone at x! [833] yr [82]\n        Clone at x! [2455] yr [100]\n        Clone at x! [2545] yr [-28]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (dot v)\n            Clone at x! [2114] yr [26]\n            Clone at x! [1595] yr [7]\n            Clone at x! [-122] yr [-35]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (dot v)\n                Clone at x! [37] yr [216]\n                Clone at x! [-21] yr [170]\n                Clone at x! [101] yr [183]\n                Clone at x! [-185] yr [169]\n                Clone at x! [812] yr [18]\n                Clone at x! [2442] yr [261]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (dot v)\n                end\n            end\n        end\n    end\nend\nset [x v] to [-999999]\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x! (x) yr (y)\nset [x v] to (x)\nset [y v] to (y)\nchange [collected max v] by (1)\ncreate clone of (_myself_ v)\n\n@Exit\n\nwhen I receive [green flag v]\nhide\ngo to [back v] layer\n\nwhen I receive [tick v]\nposition ((x) - (SCROLL X)) ((y) - (SCROLL Y))\nif <<(costume [number v]) = [2]> and <touching (  player  scroll v)?>> then\n    set [exit v] to [win]\nend\n\nwhen I receive [set up v]\nhide\nset [collected v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (closed v)\n    Clone at x! [2630] yr [40]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (closed v)\n        Clone at x! [2697] yr [15]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (closed v)\n            Clone at x! [2360] yr [27]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (closed v)\n                Clone at x! [2684] yr [301]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (closed v)\n                    Clone at x! [999999999] yr [999999999]\n                end\n            end\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x! (x) yr (y)\nset [x v] to (x)\nset [y v] to (y)\n\nwhen I receive [open portal v]\nswitch costume to (open v)\n\n@Intro2\n\nwhen flag clicked\ngo to x: (-195) y: (-135)\nswitch costume to (username v)\ncreate clone of (_myself_ v)\nswitch costume to (backgroundblock v)\ncreate clone of (_myself_ v)\nrepeat (5)\n    switch costume to (backgroundblock v)\n    change x by (90)\n    create clone of (_myself_ v)\nend\nrepeat (3)\n    change y by (90)\n    set x to (-195)\n    repeat (6)\n        switch costume to (backgroundblock v)\n        create clone of (_myself_ v)\n        change x by (90)\n    end\nend\n\nwhen I start as a clone\nshow\nif <(costume [name v]) = [BackgroundBlock]> then\n    set size to (0) %\n    point in direction (-90)\n    repeat (40)\n        change size by (((101) - (size)) / (5))\n        turn right (((90) - (direction)) / (5)) degrees\n    end\nend\nif <(costume [name v]) = [Username]> then\n    go to x: (0) y: (0)\n    go to [front v] layer\n    set size to (0) %\n    point in direction (90)\n    repeat (25)\n        change size by (((150) - (size)) / (5))\n    end\n    \n        point in direction ((90) + (([sin v] of (((timer) * (5)) * (50)) ) * (5)))\n        switch costume to (empty v)\n        change size by (((introNameSize) - (size)) / (5))\n        switch costume to (username v)\n        set [color v] effect to (CloneColorEffect)\n    end\nend\nif <(costume [name v]) = [Cool Square]> then\n    go to x: (0) y: (0)\n    go to [front v] layer\n    set size to (0) %\n    point in direction (90)\n    set [color v] effect to (CloneColorEffect)\n    \n        repeat (33)\n            switch costume to (empty v)\n            change size by (((350) - (size)) / (5))\n            switch costume to (cool square v)\n        end\n        delete this clone\n    end\nend\n\nwhen flag clicked\nset [intronamesize v] to [150]\nwait (0.001) seconds\nrepeat until <(IntroOver) = [1]>\n    change [clonecoloreffect v] by (20)\n    switch costume to (cool square v)\n    create clone of (_myself_ v)\n    switch costume to (end v)\n    repeat (33)\n        change [intronamesize v] by (((150) - (introNameSize)) / (5))\n    end\n    set [intronamesize v] to [500]\nend\n\nwhen flag clicked\nreset timer\nplay sound [Kisma - Fingertips \[Edited\] v] until done\n\nwhen flag clicked\nset [introover v] to [0]\nclear graphic effects\nhide\nwait (6.96) seconds\nset [introover v] to [1]\nshow\nswitch costume to (end v)\ngo to x: (1000000000000000000) y: (10000000000)\ngo to [front v] layer\nrepeat (80)\n    change x by (((0) - (x position)) / (15))\n    change y by (((0) - (y position)) / (15))\nend\nbroadcast (IntroOver v)\n\nwhen I receive [introover v]\nif <not <(costume [number v]) = [5]>> then\n    delete this clone\nend\nrepeat (25)\n    change [ghost v] effect by (5)\nend\n\n@thumbnail\n\nwhen flag clicked\ngo to x: (95) y: (-27)\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0.03)\ngo to x: (95) y: (-1000)\nrepeat until <(round (y position)) = [-27]>\n    go to [front v] layer\n    change [ghost v] effect by (-10)\n    change y by (((1) - (y position)) / (5))\nend\nset y to (-27)\n\n@Hat\n\nwhen flag clicked\nhide\n\nwhen I receive [game on v]\nshow\nforever\n    go to (  player  scroll v)\nend\n\nwhen [h v] key pressed\nnext costume\n\n@Assets\n\nwhen flag clicked\nforever\n    hide\nend\n\n
Hello Everyone! Welcome to-\nTropical Essence!\nPLEASE READ EVERYTHING!\n#8 on #Trending! (October 19th 2020)\n----------------------INSTRUCTIONS------------------------\n\nUse the arrow keys to move.\nH to take off hat.\nCollect all of the walnuts to open the portal to the next level!\nLove and Fave for more awesome games!\n------------------------CREDITS------------------------------\n\nThanks to @griffpatch for the amazing scrolling tutorial!\nThanks to @TheFunkyPanda for the sun!\nThanks to @-ElectricShock- for the intro!\nThanks to @Irogef for the boat at the end!\n\nCheck them out!\nAnd check out @OwenGrady99204, @Pancham106 and me! @HenryWolfe!\n\n---------------------Famous Scratchers likes----------------\n\n@Super_Scratcher07 (Loved and Faved!)\n@OverHeatedStudios (Loved)\n@spazestudios (loved)\n@ElixirCrafter3000 (Loved)\n@-superwooper- (loved and faved)\n@Scratchy-LAZAR- (loved)\n\n\n------------------------CHECK LIST---------------------------\n\n1 love:  Completed\n10 loves: Completed\n25 loves: Completed\n50 loves: Completed\n100 loves: Completed\n250 loves: Completed\n500 loves: Completed\n1000 loves: Completed\n2000 loves: Completed\n\n\n\n\n#games #game #Tropical #Essence #Awesome #1 #Platformer #cube #Hashtag #Clouds #Dope #Cool #Best #Fun #Beatles #Chicken #You #Iamgettingsilly #Sun #Herecomesthesun #Music #Hat #Ground #Eye #HenryWolfe #Love #Fave #Follow #Bye