Fall Platformer #Mobile friendly
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\nforever\n    play sound [wind v] until done\nend\n\nwhen flag clicked\nforever\n    wait (12) seconds\n    play sound [owl v] until done\nend\n\nwhen flag clicked\nforever\n    wait (5) seconds\n    play sound [leaves v] until done\nend\n\n@stage\n\nwhen I receive [next v]\nnext costume\n\nwhen flag clicked\nshow\nswitch costume to (1 v)\n\nwhen flag clicked\nrepeat until <(costume [number v]) = [20]>\n    change [score v] by (1)\n    wait (1) seconds\nend\n\nwhen flag clicked\nif <(costume [number v]) = [20]> then\n    broadcast (WR show v)\nend\n\nset [final score v] to (SCORE)\nif <(Final score) < (☁ WR time)> then\n    broadcast (WR winner v)\nend\n\n@Character\n\nwhen I start as a clone\nset size to (50) %\nswitch costume to (character v)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen flag clicked\nshow\nset size to (50) %\nswitch costume to (character v)\ngo to x: (-220) y: (-50)\nset rotation style [left-right v]\npoint in direction (90)\nset [my variable v] to [0]\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <[0] < (mouse x)>>> then\n        change [xv v] by (1)\n        point in direction (90)\n        switch costume to (character v)\n        create clone of (_myself_ v)\n    end\n    if <touching (stage v)?> then\n        change y by (1)\n        if <touching (stage v)?> then\n            change y by (1)\n            if <touching (stage v)?> then\n                change y by (1)\n                if <touching (stage v)?> then\n                    change y by (1)\n                    if <touching (stage v)?> then\n                        change y by (1)\n                        if <touching (stage v)?> then\n                            change y by (1)\n                            if <touching (stage v)?> then\n                                change y by (1)\n                                if <touching (stage v)?> then\n                                    change x by ((XV) * (-1))\n                                    change y by (-7)\n                                    if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n                                        if <[0] < (XV)> then\n                                            set [xv v] to [-10]\n                                        else\n                                            set [xv v] to [10]\n                                        end\n                                        set [yv v] to [15]\n                                    else\n                                        set [xv v] to [0]\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <touching (stage v)?> then\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <[0] < (mouse y)>>> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    change [yv v] by (-1)\n    change y by (YV)\n    if <<touching color (#ed3a3a)?> or <<touching color (#8f4c4c)?> or <touching color (#959595)?>>> then\n        broadcast (damage v)\n        wait (0.1) seconds\n        go to x: (-209) y: (100)\n    end\n    if <touching (stage v)?> then\n        change y by ((YV) * (-1))\n        set [yv v] to [0]\n    end\n    if <(x position) > [230]> then\n        hide\n        go to x: (-220) y: (-50)\n        broadcast (NEXT v)\n        show\n    end\n    if <<touching (stage v)?> or <(y position) < [-182]>> then\n        go to x: (-220) y: (-50)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < [0]>>> then\n        change [xv v] by (-1)\n        point in direction (-90)\n        create clone of (_myself_ v)\n    end\n    set [xv v] to ((XV) * (0.89))\n    change x by (XV)\n    if <<touching color (#ed3a3a)?> or <<touching color (#8f4c4c)?> or <touching color (#959595)?>>> then\n        broadcast (damage v)\n        wait (0.1) seconds\n        go to x: (-209) y: (100)\n    end\nend\n\nwait (1) seconds\n\nshow\n\ngo to x: (-220) y: (-50)\n\nwhen I receive [skipping v]\ngo to x: (-209) y: (30)\n\nwhen flag clicked\nset [pie v] to [0]\n\nwhen flag clicked\nforever\n    if <<(Love) = [1]> and <(Like) = [1]>> then\n        switch costume to (character2 v)\n    end\nend\n\nset [pie v] to [0]\n\n@leaves\n\nwhen flag clicked\nforever\n    repeat (10)\n        set size to (50) %\n        hide\n        go to x: (pick random (-225) to (225)) y: (250)\n        create clone of (_myself_ v)\n        go to [back v] layer\n    end\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nswitch costume to (pick random (-2) to (2))\nset size to (100) %\nturn right (pick random (-500) to (500)) degrees\nrepeat (25)\n    move (2) steps\nend\nshow\nforever\n    move (1) steps\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\nif <(pick random (1) to (2)) = [2]> then\n    change size by ((costume [number v]) / (1.5))\nend\n\n@LOVE AND LIKE \n\nwhen flag clicked\nhide\nforever\n    wait (10) seconds\n    go to x: (-127) y: (-159)\n    go to [front v] layer\n    show\n    wait (3) seconds\n    repeat (10)\n        next costume\n        wait (0.1) seconds\n    end\n    switch costume to (love v)\n    hide\nend\n\n@pie\n\nwhen flag clicked\ngo to [back v] layer\nhide\n\nwhen I receive [damage v]\ngo to (character v)\nset [ghost v] effect to (0)\nwait (0.20) seconds\nshow\nrepeat (20)\n    change [ghost v] effect by (2.5)\n    change y by (2)\nend\nhide\n\n@Sprite1\n\n@love\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set [love v] to [1]\n    end\nend\n\n@like\n\nwhen flag clicked\nset [like v] to [0]\nset [love v] to [0]\n\nwhen flag clicked\nhide\nforever\n    if <touching (mouse-pointer v)?> then\n        set [like v] to [1]\n    end\nend\n\n@Score\n\nset [score v] to [0]\n\nwhen flag clicked\ngo to [front v] layer\nset [score v] to [0]\nhide variable [score v]\nset [index v] to [1]\nhide\ngo to x: (-5) y: (136)\nrepeat (6)\n    create clone of (_myself_ v)\n    change x by ((size) / (2))\n    change [index v] by (1)\nend\n\nwhen I start as a clone\nshow\nforever\n    switch costume to (join [Glow-] (letter (index) of (SCORE)))\n    set x to ((((index) - (0.5)) - ((length of (SCORE)) / (2))) * ((size) / (4)))\nend\n\nshow\n\ndelete this clone\n\nwhen I receive [end v]\n\n
~Fall, A Platformer~ #Mobile #Trending (maybe) ^-^\n-Arrows <-   ^   ->\n-Mobile touch screen\n\nTHERE IS a love and like detector, something good unlocks! (please continue to stay ♥ and⭐) :D