Hedwig a Platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Harry Potter and the Sorcerer's Stone Soundtrack - 01. Prologue.mp3 v] until done\nend\n\nwhen flag clicked\nswitch backdrop to (thumbnail v)\n\nwhen I receive [start v]\nswitch backdrop to (1 v)\n\nwhen backdrop switches to [10 v]\nnext backdrop\n\nwhen backdrop switches to [end v]\nforever\n    play sound [Harry Potter and the Sorcerer's Stone Soundtrack - 01. Prologue.mp3 v] until done\nend\n\nstop [other scripts in sprite v]\n\nswitch backdrop to (thumbnail v)\n\n@Hedwig\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching color (#82eaff)?> then\n        go to x: (-193) y: (-116)\n        next backdrop\n    end\n    if <touching color (#917234)?> then\n        go to x: (-193) y: (-116)\n    end\n    if <touching color (#009101)?> then\n        set [yv v] to [22]\n    end\n    if <touching color (#6ae6ff)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [5]\n        else\n            set [yv v] to [-1]\n        end\n    end\nend\n\nwhen flag clicked\nset drag mode [draggable v]\n\nwhen [s v] key pressed\nnext backdrop\n\nwhen backdrop switches to [end v]\nhide\n\nwhen backdrop switches to [9 v]\n\nwhen backdrop switches to [10 v]\n\nhide\n\nwhen backdrop switches to [backdrop12 v]\nhide\nwait (0.35) seconds\ngo to x: (-186) y: (91)\nshow\n\nwhen I receive [start v]\nshow\ngo to x: (-186) y: (91)\nswitch backdrop to (also just in case v)\nset [yv v] to [0]\nset [xv v] to [0]\nswitch costume to (hedwig 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.9))\n    change x by (Xv)\n    if <touching color (#4abf30)?> then\n        change y by (1)\n        if <touching color (#4abf30)?> then\n            change y by (1)\n            if <touching color (#4abf30)?> then\n                change y by (1)\n                if <touching color (#4abf30)?> then\n                    change y by (1)\n                    if <touching color (#4abf30)?> then\n                        change y by (1)\n                        if <touching color (#4abf30)?> 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) * (1))\n    if <touching color (#4abf30)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#4abf30)?> 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 <key (down arrow v) pressed?> then\n        switch costume to (hedwig2 v)\n    else\n        switch costume to (hedwig v)\n    end\nend\n\n@Thumbnail by beet-eggs\n\nwhen I receive [start v]\nrepeat (20)\n    change [ghost v] effect by (5)\nend\n\nswitch costume to (costume1 v)\nshow\n\n@Start\n\nwhen this sprite clicked\ngo to x: (81) y: (-14)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (Start v)\nhide\n\nwhen flag clicked\nset [ghost v] effect to (0)\nshow\n\n@Spinning spike \n\nwhen backdrop switches to [10 v]\nshow\nforever\n    turn right (15) degrees\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [11 v]\nswitch costume to (done v)\nhide\nstop [other scripts in sprite v]\n\n@Sprite1\n\nwhen flag clicked\nhide\n\n
Green Flag\nArrow keys to move\nIK its short I'm trying to make( and think of ) new levels\nToo hard? Press s to skip or drag her over to the end of the screen\nwow this is old and cringey