Land | A Platformer #Games  #All

Instructions: Land | A Platformer\n-------------------------------------------------------------------------\nThank you for 3000+ view!\n\nPart 2 demo is come out! https://scratch.mit.edu/projects/500499893/\n\n파트 2 대모판이 나왔어요! https://scratch.mit.edu/projects/500499893/\n\nControl\n\nEnglish (한국어 아래에 있어요.)\nClick green flag 5 times for less lag.\nPress right arrow, left arrow to move.\nAlso up arrow to jump.\nAvoid spike, and saw.\nAnd collect coins! (It's not there yet.)\nI'm making now, so please wait until it done!\nPlease press ❤️️ & ⭐ if you like this game. : D\nAlso making shop! ; )\n\n한국어\n초록깃발을 5번 클릭해서 렉을 줄이세요.\n왼쪽, 오른쪽키로 움직이세요.\n위쪽 화살표로 점프!\n가시와 톱리바퀴를 피하세요!\n코인을 많이 모으세요! ( 코인이 아직 없어용.)\n만드는 중이니 기다려주세요!\n이게임이 제미있으면 ❤️️ & ⭐ 을 눌러주세요!\n상점도 만드는 중! ; )\n\nCredit\n\nPlayer code: um.... It's shared code...\nDesign: https://scratch.mit.edu/projects/419151608/\nIntro: It's free intro. I forgot where did I get this intro. lol\nMusic: Alan walker - Faded\n\nNote\n\nThanks for reading long introduction, if you like, please follow me for more fun games! Okay, wait until more\nupdate! And no ads in command. Bye~ ; )

