Worlds 4 A Platformer #games #all #trending #music #art #animations #stories

Instructions: ▪ WORLDS A PLATFORMER ▪\n▪ PART 4: RAINBOW LAND (Last part) ▪\n\nWelcome to another one of my platformers! :D\nPlease like and fav if you enjoyed!\n\nThis is one of my best ones because it has enemies and chainsaws! Enjoy! \n\nFollow me @TrentonTNT for more games!\n\n▪ INSTRUCTIONS ▪\n\n> WAD or arrow keys to move\n> Dodge spikes and saws\n> Touch the flag to get to next level\n> Dodge moving enemies\n> Get to the end!\n\n▪ TAGS ▪\n\n#games #all #fun #art #invisity #icelands #trentontnt #like #fav #follow #worlds #trending #1st #platformer\n#art #stories #music #animations 

@Stage\n\nwhen flag clicked\nswitch backdrop to (intro v)\n\nwhen I receive [intro ended v]\nswitch backdrop to (1 v)\n\nwhen I receive [intro ended v]\nforever\n    play sound [Yeet Bois v] until done\nend\n\n@Platformer Engine\n\nwhen I receive [up v]\nset [ghost v] effect to (0)\nshow\ngo to x: (-201) y: (-59)\n\nwhen flag clicked\nbroadcast (alright bros let's go v)\n\nwhen I receive [alright bros let's go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (costume3 v)\nrepeat (10)\n    change [ghost v] effect by (5)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [intro ended v]\npoint in direction (90)\ngo to [front v] layer\nset size to (100) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (costume2 v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-200) y: (0)\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xv v] by (1)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n        change y by (1)\n        if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n            change y by (1)\n            if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n                change y by (1)\n                if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n                    change y by (1)\n                    if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n                        change y by (1)\n                        if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<<<touching color (#ff0000)?> or <touching color (#ff8e00)?>> or <touching color (#ffd633)?>> or <<touching color (#3dcc29)?> or <touching color (#3891ff)?>>> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yv v] to [16]\n        end\n    end\n    if <<<<<<touching color (#7e7e7e)?> or <touching (speed enemies v)?>> or <<touching (enemies3 v)?> or <touching (enemies2 v)?>>> or <touching color (#9c9c9c)?>> or <touching (chainsaws v)?>> or <touching (speed enemies2 v)?>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        repeat (10)\n            change [ghost v] effect by (10)\n            change y by (5)\n            turn right (5) degrees\n        end\n        set [ghost v] effect to (0)\n        point in direction (90)\n        go to x: (-197) y: (-63)\n    end\n    if <<(x position) > [-250]> and <(y position) < [-179]>> then\n        start sound [Oops v]\n        set [xv v] to [0]\n        set [yv v] to [0]\n        broadcast (up v)\n    end\n    if <touching (bouncer v)?> then\n        set [yv v] to [20]\n    end\n    if <touching (checkpoint v)?> then\n        go to x: (-201) y: (-59)\n        broadcast (CHANGE v)\n    end\nend\n\n@TB\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n@Clouds\n\nwhen I start as a clone\nset [ghost v] effect to (pick random (5) to (15))\nswitch costume to (cloud v)\nset size to (pick random (60) to (120)) %\ngo [backward v] (10000000) layers\nshow\ngo to x: (-290) y: (pick random (120) to (70))\nrepeat until <[290] < (x position)>\n    change x by (2)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [intro ended v]\nhide\ngo [backward v] (10000000) layers\nforever\n    repeat (pick random (10) to (20))\n        create clone of (_myself_ v)\n        wait (pick random (2) to (5)) seconds\n    end\n    wait (pick random (2) to (3)) seconds\nend\n\n@Checkpoint\n\nwhen flag clicked\nhide\n\nwhen I receive [flag go away v]\nhide\n\nwhen I receive [intro ended v]\nshow\ngo to x: (177) y: (-52)\ngo [backward v] (1000) layers\nforever\n    point in direction ((([sin v] of ((Direction) * (100)) ) * (5)) + (90))\n    change [direction v] by (0.04)\nend\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [change v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (BOUNCE v)\n    end\nend\n\nwhen I receive [intro ended v]\ngo to x: (0) y: (0)\nshow\ngo [forward v] (10000000000) layers\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (FLAG GO AWAY v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (STOP BOUNCE v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [5]> then\n        broadcast (ENEMIES v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        broadcast (STOP ENEMIES v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [6]> then\n        broadcast (SAWS v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [7]> then\n        broadcast (ENEMIES2 v)\n        forever\n            stop [this script v]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (STOP ENEMIES2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [8]> then\n        broadcast (STOP SAWS v)\n    end\nend\n\n@Intro\n\ndefine Clone  ID: (id) Quantity: (quantity)\nset [intro: clone id v] to (id)\nrepeat (quantity)\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nstart sound [Night Core v]\nset [colour \(intro\) v] to [0]\nhide\nClone  ID: [Wheel] Quantity: [1]\nrepeat (20)\n    Clone  ID: [Letters] Quantity: [5]\n    wait (0.1) seconds\nend\nwait (0.2) seconds\nrepeat (50)\n    Clone  ID: [Stars] Quantity: [1]\n    wait (0.1) seconds\n    if <(pick random (1) to (20)) = [1]> then\n        Clone  ID: [Circle1] Quantity: [1]\n        Clone  ID: [Circle2] Quantity: [1]\n        Clone  ID: [Circle3] Quantity: [1]\n        Clone  ID: [Circle4] Quantity: [1]\n    end\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Wheel]> then\n    go to x: (0) y: (0)\n    set size to (20) %\n    switch costume to (backdrop \(5\) v)\n    set [brightness v] effect to (100)\n    show\n    repeat (19)\n        change size by (1)\n        set [brightness v] effect to (100)\n        wait (0.1) seconds\n    end\n    repeat (10)\n        change size by (1)\n        change [brightness v] effect by (-10)\n    end\n    repeat (7)\n        switch costume to (blank v)\n        change size by ((680) / (7))\n        switch costume to (backdrop \(5\) v)\n    end\n    Clone  ID: [Flash Screen] Quantity: [1]\n    Clone  ID: [Name] Quantity: [1]\n    Clone  ID: [Diamond] Quantity: [1]\n    Clone  ID: [Wave] Quantity: [1]\n    Clone  ID: [Grid] Quantity: [1]\n    repeat (230)\n        turn right (3) degrees\n        if <(Colour \(intro\)) > [0]> then\n            set [color v] effect to ((Colour \(intro\)) + (20))\n        else\n            set [color v] effect to (0)\n        end\n    end\n    Clone  ID: [End] Quantity: [1]\n    repeat (20)\n        turn right (3) degrees\n        if <(Colour \(intro\)) > [0]> then\n            set [color v] effect to ((Colour \(intro\)) + (20))\n        else\n            set [color v] effect to (0)\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Letters]> then\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (join [Letters ] (pick random (1) to (6)))\n    point in direction (pick random (-180) to (180))\n    move (300) steps\n    go to [back v] layer\n    show\n    repeat (10)\n        change size by (-7)\n        change x by (((0) - (x position)) / (4))\n        change y by (((0) - (y position)) / (4))\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Flash Screen]> then\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (flash screen v)\n    point in direction (90)\n    go to [front v] layer\n    show\n    set [brightness v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Grid]> then\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (grid v)\n    point in direction (90)\n    go to [back v] layer\n    go [forward v] (1) layers\n    show\n    wait (0.2) seconds\n    repeat (5)\n        set [color v] effect to (Colour \(intro\))\n        set [hv1 v] to [0]\n        repeat (45)\n            change [hv1 v] by (0.05)\n            set [color v] effect to (Colour \(intro\))\n            point in direction ((([tan v] of ((HV1) * (100)) ) * (-5)) + (90))\n        end\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Name]> then\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (invisity v)\n    point in direction (90)\n    go to [front v] layer\n    go [forward v] (1) layers\n    show\n    wait (0.3) seconds\n    set [colour \(intro\) v] to [0]\n    Shake\n    wait (0.3) seconds\n    set [colour \(intro\) v] to [70]\n    Shake\n    wait (0.3) seconds\n    set [colour \(intro\) v] to [100]\n    Shake\n    wait (0.3) seconds\n    set [colour \(intro\) v] to [70]\n    Shake\n    wait (0.3) seconds\n    set [colour \(intro\) v] to [0]\n    Shake\n    wait (0.3) seconds\n    set [colour \(intro\) v] to [100]\n    Shake\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Wave]> then\n    go to x: (0) y: (0)\n    set size to (30) %\n    switch costume to (wave v)\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (1) layers\n    show\n    set [color v] effect to (Colour \(intro\))\n    repeat (10)\n        change size by (10)\n    end\n    repeat (10)\n        change size by (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Diamond]> then\n    go to x: (0) y: (0)\n    set size to (30) %\n    switch costume to (diamond v)\n    point in direction (90)\n    go to [front v] layer\n    go [backward v] (2) layers\n    set [color v] effect to (Colour \(intro\))\n    show\n    repeat (30)\n        switch costume to (blank v)\n        change size by (((700) - (size)) / (10))\n        switch costume to (diamond v)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [End]> then\n    clear graphic effects\n    go to x: (500) y: (500)\n    switch costume to (blank v)\n    point in direction (135)\n    go to [front v] layer\n    set size to (150) %\n    switch costume to (end v)\n    go [forward v] (2) layers\n    show\n    repeat (50)\n        change x by (((20) - (x position)) / (10))\n        change y by (((20) - (y position)) / (10))\n        go to [front v] layer\n        go [forward v] (2) layers\n    end\n    repeat (20)\n        change x by (((20) - (x position)) / (10))\n        change y by (((20) - (y position)) / (10))\n        go to [front v] layer\n        go [forward v] (2) layers\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine Shake\nset size to (150) %\nEffect [1]\nClone  ID: [Diamond] Quantity: [1]\nClone  ID: [Wave] Quantity: [1]\nClone  ID: [Flash Screen] Quantity: [1]\nset [color v] effect to (Colour \(intro\))\ngo to x: (0) y: (0)\nrepeat (30)\n    go to [front v] layer\n    go [forward v] (2) layers\n    change size by (((100) - (size)) / (10))\n    go to x: (([sin v] of ((timer) * (1000)) ) * (((size) - (100)) * (0.1))) y: (([sin v] of ((timer) * (1000)) ) * (((size) - (100)) * (0.1)))\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Stars]> then\n    set size to (100) %\n    switch costume to (star v)\n    set [brightness v] effect to (100)\n    go to (random position v)\n    point in direction (90)\n    show\n    repeat (10)\n        go to [front v] layer\n        go [forward v] (3) layers\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif < (Intro: Clone ID) contains [Circle]?> then\n    if < (Intro: Clone ID) contains [1]?> then\n        go to x: (200) y: (140)\n    else\n        if < (Intro: Clone ID) contains [2]?> then\n            go to x: (-200) y: (140)\n        else\n            if < (Intro: Clone ID) contains [3]?> then\n                go to x: (-200) y: (-140)\n            else\n                if < (Intro: Clone ID) contains [4]?> then\n                    go to x: (200) y: (-140)\n                else\n                    delete this clone\n                end\n            end\n        end\n    end\n    set size to (300) %\n    switch costume to (bubble v)\n    set [brightness v] effect to (100)\n    point in direction (90)\n    show\n    repeat (10)\n        go to [front v] layer\n        go [forward v] (3) layers\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\ndefine Effect (mode)\nif <(mode) = [1]> then\n    repeat (7)\n        turn right ((360) / (7)) degrees\n        Clone  ID: [Line] Quantity: [1]\n    end\nend\n\nwhen I start as a clone\nif <(Intro: Clone ID) = [Line]> then\n    show\n    go to x: (0) y: (0)\n    move (50) steps\n    clear graphic effects\n    go to [front v] layer\n    switch costume to (line effect 1 v)\n    set size to (300) %\n    set [color v] effect to (Colour \(intro\))\n    repeat (8)\n        move (30) steps\n        next costume\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait (14) seconds\nbroadcast (INTRO ENDED v)\n\n@Stars\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo [forward v] (10000000) layers\nset [ghost v] effect to (pick random (0) to (30))\ngo to x: (pick random (-250) to (250)) y: (200)\nshow\nrepeat until <(y position) < [-170]>\n    turn right (7) degrees\n    change y by (-5)\n    change [ghost v] effect by (.2)\nend\ndelete this clone\n\nwhen I receive [intro ended v]\nforever\n    wait (0.1) seconds\n    create clone of (_myself_ v)\nend\n\n@Stars2\n\nwhen flag clicked\nhide\n\nwhen I start as a clone\ngo [forward v] (10000000) layers\nset [ghost v] effect to (pick random (0) to (30))\ngo to x: (pick random (-250) to (250)) y: (200)\nshow\nrepeat until <(y position) < [-170]>\n    turn right (7) degrees\n    change y by (-5)\n    change [ghost v] effect by (.2)\nend\ndelete this clone\n\nwhen I receive [intro ended v]\nforever\n    wait (0.1) seconds\n    create clone of (_myself_ v)\nend\n\n@Bouncer\n\nwhen I receive [bounce v]\nshow\ngo to x: (-96) y: (-74)\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    if <touching (platformer engine v)?> then\n        repeat (14)\n            next costume\n        end\n        switch costume to (1 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [stop bounce v]\nhide\nstop [other scripts in sprite v]\n\n@Bouncer2\n\nwhen I receive [bounce v]\nshow\ngo to x: (94) y: (-74)\nswitch costume to (1 v)\ngo to [back v] layer\nforever\n    if <touching (platformer engine v)?> then\n        repeat (14)\n            next costume\n        end\n        switch costume to (1 v)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [stop bounce v]\nhide\nstop [other scripts in sprite v]\n\n@Speed Enemies\n\nwhen flag clicked\nhide\n\nwhen I receive [enemies v]\ngo to [front v] layer\nshow\ngo to x: (-140) y: (-76)\nforever\n    glide (0.3) secs to x: (120) y: (-76)\n    glide (0.3) secs to x: (-140) y: (-76)\nend\n\nwhen I receive [stop enemies v]\nhide\nstop [other scripts in sprite v]\n\n@Chainsaws\n\nwhen flag clicked\ngo to x: (9) y: (-88)\nhide\n\nwhen flag clicked\ngo [backward v] (10000) layers\nforever\n    turn right (5) degrees\nend\n\nwhen I receive [saws v]\nshow\n\nwhen I receive [stop saws v]\nhide\n\n@Speed Enemies2\n\nwhen flag clicked\nhide\n\nwhen I receive [enemies2 v]\ngo to [front v] layer\nshow\ngo to x: (-140) y: (-76)\nforever\n    glide (0.3) secs to x: (120) y: (-76)\n    wait (0.5) seconds\n    glide (0.3) secs to x: (-140) y: (-76)\n    wait (0.5) seconds\nend\n\nwhen I receive [stop enemies2 v]\nhide\nstop [other scripts in sprite v]\n\n