Cave Explore | A Platformer #Games #Platformer #Trending #All
@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nswitch backdrop to (level 1 v)\n\n@Pacman\n\nwhen flag clicked\nshow variable [level v]\nset [level v] to [1]\ngo to x: (item (1) of [pacman x's v]) y: (item (1) of [pacman y's v])\nswitch costume to (pacman2 v)\nset [pacman-y v] to [0]\nshow\nforever\n    switch costume to (pacman v)\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        move (5) steps\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        move (5) steps\n    end\n    if <<touching (level v)?> or <touching (platform v)?>> then\n        change y by (1)\n        if <<touching (level v)?> or <touching (platform v)?>> then\n            change y by (1)\n            if <<touching (level v)?> or <touching (platform v)?>> then\n                change y by (1)\n                if <<touching (level v)?> or <touching (platform v)?>> then\n                    change y by (1)\n                    if <<touching (level v)?> or <touching (platform v)?>> then\n                        change y by (-4)\n                        if <not <touching (platform v)?>> then\n                            move (-5) steps\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [pacman-y v] by (-1)\n    change y by (Pacman-Y)\n    if <<touching (level v)?> or <touching (platform v)?>> then\n        change y by ((Pacman-Y) * (-1))\n        set [pacman-y v] to [0]\n    end\n    change y by (-1)\n    if <key (up arrow v) pressed?> then\n        if <<touching (level v)?> or <touching (platform v)?>> then\n            set [pacman-y v] to [12]\n        end\n    end\n    change y by (1)\n    if <touching (platform v)?> then\n        change y by (5)\n    end\n    if <<<touching (yellow v)?> or <touching (red v)?>> or <<touching (blue v)?> or <<touching (green v)?> or <(y position) < [-175]>>>> then\n        broadcast (died v)\n        set [coins v] to [0]\n        go to x: (item (Level) of [pacman x's v]) y: (item (Level) of [pacman y's v])\n    end\n    if <<touching (finish v)?> and <([costume # v] of [finish v]) = [1]>> then\n        broadcast (next level v)\n        set [coins v] to [0]\n        change [level v] by (1)\n        go to x: (item (Level) of [pacman x's v]) y: (item (Level) of [pacman y's v])\n        set [pacman-y v] to [0]\n    end\n    switch costume to (pacman2 v)\nend\n\nwhen flag clicked\nforever\n    if <key (t v) pressed?> then\n        broadcast (next level v)\n        set [coins v] to [0]\n        change [level v] by (1)\n        go to x: (item (Level) of [pacman x's v]) y: (item (Level) of [pacman y's v])\n        set [pacman-y v] to [0]\n        wait until <not <key (t v) pressed?>>\n    end\nend\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level 1 v)\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@Yellow\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [1]> then\n        Clone (1)\n        Clone (2)\n        wait until <(Level) = [2]>\n    end\n    if <(Level) = [6]> then\n        Clone (3)\n        Clone (4)\n        wait until <(Level) = [7]>\n    end\nend\n\ndefine None\ngo to x: (item (number) of [yellow x's v]) y: (item (number) of [yellow y's v])\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\n\nwhen I receive [next level v]\ndelete this clone\n\n@Red\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [2]> then\n        Clone (1)\n        wait until <(Level) = [3]>\n    end\n    if <(Level) = [5]> then\n        Clone (2)\n        wait until <(Level) = [6]>\n    end\n    if <(Level) = [6]> then\n        Clone (3)\n        wait until <(Level) = [7]>\n    end\n    if <(Level) = [7]> then\n        Clone (4)\n        Clone (5)\n        wait until <(Level) = [8]>\n    end\n    if <(Level) = [8]> then\n        Clone (6)\n        Clone (7)\n        wait until <(Level) = [9]>\n    end\nend\n\ndefine None\ngo to x: (item (number) of [red x's v]) y: (item (number) of [red y's v])\ncreate clone of (_myself_ v)\n\nwhen I receive [next level v]\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    repeat (20)\n        change y by (5)\n    end\n    repeat (20)\n        change y by (-5)\n    end\nend\n\n@Blue\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [3]> then\n        Clone (1)\n        Clone (2)\n        wait until <(Level) = [4]>\n    end\n    if <(Level) = [5]> then\n        Clone (3)\n        Clone (4)\n        wait until <(Level) = [6]>\n    end\n    if <(Level) = [6]> then\n        Clone (5)\n        wait until <(Level) = [7]>\n    end\n    if <(Level) = [7]> then\n        Clone (6)\n        Clone (7)\n        wait until <(Level) = [8]>\n    end\nend\n\ndefine None\ngo to x: (item (number) of [blue x's v]) y: (item (number) of [blue y's v])\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nforever\n    set [ghost v] effect to ((distance to [pacman v]) + (20))\nend\n\nwhen I receive [next level v]\ndelete this clone\n\n@Green\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    if <(Level) = [4]> then\n        Clone (1)\n        Clone (2)\n        wait until <(Level) = [5]>\n    end\n    if <(Level) = [5]> then\n        Clone (3)\n        wait until <(Level) = [6]>\n    end\n    if <(Level) = [7]> then\n        Clone (4)\n        wait until <(Level) = [8]>\n    end\nend\n\ndefine None\ngo to x: (item (number) of [green x's v]) y: (item (number) of [green y's v])\nswitch costume to (ghost green v)\ncreate clone of (_myself_ v)\n\nwhen I receive [next level v]\ndelete this clone\n\nwhen I start as a clone\nshow\nif <(costume [number v]) = [1]> then\n    forever\n        if <(distance to [pacman v]) < [100]> then\n            switch costume to (bullet green v)\n            create clone of (_myself_ v)\n            switch costume to (ghost green v)\n            wait (1) seconds\n        end\n    end\nelse\n    point towards (pacman v)\n    repeat until <touching (_edge_ v)?>\n        move (7) steps\n    end\n    delete this clone\nend\n\n@Finish\n\nwhen flag clicked\nset [coins v] to [0]\nshow\nforever\n    go to x: (item (Level) of [finish x's v]) y: (item (Level) of [finish y's v])\n    if <(Coins) = (item (Level) of [coins collect v])> then\n        switch costume to (finish v)\n    else\n        switch costume to (finish2 v)\n    end\n    if <<([x position v] of [pacman v]) < [-150]> and <([y position v] of [pacman v]) < [-155]>> then\n        hide variable [level v]\n    else\n        show variable [level v]\n    end\nend\n\n@Coins\n\ndefine None\nswitch costume to (coin2 v)\ngo to x: (item (number) of [coin x's v]) y: (item (number) of [coin y's v])\ncreate clone of (_myself_ v)\nswitch costume to (coin v)\n\nwhen flag clicked\nswitch costume to (coin v)\nhide\nClone (1)\nwait until <(Level) = [2]>\nClone (2)\nwait until <(Level) = [3]>\nClone (3)\nwait until <(Level) = [4]>\nClone (4)\nwait until <(Level) = [5]>\nClone (5)\nClone (6)\nClone (7)\nwait until <(Level) = [6]>\nClone (8)\nClone (9)\nwait until <(Level) = [7]>\nClone (10)\nwait until <(Level) = [8]>\nClone (11)\n\nwhen I start as a clone\nshow\nforever\n    if <touching (pacman v)?> then\n        change [coins v] by (1)\n        hide\n        wait until <not <touching (pacman v)?>>\n    end\nend\n\nwhen I receive [died v]\nif <(costume [number v]) = [2]> then\n    show\nend\n\nwhen I receive [next level v]\ndelete this clone\n\n@Platform\n\nwhen flag clicked\nswitch costume to (not clone v)\nhide\nwait until <(Level) = [5]>\nClone (1)\n\nwhen I receive [died v]\nif <(costume [number v]) = [1]> then\n    Clone (1)\nend\ndelete this clone\n\nwhen I start as a clone\nshow\nif <(Level) = [5]> then\n    switch costume to (platform v)\n    forever\n        repeat (54)\n            change y by (5)\n        end\n        repeat (54)\n            change y by (-5)\n        end\n    end\nend\n\nwhen I receive [next level v]\ndelete this clone\n\ndefine None\ngo to x: (item (number) of [platform x's v]) y: (item (number) of [platform y's v])\ncreate clone of (_myself_ v)\n\n@Thumbnail\n\nwhen flag clicked\nhide\n\ngo to x: (0) y: (0)\nshow\n\n
Welcome to Platformer! A game that is a platformer xD It is completely rendered in pen! Instructions in game as you go! There are no glitches! :D\nYour goal is to get to the tiny yellow dot. Pink makes you jump higher.\nTook a while to make the platforms :P\n\nHave fun! ;D\n\nTHERE IS A SEQUEL GO CHECK IT OUT ON MY PROFILE