Explore || A Platformer

Instructions: @AmazingQ loved, Lightning_Li loved/faved and @JC_ProGold loved/faved! :O\n\nWelcome! Play as a explorer on a journey to find treasure in a cave!\n\nThis is my first platformer, so please❤️, ⭐️, Follow and check out my newer and better games!\n\nControls:\nUse Arrow keys or WAD to move.\n\nHow to play:\nAvoid spikes or falling, jump on trampolines (purple) for a jump boost.\nReach the right side of the screen to progress to the next level and find the treasure (complete all 12 levels) to win!\n\nCredits:\nThanks to @TrentonTNT for platformer engine.\n\nAll the other code and art by me!\n\nTags:\n#Games #Platformers #Explore #Spikes #kevtheguy

@Stage\n\n@Player\n\nwhen flag clicked\ngo to x: (-200) y: (50)\nforever\n    change [speed y v] by (-1)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [speed x v] by (1.2)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [speed x v] by (-1.2)\n    end\n    set [speed x v] to ((Speed X) * (0.84))\n    change x by (Speed X)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change y by (-5)\n                            change x by ((Speed X) * (-1))\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Speed X) > [0]> then\n                                    set [speed x v] to [-8]\n                                else\n                                    set [speed x v] to [8]\n                                end\n                                set [speed y v] to [8]\n                            else\n                                set [speed x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Speed Y)\n    if <touching (platform v)?> then\n        change y by ((Speed Y) * (-1))\n        set [speed y v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [speed y v] to [14]\n        end\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <<touching color (#989898)?> or <(y position) < [-180]>> then\n        go to x: (-200) y: (50)\n    end\n    if <(x position) > [240]> then\n        go to x: (-200) y: (50)\n        broadcast (Next Level v)\n    end\n    if <touching color (#9933ff)?> then\n        set [speed y v] to [20]\n    end\nend\n\nwhen I start as a clone\nset [ghost v] effect to (36)\nrepeat (8)\n    change [ghost v] effect by (8)\nend\ndelete this clone\n\n@Platform\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Stuff\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Thumbnail\n\nwhen flag clicked\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\n