☘︎ Green Jungle || A Platformer ☘︎                      #All #Games #SuperCookii #GreenJungle


@Stage\n\n@PlayerSprite1\n\nwhen flag clicked\npoint in direction (90)\ngo to x: (0) y: (0)\nswitch costume to (2 v)\nswitch backdrop to (home v)\nhide\n\nwhen I receive [intro3 v]\ngo to [front v] layer\ngo [backward v] (1) layers\nshow\n\nwhen I receive [intro3 v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (0 v)\nrepeat (10)\n    change size by (-6)\n    change [ghost v] effect by (8)\nend\ndelete this clone\n\nwhen I receive [play !!! v]\nstop all sounds\nforever\n    play sound [Inferno v] until done\nend\n\nwhen I receive [play !!! v]\nswitch backdrop to (soleil v)\n\nwhen I receive [play !!! v]\nshow\ngo to [front v] layer\nglide (0.25) secs to x: (-200) y: (0)\nset [ma variable v] to [0]\nset [yv v] to [0]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > [10]>>> then\n        point in direction (90)\n        change [ma variable v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < [-10]>>> then\n        point in direction (-90)\n        change [ma variable v] by (-1)\n    end\n    set [ma variable v] to ((ma variable) * (0.9))\n    change x by (ma variable)\n    if <<touching (level v)?> or <touching (mp v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (mp v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (mp v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (mp v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (mp v)?>> then\n                        change y by (1)\n                        if <<touching (level v)?> or <touching (mp v)?>> then\n                            change x by ((ma variable) * (-1))\n                            change y by (-5)\n                        end\n                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                            if <(ma variable) > [0]> then\n                                set [ma variable v] to [-5]\n                            else\n                                set [ma variable v] to [5]\n                            end\n                            set [yv v] to [10]\n                        else\n                            set [yv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<touching (level v)?> or <touching (mp v)?>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching (level v)?> or <touching (mp v)?>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <(x position) > [220]> then\n        set [ma variable v] to [0]\n        set [yv v] to [0]\n        start sound [Magic Spell v]\n        broadcast (new v)\n        go to x: (-200) y: (0)\n    end\n    if <[-160] > (y position)> then\n        💀💀💀\n    end\n    if <touching (dangers v)?> then\n        💀💀💀\n    end\n    if <touching (dangers #2 v)?> then\n        💀💀💀\n    end\n    if <touching (sproutch v)?> then\n        💀💀💀\n    end\n    if <touching (spikes v)?> then\n        💀💀💀\n    end\n    if <touching (bounces v)?> then\n        set [yv v] to [22]\n    end\n    if <touching (bounces v)?> then\n        set [yv v] to [22]\n    end\n    if <touching (water v)?> then\n        change [yv v] by (1)\n        if <<key (up arrow v) pressed?> and <not <touching (water v)?>>> then\n            change [yv v] by (-5)\n        end\n        if <key (up arrow v) pressed?> then\n            change [yv v] by (1)\n            if <key (up arrow v) pressed?> then\n                change [yv v] by (1)\n                if <key (up arrow v) pressed?> then\n                    change [yv v] by (1)\n                    if <key (up arrow v) pressed?> then\n                        change [yv v] by (1)\n                        if <key (up arrow v) pressed?> then\n                            change [yv v] by (-3)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [change v]\nnext costume\n\nwhen I receive [end v]\nbroadcast (⭐️ END ⭐️ v)\n\nwhen I receive [new v]\ngo to x: (-200) y: (50)\n\nwhen I receive [skip 1 v]\nwait (0.00000000000001) seconds\ngo to x: (-200) y: (0)\n\nwhen I receive [play !!! v]\nrepeat (5)\n    go to [front v] layer\nend\n\nbroadcast (intro3 v)\n\nwhen I receive [no change v]\nswitch costume to ((costume [number v]) - (1))\n\ndefine 💀💀💀\nset [ma variable v] to [0]\nset [yv v] to [0]\nstart sound [Crunch v]\nrepeat (20)\n    change [ghost v] effect by (5)\n    change size by (.2)\n    turn right (3) degrees\n    change [brightness v] effect by (-3)\nend\nset size to (15) %\nclear graphic effects\ngo to x: (-200) y: (0)\npoint in direction (90)\nset size to (100) %\n\nwait (999999999) seconds\n\nbroadcast (⭐️ END ⭐️ v)\n\nwhen I receive [⭐️ end ⭐️ v]\nchange [⭐️ end ⭐️ v] by (1)\nif <(⭐️ END ⭐️) = [1]> then\n    hide\n    stop all sounds\n    stop [other scripts in sprite v]\n    switch backdrop to (end v)\n    forever\n        play sound [MountainSiffle v] until done\n    end\nend\n\nwhen flag clicked\nset [⭐️ end ⭐️ v] to [0]\n\n@level\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [play !!! v]\nshow\nforever\n    go to [back v] layer\nend\n\nwhen I receive [new v]\nif <(costume [name v]) = [20]> then\n    broadcast (end v)\nelse\n    next costume\nend\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [new v]\nwait until <(costume [number v]) = [8]>\nbroadcast (skip 1 v)\n\nwhen I receive [new v]\nwait until <(costume [number v]) = [9]>\nbroadcast (skip 1 v)\n\nwhen I receive [new v]\nwait until <(costume [number v]) = [8]>\nswitch backdrop to (pleut v)\nbroadcast (PLEUT v)\n\nwhen I receive [new v]\nwait until <(costume [number v]) = [12]>\nswitch backdrop to (soleil v)\nbroadcast (SOLEIL v)\n\n@play\n\nwhen flag clicked\nset size to (150) %\npoint in direction (90)\nhide\n\nwhen I receive [intro3 v]\ngo to [back v] layer\nshow\nset rotation style [all around v]\nforever\n    repeat (10)\n        turn right (1) degrees\n        change size by (1)\n    end\n    repeat (10)\n        turn left (1) degrees\n    end\n    wait (1) seconds\n    repeat (10)\n        turn left (1) degrees\n        change size by (-1)\n    end\n    repeat (10)\n        turn right (1) degrees\n    end\nend\n\nwhen I receive [intro3 v]\nstop all sounds\nrepeat until <(backdrop [name v]) = [SOLEIl]>\n    play sound [... v] until done\nend\n\nwhen this sprite clicked\nbroadcast (PLAY !!! v)\nhide\n\nwhen flag clicked\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\nbroadcast (intro3 v)\n\n@change\n\nwhen flag clicked\nswitch costume to (r v)\nset size to (160) %\npoint in direction (90)\nhide\n\nwhen I receive [intro3 v]\ngo to [back v] layer\nswitch costume to (r v)\nshow\n\nwhen this sprite clicked\nbroadcast (change v)\n\nwhen I receive [play !!! v]\nhide\n\nwhen flag clicked\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@Pluie\n\nwhen I receive [pleut v]\nhide\nrepeat until <(backdrop [name v]) = [SOLEIl]>\n    create clone of (_myself_ v)\n    wait (0.001) seconds\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (pick random (45) to (90))\nset size to (pick random (40) to (70)) %\ngo to x: (pick random (-240) to (240)) y: (180)\nset [x pleut v] to (x position)\nglide (0.5) secs to x: ((X PLEUT) + (-56)) y: (-180)\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [pleut v]\nhide\nrepeat until <(backdrop [name v]) = [SOLEIl]>\n    play sound [Rain2 v] until done\nend\n\n@change2\n\nwhen flag clicked\nswitch costume to (l v)\nset size to (160) %\npoint in direction (90)\nhide\n\nwhen I receive [intro3 v]\ngo to x: (-100) y: (-90)\ngo to [back v] layer\nswitch costume to (l v)\nshow\n\nwhen this sprite clicked\nbroadcast (No Change v)\n\nwhen I receive [play !!! v]\nhide\n\nwhen flag clicked\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@DECO\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [play !!! v]\nshow\ngo to [front v] layer\n\nwhen I receive [new v]\nnext costume\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\n@skip\n\nwhen flag clicked\nset size to (2) %\npoint in direction (90)\nhide\n\nwhen this sprite clicked\nbroadcast (new v)\n\nwhen I receive [play !!! v]\nset size to (70) %\ngo to [front v] layer\nshow\ngo to x: (-210) y: (-150)\n\nwhen [s v] key pressed\nif <(size) = [70]> then\n    broadcast (new v)\nend\n\nwhen I receive [end v]\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        go to [front v] layer\n        switch costume to (1 v)\n        change [color v] effect by (0.5)\n    else\n        switch costume to (2 v)\n        go to [front v] layer\n    end\nend\n\nwhen I receive [play !!! v]\nforever\n    if <(⭐️ END ⭐️) = [0]> then\n        set size to (70) %\n        go to [front v] layer\n        show\n        go to x: (-210) y: (-150)\n    else\n        set size to (2) %\n        hide\n    end\nend\n\n@DANGERS\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [play !!! v]\nshow\n\nwhen I receive [new v]\nnext costume\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nforever\n    go to x: (20) y: (-38)\n    repeat (30)\n        change x by (3)\n    end\n    repeat (60)\n        change x by (-3)\n    end\n    repeat (30)\n        change x by (3)\n    end\nend\n\nwhen I receive [new v]\nwait until <(costume [number v]) = [20]>\n\nwhen I start as a clone\nrepeat until <not <(costume [number v]) = [20]>>\n    go to x: (-20) y: (-38)\n    repeat (30)\n        change x by (-3)\n    end\n    repeat (60)\n        change x by (3)\n    end\n    repeat (30)\n        change x by (-3)\n    end\nend\n\nwhen I receive [new v]\nwait until <not <(costume [number v]) = [20]>>\ndelete this clone\n\ncreate clone of (_myself_ v)\n\n@MP\n\nwhen I receive [play !!! v]\nshow\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [new v]\nnext costume\n\nwhen flag clicked\nforever\n    go to x: (20) y: (-38)\n    repeat (30)\n        change x by (3)\n    end\n    repeat (60)\n        change x by (-3)\n    end\n    repeat (30)\n        change x by (3)\n    end\nend\n\n@WATER\n\nwhen I receive [play !!! v]\nshow\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [new v]\nnext costume\n\nwhen flag clicked\nforever\n    set size to (100) %\n    go to x: (0) y: (0)\n    repeat (30)\n        change y by (2)\n        change size by (1)\n        change [brightness v] effect by (0.1)\n    end\n    repeat (30)\n        change y by (-2)\n        change size by (-1)\n        change [brightness v] effect by (-0.1)\n    end\nend\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nchange x by (3)\n\nrepeat (30)\n    change x by (3)\nend\n\nwhen flag clicked\nrepeat until <(costume [number v]) = [15]>\n    go to [front v] layer\nend\n\nforever\n\nwhen flag clicked\nwait until <(costume [number v]) = [16]>\nrepeat until <(costume [number v]) = [17]>\n    go to [back v] layer\nend\n\n@SPROUTCH\n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [play !!! v]\nshow\npoint in direction (90)\nforever\n    glide (0.4) secs to x: (0) y: (0)\n    wait (1.5) seconds\n    glide (0.4) secs to x: (0) y: (-197)\n    wait (0.5) seconds\nend\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [new v]\nnext costume\n\n@DANGERS #2\n\nwhen I receive [play !!! v]\nshow\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [new v]\nnext costume\n\nwhen flag clicked\nforever\n    go to x: (20) y: (-38)\n    repeat (30)\n        change x by (3)\n    end\n    repeat (60)\n        change x by (-3)\n    end\n    repeat (30)\n        change x by (3)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nset [balancer v] to [0]\nhide\nswitch costume to (costume1 v)\nclear graphic effects\nforever\n    TiMeR ☻ + [0.01]\nend\n\nwhen [timer v] > (TiMeR ☻)\nforever\n    reset timer\nend\n\nwhen [timer v] > (TiMeR ☻)\nshow\ngo to [front v] layer\nrepeat (120)\n    Balancer at  [10.5]\nend\npoint in direction (90)\n\ndefine Balancer at  (n)\nchange [balancer v] by (n)\npoint in direction ((([cos v] of (BALANCER) ) * ((n) - (0.5))) + (90))\n\ndefine TiMeR ☻ + (t)\nset [timer ☻ v] to ((t) + (timer))\nset [ghost v] effect to (500)\n\n@Spikes\n\nwhen flag clicked\nswitch costume to (1 v)\nhide\n\nwhen I receive [play !!! v]\nshow\nforever\n    go to [back v] layer\nend\n\nwhen I receive [new v]\nnext costume\n\nwhen I receive [end v]\nhide\nstop [other scripts in sprite v]\n\n@Confetti2\n\nwhen I receive [intro end v]\nset size to (99) %\ndelete this clone\n\nwhen I receive [confetti v]\nset [color effect v] to (pick random (0) to (200))\nset [position v] to (pick random (-180) to (180))\nCreate Clones\nCreate Clones\nCreate Clones\nCreate Clones\n\ndefine Create Clones\nif <(Clone?) = [0]> then\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\nset [clone? v] to [1]\nshow\ngo to x: (Position) y: (-179)\nswitch costume to (pick random (1) to (2))\nrepeat (10)\n    change y by (15)\nend\nset [x vel v] to (pick random (-6.) to (6))\nset [y vel v] to (pick random (8.) to (12))\nrepeat until <<(y position) < [-179]> or <<(x position) < [-239]> or <(x position) > [239]>>>\n    change x by (X Vel)\n    change y by (Y Vel)\n    set [x vel v] to ((X Vel) * (.95))\n    change [y vel v] by (-.8)\nend\ndelete this clone\n\nwhen flag clicked\nset size to (100) %\nset [clone? v] to [0]\nhide\n\nwhen I receive [nn v]\nrepeat until <(size) = [99]>\n    broadcast (Confetti v)\n    wait (.75) seconds\nend\n\nwhen flag clicked\n\nplay sound [bensound-dubstep v] until done\nforever\n\n@Confetti\n\nforever\n\nwait (.75) seconds\n\nforever\n\nwhen I receive [intro end v]\n\nstop [other scripts in sprite v]\nrepeat (50)\n    change volume by (-2)\nend\n\nstop all sounds\n\nwhen I receive [intro end v]\n\nwhen I receive [intro end v]\nhide\n\ndelete this clone\n\nstop [all v]\n\nwhen I receive [confetti v]\nset [color effect v] to (pick random (0) to (200))\nset [position v] to (pick random (0) to (0))\nCreate Clones\nCreate Clones\nCreate Clones\nCreate Clones\n\ndefine Create Clones\nif <(Clone?) = [0]> then\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [back v] layer\nset [clone? v] to [1]\nshow\ngo to x: (Position) y: (0)\nswitch costume to (pick random (1) to (2))\nrepeat (10)\n    change y by (0)\nend\nset [x vel v] to (pick random (-13) to (13))\nset [y vel v] to (pick random (4) to (16))\nrepeat until <<(y position) < [-179]> or <<(x position) < [-239]> or <(x position) > [239]>>>\n    change x by (X Vel)\n    change y by (Y Vel)\n    set [x vel v] to ((X Vel) * (.95))\n    change [y vel v] by (-.8)\nend\ndelete this clone\n\nwhen flag clicked\nset [clone? v] to [0]\nhide\n\nwhen I receive [nn v]\nrepeat (1)\n    broadcast (Confetti v)\nend\n\nwhen flag clicked\nset volume to (100) %\nplay sound [Valence - Infinite \[NCS Release\]2 v] until done\n\nplay sound [bensound-dubstep v] until done\n\n@Sprite1\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nset size to (1) %\nrepeat (2)\n    create clone of (_myself_ v)\n    wait (0.7) seconds\nend\nhide\nbroadcast (nn v)\n\nwhen I start as a clone\nrepeat until <[160] < (size)>\n    turn left (pick random (6) to (8)) degrees\n    change size by (2.8)\nend\ndelete this clone\n\n@LOGO\n\nwhen flag clicked\nswitch costume to ( official logo futurist  v)\nswitch backdrop to (intro v)\nhide\n\nwhen I receive [nn v]\nswitch costume to ( official logo futurist  v)\nset size to (100) %\nshow\nset [bounce-size v] to [0]\ngo to x: (0) y: (0)\nreset timer\npoint in direction (90)\nshow\nrepeat (2)\n    repeat (30)\n        change size by (((100) - (size)) / (7))\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (20)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change size by (([sin v] of (Bounce-size) ) / (1))\n        change [bounce-size v] by (5)\n    end\n    repeat (3)\n        change size by (5)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (3)\n        change size by (-5)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (30)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change size by (([sin v] of (Bounce-size) ) / (1))\n        change [bounce-size v] by (5)\n    end\n    repeat (3)\n        change size by (5)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (3)\n        change size by (-5)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (50)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change size by (([sin v] of (Bounce-size) ) / (1))\n        change [bounce-size v] by (5)\n    end\n    repeat (3)\n        change size by (5)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (3)\n        change size by (-5)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change [bounce-size v] by (5)\n    end\n    repeat (17)\n        point in direction ((([cos v] of ((Bounce-size) * (1.4)) ) * (9)) + (90))\n        change size by (([sin v] of (Bounce-size) ) / (1))\n        change [bounce-size v] by (5)\n    end\nend\nbroadcast (slide v)\n\nset size to (1) %\n\nset size to (100) %\npoint in direction (90)\nhide\n\nwhen I receive [slide v]\nshow\ngo to [front v] layer\nset size to (100) %\nswitch costume to (costume2 v)\ngo to x: (0) y: (0)\nrepeat (14)\n    change size by ((timer) * (5))\nend\nset size to (100) %\nswitch costume to (costume3 v)\nhide\nswitch backdrop to (home v)\nbroadcast (INTRO END v)\nbroadcast (intro3 v)\n\nwhen flag clicked\n\n