Explorer / Platformer #games

Instructions: To move use the arrow keys or AWSD \n\nMOBILE-FRIENDLY THANKS TO: @TropicalStudio\n\nCan you check out my youtube channel its DJ Catscratch

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset [ghost v] effect to (0)\nforever\n    wait (45) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    switch backdrop to (backdrop2 v)\n    change [ghost v] effect by (-25)\n    wait (0.5) seconds\n    change [ghost v] effect by (-25)\n    wait (0.5) seconds\n    change [ghost v] effect by (-25)\n    wait (0.5) seconds\n    change [ghost v] effect by (-25)\n    wait (45) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    change [ghost v] effect by (25)\n    wait (0.5) seconds\n    switch backdrop to (backdrop1 v)\n    change [ghost v] effect by (-25)\n    wait (0.5) seconds\n    change [ghost v] effect by (-25)\n    wait (0.5) seconds\n    change [ghost v] effect by (-25)\n    wait (0.5) seconds\n    change [ghost v] effect by (-25)\nend\n\n@Player\n\nwhen flag clicked\nbroadcast (Reset v)\nclear graphic effects\nswitch backdrop to (backdrop1 \(1\) v)\nswitch costume to (normal v)\nshow\ngo to x: (-205.21) y: (-118)\nset size to (50) %\nset [level v] to [1]\nset [x movement v] to [0]\nset [y movement v] to [0]\nforever\n    Hi How are ya ;)\nend\n\nbroadcast (Reset v) and wait\n\nbroadcast (Next Level v) and wait\n\nwhen I receive [reset v]\nswitch costume to (normal v)\nset [x movement v] to [0]\nset [y movement v] to [0]\ngo to x: (-209) y: (-70)\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen this sprite clicked\nsay [I hope I get famous one day! hmm... they should call me Mr./Mrs. Discover ] for (4) seconds\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        switch costume to (right v)\n        change [x movement v] by (1)\n    end\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 movement v] by (-1)\n    end\n    set [x movement v] to ((X Movement) * (0.9))\n    change x by (X Movement)\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                end\n            end\n        end\n    end\n    if <touching (platform v)?> then\n        change x by ((X Movement) * (-1))\n        change y by (-4)\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <[0] < (mouse y)>>> then\n            if <(X Movement) > [0]> then\n                set [x movement v] to [-5]\n            else\n                set [x movement v] to [5]\n            end\n            set [y movement v] to [15]\n        else\n            set [y movement v] to [0]\n        end\n    end\n    change [y movement v] by (-1)\n    change y by (Y Movement)\n    if <touching (platform v)?> then\n        change y by ((Y Movement) * (-1))\n        set [y movement 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?>> or <<mouse down?> and <[0] < (mouse y)>>> then\n            set [y movement v] to [15]\n        end\n        if <(x position) > [239]> then\n            broadcast (Next Level v)\n            change [level v] by (1)\n        end\n        if <touching (traps v)?> then\n            broadcast (Reset v)\n            switch costume to (reset v)\n            wait (0.5) seconds\n        end\n        if <[-189] > (y position)> then\n            broadcast (Reset v)\n        end\n        if <touching (treasure v)?> then\n            broadcast (Collected v) and wait\n            play sound [Collect v] until done\n        end\n    end\n    change y by (1)\n    create clone of (_myself_ v)\nend\n\ndefine Hi How are ya ;)\nHi How are ya ;)\nHi How are ya ;)\nHi How are ya ;)\nHi How are ya ;)\nHi How are ya ;)\nHi How are ya ;)\n\n@Platform\n\nwhen flag clicked\nshow\nforever\n    switch costume to (Level)\nend\n\n@Traps\n\nwhen flag clicked\ngo to [front v] layer\nshow\nforever\n    switch costume to (Level)\nend\n\n@Treasure\n\nwhen flag clicked\nswitch costume to (costume4 v)\ngo to [front v] layer\nhide\nforever\n    switch costume to (Level)\nend\n\nwhen I receive [collected v]\nhide\n\nwhen flag clicked\nforever\n    next costume\n    wait (90) seconds\n    show\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    change [ghost v] effect by (100)\nend\n\n@ Ending!!!\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\ngo to x: (-134) y: (-95)\nswitch costume to (costume1 v)\nforever\n    if <(Level) = [26]> then\n        show\n        say [Hey you made it back after 234 days!] for (10) seconds\n        wait (1) seconds\n        say [everyone thought you died during your traveling] for (10) seconds\n        wait (1) seconds\n        say [I see you have some fossils and other cool things! :\)] for (10) seconds\n        wait (1) seconds\n        switch costume to (costume2 v)\n        say [I will play 1 billion dollars for all that awesome things you have] for (10) seconds\n        wait (1) seconds\n        switch costume to (costume1 v)\n        say [Thank you! I must tell the village your alive! Your gonna go down in history] for (15) seconds\n        wait (1) seconds\n        switch costume to (costume3 v)\n        glide (5) secs to x: (244) y: (-91)\n        set [ghost v] effect to (100)\n        stop [this script v]\n    end\nend\n\n