•Sunrise• A Scrolling Platformer (Mobile Friendly) #games
@Stage\n\nwhen [m v] key pressed\n\nset [mouse v] to (join ((mouse x) + (SCROLL X)) (join [, ] ((mouse y) + (SCROLL Y))))\nshow variable [mouse v]\n\nwhen I receive [green flag v]\n\nwhen flag clicked\nforever\n    play sound [Summer - Bensound _ Royalty Free Music - No Copyright Music v] until done\nend\n\n@Blank\n\n@Bubbles/Particles\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    set size to (pick random (40) to (90)) %\n    go to x: (200) y: (pick random (-55) to (200))\n    switch costume to (pick random (1) to (3))\n    create clone of (_myself_ v)\n    wait (pick random (0.1) to (0.5)) seconds\nend\n\nwhen I start as a clone\nset [ghost v] effect to (30)\ngo to [back v] layer\nshow\nif <(size) > [99]> then\n    glide (6) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [80]> then\n    glide (5) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [65]> then\n    glide (4) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [50]> then\n    glide (3) secs to x: (-200) y: (y position)\n    delete this clone\nend\nif <(size) > [40]> then\n    glide (2) secs to x: (-200) y: (y position)\n    delete this clone\nend\n\n@Thumbnail\n\nwhen flag clicked\nforever\n    show\n    set [ghost v] effect to (100)\n    go to [front v] layer\nend\n\n@Player\n\nwhen flag clicked\nswitch costume to (right v)\nbroadcast (Green Flag v) and wait\nbroadcast (Play Game v) and wait\n\nwhen I receive [green flag v]\nhide\ngo to [front v] layer\n\nwhen I receive [play game v]\nset [level v] to [1]\nforever\n    broadcast (Reset v) and wait\n    broadcast (Setup v) and wait\n    Game On\n    repeat until <(Exit) > []>\n        Tick\n        set [scroll x v] to (X)\n        Position\n        broadcast (Tick v)\n    end\n    if <(Exit) = [w i n]> then\n        Game- WIN HOORAY\n    else\n        Game- Death :(\n    end\nend\n\ndefine Game On\nset [x v] to [0]\nset [y v] to [0]\nset [sy v] to [0]\nset [sx v] to [0]\nset [in air v] to [0]\nset [exit v] to []\nset size to (100) %\nset [ghost v] effect to (0)\npoint in direction (90)\nshow\n\ndefine Tick\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    switch costume to (left v)\n    change [sx v] by (-2)\nend\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    switch costume to (right v)\n    change [sx v] by (2)\nend\nset [sx v] to ((sx) * (0.8))\nif <([abs v] of (sx) ) > [0.9]> then\n    Change Player X By (round (sx))\nend\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n    if <(In Air) < [5]> then\n        set [sy v] to [16]\n    end\nend\nchange [sy v] by (-2)\nChange Player Y By (sy)\nset [scroll x v] to (X)\nPosition\nif <(Y) < [-180]> then\n    set [exit v] to [dieeee]\nend\n\ndefine Change Player Y By (sy)\nchange [y v] by (sy)\nchange [in air v] by (1)\nPosition\nTest- Death :(\nrepeat until <not <touching (platforms v)?>>\n    if <(sy) > [0]> then\n        change [y v] by (-1)\n    else\n        change [y v] by (1)\n        set [in air v] to [0]\n    end\n    Position\n    set [sy v] to [0]\nend\n\ndefine Position\ngo to x: ((X) - (SCROLL X)) y: ((Y) - (SCROLL Y))\n\ndefine Change Player X By (sx)\nchange [x v] by (sx)\nPosition\nTest- Death :(\nif <touching (platforms v)?> then\n    repeat (8)\n        change [y v] by (1)\n        Position\n        if <not <touching (platforms v)?>> then\n            stop [this script v]\n        end\n    end\n    change [y v] by (-12)\n    if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> then\n        if <(sx) > [0]> then\n            set [sx v] to [-16]\n        else\n            set [sx v] to [16]\n        end\n        set [in air v] to [0]\n    else\n        set [sx v] to [0]\n    end\n    repeat until <not <touching (platforms v)?>>\n        if <(sx) > [0]> then\n            change [x v] by (-1)\n        else\n            change [x v] by (1)\n        end\n        Position\n    end\nend\n\ndefine Game- Death :(\nset [exit v] to []\nrepeat (5)\n    hide\n    wait (0.09) seconds\n    show\n    wait (0.09) seconds\n    hide\n    wait (0.2) seconds\nend\n\ndefine Test- Death :(\nif <touching color (#ff0000)?> then\n    set [exit v] to [dieeee]\nend\n\ndefine Game- WIN HOORAY\nrepeat (50)\n    go to (exit v)\n    move ((distance to [exit v]) / (2)) steps\n    turn right (50) degrees\n    change size by (-1)\n    change [ghost v] effect by (2)\nend\nhide\nchange [level v] by (1)\nwait (1) seconds\n\n@Platforms\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((Y) - (SCROLL Y))\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (level 1 1 v)\n    Clone at x: [450] y: [0]\n    Clone at x: [450] y: [0]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (level 2 1 v)\n        Clone at x: [500] y: [0]\n        Clone at x: [550] y: [0]\n        Clone at x: [634] y: [0]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (level 3 1 v)\n            Clone at x: [500] y: [0]\n            Clone at x: [550] y: [0]\n            Clone at x: [634] y: [0]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (level 4 1 v)\n                Clone at x: [500] y: [0]\n                Clone at x: [550] y: [0]\n                Clone at x: [634] y: [0]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (level 5 1 v)\n                    Clone at x: [600] y: [0]\n                    Clone at x: [634] y: [0]\n                    Clone at x: [638] y: [0]\n                else\n                    if <(LEVEL) = [6]> then\n                        switch costume to (game end win! v)\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\ncreate clone of (_myself_ v)\nchange [x v] by (x)\nchange [y v] by (y)\nnext costume\n\ncreate clone of (_myself_ v)\nchange [x v] by (450)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (450)\nnext costume\n\n@Sun Charm Collectables\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((Y) - (SCROLL Y))\nif <touching (player v)?> then\n    start sound [Coin v]\n    delete this clone\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (sun charm collectable v)\n    Clone at x: [50] y: [0]\n    Clone at x: [437] y: [72]\n    Clone at x: [602] y: [13]\n    Clone at x: [906] y: [90]\nelse\n    if <(LEVEL) = [2]> then\n        switch costume to (sun charm collectable v)\n        Clone at x: [50] y: [0]\n        Clone at x: [-124] y: [110]\n        Clone at x: [-24] y: [51]\n        Clone at x: [-188] y: [52]\n        Clone at x: [561] y: [168]\n        Clone at x: [785] y: [167]\n        Clone at x: [989] y: [93]\n        Clone at x: [1059] y: [73]\n        Clone at x: [1059] y: [73]\n        Clone at x: [1129] y: [77]\n    else\n        if <(LEVEL) = [3]> then\n            switch costume to (sun charm collectable v)\n            Clone at x: [1] y: [90]\n            Clone at x: [11] y: [140]\n            Clone at x: [427] y: [158]\n            Clone at x: [565] y: [151]\n            Clone at x: [998] y: [35]\n            Clone at x: [1097] y: [68]\n            Clone at x: [1182] y: [92]\n            Clone at x: [1138] y: [149]\n            Clone at x: [1587] y: [107]\n            Clone at x: [1727] y: [98]\n            Clone at x: [1892] y: [90]\n        else\n            if <(LEVEL) = [4]> then\n                switch costume to (sun charm collectable v)\n                Clone at x: [46] y: [80]\n                Clone at x: [645] y: [174]\n                Clone at x: [1052] y: [165]\n                Clone at x: [1196] y: [166]\n                Clone at x: [1383] y: [153]\n                Clone at x: [1851] y: [109]\n            else\n                if <(LEVEL) = [5]> then\n                    switch costume to (sun charm collectable v)\n                    Clone at x: [-91] y: [88]\n                    Clone at x: [-15] y: [90]\n                    Clone at x: [116] y: [83]\n                    Clone at x: [533] y: [47]\n                    Clone at x: [643] y: [102]\n                    Clone at x: [816] y: [169]\n                    Clone at x: [1176] y: [35]\n                    Clone at x: [1276] y: [31]\n                end\n            end\n        end\n    end\nend\nset [x v] to [-99999]\n\ncreate clone of (_myself_ v)\nchange [x v] by (450)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (450)\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\ncreate clone of (_myself_ v)\n\n@Exit\n\nwhen I receive [green flag v]\nhide\n\nwhen I receive [tick v]\nPosition ((X) - (SCROLL X)) ((Y) - (SCROLL Y))\nif <touching (player v)?> then\n    set [exit v] to [w i n]\nend\n\nwhen I receive [setup v]\nhide\nset [x v] to [0]\nset [y v] to [0]\nif <(LEVEL) = [1]> then\n    switch costume to (portal v)\n    Clone at x: [1331] y: [63]\nelse\n    Clone at x: [1962] y: [69]\nend\nif <(LEVEL) = [3]> then\n    Clone at x: [2139] y: [103]\nend\nif <(LEVEL) = [5]> then\n    Clone at x: [2236] y: [60]\nend\n\ncreate clone of (_myself_ v)\nchange [x v] by (450)\nnext costume\ncreate clone of (_myself_ v)\nchange [x v] by (450)\nnext costume\n\ndefine Position (x) (y)\ngo to x: (x) y: (y)\nif <<(x) = (x position)> and <(y) = (y position)>> then\n    show\nelse\n    hide\nend\n\nwhen I receive [reset v]\ndelete this clone\n\ndefine Clone at x: (x) y: (y)\nset [x v] to (x)\nset [y v] to (y)\n\n@Sprite1\n\nwhen this sprite clicked\nset [exit v] to [w i n]\n\nwhen I receive [green flag v]\nshow\nif <(LEVEL) = [4]> then\n    hide\nend\n\nwhen flag clicked\nshow\n\n@Blank2\n\n
It’s been a while since I was on this project xD\n\n\n\n\n\n\n\nJUNE 28, 2020: #9 ON FIRST PAGE OF TRENDING!! THANK YOU! AND THANK YOU FOR #5 ON GAMES!!!!!\n\nJUNE 30, 2020- JULY 04, 2020: THANK YOU SOOOOO MUCH FOR FRONT PAGE ON "WHAT THE COMMUNITY IS LOVING"!!!!!!!!!!! I never thought this would get TOP LOVED! It was even #1 at some point!!!!! THANK YOU GUYS!\n\nJULY 07: OH MY GOODNESS THANKS SO SO MUCH FOR TOP REMIXED!!!!!!!!!!!! YOU GUYS ARE AMAZING THANK YOU THANK YOU THANK YOU!\n\nJULY 09: WHATTTT @-Diamondfox- loved and faved!!!!!!! Thank you this is crazy!!!