Ruins of the lost - a parallax platformer #Games

Instructions: https://scratch.mit.edu/projects/647059828/\n@--Ako-- is my 100th follower!!\n\nMobile Mode is a little wonky.\n\nPlease don't advertise!\n\n@StratfordJames loved and faved\n@FreezeNova loved and faved\n@sceptile100 faved\n@Capt_Boanerges loved!\n\nI made the respawn and the intro quicker. \nI also added a special move. It is the thing on the left side. If you press space, or in a mobile case, you click on it. it gives you an extra jump. \nI added a little helper that you can only use on a computer or something with a keyboard. Press b to change the brightness of the spikes.\n\nGoal: \nGet 1000 views/done\n\nGet featured\n#8 in trending!!\n\ncreator's note:\nJust FYI, the background might be a little blurry due to the fact that your computer might not be able to handle some of the graphics.\nSorry for the inconvenience - -CodingIt-\n\nInstructions:\nArrow keys\nWASD\nFinger\nStoryline:\nYour world is crumbling. Finding something called the Magic cube might be the only thing powerful enough to stop the world from crumbling. Explore the ruins of the lost, and find the Magic cube before it's too late!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIf someone decides to steal this project, this is proof that I made this project: \n@-CodingIt-\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n

@Stage\n\n@level\n\nwhen I receive [music v]\nset volume to (100) %\nforever\n    play sound [\[No Copyright Music\] Traveler - \(Royalty Free Celtic Music\) v] until done\nend\n\nwhen I receive [nextlevel v]\nwait (1) seconds\nnext costume\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-10)) y: (([y position v] of [player v]) / (10))\nend\n\nwhen I receive [green flag v]\nshow\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [11]> then\n        broadcast (magic cube v)\n        stop [this script v]\n    end\nend\n\n@back\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\ngo to [back v] layer\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-10)) y: (([y position v] of [player v]) / (10))\nend\n\nwhen I receive [nextlevel v]\nwait (1) seconds\nswitch costume to (pick random (1) to (3))\n\n@player\n\nwhen I receive [restart v]\nstop [other scripts in sprite v]\nwait (1.5) seconds\nglide (0.5) secs to x: (-210) y: (-58)\nwait (0.3) seconds\nset [speedx v] to [0]\nset [speedy v] to [0]\nshow\nbroadcast (green flag v)\nset [death v] to [0]\n\nwhen I receive [green flag v]\nset [death v] to [0]\ngo to x: (-210) y: (-58)\nshow\nclear graphic effects\nset volume to (100) %\npoint in direction (90)\nset size to (90) %\nforever\n    change [speedy v] by (-0.5)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [speedx v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(x position) < (mouse x)>>> then\n        change [speedx v] by (1)\n    end\n    set [speedx v] to ((speedX) * (0.9))\n    change x by (speedX)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (back 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 y by (-6)\n                                change x by ((speedX) * (-1))\n                                if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                                    set [speedy v] to [8]\n                                    if <(speedX) > [0]> then\n                                        set [speedx v] to [-8]\n                                    else\n                                        set [speedx v] to [8]\n                                    end\n                                else\n                                    set [speedx v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (SpeedY)\n    if <touching (level v)?> then\n        change y by ((SpeedY) * (-1))\n        set [speedy v] to [0]\n    end\n    change y by (-0.5)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> and <touching (level v)?>> then\n        set [speedy v] to [8]\n    end\n    change y by (0.5)\n    if <<[240] < (x position)> and <(death) = [0]>> then\n        broadcast (nextlevel v)\n        wait (1) seconds\n        go to x: (-210) y: (-58)\n        set [speedx v] to [0]\n        set [speedy v] to [0]\n    end\n    if <touching (bad v)?> then\n        set [death v] to [1]\n        hide\n        broadcast (die v)\n        broadcast (wasted v)\n    end\nend\n\nwhen I receive [green flag v]\nforever\n    switch costume to (costume1 v)\n    wait (pick random (1.5) to (2)) seconds\n    repeat (6)\n        next costume\n    end\n    wait (0.2) seconds\n    repeat (5)\n        switch costume to ((costume [number v]) - (1))\n    end\nend\n\nwhen I receive [r v]\nhide\nglide (0.3) secs to x: (-210) y: (-58)\nbroadcast (green flag v)\nset [speedx v] to [0]\nset [speedy v] to [0]\nshow\nset [death v] to [0]\n\nwhen I receive [nextlevel v]\nwait (1) seconds\ngo to x: (-210) y: (-58)\nset [speedx v] to [0]\nset [speedy v] to [0]\n\nwhen flag clicked\nhide\n\nwhen I receive [magic cube v]\nsay [The Magic cube!] for (2) seconds\nsay [Let's go collect it!] for (2) seconds\n\nwhen I receive [special v]\nset [speedy v] to [0]\nchange [speedy v] by (10)\nrepeat until <(SpeedY) < [0]>\n    create clone of (_myself_ v)\n    wait (0.05) seconds\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (-10)\n    change size by (-4)\nend\ndelete this clone\n\n@light\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\ngo [backward v] (1) layers\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-10)) y: (([y position v] of [player v]) / (10))\nend\n\nwhen I receive [nextlevel v]\nwait (1.05) seconds\nlight\n\ndefine light\nif <([costume name v] of [back v]) = [costume1]> then\n    switch costume to (costume1 v)\nelse\n    if <([costume name v] of [back v]) = [costume2]> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume3 v)\n    end\nend\n\nwhen I receive [green flag v]\nshow\n\n@vines\n\nwhen flag clicked\nhide\nswitch costume to (costume1 v)\npoint in direction (90)\ngo [forward v] (999) layers\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-3)) y: (([y position v] of [player v]) / (3))\nend\n\nwhen I receive [nextlevel v]\nwait (1) seconds\nswitch costume to (pick random (1) to (3))\n\nwhen I receive [green flag v]\nshow\n\nwhen I receive [game finished v]\nhide\n\nwhen I receive [world saved v]\nhide\n\n@Transition\n\nwhen flag clicked\ngo to x: (484) y: (0)\nhide\n\nwhen I receive [nextlevel v]\ngo to [front v] layer\nshow\ngo to x: (484) y: (0)\nrepeat until <[40] > (x position)>\n    change x by (-40)\nend\nwait (0.5) seconds\nrepeat until <[-500] > (x position)>\n    change x by (-40)\nend\nhide\n\n@Effect\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [green flag v]\nshow\n\n@explosion\n\nwhen I receive [die v]\nshow\nswitch costume to (poof-0 v)\ngo to (player v)\nrepeat (12)\n    next costume\nend\nhide\n\nwhen flag clicked\nset size to (20) %\nhide\n\n@YOu died\n\nwhen I receive [die v]\ngo to [front v] layer\ngo to x: (0) y: (0)\nwait (0.4) seconds\nshow\n\nwhen flag clicked\nhide\n\nwhen I receive [restart v]\nhide\n\n@retry\n\nwhen flag clicked\nset [is death happened v] to [1]\nset [ghost v] effect to (100)\ngo to [front v] layer\ngo to x: (0) y: (-80)\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <(is death happened) = [0]>> then\n            repeat (10)\n                turn right (36) degrees\n                change size by (-10)\n            end\n            set [ghost v] effect to (100)\n            hide\n            set [is death happened v] to [1]\n            broadcast (restart v)\n        end\n    else\n        change size by (((100) - (size)) / (2))\n        set [brightness v] effect to (-10)\n    end\nend\n\nwhen I receive [wasted v]\nset [is death happened v] to [0]\ngo to [front v] layer\nwait (0.5) seconds\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\n@revive\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [restart v]\nshow\ngo to [front v] layer\ngo [forward v] (99999999999) layers\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.3) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\n@bad\n\nwhen flag clicked\nset [brightness v] effect to (0)\nset [level v] to [1]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-10)) y: (([y position v] of [player v]) / (10))\nend\n\nwhen I receive [nextlevel v]\nwait (1) seconds\nset [brightness v] effect to (0)\nnext costume\nchange [level v] by (1)\n\nwhen [b v] key pressed\nchange [brightness v] effect by (20)\n\n@nextlevel\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nset [brightness v] effect to (0)\nbroadcast (nextlevel v)\n\nwhen I receive [green flag v]\ngo to [front v] layer\ngo to x: (-191) y: (146)\nset [ghost v] effect to (0)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        set [brightness v] effect to (20)\n    else\n        change size by (((100) - (size)) / (2))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [green flag v]\npoint in direction (90)\nforever\n    repeat (6)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (12)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (6)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [die v]\nhide\n\nwhen I receive [restart v]\nshow\n\nwhen I receive [magic cube v]\nhide\n\nwhen flag clicked\nforever\n    if <([costume # v] of [level v]) = [11]> then\n        hide\n    end\nend\n\n@restart\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nset [brightness v] effect to (0)\nbroadcast (r v)\n\nwhen I receive [green flag v]\ngo to x: (-191) y: (100)\ngo to [front v] layer\nset [ghost v] effect to (0)\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        set [brightness v] effect to (20)\n    else\n        change size by (((100) - (size)) / (2))\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [green flag v]\npoint in direction (90)\nforever\n    repeat (6)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (12)\n        turn left (1) degrees\n        wait (0.01) seconds\n    end\n    repeat (6)\n        turn right (1) degrees\n        wait (0.01) seconds\n    end\nend\n\nwhen I receive [die v]\nhide\n\nwhen I receive [restart v]\nshow\n\nwhen flag clicked\nforever\n    if <([costume # v] of [level v]) = [11]> then\n        hide\n    end\nend\n\n@vineropes\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-10)) y: (([y position v] of [player v]) / (10))\nend\n\nwhen I receive [nextlevel v]\nwait (1) seconds\nnext costume\n\n@particles\n\ndefine stuff (stuff)\nchange size by (pick random (50) to (-30))\nswitch costume to (pick random (1) to (4))\ngo [forward v] (1) layers\nset [ghost v] effect to (pick random (10) to (20))\nset [x v] to [2]\nclear graphic effects\nforever\n    change [y v] by (-3)\n    if <touching (_edge_ v)?> then\n        if <(x) = [1]> then\n            set [x v] to [-1]\n        else\n            set [x v] to [1]\n        end\n    end\n    change y by (y)\n    change x by ((stuff) * (x))\n    if <(y position) < [-170]> then\n        delete this clone\n    end\nend\n\nwhen I receive [particles v]\ngo to (intro front v)\nif <touching (_edge_ v)?> then\n    set [y v] to [20]\nelse\n    set [y v] to [5]\nend\ngo to (intro front v)\nchange y by (-60)\nrepeat (18)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nset size to (80) %\n\nwhen I start as a clone\nshow\nstuff (pick random (-20) to (20))\n\nwhen I receive [die v]\n\n@storyline\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (-7) y: (5)\nset [ghost v] effect to (0)\nset [pixelate v] effect to (0)\nswitch costume to (costume7 v)\nhide\n\nwhen I receive [storyline v]\ngo to x: (-7) y: (5)\nset [pixelate v] effect to (0)\nswitch costume to (costume7 v)\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nrepeat (6)\n    set [pixelate v] effect to (0)\n    repeat (15)\n        change [pixelate v] effect by (5)\n    end\n    wait (0.1) seconds\n    next costume\n    repeat (15)\n        change [pixelate v] effect by (-5)\n    end\n    set [pixelate v] effect to (0)\n    wait (2) seconds\nend\nbroadcast (start v)\nhide\n\nwhen I receive [skip v]\nbroadcast (start v)\nhide\n\n@game transition\n\nwhen flag clicked\nset [bright transition. this is a little confusing so i'm just going to put a bunch of random words. ready? blabalblablalblalblalblalbalblablablaablablalalalalalblaalba v] to [0]\nset [ghost v] effect to (100)\nhide\n\nwhen I receive [start v]\nif <(bright transition. This is a little confusing so I'm just going to put a bunch of random words. Ready? blabalblablalblalblalblalbalblablablaablablalalalalalblaalba) = [0]> then\n    go to x: (0) y: (0)\n    set [ghost v] effect to (100)\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (1) seconds\n    broadcast (green flag v)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    set [bright transition. this is a little confusing so i'm just going to put a bunch of random words. ready? blabalblablalblalblalblalbalblablablaablablalalalalalblaalba v] to [1]\n    hide\nend\n\n@THE MAGIC CUBE\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    turn right (15) degrees\n    next costume\n    wait (0.005) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [magic cube v]\nshow\nforever\n    if <touching (player v)?> then\n        hide\n        broadcast (world saved v)\n        stop [this script v]\n    end\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    go to x: (([x position v] of [player v]) / (-10)) y: (([y position v] of [player v]) / (10))\nend\n\n@THE MAGIC CUBE2\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\ngo to x: (47) y: (-60)\nforever\n    turn right (15) degrees\n    next costume\n    wait (0.005) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [world saved v]\nhide\n\nwhen flag clicked\nforever\n    repeat (10)\n        change size by (6)\n    end\n    repeat (10)\n        change size by (6)\n    end\n    repeat (20)\n        change size by (-6)\n    end\nend\n\nwhen flag clicked\nforever\n    go to (the magic cube v)\nend\n\nwhen I receive [magic cube v]\nshow\n\n@thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nset size to (140) %\ngo to x: (0) y: (0)\nhide\n\n@final\n\nwhen flag clicked\nhide\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\n\nwhen I receive [world saved v]\nwait (0.5) seconds\nset size to (300) %\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\n    change size by (-4.5)\nend\nwait (4) seconds\nbroadcast (game finished v)\n\n@game ended\n\nwhen flag clicked\nhide\ngo to x: (0) y: (316)\n\nwhen I receive [game finished v]\ngo to x: (-4) y: (316)\nshow\nrepeat (100)\n    change y by (-3.1)\nend\n\n@special\n\nwhen flag clicked\nswitch costume to (costume11 v)\nhide\n\nwhen I receive [green flag v]\nbroadcast (special start v)\nset [set ready special v] to [0]\ngo to x: (-188) y: (0)\nshow\nset size to (80) %\ngo to [front v] layer\ngo [forward v] (9999999) layers\n\nwhen I receive [special start v]\nset [set ready special v] to [0]\nswitch costume to (costume11 v)\nrepeat until <(costume [number v]) = [1]>\n    wait (0.5) seconds\n    switch costume to ((costume [number v]) - (1))\nend\nset [set ready special v] to [1]\nwait until <<key (space v) pressed?> or <<touching (mouse-pointer v)?> and <mouse down?>>>\nif <<<key (space v) pressed?> and <(set ready special) = [1]>> or <<<touching (mouse-pointer v)?> and <mouse down?>> and <(set ready special) = [1]>>> then\n    broadcast (special v)\n    set [brightness v] effect to (40)\n    wait (0.1) seconds\n    set [brightness v] effect to (0)\nend\nswitch costume to (costume11 v)\nset [set ready special v] to [0]\nbroadcast (special start v)\n\nwhen I receive [nextlevel v]\nwait (1) seconds\nbroadcast (special start v)\n\nwhen I receive [world saved v]\nset [set ready special v] to [0]\nhide\n\nwhen I receive [die v]\nhide\n\nwhen I receive [restart v]\nshow\n\n@special effect\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\ngo to x: (47) y: (-60)\nforever\n    turn right (15) degrees\n    next costume\n    wait (0.005) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [saved v] to [0]\nforever\n    repeat (10)\n        change size by (6)\n    end\n    repeat (10)\n        change size by (6)\n    end\n    repeat (20)\n        change size by (-6)\n    end\nend\n\nwhen flag clicked\nforever\n    go to (special v)\nend\n\nwhen flag clicked\nforever\n    if <<([costume # v] of [special v]) = [1]> and <(saved) = [0]>> then\n        wait (0.5) seconds\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [world saved v]\nset [saved v] to [1]\n\n@skip storyline\n\nwhen I receive [green flag v]\nset [skip storyline = v] to [1]\nhide\n\nwhen I receive [start v]\nset [skip storyline = v] to [1]\nhide\n\nwhen I receive [storyline v]\nset [skip storyline = v] to [0]\nset [ghost v] effect to (100)\ngo to [front v] layer\nwait (0.5) seconds\nshow\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nforever\n    if <touching (mouse-pointer v)?> then\n        change size by (((120) - (size)) / (2))\n        set [brightness v] effect to (20)\n        if <<mouse down?> and <(skip storyline =) = [0]>> then\n            repeat (10)\n                turn right (36) degrees\n                change size by (-10)\n            end\n            set [ghost v] effect to (100)\n            hide\n            set [skip storyline = v] to [1]\n            broadcast (skip v)\n        end\n    else\n        change size by (((100) - (size)) / (2))\n        set [brightness v] effect to (-10)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\nhide\n\n@intro front\n\ndefine size: (size) Speed: (speed)\nset [bouncy v] to ((((size) - (size)) * (speed)) + ((bouncy) * (0.7)))\nchange size by (bouncy)\n\nwhen flag clicked\ngo to [front v] layer\nshow\npoint in direction (90)\nclear sound effects\nset volume to (100) %\nclear graphic effects\nstart sound [intro music v]\nset size to (0) %\nwait (0.1) seconds\nrepeat (25)\n    size: [100] Speed: ((1) / (4))\nend\nrepeat (10)\n    turn right (36) degrees\n    change size by (-15)\nend\nrepeat (25)\n    size: [100] Speed: ((1) / (4))\nend\nrepeat (10)\n    turn right (36) degrees\n    change size by (-15)\nend\nrepeat (25)\n    size: [100] Speed: ((1) / (4))\nend\nrepeat (10)\n    turn right (36) degrees\n    change size by (-15)\nend\nrepeat (25)\n    size: [100] Speed: ((1) / (4))\nend\nwait (0.5) seconds\nrepeat (25)\n    size: [150] Speed: ((5) / (10))\nend\nrepeat (10)\n    change size by (-5)\nend\nrepeat (25)\n    size: [150] Speed: ((5) / (10))\nend\nrepeat (10)\n    change size by (-5)\nend\nrepeat (25)\n    size: [150] Speed: ((5) / (10))\nend\nrepeat (10)\n    change [mosaic v] effect by (10)\nend\nrepeat (10)\n    change [mosaic v] effect by (-10)\nend\nwait (1) seconds\nbroadcast (sound v)\nrepeat (10)\n    turn right (36) degrees\n    change size by (-15)\nend\nhide\nstop all sounds\nbroadcast (storyline v)\nbroadcast (music v)\n\nwhen I receive [sound v]\nrepeat (10)\n    change volume by (-10)\nend\n\n@intro back\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (0)\nshow\n\nwhen I receive [sound v]\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n