IKEA Chair Platformer V.1.3
@Stage\n\n@IKEA Chair\n\nwhen flag clicked\ngo to x: (-210) y: (-118)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n    end\n    if <touching color (#ff0000)?> then\n        go to x: (-210) y: (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#ffd966)?> then\n        change y by (1)\n        if <touching color (#ffd966)?> then\n            change y by (1)\n            if <touching color (#ffd966)?> then\n                change y by (1)\n                if <touching color (#ffd966)?> then\n                    change y by (1)\n                    if <touching color (#ffd966)?> then\n                        change y by (1)\n                        if <touching color (#ffd966)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#ffd966)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#ffd966)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [next level v]\ngo to x: (-210) y: (-90)\n\n@Cookie\n\nwhen flag clicked\nshow\nset [level v] to [1]\nset [cookies v] to [0]\nswitch backdrop to (backdrop1 v)\nforever\n    if <touching (ikea chair v)?> then\n        next backdrop\n        change [level v] by (1)\n        change [cookies v] by (1)\n        broadcast (Next Level v)\n    end\n    if <(Level) = [1]> then\n        go to x: (220) y: (-125)\n    end\n    if <(Level) = [2]> then\n        go to x: (220) y: (50)\n    end\n    if <(Level) = [3]> then\n        go to x: (220) y: (-130)\n    end\n    if <(Level) = [4]> then\n        go to x: (145) y: (105)\n    end\n    if <(Level) = [5]> then\n        go to x: (200) y: (-100)\n    end\n    if <(Level) = [6]> then\n        go to x: (200) y: (-120)\n    end\n    if <(Level) = [7]> then\n        go to x: (200) y: (35)\n    end\n    if <(Level) = [8]> then\n        go to x: (200) y: (110)\n    end\n    if <(Level) = [9]> then\n        go to x: (0) y: (-120)\n    end\n    if <(Level) = [10]> then\n        go to x: (-200) y: (80)\n    end\n    if <(Level) = [11]> then\n        hide\n    end\nend\n\n@Text\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(costume [number v]) = [11]> then\n        stop all sounds\n        play sound [ProleteR - Throw It Back \(Jelly Intro 2015\).mp3 v] until done\n    end\nend\n\nwhen I receive [next level v]\nnext costume\n\n@thumbnail\n\nwhen [timer v] > (0.1)\ngo to x: (0) y: (300)\nshow\nglide (0.5) secs to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    reset timer\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (ending v)\ngo to [front v] layer\n\n@Music\n\nwhen flag clicked\nforever\n    play sound [Fun Fun Fun Fun v] until done\n    if <(Level) = [11]> then\n        stop [this script v]\n    end\nend\n\n
Welcome to IKEA Chair Platformer! The number 1 IKEA trending project! Use the arrow keys to move left, right, and jump! Don't touch red, it's lava. Collect all 10 cookies to beat the game. (All levels are possible)\n#ajsya\n#IKEA\n#IKEAChairs\n#chairofrepublic