Ice-A Platformer

Instructions: NOTICE: This is one of my old projects that gliched. Then I saw I had a file saved to my computer of the non-gliched version. So I used that one and fixed the game with the file.\n\nAll levels are possible.\nIn Ice- A Platformer you will try to find your home.\nRemember to ❤ ⭐ and Follow!!!\nWant more follow to find out when I share a new project.\nHave a great day!!! :)

@Stage\n\nwhen I receive [start v]\nrepeat until <(Inside home stop sound) = [1]>\n    play sound [Odesong v] until done\nend\n\nwhen I receive [home entry v]\nset [inside home stop sound v] to [1]\nswitch backdrop to (inside house v)\nwait (2) seconds\nstop [all v]\n\nwhen flag clicked\nset [inside home stop sound v] to [0]\n\n@Intro\n\nwhen flag clicked\nset [hide intro clone v] to [0]\nswitch backdrop to (intro v)\nshow\nswitch costume to (costume1 v)\ngo to x: (-278) y: (216)\nglide (1) secs to x: (0) y: (0)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\ngo to x: (0) y: (-190)\nswitch costume to (costume2 v)\nglide (1) secs to x: (0) y: (-70)\nwait until <(Hide Intro Clone) = [1]>\nhide\n\nwhen flag clicked\nplay sound [Techno v] until done\nbroadcast (Start v)\nset [hide intro clone v] to [1]\nhide\n\n@Player\n\nwhen I receive [start v]\nshow\ngo to x: (-155) y: (-111)\nswitch backdrop to (level 1 v)\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    set [xv v] to ((Xv) * (0.97))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> 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 [xv 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 (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [15]\n        end\n    end\n    change y by (1)\n    if <touching color (#153232)?> then\n        go to x: (-155) y: (-118)\n    end\n    if <touching color (#002bff)?> then\n        set [yv v] to [20]\n    end\n    if <touching color (#fd00ff)?> then\n        set [xv v] to [20]\n    end\n    if <touching color (#00f2ff)?> then\n        broadcast (Home entry v)\n    end\n    if <(x position) > [245]> then\n        next backdrop\n        change [backdrop v] by (1)\n        go to x: (-155) y: (-118)\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [power grab v]\nhide\n\nwhen I receive [home entry v]\nhide\n\n