Sunshine || #Games #All #Trending #Music #Art #Platformer

Instructions: ✦Sunshine✦\n\n follow this guy then look at your profile for a surprise\n @Prodannau \n\n\n\n\nControls\n➥ W A D / Arrow keys / Mobile play \n\nHow to play\n➥ Do not touch lava or enemy\n➥ Dodge the sharingan\n➥ Collect the ore \n\nHow to collect ore?\n➥ Go to the ore\n➥ Touch it with your player\n\n\nCredits\n➥ @--AwesomeCode-- For The Player Engine\n➥ @INorth For The Biggest Inspiration Of The Art\n➥ @TimMcCool For love and fav detector\n➥ @x_PlatformMaker_x For love and fav reminder\n➥ @EntoChicky For the mobile friendly icon\n\n__________\nLove And Fav If You Want Advertise Or I Will Report You \n__________\nTags\n#Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun \n #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun #Games #All #Trending #Music #Fun \n\n\nI am bored xD

@Stage\n\n@Player\n\nwhen I receive [next level v]\nReset\nbroadcast (Reset v)\n\nwhen flag clicked\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    Start Game\nend\n\ndefine Start Game\nif <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n    change [x velocity v] by (-1.5)\nend\nif <<<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)\nend\nset [x velocity v] to ((X Velocity) * (0.85))\nchange x by (X Velocity)\nif <<touching (ground hitbox v)?> or <touching (wall v)?>> then\n    change y by (1)\nend\nif <<touching (ground hitbox v)?> or <touching (wall v)?>> then\n    change y by (1)\nend\nif <<touching (ground hitbox v)?> or <touching (wall v)?>> then\n    change y by (1)\nend\nif <<touching (ground hitbox v)?> or <touching (wall v)?>> then\n    change y by (1)\nend\nif <<touching (ground hitbox v)?> or <touching (wall v)?>> then\n    change y by (-4)\n    change x by ((X Velocity) * (-1))\n    if <<<key (w v) pressed?> or <key (up arrow 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\nend\nchange [y velocity v] by (-1)\nchange y by (Y Velocity)\nif <<touching (ground hitbox v)?> or <touching (wall v)?>> then\n    change y by ((Y Velocity) - ((Y Velocity) * (2)))\n    set [y velocity v] to [0]\nend\nchange y by (-1)\nif <<<touching (ground hitbox v)?> or <touching (wall v)?>> and <<<key (w v) pressed?> or <key (up arrow v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    set [y velocity v] to [15]\nend\nchange y by (1)\nif <<(x position) > [239]> and <(Collect) = [1]>> then\n    if <(The Level) = [11]> then\n        broadcast (end v)\n    else\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n        set [collect v] to [0]\n    end\nend\nif <(y position) < [-178]> then\n    Reset\nend\nif <touching (enemy v)?> then\n    Reset\nend\nif <touching (sharingan v)?> then\n    Reset\nend\nif <touching (lava v)?> then\n    Reset\nend\n\ndefine Reset\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (40)\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    if <not <<<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> or <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>>>> then\n        switch costume to (player v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (player right v)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        switch costume to (player left  v)\n    end\nend\n\n@Ground Hitbox\n\nwhen flag clicked\nset [the level v] to [1]\nset [ghost v] effect to (100)\nforever\n    switch costume to (The Level)\nend\n\n@Ground art\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Background\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    if <<([x position v] of [player v]) > [0]> or <([y position v] of [player v]) > [0]>> then\n        go to x: (join [-] (([x position v] of [player v]) / (10))) y: (join [-] (([y position v] of [player v]) / (10)))\n    end\n    if <<([x position v] of [player v]) < [0]> or <([y position v] of [player v]) < [0]>> then\n        go to x: ((([x position v] of [player v]) / (10)) - ((([x position v] of [player v]) / (10)) * (2))) y: ((([y position v] of [player v]) / (10)) - ((([y position v] of [player v]) / (10)) * (2)))\n    end\nend\n\n@Enemy\n\nwhen flag clicked\nforever\n    if <(The Level) = [1]> then\n        show\n        go to x: (-118) y: (-50)\n        switch costume to (enemy3 v)\n        glide (2) secs to x: (206) y: (-50)\n        switch costume to (enemy v)\n        wait (1) seconds\n        switch costume to (enemy2 v)\n        glide (2) secs to x: (-118) y: (-50)\n        switch costume to (enemy v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [3]> then\n        show\n        go to x: (-16) y: (30)\n        switch costume to (enemy3 v)\n        glide (2) secs to x: (219) y: (30)\n        switch costume to (enemy v)\n        wait (1) seconds\n        switch costume to (enemy2 v)\n        glide (2) secs to x: (-16) y: (30)\n        switch costume to (enemy v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [2]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [9]> then\n        show\n        go to x: (-110) y: (17)\n        switch costume to (enemy3 v)\n        glide (3) secs to x: (219) y: (17)\n        switch costume to (enemy v)\n        wait (1) seconds\n        switch costume to (enemy2 v)\n        glide (3) secs to x: (-110) y: (17)\n        switch costume to (enemy v)\n        wait (1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [10]> then\n        show\n        switch costume to (enemy v)\n        go to x: (221) y: (-51)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [11]> then\n        hide\n    end\nend\n\n@Ore\n\nwhen flag clicked\nswitch costume to ( v)\nset size to (100) %\nshow\n\nwhen flag clicked\nwait (0.1) seconds\nforever\n    if <(The Level) = [1]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (146) y: ((117) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [2]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (205) y: ((-33) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [3]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (187) y: ((157) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [4]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (7) y: ((85) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [5]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (10) y: ((85) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [6]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (175) y: ((150) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [7]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (37) y: ((26) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [8]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (-47) y: ((83) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [9]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (-15) y: ((-91) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [10]> then\n        switch costume to ( v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (-159) y: ((135) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\n    if <(The Level) = [11]> then\n        switch costume to (2 v)\n        repeat until <(Collect) = [1]>\n            show\n            go to x: (150) y: ((0) + (-))\n            if <touching (player v)?> then\n                change [collect v] by (1)\n                hide\n            end\n        end\n    end\nend\n\nwhen flag clicked\nset [collect v] to [0]\n\nwhen flag clicked\nwait (0.1) seconds\n\nwhen flag clicked\nforever\n    set [- v] to (([sin v] of (((timer) * (2)) * (50)) ) * (4))\nend\n\nset [collect v] to [0]\n\n@Sharingan\n\nwhen flag clicked\ngo to x: (221) y: (-45)\nhide\nwait until <(The Level) = [10]>\nshow\nforever\n    create clone of (_myself_ v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\npoint towards (player v)\nrepeat until <<<touching (_edge_ v)?> or <touching (ground hitbox v)?>> or <touching (player v)?>>\n    move (10) steps\n    if <(The Level) = [11]> then\n        hide\n    end\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(The Level) = [11]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [10]> then\n        go to x: (221) y: (-45)\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [10]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [11]> then\n        hide\n    end\nend\n\n@TB\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nshow\nforever\n    go to [front v] layer\nend\n\n@Love and fave reminder\n\nwhen flag clicked\nhide\ngo to x: (-6) y: (105)\n\nwhen flag clicked\nhide\ngo to [front v] layer\nrepeat until <<(LOVED__) = [1]> and <(FAVED___) = [1]>>\n    wait (pick random (3) to (5)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (105)\n    show\n    go to [front v] layer\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 (5) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\nhide\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)\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@music\n\nwhen flag clicked\nforever\n    play sound [Rushawn_ft_The_Kiffness_-_It_s_A_Beautiful_Day v] until done\nend\n\n@Sun\n\nwhen flag clicked\nshow\nforever\n    set size to ((100) + (([sin v] of (((timer) * (2)) * (50)) ) * (8))) %\nend\n\nwhen flag clicked\nwait until <(The Level) = [11]>\nhide\n\n@Water\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    set y to ((-210) + (([sin v] of (((timer) * (2)) * (30)) ) * (3)))\n    point in direction ((90) + (([sin v] of (((timer) * (2)) * (25)) ) * (4)))\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [1]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [2]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [3]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [5]> then\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <(The Level) = [6]> then\n        hide\n    end\nend\n\n@Lava\n\nwhen flag clicked\ngo to x: (102) y: (-30)\n\nwhen flag clicked\nhide\nforever\n    if <(The Level) = [4]> then\n        show\n        point in direction ((90) + (([sin v] of (((timer) * (2)) * (25)) ) * (8)))\n        set y to ((-160) + (([sin v] of (((timer) * (2)) * (30)) ) * (10)))\n    end\n    if <(The Level) = [5]> then\n        hide\n    end\n    if <(The Level) = [8]> then\n        show\n        point in direction ((90) + (([sin v] of (((timer) * (2)) * (25)) ) * (8)))\n        set y to ((-60) + (([sin v] of (((timer) * (2)) * (30)) ) * (10)))\n    end\n    if <(The Level) = [9]> then\n        hide\n    end\nend\n\n@Wall\n\nwhen flag clicked\nhide\nwait until <(The Level) = [9]>\nshow\n\nwhen I receive [open wall v]\nhide\n\n@Text\n\nwhen flag clicked\nhide\nwait until <(The Level) = [9]>\nshow\nask [] and wait\nrepeat until <(The Level) = [10]>\n    if <(answer) = ((8) * ((10) * (9)))> then\n        broadcast (Open Wall v)\n        hide\n        stop [other scripts in sprite v]\n        stop [this script v]\n    else\n        ask [] and wait\n    end\nend\n\nwhen flag clicked\nforever\n    go to x: (0) y: ((99) + (([sin v] of (((timer) * (2)) * (100)) ) * (4)))\n    point in direction ((90) + (([sin v] of (((timer) * (2)) * (50)) ) * (4)))\nend\n\n