voyage - platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (start v)\n\nwhen I receive [level1 v]\nswitch backdrop to (start2 v)\n\nwhen flag clicked\nforever\n    if <(level) = [15]> then\n        wait (1.5) seconds\n        broadcast (Animation v)\n        stop [this script v]\n    end\nend\n\n@player\n\nwhen flag clicked\npoint in direction (90)\nswitch costume to (1 v)\nhide\nset size to (60) %\nwait (0.9) seconds\ngo to [front v] layer\n\nwhen I receive [level1 v]\ngo to [front v] layer\nshow\ngo to x: (-219) y: (21)\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (level  v)?> then\n        change y by (1)\n        if <touching (level  v)?> then\n            change y by (1)\n            if <touching (level  v)?> then\n                change y by (1)\n                if <touching (level  v)?> then\n                    change y by (1)\n                    if <touching (level  v)?> then\n                        change y by (1)\n                        if <touching (level  v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [yv v] to [-10]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (level  v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (level  v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [13]\n        end\n    end\n    change y by (1)\n    hide variable [yv v]\n    hide variable [xv v]\nend\n\nwhen flag clicked\nforever\n    if <touching (next level v)?> then\n        go to x: (-219) y: (21)\n        change [level v] by (1)\n    end\n    if <touching (spike v)?> then\n        go to x: (-219) y: (21)\n    end\nend\n\nwhen I receive [animation v]\nhide\n\n@Level \n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [level1 v]\nshow\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait (0.4) seconds\ngo to [front v] layer\n\nwhen I receive [animation v]\nhide\n\n@Start Screen\n\nwhen flag clicked\ngo to x: (0) y: (0)\nclear graphic effects\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nwait (1.5) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (0.5) seconds\nswitch costume to (33 v)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nbroadcast (start v)\n\nwhen I receive [level1 v]\nhide\n\n@Next Level\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\nset [level v] to [1]\n\nwhen I receive [level1 v]\nshow\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen flag clicked\nwait (0.7) seconds\ngo to [front v] layer\n\nwhen I receive [animation v]\nhide\n\n@Play Button\n\nwhen I receive [start v]\nset [ghost v] effect to (100)\nshow\ngo to [front v] layer\nwait (0.3) seconds\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\nswitch costume to (nice2 v)\nset [ghost v] effect to (0)\nhide\ngo to x: (9) y: (-85)\n\nwhen this sprite clicked\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nhide\nbroadcast (level1 v)\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (97) %\n    else\n        set size to (90) %\n    end\nend\n\n@background\n\nwhen flag clicked\n\nforever\n    go to x: ((([x position v] of [player v]) * (-.7)) / (20)) y: ((([x position v] of [player v]) * (-.7)) / (20))\nend\n\nwhen flag clicked\nhide\nswitch costume to (2 v)\ngo to x: (0) y: (0)\n\nwhen I receive [level1 v]\nshow\n\nwhen flag clicked\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [animation v]\nhide\n\n@background 2\n\nwhen flag clicked\nhide\nswitch costume to (2 v)\ngo to x: (0) y: (0)\n\nwhen I receive [level1 v]\nshow\n\nwhen flag clicked\nwait (0.2) seconds\ngo to [front v] layer\n\nwhen I receive [animation v]\nhide\n\n@fog\n\nwhen flag clicked\ngo to [front v] layer\nhide\ngo to x: (0) y: (0)\n\nwhen I receive [level1 v]\nhide\n\nwhen flag clicked\nwait (0.6) seconds\ngo to [front v] layer\n\nwhen I receive [animation v]\nhide\n\nwhen flag clicked\nforever\n    if <key (z v) pressed?> then\n        show\n    end\n    if <key (x v) pressed?> then\n        hide\n    end\nend\n\n@spike\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [front v] layer\nwait (0.3) seconds\ngo to [front v] layer\n\nwhen I receive [level1 v]\nshow\n\nwhen flag clicked\nforever\n    switch costume to (level)\nend\n\nwhen I receive [animation v]\nhide\n\n@Animation\n\nwhen flag clicked\nhide\nswitch costume to (1 v)\ngo to x: (0) y: (0)\n\nwhen I receive [animation v]\nshow\nrepeat (20)\n    next costume\n    wait (0.27) seconds\nend\n\n
voyage - platformer\n\nwasd or arrows  -  Z and X turn on/off the fog\n\nstory -\nyou wake up to nothing but sand. You're in a desert. You look around and see the ruins of an old civilization. It's up to you to explore and find out who you are\n