A Platformer THE CAVES #games #all
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nforever\n    if <(Level) = [24]> then\n        switch backdrop to (backdrop2 v)\n    end\n    if <(Level) = [10]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[9] > (Level)> or <[23] < (Level)>> then\n        play sound [mixkit-pop-05-695 v] until done\n    else\n        play sound [Cave v] until done\n    end\nend\n\nif  then\nelse\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        stop all sounds\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [24]> then\n        stop all sounds\n        stop [this script v]\n    end\nend\n\n@Player\n\nsay [Hello!]\n\nwhen flag clicked\nforever\n    if <<(username) = [Insanemaster3000]> or <(username) = [Deltawolf1]>> then\n        set [brightness v] effect to (0)\n        set [color v] effect to (140)\n    end\nend\n\nwhen flag clicked\nset size to (65) %\nhide\ngo to x: (-191) y: (70)\n\nwhen flag clicked\nreset timer\nset [time v] to [0]\nshow variable [time v]\nshow variable [☁ fastest time completed v]\nshow variable [level v]\nset [ghost v] effect to (0)\nset size to (60) %\nswitch costume to (idle v)\nshow\ngo to x: (-214) y: (88)\nset rotation style [left-right v]\nshow\nset [x v] to [0]\nset [y v] to [0]\nset [jump v] to [0]\nforever\n    change [y v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (left v)\n        change [x v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (right v)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (level v)?> then\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <mouse down?>> then\n            set [y v] to [13]\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 (level v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n        set [jump v] to [0]\n    end\n    change y by (-1)\n    if <<(Jump) = [0]> and <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <mouse down?>>> then\n        switch costume to (jump v)\n        set [y v] to [15]\n        set [jump v] to [1]\n    end\n    change y by (1)\n    if <(x position) > [240]> then\n        change [level v] by (1)\n        go to x: (-214) y: (20)\n        change [level v] by (-1)\n        broadcast (message1 v)\n    end\n    if <<touching (bad stuff v)?> or <touching (enemys v)?>> then\n        broadcast (Dead v)\n        start sound [Crunch v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-206) y: (88)\n        set [y v] to [0]\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\n    if <touching (jump pads  v)?> then\n        set [y v] to [30]\n        set [jump v] to [1]\n    end\nend\n\nchange y by (1)\n\nchange y by (1)\n\nchange y by (-5)\nchange y by (1)\n\nwait (1) seconds\n\nswitch costume to (idle v)\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwait (1) seconds\n\nset [level v] to [-1]\n\nwhen I start as a clone\nhide\nswitch costume to (idle v)\nif <(Hi) = [1]> then\n    switch costume to (classic v)\nend\nif <<(username) = [Deltawolf1]> or <<(username) = [Insanemaster3000]> or <(username) = [Car_OverloadZ]>>> then\n    switch costume to (left2 v)\nend\ngo to (player v)\nshow\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen I receive [detection v]\nforever\n    switch costume to (classic v)\n    set [hi v] to [1]\nend\n\nwhen flag clicked\nset [hi v] to [0]\nforever\n    change [time v] by (0.1)\n    wait (.01) seconds\nend\n\nwhen flag clicked\nforever\n    \nend\n\nwhen flag clicked\ndelete all of [cool people v]\nadd [Insanemaster3000] to [cool people v]\n\n@Bad stuff\n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [message1 v]\nforever\n    switch costume to (Level)\nend\n\nset [level v] to [11]\n\nset [level v] to [25]\n\n@Level\n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\n\ngo to x: (0) y: (10)\n\nwhen I receive [message1 v]\nswitch costume to (Level)\n\nwait (0.8) seconds\nchange y by (8)\n\nswitch backdrop to (backdrop2 v)\n\nwhen flag clicked\nforever\n    if <(Level) = [30]> then\n        if <(☁ Fastest time completed) > (Time)> then\n            set [☁ fastest time completed v] to (Time)\n        end\n    end\nend\n\n@Hi\n\nwhen flag clicked\nshow\ngo to [front v] layer\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\nswitch costume to (Level)\n\n@Spr\n\nwhen flag clicked\nhide\nforever\n    if <<[10] > (Level)> or <[23] < (Level)>> then\n        create clone of (_myself_ v)\n        wait (12) seconds\n    end\nend\n\nwhen I start as a clone\ngo to [back v] layer\nshow\ngo to x: (-230) y: (pick random (110) to (160))\nrepeat until <not <touching (_edge_ v)?>>\n    change x by (2)\nend\nrepeat until <touching (_edge_ v)?>\n    change x by (2)\nend\ndelete this clone\n\n@detector\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\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 (1) seconds\nset [my variable v] to [1]\nwait (8) seconds\nset [my variable v] to [0]\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            set [loved__ v] to [1]\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            set [faved___ v] to [1]\n        end\n    end\nend\n\nwhen flag clicked\nset [my variable v] to [0]\n\nwhen flag clicked\nforever\n    if <(my variable) = [1]> then\n        wait (1) seconds\n        go to x: (0) y: (0)\n        show\n        reset timer\n        switch costume to (2 v)\n        broadcast (Detection v)\n        set [ghost v] effect to (100)\n        repeat until <(timer) > [3.5]>\n            change y by ((y position) / (-15))\n            change [ghost v] effect by (-3)\n        end\n        reset timer\n        repeat until <(timer) > [3.5]>\n            change y by (((y position) - (-100)) / (-15))\n            change [ghost v] effect by (10)\n        end\n    end\nend\n\n@Like and fav NOW\n\nwhen flag clicked\ngo to x: (164) y: (79)\nset [ghost v] effect to (0)\nshow\ngo to [back v] layer\nwait (8) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nforever\n    wait (30) seconds\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (8) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen I receive [detection v]\nhide\n\n@Jump pads \n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [message1 v]\nforever\n    switch costume to (Level)\nend\n\n@Enemys\n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (Level)\ngo to x: (0) y: (0)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [message1 v]\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [17]> then\n        repeat (10)\n            change x by (-30)\n        end\n        wait (1) seconds\n        repeat (10)\n            change x by (30)\n        end\n        wait (1) seconds\n    end\n    if <(Level) = [18]> then\n        repeat (10)\n            change x by (-20)\n        end\n        wait (2) seconds\n        repeat (10)\n            change x by (20)\n        end\n        wait (2) seconds\n    end\n    if <(Level) = [19]> then\n        repeat (10)\n            change x by (-10)\n        end\n        wait (1) seconds\n        repeat (10)\n            change x by (10)\n        end\n        wait (1) seconds\n    end\n    if <(Level) = [27]> then\n        repeat (10)\n            change x by (-10)\n        end\n        wait (1) seconds\n        repeat (10)\n            change x by (10)\n        end\n        wait (1) seconds\n    end\nend\n\nset [level v] to [16]\n\n@Sprite1\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\nforever\n    if <<[9] < (Level)> and <not <[23] < (Level)>>> then\n        set [ghost v] effect to (0)\n        create clone of (_myself_ v)\n        wait (pick random (3) to (6)) seconds\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (0)\nshow\nset y to (400)\ngo to (random position v)\npoint in direction (180)\nrepeat until <<touching (level v)?> or <touching (bad stuff v)?>>\n    change y by (-5)\nend\nrepeat (5)\n    change [ghost v] effect by (20)\n    change size by (2)\nend\ndelete this clone\n\n
 Arrow keys to move\nAvoid the deadly traps in the caves\nEscape through dangerous parkour\nFollow me, love and fav\nIf you are stuck to the ground jump!\nEnjoy\nPlay my other games NO ADVERTISING