Explorer || A Basic Platformer || #Games #All #Art #-TechnoCoder-#Trending
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [start v]\nswitch backdrop to (main v)\n\nwhen I receive [dark v]\nswitch backdrop to (dark v)\n\nwhen I receive [white v]\nswitch backdrop to (main v)\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\nset [level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x velocity v] by (1.5)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (y position)>>> then\n        change [x velocity v] by (-1.5)\n    end\n    set [x velocity v] to ((X Velocity) * (0.85))\n    change x by (X Velocity)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (-4)\n        change x by ((X Velocity) * (-1))\n        if <<<<key (space v) pressed?> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            if <(X Velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (platform v)?> then\n        change y by ((Y Velocity) - ((Y Velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n    end\n    change y by (-1)\n    if <<touching (platform v)?> and <<<<<key (space v) pressed?> or <key (up arrow v) pressed?>> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [level v] by (1)\n    end\n    if <<touching (spikes v)?> or <touching (saws v)?>> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n    else\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n            switch costume to (crouch v)\n        else\n            switch costume to (player v)\n        end\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n        end\n        if <(Level) > [8]> then\n            switch costume to (cave man v)\n            broadcast (Dark v)\n        end\n        if <(Level) > [16]> then\n            switch costume to (player v)\n            broadcast (White v)\n        end\n    end\nend\n\nwhen I receive [start v]\nforever\n    play sound (pick random (1) to (4)) until done\nend\n\n@Platform\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nshow\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\n@Lava\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (1)\n    end\n    repeat (20)\n        change [magma v] by (-1)\n    end\n    repeat (10)\n        change [magma v] by (1)\n    end\nend\n\nwhen I receive [start v]\nforever\n    set y to (Magma)\nend\n\nwhen I receive [start v]\nforever\n    if <(Level) = [2]> then\n        show\n    end\n    if <(Level) = [3]> then\n        hide\n    end\n    if <(Level) = [10]> then\n        show\n    end\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\n@Texts\n\nwhen flag clicked\nforever\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [start v]\nforever\n    if <(Level) = [5]> then\n        show\n        switch costume to (spikes v)\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [6]> then\n        show\n        switch costume to (kes v)\n    end\n    if <(Level) = [7]> then\n        hide\n    end\n    if <(Level) = [9]> then\n        hide\n    end\n    if <(Level) = [8]> then\n        show\n        switch costume to (spikes v)\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [10]> then\n        show\n        switch costume to (spikes2 v)\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [11]> then\n        hide\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [13]> then\n        show\n        switch costume to (spikes v)\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [14]> then\n        show\n        switch costume to (spikes2 v)\n        go to x: (-61) y: (0)\n    end\n    if <(Level) = [15]> then\n        hide\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [16]> then\n        show\n        switch costume to (spikes v)\n        go to x: (0) y: (0)\n    end\n    if <(Level) = [17]> then\n        hide\n        go to x: (0) y: (0)\n    end\nend\n\nif <(Level) = [17]> then\n    hide\n    go to x: (0) y: (0)\nend\n\n@Saws\n\nwhen flag clicked\nhide\ngo to [back v] layer\nswitch costume to (1 v)\nwait (1) seconds\nforever\n    if <(Level) = [3]> then\n        show\n        go to x: (69) y: (-110)\n    end\n    if <(Level) = [4]> then\n        hide\n    end\n    if <(Level) = [11]> then\n        switch costume to (2 v)\n        show\n        go to x: (69) y: (-110)\n    end\n    if <(Level) = [12]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    turn right (10) degrees\nend\n\n@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@Clouds\n\nwhen flag clicked\nset [ghost v] effect to (50)\nhide\n\nwhen I start as a clone\ngo to [back v] layer\ngo to x: (200) y: (pick random (50) to (180))\nshow\nrepeat until <(x position) < [-200]>\n    change x by (-3)\n    if <<([costume name v] of [platform v]) > [6]> and <([costume name v] of [platform v]) < [11]>> then\n        hide\n        delete this clone\n    end\nend\nrepeat (10)\n    hide\n    delete this clone\nend\nif <(Level) = [8]> then\n    forever\n        hide\n    end\nend\n\nwhen I receive [dark v]\nhide\n\nwhen I receive [nonono v]\nshow\n\nwhen I receive [start v]\nforever\n    wait (2) seconds\n    create clone of (_myself_ v)\nend\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (2) to (8)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n@Intro\n\nwhen flag clicked\nstart sound (pick random (2) to (2))\nset volume to (100) %\nset size to (100) %\npoint in direction (90)\nclear graphic effects\nset [ghost v] effect to (100)\nswitch costume to (bar v)\ngo to x: (0) y: (-150)\nrepeat (6)\n    create clone of (_myself_ v)\n    change y by (60)\n    wait (0) seconds\nend\nwait (0.2) seconds\ngo to x: (0) y: (-150)\nset [brightness v] effect to (100)\nrepeat (6)\n    create clone of (_myself_ v)\n    change y by (60)\n    wait (0) seconds\nend\ngo to x: (0) y: (0)\nswitch costume to (circle v)\nwait (0.5) seconds\nset [brightness v] effect to (20)\nrepeat (3)\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\nswitch costume to (square v)\nset [brightness v] effect to (20)\nrepeat (3)\n    create clone of (_myself_ v)\n    change [brightness v] effect by (-10)\n    wait (0.05) seconds\nend\nwait (0.4) seconds\nset [brightness v] effect to (100)\nset [i1 v] to [0]\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nParticles [40]\nset size to (100) %\nwait (2) seconds\nswitch costume to (slide v)\nset [brightness v] effect to (100)\ngo to x: (0) y: (-300)\ncreate clone of (_myself_ v)\nset [i1 v] to [1]\ngo to x: (0) y: (0)\nwait (0.5) seconds\nset [brightness v] effect to (0)\nswitch costume to (name v)\ncreate clone of (_myself_ v)\nwait (0.5) seconds\nswitch costume to (bar v)\ngo to x: (0) y: (-150)\nrepeat (6)\n    create clone of (_myself_ v)\n    change y by (60)\n    wait (0) seconds\nend\nwait (0.5) seconds\nswitch costume to (slide v)\nset [brightness v] effect to (100)\npoint in direction (-90)\ngo to x: (0) y: (300)\ncreate clone of (_myself_ v)\nrepeat (10)\n    change volume by (-10)\nend\n\nwhen I start as a clone\nif <(costume [number v]) = [1]> then\n    set size to (0) %\n    repeat (18)\n        change size by (((100) - (size)) / (4))\n        change [ghost v] effect by (-10)\n    end\nend\nif <(costume [number v]) = [2]> then\n    set [ghost v] effect to (0)\n    repeat (18)\n        switch costume to (blank v)\n        change size by ((size) / (4))\n        switch costume to (circle v)\n    end\nend\nif <(costume [number v]) = [4]> then\n    if <(i1) = [0]> then\n        set size to (0) %\n        set [ghost v] effect to (0)\n        repeat (37)\n            change size by (((100) - (size)) / (4))\n            point in direction ((90) + (([tan v] of (i1) ) * (7)))\n            change [i1 v] by (5)\n        end\n        set [i1 v] to [0]\n        repeat (30)\n            change [i1 v] by (1)\n            change x by ((i1) / (0.8))\n            change y by (i1)\n            turn right ((i1) / (1.5)) degrees\n            change [ghost v] effect by ((i1) / (5))\n        end\n    else\n        clear graphic effects\n        set size to (100) %\n        repeat (20)\n            change [ghost v] effect by (5)\n            change size by (-1)\n        end\n    end\nend\nif < (costume [name v]) contains [Particle]?> then\n    set [ghost v] effect to (0)\n    repeat until <(i3) > [100]>\n        change x by (i1)\n        change y by (i2)\n        change [i2 v] by (-1)\n        if <(i2) < [0]> then\n            change [i3 v] by ((i2) / (-2))\n            set [ghost v] effect to (i3)\n        end\n    end\n    delete this clone\nend\nif <(costume [number v]) = [7]> then\n    set [ghost v] effect to (0)\n    repeat (15)\n        change x by ((x position) / (-4))\n        change y by ((y position) / (-4))\n    end\nend\nif <(costume [number v]) = [8]> then\n    set [ghost v] effect to (0)\n    set size to (0) %\n    point in direction (45)\n    repeat (15)\n        turn right (((90) - (direction)) / (4)) degrees\n        switch costume to (blank v)\n        change size by (((600) - (size)) / (4))\n        switch costume to (square v)\n    end\nend\n\ndefine Particles (p)\nrepeat (p)\n    set size to (pick random (20) to (30)) %\n    switch costume to (pick random (5) to (6))\n    set [i1 v] to (pick random (-5) to (5))\n    set x to ((i1) * (5))\n    set [i2 v] to (pick random (10) to (15))\n    set [i3 v] to [0]\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nshow\nwait (7.5) seconds\nbroadcast (start v)\n\nwhen I receive [start v]\nhide\n\n@eXPLORER\n\nwhen flag clicked\nhide\nforever\n    set [ghost v] effect to (100)\nend\n\n
#9 Trending\nAM I CRAZY???\nIN 1HR 80 LIKES AND FAVES????\nON 1DAY 170 LIKES AND 150 FAVES???!!!!!!\n\n\nMy Speed Run!: https://youtu.be/WxvQDMyGRmI\n\nRandom Yt Vid:https://www.youtube.com/watch?v=ma5aAa4AsDs\n\n\nHey Guys!! Welcome back, This is part 3 of the platformer series of Grasslands, I know this is small I thought to work on it more but I had my final exams that's why I can't work on the Project continuously!\n--------------------------------------------------------------------\n                         PARTS\n--------------------------------------------------------------------\nDidn't Played Part 1 nor 2?  Play Part:\n1: https://scratch.mit.edu/projects/493290168/ \n2: https://scratch.mit.edu/projects/494965482/\n\nSub to my Yt!: https://www.youtube.com/channel/UC8NaNNHHP94V6OhUQQAb9sA\n\n\nMobile-Friendly k?\n\nTarget For Part-4: 500 Like and Faves with 1k Follows\n*Me Updating the Target lol*\n-------------------------------------------------------------------------\n                              CREDITS\n-------------------------------------------------------------------------\n\nIntro By @YouRenTan\n100% Art and Code By me!\nThanks to @0014049 Foe "Alpha" Tutorial on Yt!\n@TimMcCool For the love and fave detector!\n#You ;) For Playing\n-------------------------------------------------------------------------\n                            SONGS\n-------------------------------------------------------------------------\n\nXenogenesis -The Fat Rat\nSavage Love - BTS\nJJD - Adventure - NCS\nForce - Alan Walker\n\n\n#Explorer #Platformer #Games #-TechnoCoder- #All #Arts #Engine\n 