Journey - A Platformer
@Stage\n\nwhen I receive [next level v]\nnext backdrop\n\nwhen flag clicked\nclear graphic effects\nswitch backdrop to (blue sky 2  v)\nforever\n    play sound [Beach Bowl Galaxy v] until done\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [8]> then\n        broadcast (show v)\n    end\nend\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nset size to (60) %\nswitch costume to (player v)\nshow\ngo to x: (-210) y: (0)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        switch costume to (player left v)\n    end\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        switch costume to (player right v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <key (up arrow v) pressed?> then\n            set [y v] to [17]\n            if <(x) > [0]> 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 (ground v)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching (ground v)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        set rotation style [all around v]\n        repeat (10)\n            change size by (-10)\n            change [ghost v] effect by (10)\n            turn right (15) degrees\n        end\n        clear graphic effects\n        set rotation style [left-right v]\n        point in direction (90)\n        go to x: (-210) y: (0)\n        set size to (60) %\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <(x position) > [217]> then\n        broadcast (Next Level v)\n        go to x: (-210) y: (0)\n        set [y v] to [0]\n        set [x v] to [0]\n    end\n    if <touching (bouncer v)?> then\n        set [y v] to [15]\n    end\n    if <<key (up arrow v) pressed?> and <touching (bouncer v)?>> then\n        set [y v] to [20]\n    end\n    if <not <<key (left arrow v) pressed?> or <key (right arrow v) pressed?>>> then\n        switch costume to (player v)\n    end\nend\n\n@Ground\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (level 1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Spikes\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\nswitch costume to (level 1 v)\n\n@Bouncer\n\nwhen I receive [next level v]\nhide\n\nwhen flag clicked\nshow\ngo to x: (-19) y: (-80)\nswitch costume to (level 1 v)\n\n@cloud 2\n\nwhen flag clicked\nshow\ngo to x: (15) y: (123)\n\nwhen I receive [next level v]\nhide\n\n@cloud 1\n\nwhen flag clicked\nshow\ngo to x: (-146) y: (123)\n\nwhen I receive [next level v]\nhide\n\n@sun\n\nwhen flag clicked\nshow\ngo to x: (226) y: (145)\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Treasure Chest\n\nwhen flag clicked\nhide\n\nwhen I receive [show v]\ngo to [front v] layer\nshow\ngo to x: (115) y: (-67)\n\n@thumbnail\n\nwhen flag clicked\nhide\n\n
You're going on an adventure to find a treasure chest.\nWill you ever find it?\nFull Screen has more clear graphics\nLike and Love if you think this game is good! \n