Pirate, a platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [intro is over v]\nswitch backdrop to (backdrop2 v)\n\n@Water\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [back v] layer\ngo to x: (0) y: (-226)\nforever\n    if <<<(costume [number v]) = [2]> or <(costume [number v]) = [4]>> or <(costume [number v]) = [10]>> then\n        set x to (0)\n        repeat until <(x position) = [130]>\n            change x by (10)\n        end\n    end\n    if <(costume [number v]) = [6]> then\n        glide (1) secs to x: (125) y: (-170)\n        glide (1) secs to x: (-96) y: (-170)\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [davy jones locker v]\nstart sound [more birds v]\nstart sound [birds v]\n\n\n\nrepeat until <(costume [number v]) = [7]>\n\n@intro\n\nwhen flag clicked\ngo to x: (0) y: (-300)\nset size to (100) %\nset [size v] to [0]\nset [my variable v] to [0]\nforever\n    set [my variable v] to ((my variable) * (.88))\n    change y by (my variable)\nend\n\nwhen flag clicked\nset [brightness v] effect to (100)\nset [my variable v] to [25.15]\nwait (.9) seconds\nset [size v] to [15]\nwait (.8) seconds\nset [size v] to [-15]\nwait (.9) seconds\nset [my variable v] to [25.15]\n\nwhen flag clicked\nswitch costume to (costume1 v)\nstart sound [invisible v]\nshow\nset [ghost v] effect to (100)\nrepeat (25)\n    change [brightness v] effect by (-4)\n    change [ghost v] effect by (-4)\nend\nwait (1.5) seconds\nrepeat (25)\n    change [brightness v] effect by (4)\n    change [ghost v] effect by (4)\nend\nhide\nwait (.4) seconds\nbroadcast (intro is over v)\n\nwhen flag clicked\nforever\n    set [size v] to ((size) * (.66))\n    change size by (size)\nend\n\nwhen flag clicked\nrepeat (20000000)\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\ngo to [front v] layer\n\nwhen I start as a clone\nshow\nswitch costume to (pick random (2) to (3))\ngo to [back v] layer\nset size to (pick random (70) to (90)) %\ngo to x: (221) y: (pick random (-116) to (153))\nrepeat until <touching (_edge_ v)?>\n    change x by (pick random (-5) to (-8))\nend\ndelete this clone\n\nwhen I receive [intro is over v]\ndelete this clone\n\nwhen I receive [intro is over v]\nstop all sounds\nstop [other scripts in sprite v]\n\nwhen flag clicked\nplay sound [Pompeii v] until done\n\n@Sprite1\n\ndefine Gravity, Platform Detection, Physics....\ngo to x: (-180) y: (0)\nforever\n    if <<<key (a v) pressed?> or <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 (d v) pressed?> or <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 (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (1)\n    end\n    if <touching (level v)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > [0]>>> 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 (level 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?> or <key (w v) pressed?>> or <<mouse down?> and <((mouse y) - (y position)) > [50]>>> and <touching (level v)?>> then\n        switch costume to (up v)\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<<touching (water v)?> or <(y position) < [-175]>> or <key (r v) pressed?>> then\n        go to x: (-180) y: (0)\n    end\n    if <(x position) > [230]> then\n        broadcast (next level v)\n    end\n    if <touching (cave hehehehehehe v)?> then\n        broadcast (next level v)\n    end\n    if <touching (trampoline v)?> then\n        set [y v] to [22]\n    end\n    change [y v] by (-1)\nend\n\ngo to x: (-180) y: (0)\nbroadcast (next level v)\n\nwhen I receive [were all out of rum too v]\nGravity, Platform Detection, Physics....\n\nwhen I receive [intro is over v]\nbroadcast (Davy Jones Locker v)\n\nbroadcast (WeRE alL OuT of RuM ToO v)\n\nforever\n    if <touching (water v)?> then\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [were all out of rum too v]\nshow\n\n\n\nswitch costume to (up is down v)\n\nswitch costume to ("our debt is settled" v)\n\nwhen I receive [next level v]\nset x to (-200)\nset y to (200)\n\n@level\n\nwhen I receive [next level v]\nnext costume\n\nwhen I receive [were all out of rum too v]\nswitch costume to (costume1 v)\n\n@Sprite2\n\nwhen I receive [yarrrrrrrrrrrrrrr v]\nbroadcast (WeRE alL OuT of RuM ToO v)\nplay sound [You Can't not Love this! lol v] until done\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [davy jones locker v]\nswitch costume to (land ho v)\nwait (3) seconds\nbroadcast (YARRRRRRRRRRRRRRR v)\n\nwhen I receive [were all out of rum too v]\nhide\n\n@CaVe hehehehehehe\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [were all out of rum too v]\ngo to [back v] layer\nshow\n\nwhen I receive [next level v]\nnext costume\n\n@detail variable\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [back v] layer\nhide\n\nwhen I receive [were all out of rum too v]\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [13]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\n@Sprite3\n\nwhen I receive [intro is over v]\nhide\ngo to x: (-12) y: (102)\nwait (7) seconds\nshow\nglide (0.7) secs to x: (-12) y: (0)\nwait (2) seconds\nglide (1) secs to x: (-12) y: (102)\nhide\n\nwhen flag clicked\nhide\n\n
arrows to move/mobile               YES, I love good feedback\n\nif you don't like it, don't comment...\n❤ and ⭐\nif it gets 60 loves, I will make a sequel\n\nps: this project is filled with weird names, comment one if you know what movie it is from. ez