Spring: A scrolling Platformer |  #trending #art # games 

Instructions: Just a fun platformer for you to enjoy! This took FOREVER, so I would appreciate it you left a heart or a star for me to enjoy Just boop da heart and star. And maybe a follow.\n\nU can't go back.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n>:|] Helllllllooooooo u people person. 

@Stage\n\n@Sprite1\n\nwhen flag clicked\nhide variable [kept cions v]\nhide variable [mouse v]\n\nglide (1) secs to (random position v)\n\n@Sprite2\n\n@Player\n\nwhen flag clicked\nset [key? v] to [0]\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setip v) and wait\n    Game on\n    repeat until <(EXIT) > []>\n        Tick\n        broadcast (Tick v) and wait\n    end\n    if <(EXIT) = [Win]> then\n        Game - Win\n    else\n        Game - Die\n    end\nend\n\ndefine Game on\nset [collected v] to (Kept cions)\nbroadcast (retype v)\nset [key2 v] to [0]\nset [direction v] to [1]\nif <(Checkpoint) = [0]> then\n    set [x v] to [-200]\n    set [player: y v] to [0]\nelse\n    if <(Checkpoint) = [1]> then\n        set [x v] to [1147]\n        set [player: y v] to [0]\n    else\n        if <(Checkpoint) = [2]> then\n            set [x v] to [2147]\n            set [player: y v] to [0]\n        else\n            set [x v] to [3305]\n            set [player: y v] to [20]\n        end\n    end\nend\nset [speed y v] to [0]\nset [speed x v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset [scroll x v] to [0]\nset [scroll y v] to [0]\nset size to (40) %\nclear graphic effects\nshow\n\ndefine Tick\nchange [speed x v] by (1.5)\nnext costume\nswitch costume to (hitbox v)\nchange [animate v] by (1)\nif <(Animate) = [9]> then\n    set [animate v] to [1]\nend\nset [speed x v] to ((Speed x) * (0.8))\nif <(direction) = [1]> then\n    if <([abs v] of (Speed x) ) > [0.9]> then\n        Change player x by (round (Speed x))\n    end\nelse\n    Change player x by ((round (Speed x)) - ((round (Speed x)) * (2)))\nend\nif <<key (any v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n    if <(in air) < [4]> then\n        set [speed y v] to [16]\n    end\nend\nif <(Speed y) > [-20]> then\n    change [speed y v] by (-2)\nend\nChange player y by (Speed y)\nTest - Die\nset [scroll x v] to (x)\nif <(SCROLL X) < [0]> then\n    set [scroll x v] to [0]\nend\nif <(SCROLL X) > [3826]> then\n    set [scroll x v] to [3826]\nend\nif <(SCROLL Y) < [0]> then\n    set [scroll y v] to [0]\nend\nif <[4061] < (x)> then\n    broadcast (end v)\nend\nPosition\nif <(Player: y) < [-178]> then\n    set [exit v] to [Die]\nend\nif <<touching (danger v)?> or <touching (checkpoint 2 v)?>> then\n    set [exit v] to [Die]\nend\nif <touching (bounce v)?> then\n    set [speed y v] to [28]\nend\nswitch costume to (Animate)\nif <(x position) > [230]> then\n    broadcast (Beep2 v)\nend\nif <touching (swap2 v)?> then\n    set [direction v] to [0]\nend\nif <touching (swap3 v)?> then\n    set [direction v] to [1]\nend\n\ndefine Change player y by (sy)\nchange [player: y v] by (sy)\nchange [in air v] by (1)\nPosition\nrepeat until <<not <touching (platforms v)?>> and <not <touching (moving platform v)?>>>\n    if <(sy) > [0]> then\n        change [player: y v] by (-1)\n    else\n        change [player: y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [speed y v] to [0]\nend\n\ndefine Position\ngo to x: ((x) - (SCROLL X)) y: ((Player: y) - (SCROLL Y))\n\ndefine Change player x by (sx)\nchange [x v] by (sx)\nPosition\nif <<touching (platforms v)?> or <touching (platforms v)?>> then\n    repeat (12)\n        change [player: y v] by (1)\n        Position\n        if <<not <touching (platforms v)?>> and <not <touching (moving platform v)?>>> then\n            stop [this script v]\n        end\n    end\n    change [player: y v] by (-12)\nend\nrepeat until <<not <touching (platforms v)?>> and <not <touching (moving platform v)?>>>\n    if <(sx) > [0]> then\n        change [x v] by (-1)\n    else\n        change [x v] by (1)\n    end\n    Position\nend\n\ndefine Game - Die\nset [exit v] to []\nrepeat (10)\n    change size by (3)\n    change [ghost v] effect by (5)\nend\n\nhide\nwait (0.1) seconds\nshow\nwait (0.1) seconds\n\ndefine Game - Win\nrepeat (50)\n    point towards (exit v)\n    turn right (65) degrees\n    move ((distance to [exit v]) / (2)) steps\n    change size by (-0.25)\n    change [ghost v] effect by (2)\nend\nhide\nclear graphic effects\nchange [level v] by (1)\nwait (1) seconds\n\ndefine Test - Die\n\nnext costume\n\nchange [x v] by (-240)\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nset [_landslide v] to [0]\n\nwhen I receive [play game v]\nset [direction v] to [1]\n\n@Checkpoint 2\n\nwhen I receive [green flag v]\nhide\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nturn right (5) degrees\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [checkpoint 2: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [checkpoint 2: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [1257] y: [97]\n    Clone at x: [1725] y: [-12]\n    Clone at x: [3764] y: [36]\nend\nset [x v] to [-99999]\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Checkpoint 2: y) - (SCROLL Y))\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nClone at x: [1663] y: [557]\n\nwhen I receive [green flag v]\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen [e v] key pressed\n\nwhen flag clicked\nforever\n    set [mouse v] to (join ((mouse x) + (SCROLL X)) (join [ ] ((mouse y) + (SCROLL Y))))\nend\n\n@Danger\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Danger: y) - (SCROLL Y))\n\nwhen I receive [setip v]\npoint in direction (90)\nhide\nset [x v] to [0]\nset [danger: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\nClone at x: [-465] y: [-141]\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [danger: y v] by (y)\nnext costume\n\nchange [danger: y v] by (y)\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\n@Checkpoint \n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Checkpoint : y) - (SCROLL Y))\nif <(costume [number v]) = [2]> then\n    if <touching (player v)?> then\n        set [kept cions v] to (collected)\n        switch costume to (green flag v)\n        set [checkpoint v] to (#)\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [checkpoint : y v] to (y)\nchange [# v] by (1)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [checkpoint v] to [0]\nhide\nset [x v] to [0]\nset [checkpoint : y v] to [0]\nif <(LEVEL) = [1]> then\n    set [# v] to [0]\n    switch costume to (close flag v)\n    Clone at x: [1147] y: [-75]\n    Clone at x: [2147] y: [-23]\n    Clone at x: [3305] y: [10]\nend\nset [x v] to [-99999]\n\nClone at x: [4307] y: [100]\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nset [kept cions v] to [0]\n\nwhen flag clicked\nset [kept cions v] to [0]\n\n@Bounce\n\nwhen I receive [green flag v]\nhide\n\ndefine Position (x) (y)\npoint in direction (90)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nif <touching (player v)?> then\n    switch costume to (close flag2 v)\nelse\n    switch costume to (close flag v)\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [bounce: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [bounce: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [233] y: [-96]\n    Clone at x: [678] y: [-97]\n    Clone at x: [1269] y: [-97]\n    Clone at x: [1586] y: [-167]\n    Clone at x: [2291] y: [-99]\nend\nset [x v] to [-99999]\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Bounce: y) - (SCROLL Y))\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\n@Bounce2\n\nwhen I receive [green flag v]\nhide\n\ndefine Position (x) (y)\nset size to (60) %\npoint in direction (90)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nif <touching (player v)?> then\n    broadcast (retype v)\n    change [collected v] by (1)\n    delete this clone\nend\nnext costume\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [bounce: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [bounce: y v] to [0]\nif <(LEVEL) = [1]> then\n    if <(Checkpoint) = [0]> then\n        Clone at x: [40] y: [-20]\n        Clone at x: [107] y: [-70]\n        Clone at x: [293] y: [114]\n        Clone at x: [511] y: [93]\n        Clone at x: [623] y: [5]\n        Clone at x: [630] y: [99]\n        Clone at x: [689] y: [28]\n        Clone at x: [905] y: [149]\n    end\n    if <[1] > (Checkpoint)> then\n        Clone at x: [1639] y: [76]\n    end\n    if <[3] > (Checkpoint)> then\n        Clone at x: [2374] y: [-71]\n        Clone at x: [2531] y: [-71]\n        Clone at x: [2664] y: [-71]\n        Clone at x: [2793] y: [-71]\n        Clone at x: [2416] y: [126]\n        Clone at x: [2599] y: [126]\n        Clone at x: [2758] y: [126]\n        Clone at x: [3237] y: [76]\n        Clone at x: [3830] y: [184]\n    end\n    Clone at x: [3371] y: [134]\nend\nset [x v] to [-99999]\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Bounce: y) - (SCROLL Y))\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen flag clicked\nset [collected v] to [0]\n\nchange y by ([tan v] of (round (timer)) )\n\nset [direction v] to [0]\n\nbroadcast (Delete text v)\n\n@Swap2\n\nwhen I receive [green flag v]\nhide\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nClone at x: [1663] y: [557]\n\nwhen I receive [green flag v]\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen [e v] key pressed\n\nwhen flag clicked\nforever\n    set [mouse v] to (join ((mouse x) + (SCROLL X)) (join [ ] ((mouse y) + (SCROLL Y))))\nend\n\n@Swap3\n\nwhen I receive [green flag v]\nhide\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nClone at x: [1663] y: [557]\n\nwhen I receive [green flag v]\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen [e v] key pressed\n\nwhen flag clicked\nforever\n    set [mouse v] to (join ((mouse x) + (SCROLL X)) (join [ ] ((mouse y) + (SCROLL Y))))\nend\n\nwhen I receive [tick v]\n\n@Key\n\nwhen I receive [green flag v]\nhide\n\ndefine Position (x) (y)\npoint in direction (90)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nif <touching (player v)?> then\n    set [key? v] to [1]\n    delete this clone\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [bounce: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [bounce: y v] to [0]\nif <(LEVEL) = [1]> then\n    if <not <(key?) = [1]>> then\n        Clone at x: [1347] y: [116]\n    end\nend\nset [x v] to [-99999]\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Bounce: y) - (SCROLL Y))\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen flag clicked\nset [collected v] to [0]\n\nchange y by ([tan v] of (round (timer)) )\n\n@Moving Platform\n\nwhen I receive [green flag v]\nhide\nswitch backdrop to (backdrop3 v)\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Platforms: y) - (SCROLL Y))\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [platforms: y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1-1 v)\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\n    Clone at x: [480] y: [0]\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nif <(key?) = [1]> then\n    if <(costume [number v]) = [4]> then\n        delete this clone\n    end\nend\nif <(locked? switch) = [1]> then\n    if <(costume [number v]) = [5]> then\n        delete this clone\n    end\nend\nif <(key2) = [1]> then\n    if <(costume [number v]) = [6]> then\n        delete this clone\n    end\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [platforms: y v] by (y)\nnext costume\n\nClone at x: [1663] y: [557]\n\nwhen I receive [green flag v]\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen [e v] key pressed\n\nwhen flag clicked\nforever\n    set [mouse v] to (join ((mouse x) + (SCROLL X)) (join [ ] ((mouse y) + (SCROLL Y))))\nend\n\n\n\n@Switch\n\nwhen I receive [green flag v]\nhide\n\ndefine Position (x) (y)\nset size to (70) %\npoint in direction (0)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nif <touching (player v)?> then\n    switch costume to (open v)\n    set [locked? switch v] to [1]\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [bounce: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setip v]\nhide\nset [locked? switch v] to [0]\nset [x v] to [0]\nset [bounce: y v] to [0]\nswitch costume to (locked v)\nif <(LEVEL) = [1]> then\n    Clone at x: [1605] y: [-77]\nend\nset [x v] to [-99999]\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Bounce: y) - (SCROLL Y))\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen flag clicked\nset [collected v] to [0]\n\nchange y by ([tan v] of (round (timer)) )\n\n@Key2\n\nwhen I receive [green flag v]\nhide\n\ndefine Position (x) (y)\npoint in direction (90)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\nif <touching (player v)?> then\n    set [key2 v] to [1]\n    delete this clone\nend\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [bounce: y v] to (y)\ncreate clone of (_myself_ v)\n\nwhen I receive [setip v]\nhide\nset [x v] to [0]\nset [bounce: y v] to [0]\nif <(LEVEL) = [1]> then\n    Clone at x: [2914] y: [-66]\nend\nset [x v] to [-99999]\n\nwhen I receive [reset v]\ndelete this clone\n\nwhen I receive [tick v]\nPosition ((x) - (SCROLL X)) ((Bounce: y) - (SCROLL Y))\n\nwhen I receive [beep2 v]\nhide\nstop [other scripts in sprite v]\n\nwhen I receive [beep2 v]\ndelete this clone\n\nwhen flag clicked\nset [collected v] to [0]\n\nchange y by ([tan v] of (round (timer)) )\n\n@End Flag\n\n@Sprite3\n\nwhen flag clicked\nset [ghost v] effect to (100)\nforever\n    go to [front v] layer\nend\n\nmove (10) steps\n\n@Sprite4\n\nwhen I receive [end v]\nset [ghost v] effect to (100)\nrepeat (10)\n    change [ghost v] effect by (10)\nend\ngo to [front v] layer\nstop [all v]\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Thing\n\nwhen flag clicked\nhide\nset [faved___ v] to [0]\nset [loved__ v] to [0]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [clone id v] to [1]\ncreate clone of (_myself_ v)\nwait until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\nwait (1) seconds\nshow\ngo to x: (0) y: (50)\nreset timer\nswitch costume to (message v)\nset [ghost v] effect to (100)\nrepeat until <(timer) > [3.5]>\n    change y by ((y position) / (-15))\n    change [ghost v] effect by (-3)\nend\nreset timer\nrepeat until <(timer) > [3.5]>\n    change y by (((y position) - (-100)) / (-15))\n    change [ghost v] effect by (10)\nend\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    go to x: (-15) y: (0)\n    set [loved__ v] to [0]\n    switch costume to (love v)\n    forever\n        set [love? v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [loved__ v] to [1]\n        end\n    end\nend\nif <(clone id) = [1]> then\n    go to x: (0) y: (0)\n    switch costume to (fave v)\n    set [faved___ v] to [0]\n    forever\n        set [fav v] to <touching (mouse-pointer v)?>\n        if <touching (mouse-pointer v)?> then\n            set [faved___ v] to [1]\n        end\n    end\nend\n\n@Text\n\ndefine Type (text) (x) (y) (color) (effect)\nset [ghost v] effect to (0)\nset [effect v] to (effect)\nswitch costume to (a v)\nset size to (25) %\nset [number v] to [0]\nset [my variable v] to []\nset [color v] effect to (color)\ngo to x: (x) y: (y)\nrepeat (length of (text))\n    change [number v] by (1)\n    switch costume to (letter (Number) of (text))\n    set [my variable v] to (join (my variable) (letter (Number) of (text)))\n    create clone of (_myself_ v)\n    if <(x position) > [200]> then\n        change x by (10)\n        switch costume to (- v)\n        create clone of (_myself_ v)\n        change y by (-15)\n        set x to (x)\n    else\n        change x by (10)\n    end\nend\n\nwhen I start as a clone\nshow\n\nwhen I receive [delete text v]\ndelete this clone\n\nrepeat (40)\nend\n\nchange [ghost v] effect by (5)\n\nbroadcast (Hide v)\n\nif <(Effect) = [0]> then\n\nwhen I receive [retype v]\nbroadcast (Delete text v)\nType (join (collected) [i18]) [-200] [151] [] []\n\nbroadcast (Delete text v)\n\nforever\nend\n\ndelete this clone\n\nbroadcast (Delete text v)\n\nwhen I receive [play game v]\nType (join (collected) [i18]) [-200] [151] [] []\n\n