 Emoji - a platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Small Guitar v] until done\nend\n\n@Sprite\n\nwhen flag clicked\nhide\ngo to [front v] layer\n\n@Emoji\n\nwhen flag clicked\nhide\nswitch costume to (emoji1 v)\n\nwhen flag clicked\nset size to (100) %\nshow\ngo to x: (-180) y: (2)\nset [speedx v] to [0]\nset [speedy v] to [0]\nforever\n    if <touching (next v)?> then\n        broadcast (Next v)\n        go to x: (-180) y: (2)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#000000)?> then\n        go to x: (-180) y: (2)\n        start sound [Lose v]\n        switch costume to (emoji2 v)\n    end\n    if <touching color (#7f7f7f)?> then\n        set [speedy v] to [16]\n        switch costume to (emoji3 v)\n    end\n    if <touching color (#4dcb29)?> then\n        set [speedx v] to [16]\n        switch costume to (emoji3 v)\n    end\n    if <touching color (#5fff32)?> then\n        set [speedx v] to [-16]\n        switch costume to (emoji3 v)\n    end\n    if <touching color (#4d29cc)?> then\n        set [speedx v] to [1]\n        switch costume to (emoji4 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        change [speedx v] by (1)\n        switch costume to (emoji1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        change [speedx v] by (-1)\n        switch costume to (emoji1 v)\n    end\n    change x by (SpeedX)\n    if <<touching (levels v)?> and <touching color (#ffffff)?>> then\n        change x by ((SpeedX) * (-1))\n        set [speedx v] to [0]\n    else\n        set [speedx v] to ((SpeedX) * (0.9))\n    end\n    change y by (SpeedY)\n    if <<touching (levels v)?> and <touching color (#ffffff)?>> then\n        change y by ((SpeedY) * (-1))\n        set [speedy v] to [0]\n        if <(lock) = [0]> then\n            if <key (up arrow v) pressed?> then\n                set [speedy v] to [15]\n                set [lock v] to [1]\n                switch costume to (emoji1 v)\n            end\n        end\n    else\n        change [speedy v] by (-1)\n        set [lock v] to [0]\n    end\nend\n\n@Levels\n\nwhen flag clicked\nswitch costume to (level1 v)\nshow\n\nwhen I receive [next v]\nnext costume\n\n@Next\n\nwhen flag clicked\ngo to x: (229) y: (13)\nshow\nset [ghost v] effect to (100)\n\n
Welcome to Emoji - A Platformer! Everything you touch will give you a different Emoji! You can look happy, sad, surprised and neutral!\nWhite - the floor\nphone - dangerous\ndark green slime - forward\nlight green slime - backward\ndark blue slime - slow\nBy the way, all levels have been tested by me and they are all possible! So if a level fails, don't give up!