MEADOWS-A Platformer |Part 1 |#games
@Stage\n\nwhen I receive [play v]\nswitch backdrop to (backdrop1 v)\nforever\n    if <<(Level) = [6]> or <<(Level) = [7]> or <(Level) = [8]>>> then\n        switch backdrop to (backdrop2 v)\n    else\n        switch backdrop to (backdrop1 v)\n    end\n    if <(Level) = [16]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\n@Blank\n\n@Start Screen draw\n\nwhen I receive [play v]\nhide\n\nwhen flag clicked\nhide\ngo to x: (29) y: (-4)\n\nwhen I receive [intro over v]\nshow\n\n@START\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (-10)\n        if <mouse down?> then\n            broadcast (PLAY v)\n            start sound [Magic Spell v]\n            hide\n        end\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\nwhen I receive [intro over v]\nshow\ngo to [front v] layer\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\ngo to x: (0) y: (-8)\nforever\n    switch costume to (Level)\n    show\nend\n\nwhen I receive [next costume v]\nnext costume\n\nwhen I receive [finish v]\nstop [other scripts in sprite v]\nhide\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\nwhen flag clicked\nforever\n    if <(x position) > [236]> then\n        Reset Level\n        change [level v] by (1)\n    end\nend\n\ndefine Reset Level\nclear graphic effects\ngo to x: (-200) y: (0)\nswitch costume to (player v)\nset [x v] to [0]\nset [y v] to [0]\nshow\n\ndefine Die\nstart sound [y2mate v]\nrepeat (5)\n    hide\n    wait (0.1) seconds\n    show\n    wait (0.1) seconds\nend\nhide\nwait (0.5) seconds\nReset Level\n\nwhen I receive [play v]\nset [level v] to [1]\nReset Level\nforever\n    if  then\n        change [x v] by (.9)\n    end\n    if  then\n        change [x v] by (-.9)\n    end\n    set [x v] to ((x) * (.9))\n    change x by (x)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((x) * (-1))\n                            change y by (-5)\n                            if  then\n                                if <(x) > [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [13]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.8)\n    change y by (y)\n    if <touching (ground v)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if  then\n            set [y v] to [12]\n        end\n    end\n    change y by (1)\n    if <touching (spikes v)?> then\n        Die\n    end\nend\n\nwhen [r v] key pressed\nReset Level\n\nwhen flag clicked\nset size to (325) %\nforever\n    create clone of (_myself_ v)\n    wait (0.004) seconds\nend\n\nwhen I start as a clone\nrepeat (20)\n    change size by (-5)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen I receive [skip v]\ngo to x: (-200) y: (0)\n\nwhen flag clicked\nforever\n    if <touching color (#5f0909)?> then\n        change [level v] by (1)\n    end\nend\n\nwhen I receive [intro over v]\nforever\n    play sound [y2mate2 v] until done\nend\n\nwhen I receive [play v]\nif <(Level) = [16]> then\n    stop all sounds\nend\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\ngo to x: (0) y: (0)\nforever\n    show\n    go to [back v] layer\n    switch costume to (Level)\nend\n\n@Sun\n\nwhen flag clicked\nhide\nforever\n    set drag mode [not draggable v]\nend\n\nwhen I receive [play v]\nhide\ngo to [back v] layer\nshow\ngo to x: (217) y: (202)\nset size to (100) %\nreset timer\nforever\n    repeat (50)\n        change size by (((140) - (size)) / (18))\n    end\n    repeat (50)\n        change size by (((size) - (100)) / (-18))\n    end\nend\n\nbroadcast (PLAY v)\n\nwhen I receive [play v]\nforever\n    if <<(Level) = [6]> or <<(Level) = [7]> or <(Level) = [8]>>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Level) = [16]> then\n        hide\n    end\nend\n\n@Skip\n\nwhen flag clicked\nhide\nforever\n    change [color v] effect by (25)\n    wait (0.1) seconds\nend\n\nwhen this sprite clicked\nbroadcast (SKIP v)\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    repeat (20)\n        change [ghost v] effect by (-5)\n    end\n    wait (0.5) seconds\n    set [ghost v] effect to (0)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    wait (0.5) seconds\nend\n\nwhen I receive [play v]\ngo to [front v] layer\nshow\n\nwhen flag clicked\nforever\n    if <(Level) = [15]> then\n        hide\n    end\nend\n\n@Love fave\n\nwhen flag clicked\nforever\n    set drag mode [not draggable v]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (30) to (40)) seconds\n        switch costume to (costume1 v)\n        show\n        go to x: (7) y: (37)\n        go to [front v] layer\n        start sound [pop v]\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Intro\n\nwhen flag clicked\ngo to [front v] layer\nhide\nset [ready v] to [0]\nwait (0.3) seconds\nshow\nclear graphic effects\npoint in direction (90)\nset [switch v] to [0]\nset [counter v] to [0]\ngo to x: (0) y: (180)\nset size to (0) %\nswitch costume to (2a v)\nrepeat (16)\n    change y by (-11.25)\n    change [switch v] by (1)\n    change size by (((size) / (30)) * (10))\n    if <(Switch) = [16]> then\n        switch costume to (2b v)\n    end\nend\nwait (0.4) seconds\ngo to x: (0) y: (0)\npoint in direction (45)\nrepeat (3)\n    Clone Squares\n    repeat (16)\n    Clone Squares\nend\nset [ready v] to [1]\nwait (1.3) seconds\nset [clone id v] to [4]\ncreate clone of (_myself_ v)\nshow\nrepeat (3)\n    go to [front v] layer\nend\nclear graphic effects\npoint in direction (90)\nset [switch v] to [0]\ngo to x: (0) y: (-180)\nset size to (0) %\nswitch costume to (1a v)\nrepeat (16)\n    change y by (11.25)\n    change [switch v] by (1)\n    change size by (((size) / (30)) * (10))\n    if <(Switch) = [16]> then\n        switch costume to (1b v)\n    end\nend\nset [clone id v] to [5]\nset [y position v] to [150]\nrepeat (6)\n    create clone of (_myself_ v)\n    change [y position v] by (-50)\n    wait (0.05) seconds\nend\ncreate clone of (_myself_ v)\nwait (0.456) seconds\nset size to (100) %\nswitch costume to (logo v)\ngo to [front v] layer\ngo to x: (0) y: (0)\nset size to (0) %\nswitch costume to (logo  v)\nshow\nset [1 v] to [0]\nset [2 v] to [0]\nrepeat (40)\n    set [1 v] to (((1) * (0.8)) + (((80) - (size)) / (5)))\n    change size by (1)\n    point in direction ((([tan v] of (2) ) * (10)) + (90))\n    change [2 v] by (5)\nend\nset [1 v] to [3]\nrepeat (13)\n    change [1 v] by (([abs v] of (1) ) / (4))\n    change size by ((join [-] (1)) / (4))\n    change x by (1)\n    point in direction ((([tan v] of (2) ) * (10)) + (90))\n    change [2 v] by (5)\nend\ngo to x: (-5000) y: (0)\nrepeat (20)\n    change x by (((0) - (x position)) / (4))\n    change size by (((80) - (size)) / (4))\n    point in direction ((([tan v] of (2) ) * (10)) + (90))\n    change [2 v] by (5)\nend\nset [clone id v] to [6]\ncreate clone of (_myself_ v)\nset [clone id v] to [7]\ncreate clone of (_myself_ v)\nrepeat (25)\n    point in direction ((([tan v] of (2) ) * (10)) + (90))\n    change [2 v] by (5)\nend\nhide\nwait (0.07) seconds\nrepeat (10)\n    change volume by (-10)\nend\nstop all sounds\nbroadcast (Intro Over v)\nstop [other scripts in sprite v]\n\nwhen I start as a clone\ngo to [front v] layer\n\ndefine Size: (size) Costume #: (costume #)\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 (costume #)\nend\n\ndefine Clone Squares\nif <(Ready) = [0]> then\n    set [clone id v] to [0]\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\n    change [clone id v] by (1)\n    create clone of (_myself_ v)\n    change [counter v] by (10)\nend\n\nwhen I start as a clone\nif <(Clone ID) = [4]> then\n    point in direction (90)\n    switch costume to (black v)\n    set size to (545) %\n    wait (0.6) seconds\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [3]> then\n    point in direction (90)\n    clear graphic effects\n    set size to (0) %\n    Size Thing\n    if <(Counter) = [50]> then\n        set [y velocity v] to [0]\n        repeat until <(y position) > [38]>\n            change [y velocity v] by (2.45746567)\n            set [y velocity v] to ((Y Velocity) * (0.98))\n            change y by (Y Velocity)\n            turn right (((Y Velocity) * (0.97896789)) / (7.67867)) degrees\n        end\n        wait (0.05) seconds\n        set [y velocity v] to [0]\n        repeat until <(y position) < [-179]>\n            change [y velocity v] by (-2.457656757)\n            set [y velocity v] to ((Y Velocity) * (0.98))\n            change y by (Y Velocity)\n            turn left (((Y Velocity) * (0.97896789)) / (7.67867)) degrees\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [2]> then\n    clear graphic effects\n    set size to (0) %\n    Size: [150] Costume #: [8]\n    Size: [300] Costume #: [8]\n    Size: [600] Costume #: [8]\n    Size: [1200] Costume #: [8]\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [1]> then\n    clear graphic effects\n    set size to (0) %\n    Size: [100] Costume #: [7]\n    Size: [200] Costume #: [7]\n    Size: [400] Costume #: [7]\n    Size: [800] Costume #: [7]\n    delete this clone\nend\n\ndefine Size Thing\nif <(Counter) = [50]> then\n    repeat (15)\nelse\n    repeat (10)\nend\nrepeat (16)\n    if <(size) > [100]> then\n        switch costume to (blank v)\n    end\n    change size by (((160) - (size)) / (4))\n    switch costume to (username v)\nend\n\nwhen I start as a clone\nif <(Clone ID) = [3]> then\n    forever\n        go to [front v] layer\n    end\nend\n\nwhen I start as a clone\nif <(Clone ID) = [5]> then\n    set size to (0) %\n    switch costume to (tile v)\n    set [ghost v] effect to (100)\n    repeat (50)\n        set [bounce v] to (((Bounce) * (0.8)) + (((y position) - (y position)) / (5)))\n        change size by (((100) - (size)) / (15))\n        change [ghost v] effect by (-10)\n        change y by (Bounce)\n    end\n    wait (2.22) seconds\n    delete this clone\nend\n\nwhen flag clicked\nset [level v] to [1]\nset volume to (100) %\nplay sound [Intro Music v] until done\n\nwhen I start as a clone\nif <(Clone ID) = [7]> then\n    show\n    switch costume to (2 v)\n    set size to (100) %\n    go to [front v] layer\n    point in direction (90)\n    go to x: (220) y: (0)\n    set [x velocity v] to [0]\n    repeat until <(x position) < [15]>\n        change [x velocity v] by (-2.42)\n        change x by (X Velocity)\n    end\n    wait (0.6) seconds\n    repeat until <(x position) > [205]>\n        change x by (((x position) + (140)) / (3))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [6]> then\n    go to [front v] layer\n    show\n    switch costume to (1 v)\n    set size to (100) %\n    point in direction (90)\n    go to x: (-220) y: (0)\n    set [x velocity v] to [0]\n    repeat until <(x position) > [-15]>\n        change [x velocity v] by (2.42)\n        change x by (X Velocity)\n    end\n    wait (0.6) seconds\n    repeat until <(x position) < [-205]>\n        change x by (((x position) - (140)) / (3))\n    end\n    delete this clone\nend\n\nwhen I receive [intro over v]\nhide\ndelete this clone\n\n@Clouds\n\nwhen flag clicked\nset [ghost v] effect to (34)\nforever\n    go to x: (-26) y: (19)\n    glide (7) secs to x: (-300) y: (13)\nend\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [play v]\nshow\n\nwhen I receive [play v]\nforever\n    if <<(Level) = [6]> or <<(Level) = [7]> or <(Level) = [8]>>> then\n        hide\n    else\n        show\n    end\nend\n\nwhen I receive [play v]\nforever\n    if <(Level) = [16]> then\n        hide\n    end\nend\n\n@wORDS\n\nwhen flag clicked\nhide\n\nwhen I receive [play v]\ngo to x: (0) y: (-278)\ngo to [front v] layer\nforever\n    show\n    switch costume to (Level)\nend\n\n@Gate\n\nwhen flag clicked\nhide\nforever\n    if <touching (player v)?> then\n        set [level v] to [16]\n    end\nend\n\nwhen flag clicked\ngo to x: (36) y: (28)\nforever\n    if <(Level) = [15]> then\n        wait (0.5) seconds\n        show\n    else\n        hide\n    end\nend\n\n@Start Screen \n\nwhen flag clicked\nhide\nforever\n    turn left (1) degrees\nend\n\nwhen I receive [play v]\nhide\n\nwhen I receive [intro over v]\nshow\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n
#9th on TRENDING on GAMES on 17th July!!! OMG!!!\nWELCOME TO PHOENIX'S ADVENTURE\nRules-\n1- Arrow keys to move\n2- Be careful of spikes and lava.\n___________________________________________\nPlease Heart and Fav the project for PART-2 . I hope you like it , I have worked hard for it. \n___________________________________________\nFor PT-2 \nLIKE TARGET- 50\nFAV TARGET- 50\nREMIX TARGET- 3\n\n___________________________________________\nAlso join this studio and add your followers in it.\nhttps://scratch.mit.edu/studios/29986495\n__________________________________________\n\nLet us make this series popular!!!!\n-----------------------------------------------------------------------\n\n