The Expedition || A Platformer #games
@Stage\n\n@Sprite1\n\nwhen flag clicked\nset [bought doble jump v] to [0]\ngo to [front v] layer\nset size to (50) %\npoint in direction (90)\nshow\nset [color v] effect to (0)\nset rotation style [all around v]\ngo to x: (-203) y: (-29)\nset [pixelate v] effect to (0)\nshow\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v] by (1)\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?> or <<mouse down?> and <(mouse x) > (x position)>>> 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        change [y v] by (13)\n    end\n    change y by (1)\n    if <(x position) > [222]> then\n        go to x: (-217) y: (-20)\n        broadcast (NEXT LEVEL v)\n    end\n    if <<(y position) < [-170]> or <touching (evil v)?>> then\n        broadcast (oof v)\n        start sound [HIT v]\n        repeat (10)\n            set rotation style [all around v]\n            change y by (10)\n            change [ghost v] effect by (5)\n            change [pixelate v] effect by (15)\n            change [ghost v] effect by (5)\n        end\n        go to x: (-217) y: (-20)\n        set [ghost v] effect to (0)\n        set [pixelate v] effect to (0)\n        point in direction (90)\n    end\n    switch costume to (costume2 v)\n    if <<key (right arrow v) pressed?> or <key (left arrow v) pressed?>> then\n        create clone of (_myself_ v)\n    end\nend\n\nturn right (20) degrees\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nrepeat (20)\n    change y by (pick random (1) to (10))\n    change [ghost v] effect by (15)\n    change size by (-3)\n    change x by (-5)\nend\ndelete this clone\n\n@ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [oof v]\nstart sound [Alarm v]\nrepeat (2)\n    change x by (4)\n    wait (0.03) seconds\n    change y by (4)\n    wait (0.03) seconds\n    change x by (-4)\n    wait (0.03) seconds\n    change y by (-4)\n    wait (0.03) seconds\nend\n\n@Sprite2\n\nwhen flag clicked\nforever\n    go to x: ((mouse x) / (20)) y: ((mouse y) / (20))\nend\n\nwhen flag clicked\nforever\n    wait (pick random (15) to (20)) seconds\n    set [brightness v] effect to (0)\n    repeat (48)\n        change [brightness v] effect by (-1.5)\n        wait (0.1) seconds\n    end\n    wait (pick random (14) to (19)) seconds\n    repeat (48)\n        change [brightness v] effect by (1.5)\n        wait (0.1) seconds\n    end\n    set [brightness v] effect to (0)\nend\n\n@Sprite3\n\nwhen I start as a clone\ngo to x: (98) y: (pick random (160) to (100))\nset [ghost v] effect to (pick random (10) to (60))\nset size to (pick random (90) to (50)) %\nchange x by (10000000)\nshow\nrepeat until <(x position) < [-220]>\n    change x by (pick random (-3) to (-5))\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    switch costume to (pick random (1) to (10))\n    hide\n    wait (pick random (0.9) to (2)) seconds\nend\n\nshow\n\n@Sprite4\n\nwhen flag clicked\nset volume to (0) %\nwait (1) seconds\nrepeat (30)\n    change volume by (10)\n    wait (0.03) seconds\nend\n\nwhen I receive [next level v]\nstart sound [D Piano v]\n\nstart sound [Purple Planet Music - A Beautiful Morning \(1_41\) 110bpm v]\n\nwhen flag clicked\nwait (0.8) seconds\nforever\n    play sound [Purple Planet Music - A Beautiful Morning \(1_41\) 110bpm v] until done\nend\n\n@Sprite5\n\ngo to x: (0) y: (0)\n\nwhen flag clicked\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\nshow\n\n@Sprite7\n\n@Sprite8\n\nwhen I start as a clone\ngo to [front v] layer\nshow\nset size to (pick random (5) to (20)) %\nset [ghost v] effect to (pick random (0) to (50))\npoint towards (pick random (1) to (180))\nrepeat (2)\n    change y by (1)\nend\nchange y by (1)\nrepeat (30)\n    change [ghost v] effect by (5)\n    change y by (-7)\n    change x by (pick random (-10) to (10))\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\n    hide\n    go to (mouse-pointer v)\nend\n\n
Arrow keys \nplay. Heart. Star.\n@LawsOfScienceChanger loved\n@sk8cool loved and faved\n@FllurryHeart loved\n@-FullMoon- loved and faved\n@-GentooPenguin- loved and faved\n@AUMSUMTHEGREATHULK loved?! cul\nLimited Time to: LOVE AND FAVE THEN YOU CAN ADVERTISE. (not spam)\n\n\n\n\n\n\n\nSTOP\n\n\n\n\n\n\n\n\n\n\n\n\n\nS TO P\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nS T O P\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n; (