@Stage\n\nwhen I receive [finish intro v]\nforever\n    play sound [Alan Walker - Faded \(Instrumental Version\) - BlueConvert v] until done\nend\n\n@Intro\n\ndefine Squares\nswitch costume to (square1 v)\ncreate clone of (_myself_ v)\nswitch costume to (square2 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nshow\nif <(costume [number v]) = [2]> then\n    repeat (30)\n        switch costume to (blank v)\n        change size by (((1500) - (size)) / (20))\n        switch costume to (focus v)\n    end\n    delete this clone\nelse\n    if <(costume [number v]) = [4]> then\n        set size to (0) %\n        go [backward v] (2) layers\n        smooth size [100] # [4]\n        smooth size [200] # [4]\n        smooth size [400] # [4]\n        smooth size [800] # [4]\n        delete this clone\n    else\n        if <(costume [number v]) = [5]> then\n            set size to (0) %\n            go [backward v] (2) layers\n            smooth size [150] # [5]\n            smooth size [300] # [5]\n            smooth size [600] # [5]\n            smooth size [1200] # [5]\n            delete this clone\n        else\n            if <(costume [number v]) = [6]> then\n                point in direction (120)\n                set size to (300) %\n                repeat (16)\n                    turn right (((90) - (direction)) / (4)) degrees\n                    change size by (((100) - (size)) / (4))\n                    Shake\n                end\n                point in direction (120)\n                set size to (300) %\n                repeat (16)\n                    turn right (((90) - (direction)) / (4)) degrees\n                    change size by (((100) - (size)) / (4))\n                    Shake\n                end\n                set size to (300) %\n                repeat (16)\n                    set [color - intro v] to [80]\n                    change [direction - intro v] by (((90) - (Direction - Intro)) / (4))\n                    change size by (((100) - (size)) / (4))\n                    Shake\n                end\n                set size to (300) %\n                repeat (16)\n                    set [color - intro v] to [95]\n                    change [direction - intro v] by (((180) - (Direction - Intro)) / (4))\n                    change size by (((100) - (size)) / (4))\n                    Shake\n                end\n                set size to (300) %\n                repeat (16)\n                    set [color - intro v] to [110]\n                    change [direction - intro v] by (((270) - (Direction - Intro)) / (4))\n                    change size by (((100) - (size)) / (4))\n                    Shake\n                end\n                set size to (300) %\n                repeat (16)\n                    set [color - intro v] to [130]\n                    change [direction - intro v] by (((360) - (Direction - Intro)) / (4))\n                    change size by (((100) - (size)) / (4))\n                    Shake\n                end\n                set [direction - intro v] to [0]\n                set size to (300) %\n                repeat (30)\n                    set [color - intro v] to [0]\n                    change [direction - intro v] by (((360) - (Direction - Intro)) / (5.5))\n                    change size by (((100) - (size)) / (5.5))\n                    Shake\n                end\n            else\n                if <(costume [number v]) = [7]> then\n                    set [ghost v] effect to (100)\n                    repeat (4)\n                        change [ghost v] effect by (-25)\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen flag clicked\nIntro\n\ndefine smooth size (size) # (#)\nrepeat (16)\n    if <(size) > [100]> then\n        switch costume to (blank v)\n    end\n    change size by (((size) - (size)) / (4))\n    switch costume to (#)\nend\n\nwhen I start as a clone\nif <<<(costume [number v]) = [4]> or <(costume [number v]) = [5]>> or <(costume [number v]) = [6]>> then\n    forever\n        if <not <(Direction - Intro) = [no]>> then\n            set [color v] effect to (Color - Intro)\n            point in direction ((45) + (Direction - Intro))\n            if <(costume [number v]) = [6]> then\n                turn right (45) degrees\n            end\n        end\n    end\nend\n\ndefine Shake\ngo to x: (pick random (-2) to (2)) y: (pick random (-2) to (2))\n\ndefine Intro\nhide\nset [direction - intro v] to [0]\nset [color - intro v] to [0]\ngo to x: (0) y: (0)\npoint in direction (45)\nstart sound [TheFatRat - Time Lapse \(feat\) v]\nswitch costume to (black v)\ncreate clone of (_myself_ v)\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nswitch costume to (focus v)\ncreate clone of (_myself_ v)\nrepeat (5)\n    Squares\n    repeat (16)\n    Squares\nend\nwait (1) seconds\nswitch costume to (white v)\ncreate clone of (_myself_ v)\nwait (1) seconds\nbroadcast (Finish intro v)\n\nwhen flag clicked\nswitch costume to (blank v)\nset size to (1194) %\n\nwhen I receive [finish intro v]\nhide\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\nswitch costume to (normal v)\ngo to x: (-160) y: (-20)\nset rotation style [left-right v]\nset drag mode [not draggable v]\nset [player x v] to [0]\nset [player y v] to [0]\nstop [this script v]\n\nwhen I receive [start v]\nforever\n    broadcast (Shape v)\n    broadcast (Tick v)\nend\n\ndefine Tick\ngo to [front v] layer\nif <[-180] > (y position)> then\n    go to x: (-218) y: (-20)\n    set [player x v] to [0]\n    set [player y v] to [0]\nend\nif <(x position) > [234]> then\n    change [level v] by (1)\n    go to x: (-218) y: (-20)\n    broadcast (Next Level v)\nend\nif <key (right arrow v) pressed?> then\n    change [player x v] by (1)\n    switch costume to (right v)\nend\nif <key (left arrow v) pressed?> then\n    change [player x v] by (-1)\n    switch costume to (left v)\nend\nset [player x v] to ((Player X) * (.9))\nchange x by (Player X)\nif <touching (platform v)?> then\n    change y by (1)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (-5)\n                        change x by ((Player X) * (-1))\n                        if <key (up arrow v) pressed?> then\n                            set [player y v] to [10]\n                            if <(Player X) > [0]> then\n                                set [player x v] to [-10]\n                            else\n                                set [player x v] to [10]\n                            end\n                        else\n                            set [player x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [player y v] by (-1)\nchange y by (Player Y)\nif <touching (platform v)?> then\n    change y by ((Player Y) * (-1))\n    set [player y v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <touching (platform v)?>> then\n    set [player y v] to [15]\nend\nchange y by (1)\nTest - Read\nTest - Die\n\nwhen I receive [tick v]\nTick\n\ndefine Shape\nif <<key (right arrow v) pressed?> and <key (up arrow v) pressed?>> then\n    switch costume to (right up v)\nelse\n    if <<key (left arrow v) pressed?> and <key (up arrow v) pressed?>> then\n        switch costume to (left v)\n    else\n        if <key (right arrow v) pressed?> then\n            switch costume to (right v)\n        else\n            if <key (left arrow v) pressed?> then\n                switch costume to (left v)\n            else\n                switch costume to (normal v)\n            end\n        end\n    end\nend\n\nwhen I receive [shape v]\nShape\n\nwhen I receive [start v]\nforever\n    if <key (r v) pressed?> then\n        go to x: (-160) y: (-20)\n        set [player x v] to [0]\n        set [player y v] to [0]\n    end\nend\n\ndefine Test - Read\nif <touching color (#a56f3d)?> then\n    broadcast (Read v)\nelse\n    broadcast (Stop Read v)\nend\n\ndefine Test - Die\nif <touching (danger v)?> then\n    go to x: (-160) y: (-21)\nend\n\n@Danger\n\ndefine Clone At X: (x position) Y: (y position)\ngo to x: (x position) y: (y position)\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset [level v] to [1]\nhide\ndelete this clone\n\nwhen I start as a clone\nshow\nforever\n    if <(costume [number v]) = [2]> then\n        point in direction (90)\n    else\n        turn right (5) degrees\n    end\nend\n\nwhen I receive [next level v]\nstop [other scripts in sprite v]\nbroadcast (Clone \( Saw \) v)\ndelete this clone\n\nwhen I receive [clone \( saw \) v]\nif <(Level) = [1]> then\n    delete this clone\nelse\n    if <(Level) = [2]> then\n        delete this clone\n    else\n        if <(Level) = [3]> then\n            switch costume to (spike v)\n            Clone At X: [-60] Y: [-30]\n            Clone At X: [120] Y: [-30]\n        else\n            if <(Level) = [4]> then\n                switch costume to (saw v)\n                Clone At X: [-60] Y: [-30]\n                Clone At X: [120] Y: [-30]\n            else\n                if <(Level) = [5]> then\n                    delete this clone\n                else\n                    if <(Level) = [6]> then\n                        delete this clone\n                    else\n                        delete this clone\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen [space v] key pressed\nset [mouse v] to (join (join (mouse y) [,]) (join (mouse x) []))\n\n@Thumbnail + Title\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [finish intro v]\nshow\n\n@Collectables\n\nwhen flag clicked\nhide\n\n@Play Button\n\nwhen I receive [finish intro v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\n    point in direction ((([sin v] of ((timer) * (300)) ) * (6)) + (90))\n    go to [front v] layer\nend\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (Start v)\nhide\n\n@Shop Button\n\nwhen flag clicked\nhide\n\nwhen this sprite clicked\nbroadcast (Open v)\nhide\n\nwhen I receive [start v]\nshow\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (120) %\n    else\n        set size to (100) %\n    end\n    point in direction ((([sin v] of ((timer) * (300)) ) * (6)) + (90))\n    go to [front v] layer\nend\n\nwhen I receive [close v]\nshow\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\ngo to [front v] layer\nshow\nforever\n    switch costume to (Level)\nend\n\n@Platform - Design\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\nswitch costume to (1 v)\nforever\n    switch costume to (Level)\n    go to [back v] layer\nend\n\n@Love, Star, Follow\n\nwhen flag clicked\nhide\ngo to x: (120) y: (209)\n\nwhen I receive [start v]\nforever\n    wait (pick random (20) to (40)) seconds\n    show\n    glide (0.7) secs to x: (120) y: (120)\n    wait (0.7) seconds\n    play sound [pop v] until done\n    glide (0.7) secs to x: (120) y: (209)\n    hide\nend\n\n@Read\n\nwhen I receive [read v]\ngo to [front v] layer\nshow\nif <(Level) = [1]> then\n    switch costume to (read - level 1 v)\nend\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\nwhen I receive [stop read v]\nhide\n\n@Shop\n\nwhen flag clicked\nhide\n\nwhen I receive [close v]\nhide\n\nwhen I receive [open v]\nshow\n\nwhen [space v] key pressed\nbroadcast (Close v)\n\n@ \n\nwhen flag clicked\nforever\n    go to [front v] layer\nend\n\n