Right - Scrolling Platformer #games

Instructions: ▶✨マインクラフトプラットフォーマー✨◀\n　　　　　　ゾンビ親子の旅編\n\n✨祝　初のマインクラフトプラットフォーマーです！\n　\nMinecraft Platformaer2\nhttps://scratch.mit.edu/projects/894283630\n\nよかったら❤&⭐お願いします！！\n\n✨Congratulations, the first Minecraft platformer!\n　\nI'm aiming for the#1st popularity#1p!\nIf you like it, please ❤&⭐! !\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\n✳遊び方説明✳\n\n▪矢印キーで操作　モバイル対応！\n▪マグマなど障害物に当たると死んでしまいます\n▪ゾンビ親子を無事家に着くことができるのか、、、\n\n✳ How to play ✳\n\n▪ Operate with arrow keys; mobile compatible!\n▪ If you hit an obstacle such as magma, you will die.\n▪Will you be able to get the zombie parent and child home safely?\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\n▶クレジット表記\n\n▪ブロック　@griffpatch\n▪プラットフォマープログラム　@youking2010\n▪参考　@king-whale 様　@kuri-pa-2 様\n▪音楽　@stotnatna　@T7EMDWFM\n▪ゲームクリアの動き　@kiri2020\n▪サムネのマインクラフト　@Kensuke17\n▪ゾンビ　@-firstwave-\n▪マーク素材　@Kinniku1199\n▪タボフィ　@boudannsyounenndann\nクレジットが違う場合はコメントください\n\n▶Credit notation\n\n▪ Block　@griffpatch\n▪ Platformer program　@youking2010\n▪ Reference: Mr.　@king-whale Mr.　@kuri-pa-2\n▪ Music　@stotnatna　@T7EMDWFM\n▪ Movement to clear the game　@ kiri2020\n▪ Minecraft thumbnail　@Kensuke17\n▪ Zombie　@-firstwave-\n▪ Mark material　@Kinniku1199\n\n➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖\n▶作品について&その他\n難易度!\n★★☆☆☆\n製作期間　1週間\n目標　　　❤&⭐100！\n\n#game     #Minecraft     #Platformer     #zyo-ka-da

