Rice || A Cute Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (pink v)\nforever\n    play sound [thefatrat-xenogenesis-256kbps-cbr-SDSQAgWYr2 v] until done\nend\n\n@Rice\n\nwhen flag clicked\nswitch costume to (rice v)\npoint in direction (90)\nshow\ngo to [front v] layer\nset [yv v] to [0]\ngo to x: (-202) y: (-91)\nset size to (20) %\nforever\n    Physics\nend\n\npoint in direction (90)\n\npoint in direction (-90)\n\ndefine Physics\nif <key (right arrow v) pressed?> then\n    switch costume to (rice v)\n    change [xmovement v] by (2)\nelse\n    if <key (left arrow v) pressed?> then\n        switch costume to (rice2 v)\n        change [xmovement v] by (-2)\n    end\nend\nset [xmovement v] to ((Xmovement) * ((0.78) - (Friction)))\nchange x by (Xmovement)\nchange [yv v] by (-1.2)\nif <touching color (#ffc4ef)?> then\n    change y by (1)\nend\nif <touching color (#ffc4ef)?> then\n    change y by (1)\nend\nif <touching color (#ffc4ef)?> then\n    change y by (1)\nend\nif <touching color (#ffc4ef)?> then\n    change y by (1)\nend\nif <touching color (#ffc4ef)?> then\n    change x by ((Xmovement) * (-1))\n    if <key (up arrow v) pressed?> then\n        set [yv v] to [15]\n        if <(Xmovement) > [0]> then\n            set [xmovement v] to [-7]\n        else\n            set [xmovement v] to [7]\n        end\n    else\n        set [xmovement v] to [0]\n    end\nend\nchange y by (Yv)\nif <touching color (#ffc4ef)?> then\n    change y by ((Yv) - ((Yv) * (2)))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> and <touching color (#ffc4ef)?>> then\n    set [yv v] to [15]\nend\nif <(x position) > [239]> then\n    broadcast (next level v)\nend\nif <(y position) < [-179]> then\n    go to x: (-202) y: (-91)\nend\nif <touching color (#e5c4ff)?> then\n    set [yv v] to [26]\nend\nif <touching color (#ffc4c4)?> then\n    go to x: (-202) y: (-91)\nend\n\nwhen I receive [next level v]\nset [yv v] to [0]\ngo to x: (-202) y: (-91)\n\nhide\n\n@Levels\n\nwhen flag clicked\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\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)\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
Update: Chopsticks have been removed!\n\n~~~~~~~~~~Rice: A short cute platformer~~~~~~~~~~\n\n                      Use the arrow keys to move\n                      All other instructions ingame\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n@--Sidewinder-- for platformer engine edited by me\n\n@TimMcCool for love and fave detector\n\n@-EmeraldWolf- for the rest!\n\nMusic is Xenogenisis by TheFatRat\n\nHave fun!\n\nSome Hashtags: #games #platformer #cute