The Eye (A Platformer)

Instructions: Welcome to a little project I worked on called "Journal". If you have not played the first two games PLEASE DO SO. You play as a kids drawing as you explore his notebook. He communicates to you by writing in his journal, however he grew older and gave the journal to his young brother. Play this easy lighthearted platformer with simple WASD or Arrow keys to move.

@Stage\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [H-Audio - Pixel Dungeons v] until done\nend\n\nwhen flag clicked\nforever\n    if <key (1 v) pressed?> then\n        change volume by (1)\n    end\n    if <key (2 v) pressed?> then\n        change volume by (-1)\n    end\nend\n\nwhen [d v] key pressed\nstop [all v]\n\n@Player\n\nwhen [d v] key pressed\nhide\n\nwhen [r v] key pressed\ngo to x: (-227) y: (-69)\n\nwhen flag clicked\npoint in direction (90)\npoint in direction (90)\ngo to x: (-217) y: (-69)\nshow\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    go to [front v] layer\n    change [y v] by (-1)\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [x v] by (-0.8)\n    end\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [x v] by (0.8)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <<touching color (#16c64d)?> or <touching color (#777777)?>> then\n        change y by (1)\n    end\n    if <<touching color (#16c64d)?> or <touching color (#7b7b7b)?>> then\n        change y by (1)\n    end\n    if <<touching color (#16c64d)?> or <touching color (#7f7f7f)?>> then\n        change y by (1)\n    end\n    if <<touching color (#16c64d)?> or <touching color (#7f7f7f)?>> then\n        change y by (1)\n    end\n    if <<touching color (#16c64d)?> or <touching color (#7f7f7f)?>> 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 [12]\n            if <([abs v] of (x) ) = (x)> then\n                set [x v] to [-7]\n            else\n                set [x v] to [7]\n            end\n        else\n            set [x v] to [0]\n        end\n    end\n    change y by (y)\n    if <<touching color (#16c64d)?> or <touching color (#7f7f7f)?>> 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 color (#16c64d)?> or <touching color (#7f7f7f)?>>> then\n        set [y v] to [12]\n    end\n    change y by (1)\n    if <touching color (#e14731)?> then\n        go to x: (-227) y: (-69)\n    end\n    if <touching color (#9770c9)?> then\n        go to x: (-227) y: (-69)\n        broadcast (Next Stage v)\n    end\n    if <touching color (#6f76d8)?> then\n        set [y v] to [20]\n    end\nend\n\n@Clouds\n\nwhen I start as a clone\ngo [backward v] (1) layers\nswitch costume to (Costume)\nshow\nglide (pick random (10) to (20)) secs to x: (230) y: (y position)\ndelete this clone\n\nwhen flag clicked\nset size to (60) %\nhide\nrepeat (2)\n    set [costume v] to (pick random (1) to (3))\n    go to x: (pick random (-240) to (240)) y: (pick random (0) to (140))\n    create clone of (_myself_ v)\nend\nforever\n    go to x: (-230) y: (pick random (0) to (140))\n    create clone of (_myself_ v)\n    set [costume v] to (pick random (1) to (3))\n    wait (pick random (6) to (10)) seconds\nend\n\n@Stage\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    go to x: (0) y: (0)\n    if <(costume [number v]) = [9]> then\n        broadcast (Moving platform v)\n    end\n    if <(costume [number v]) = [10]> then\n        broadcast (Moving Magma v)\n    end\n    if <(costume [number v]) = [11]> then\n        broadcast (Fin game v)\n    end\nend\n\nwhen flag clicked\nswitch costume to (level 1 v)\n\nwhen [d v] key pressed\nhide\n\nwhen I receive [next stage v]\nnext costume\n\n@Sprite1\n\nwhen I receive [moving platform v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [moving magma v]\nswitch costume to (costume2 v)\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to x: (127) y: (-80)\nforever\n    glide (2) secs to x: (-103) y: (-80)\n    wait (0.9) seconds\n    glide (2) secs to x: (127) y: (-80)\n    wait (0.9) seconds\nend\n\nwhen [d v] key pressed\nhide\n\nwhen I receive [fin game v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\ngo to x: (-103) y: (-80)\nforever\n    glide (2) secs to x: (127) y: (-80)\n    wait (0.9) seconds\n    glide (2) secs to x: (-103) y: (-80)\n    wait (0.9) seconds\nend\n\nwhen I receive [moving magma v]\nswitch costume to (costume2 v)\nshow\n\nwhen I receive [moving platform v]\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [fin game v]\nhide\n\nwhen [d v] key pressed\nhide\n\n@Thumbnail\n\nwhen [d v] key pressed\nshow\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n