@Stage\n\nwhen [space v] key pressed\nset [mouse v] to (join ((mouse x) + (Scroll x)) (join [- ] ((mouse y) + (Scroll y))))\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nhide variable [all coins v]\nhide variable [coins v]\nhide variable [level v]\nif <(Level) = [1]> then\n    switch backdrop to (backdrop1 v)\nend\nif <(Level) = [2]> then\n    next backdrop\nend\n\nhide variable [timer v]\n\nwhen I receive [true start v]\nshow variable [all coins v]\nshow variable [coins v]\nshow variable [level v]\n\nshow variable [timer v]\n\nwhen flag clicked\nforever\n    play sound [Girl Like You v] until done\nend\n\nwhen flag clicked\n\nforever\n\nif <key (space v) pressed?> then\n    change [all coins v] by (1)\nend\n\nif <(game mode) = [play]> then\n\n\n    wait (0.1) seconds\n    change [timer v] by (0.1)\nend\n\nwhen flag clicked\nrepeat until <(stop timer?) = [true]>\n    wait (1) seconds\n    change [timer v] by (1)\nend\n\nwhen flag clicked\n\nwhen [m v] key pressed\nforever\n    stop all sounds\nend\n\n@Blank\n\n@platform\n\nwhen I receive [green flag is clicked v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [stop timer? v] to [false]\nif <(Level) = [1]> then\n    switch costume to (level 1: 1 v)\n    clone at x [600] y [0]\n    clone at x [600] y [111]\n    clone at x [600] y [-100]\n    clone at x [600] y [-100]\n    clone at x [700] y [0]\n    clone at x [580] y [50]\n    clone at x [500] y [0]\n    clone at x [600] y [0]\n    clone at x [0] y [400]\nelse\n    if <(Level) = [2]> then\n        switch costume to (level 2: 1 v)\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [0] y [200]\n        clone at x [500] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n    else\n        if <(Level) = [3]> then\n            switch costume to (level 3: 1 v)\n            clone at x [500] y [0]\n            clone at x [500] y [0]\n            clone at x [500] y [0]\n            clone at x [500] y [0]\n            clone at x [550] y [0]\n        else\n            switch costume to (level 34: 1 v)\n            set [stop timer? v] to [true]\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <(game mode) = [play]> then\n    show\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\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) + (125))\nchange [y v] by (y)\nnext costume\n\nclone at x [-3] y [310]\n\nclone at x [0] y [200]\n\nchange [level v] by (1)\n\ncreate clone of (_myself_ v)\n\nrepeat (30)\n\nnext costume\n\nset [stop timer? v] to [true]\n\nclone at x [550] y [0]\n\n@intro2\n\nwhen flag clicked\nhide\n\nnext costume\n\nwhen I receive [lets start v]\ngo to x: (0) y: (0)\nswitch costume to (unknown v)\nshow\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nwait (1) seconds\nnext costume\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nwait (1) seconds\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (true start v)\n\n@Clouds\n\nwhen flag clicked\n\nwhen I start as a clone\nshow\ngo to x: (400) y: (pick random (60) to (160))\nswitch costume to (pick random (1) to (3))\nset size to (80) %\nrepeat until <(x position) < [-200]>\n    change x by (pick random (-1) to (-4))\nend\ndelete this clone\n\nwhen I receive [start v]\nhide\ngo to [back v] layer\ngo [forward v] (3) layers\nwait (0.01) seconds\nforever\n    wait (pick random (0.8) to (2)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nhide\n\n\n@thunbnail\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (blur thumnail v)\ngo to x: (0) y: (0)\nclear graphic effects\nshow\nwait (1) seconds\nrepeat (50)\n    change [ghost v] effect by (2)\nend\nbroadcast (lets start v)\n\n@love and fave detector\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 (pick random (1) to (4))\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@Sprite2\n\nwhen flag clicked\nhide\n\nwhen I receive [true start v]\nshow\nset [game mode v] to [menu]\ngo to x: (0) y: (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [ghost v] effect to (30)\n        if <mouse down?> then\n            hide\n            set [game mode v] to [play]\n        end\n    else\n        clear graphic effects\n    end\n    point in direction ((([sin v] of ((timer) * (300)) ) * (10)) + (90))\n    set size to ((([sin v] of ((timer) * (600)) ) * (10)) + (100)) %\n    go to [front v] layer\nend\n\nset [run? v] to [no]\n\n@bla\n\nwhen flag clicked\nhide\n\nwhen I receive [true start v]\nforever\n    if <(game mode) = [play]> then\n        show\n        go to [front v] layer\n    else\n        hide\n    end\nend\n\n@+++\n\nwhen flag clicked\nhide\n\nwhen I receive [+ 1 coin v]\nchange [dollars v] by (50)\nclear graphic effects\ngo to (player v)\nchange y by (5)\nshow\nwait (0.2) seconds\nplay sound [Collect v] until done\nrepeat (20)\n    change [ghost v] effect by (5)\n    change [pixelate v] effect by (5)\nend\n\nrepeat (10)\n\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\n@dot2\n\nwhen I receive [green flag is clicked v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\nif <touching (player2 v)?> then\n    broadcast (new coin colected v)\n    change [coins v] by (1)\n    if <(coins) = (all coins)> then\n        broadcast (open portal v)\n    end\n    delete this clone\nend\n\nwhen I receive [set up v]\nhide\nset [all coins v] to [0]\nset [coins v] to [0]\nset [x v] to [0]\nif <(Level) = [1]> then\n    switch costume to (ball-a v)\n    clone at x [159] y [29]\nelse\n    if <(Level) = [2]> then\n        clone at x [87] y [36]\n    else\n        clone at x [-164] y [-55]\n    end\nend\nset [x v] to [-999999]\nset [y v] to [0]\n\nclone at x [69] y [21]\nclone at x [730] y [-5    ]\nclone at x [758] y [78]\nclone at x [844] y [8]\nclone at x [1465] y [151]\nclone at x [1551] y [227]\nclone at x [1380] y [266]\nclone at x [1673] y [275]\nclone at x [2278] y [71]\nclone at x [3805] y [-36]\nclone at x [4899] y [-137]\n\nclone at x [277] y [36]\nclone at x [1494] y [22]\nclone at x [1940] y [13]\nclone at x [3956] y [408]\n\nif <(run?) = [true]> then\n\nclone at x [108] y [425]\nclone at x [508] y [589]\nclone at x [604] y [732]\nif <(Level) = [2]> then\n    switch costume to (costume1 v)\nend\n\ndefine position (x) (y)\nif <(game mode) = [play]> then\n    show\n    go to x: (x) y: (y)\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone at x (x) y (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\nchange [all coins v] by (1)\n\nclone at x [54] y [-53]\nclone at x [711] y [26]\nclone at x [1031] y [69]\nclone at x [997] y [158]\nclone at x [1703] y [-36]\nclone at x [1781] y [7]\nclone at x [2904] y [229]\nclone at x [3524] y [642]\nclone at x [3588] y [827]\n\n@portal2\n\nwhen I receive [green flag is clicked v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\nif <<touching (player2 v)?> and <(costume [name v]) = [open]>> then\n    set [exit v] to [win]\nend\n\nwhen I receive [set up v]\nhide\nswitch costume to (close v)\nset [coins v] to [0]\nset [x v] to [0]\nset [y v] to [0]\nif <(Level) = [1]> then\n    clone at x [5836] y [394]\nelse\n    if <(Level) = [2]> then\n        clone at x [4757] y [273]\n    else\n        if <(Level) = [3]> then\n            clone at x [3101] y [51]\n        else\n            clone at x [99999999] y [1591]\n        end\n    end\nend\n\nswitch costume to (close v)\n\ndefine position (x) (y)\nif <(game mode) = [play]> then\n    show\n    go to x: (x) y: (y)\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine clone at x (x) y (y)\nset [x v] to (x)\nset [y v] to (y)\n\nchange [all coins v] by (1)\n\nwhen I receive [open portal v]\nswitch costume to (open v)\n\nwhen flag clicked\n\n@player2\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\n\ndefine Change player x by (sx)\nchange [x v] by (sx)\nPosition\nif <touching (platform v)?> then\n    repeat (12)\n        change [y v] by (1)\n        Position\n        if <not <touching (platform v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (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\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [green flag is clicked v]\nshow\nwait (0.1) seconds\ngo to [front v] layer\n\nwhen I receive [game on v]\nset [level v] to [1]\nforever\n    broadcast (reset v) and wait\n    broadcast (set up v) and wait\n    Game on\n    repeat until <(exit) > []>\n        broadcast (tick v) and wait\n        Tick\n    end\n    if <(exit) = [win]> then\n        lllll-win\n    else\n        game over\n    end\n    switch costume to (new piskel \(2\) v)\nend\n\ndefine Game on\npoint in direction (90)\nset size to (100) %\nset [ghost v] effect to (0)\nset [x v] to [0]\nset [y v] to [0]\nset [sy v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nshow\n\ndefine Tick\nif <(game mode) = [play]> then\n    show\n    if <<<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> or <key (d v) pressed?>> then\n        change [sx v] by (2)\n    end\n    if <<<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> or <key (a v) pressed?>> then\n        change [sx v] by (-2)\n    end\n    set [sx v] to ((sx) * (0.8))\n    if <([abs v] of (sx) ) > [0.9]> then\n        Change player x by (round (sx))\n    end\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> or <key (w v) pressed?>> then\n        if <(in air) < [4]> then\n            set [sy v] to [16]\n        end\n    end\n    if <(sy) > [-20]> then\n        change [sy v] by (-2)\n    end\n    Change player y (sy)\n    Position\n    test-die\n    test bounce\n    set [scroll x v] to (x)\n    if <(Scroll x) < [0]> then\n        set [scroll x v] to [0]\n    end\n    change [scroll y v] by (round (((y) - (Scroll y)) / (10)))\n    if <(Scroll y) < [0]> then\n        set [scroll y v] to [0]\n    end\n    Position\n    if <(y) < [-200]> then\n        set [exit v] to [dead]\n    end\nelse\n    hide\nend\n\nChange player x by [-8]\n\ndefine Change player y (sy)\nchange [in air v] by (1)\nchange [y v] by (sy)\nPosition\nrepeat until <not <touching (platform v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n    end\n    set [sy v] to [0]\n    set [in air v] to [0]\n    Position\nend\n\ndefine game over\nset [exit v] to []\nrepeat (20)\n    change y by (5)\n    change [ghost v] effect by (5)\nend\nhide\nwait (1) seconds\n\nhide\nwait (0.1) seconds\nshow\nwait (0.1) seconds\n\ndefine test-die\nif <touching (danger v)?> then\n    set [exit v] to [dead]\nend\n\nwhen flag clicked\nswitch costume to (new piskel \(2\) v)\nforever\n    wait (pick random (1) to (3)) seconds\n    wait (0.002) seconds\n    switch costume to (new piskel \(2\)3 v)\n    wait (0.002) seconds\n    switch costume to (new piskel \(2\)4 v)\n    wait (0.002) seconds\n    switch costume to (new piskel \(2\)5 v)\n    wait (0.002) seconds\n    switch costume to (new piskel \(2\) v)\nend\n\nswitch costume to (costume1 v)\n\nwhen I receive [true start v]\nbroadcast (Green flag is clicked v) and wait\nbroadcast (GAme on v) and wait\n\nif <(game mode) = [play]> then\n\nbroadcast (tell them v)\n\nwhen flag clicked\n\ndefine test bounce\nif <touching (bounce v)?> then\n    set [sy v] to [30]\nend\n\nreset timer\nbroadcast (tick v)\n\nrepeat (5)\n\nnext costume\n\nif <<<key (down arrow v) pressed?> or > or <key (s v) pressed?>> then\n    switch costume to (new piskel \(2\)2 right v)\nend\n\nset [exit v] to [win]\n\ndefine Position\ngo to x: ((x) - (Scroll x)) y: ((y) - (Scroll y))\n\ndefine Game-win\nrepeat (50)\n    point towards (portal2 v)\n    turn right (65) degrees\n    move ((distance to [portal2 v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nchange [level v] by (1)\nwait (1) seconds\nhide\n\ndefine clone at x (x) y (y)\n\ndefine lllll-win\nrepeat (50)\n    point towards (portal2 v)\n    turn right (65) degrees\n    move ((distance to [portal2 v]) / (2)) steps\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nchange [level v] by (1)\nwait (1) seconds\nhide\n\n@bounce\n\nwhen I receive [green flag is clicked v]\nhide\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [stop timer? v] to [false]\nif <(Level) = [1]> then\n    switch costume to (level 1: 1 v)\n    clone at x [800] y [0]\n    clone at x [700] y [111]\n    clone at x [700] y [-100]\n    clone at x [700] y [-100]\n    clone at x [700] y [0]\n    clone at x [680] y [50]\n    clone at x [600] y [0]\n    clone at x [600] y [0]\n    clone at x [0] y [400]\nelse\n    if <(Level) = [2]> then\n        switch costume to (level 2: 1 v)\n        clone at x [400] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [0] y [200]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n    else\n        switch costume to (level 3: 1 v)\n        set [stop timer? v] to [true]\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <(game mode) = [play]> then\n    show\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\nif <(game mode) = [play]> then\n    show\nelse\n    hide\nend\n\nclone at x [-3] y [310]\n\nclone at x [600] y [250]\nclone at x [500] y [100]\nclone at x [0] y [250]\nclone at x [400] y [1]\nclone at x [600] y [200]\nclone at x [530] y [100]\nclone at x [400] y [1]\nclone at x [600] y [300]\nclone at x [500] y [300]\nclone at x [450] y [300]\nclone at x [500] y [200]\nclone at x [500] y [200]\nclone at x [500] y [200]\n\nclone at x [0] y [200]\n\nchange [level v] by (1)\n\ndefine clone at x (x) y (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\nwhen I receive [tick v]\nposition (((x) - (Scroll x)) * ((size) / (100))) (((y) - (Scroll y)) * ((size) / (100)))\n\nrepeat (20)\n\nchange size by (1)\nchange [brightness v] effect by (2)\n\n@danger\n\nwhen I receive [green flag is clicked v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [stop timer? v] to [false]\nif <(Level) = [1]> then\n    switch costume to (level 1: 1 v)\n    clone at x [600] y [0]\n    clone at x [700] y [111]\n    clone at x [700] y [-100]\n    clone at x [700] y [-100]\n    clone at x [700] y [0]\n    clone at x [680] y [50]\n    clone at x [600] y [0]\n    clone at x [600] y [0]\n    clone at x [0] y [400]\nelse\n    if <(Level) = [2]> then\n        switch costume to (level 2: 1 v)\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [0] y [200]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n    else\n        if <(Level) = [3]> then\n            switch costume to (level 3: 1 v)\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n        else\n            set [stop timer? v] to [true]\n            switch costume to (level 34: 1 v)\n        end\n    end\nend\n\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [0] y [200]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [0] y [200]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <(game mode) = [play]> then\n    show\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\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) + (125))\nchange [y v] by (y)\nnext costume\n\nif <(game mode) = [play]> then\n    show\nelse\n    hide\nend\n\nclone at x [-3] y [310]\n\nclone at x [0] y [200]\n\nchange [level v] by (1)\n\ncreate clone of (_myself_ v)\n\nclone at x [0] y [200]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nrepeat (30)\n\nchange [level v] by (1)\n\nnext costume\n\nclone at x [550] y [0]\n\nset [stop timer? v] to [true]\n\nswitch costume to (level 3: 1 v)\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nclone at x [600] y [0]\nclone at x [600] y [111]\nclone at x [600] y [-100]\nclone at x [700] y [-100]\nclone at x [700] y [0]\nclone at x [680] y [50]\nclone at x [600] y [0]\nclone at x [600] y [0]\nclone at x [0] y [400]\n\nwhen [space v] key pressed\nset [exit v] to [win]\n\n@words\n\nwhen I receive [green flag is clicked v]\nhide\n\nwhen I receive [tick v]\nposition ((x) - (Scroll x)) ((y) - (Scroll y))\n\nwhen I receive [set up v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nset [stop timer? v] to [false]\nif <(Level) = [1]> then\n    switch costume to (level 1: 1 v)\n    clone at x [600] y [0]\n    clone at x [700] y [111]\n    clone at x [700] y [-100]\n    clone at x [700] y [-100]\n    clone at x [700] y [0]\n    clone at x [680] y [50]\n    clone at x [600] y [0]\n    clone at x [600] y [0]\n    clone at x [0] y [400]\nelse\n    if <(Level) = [2]> then\n        switch costume to (level 2: 1 v)\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [0] y [200]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n        clone at x [550] y [0]\n    else\n        if <(Level) = [3]> then\n            switch costume to (level 3: 1 v)\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n            clone at x [550] y [0]\n        else\n            set [stop timer? v] to [true]\n            switch costume to (level 34: 1 v)\n        end\n    end\nend\n\ndefine position (x) (y)\ngo to x: (x) y: (y)\nif <(game mode) = [play]> then\n    show\n    if <<(x) = (x position)> and <(y) = (y position)>> then\n        show\n    else\n        hide\n    end\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 [y v] by (y)\nnext costume\n\nif <(game mode) = [play]> then\n    show\nelse\n    hide\nend\n\nclone at x [-3] y [310]\n\nclone at x [0] y [200]\n\nchange [level v] by (1)\n\ncreate clone of (_myself_ v)\n\nclone at x [0] y [200]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nrepeat (30)\n\nset [exit v] to [win]\nchange [level v] by (1)\n\nnext costume\n\nswitch costume to (level 3: 1 v)\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nset [stop timer? v] to [true]\n\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [0] y [200]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\nclone at x [550] y [0]\n\nclone at x [550] y [0]\n\n