Harry potter a platformer-2(more levels)
@Stage\n\nwhen flag clicked\nforever\n    play sound [HarryPotter-ThemeSong-1 v] until done\nend\n\n@Спрайт 1\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (110) %\n    else\n        set size to (100) %\n    end\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen this sprite clicked\nswitch backdrop to (backdrop2 v)\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set size to (60) %\n    else\n        set size to (50) %\n    end\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen this sprite clicked\nswitch backdrop to (backdrop3 v)\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\n@grass\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen flag clicked\nforever\n    if <(level) = [0]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [1]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (costume3 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (costume1 v)\n    end\n    if <(level) = [7]> then\n        switch costume to (costume4 v)\n        switch backdrop to (backdrop4 v)\n    end\n    if <(level) = [8]> then\n        switch costume to (costume5 v)\n    end\n    if <(level) = [9]> then\n        switch costume to (costume5 v)\n    end\n    if <(level) = [10]> then\n        switch costume to (costume6 v)\n    end\n    if <(level) = [11]> then\n        switch costume to (costume7 v)\n    end\n    if <(level) = [12]> then\n        switch costume to (costume8 v)\n    end\n    if <(level) = [13]> then\n        switch backdrop to (backdrop5 v)\n        switch costume to (costume9 v)\n    end\n    if <(level) = [14]> then\n        switch costume to (costume10 v)\n        switch backdrop to (backdrop6 v)\n    end\n    if <(level) = [15]> then\n        switch costume to (costume11 v)\n    end\n    if <(level) = [16]> then\n        switch costume to (costume12 v)\n        hide variable [level v]\n        switch backdrop to (backdrop7 v)\n    end\nend\n\n@harry\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\n@harry2\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change x by (x)\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n        point in direction (90)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n        point in direction (-90)\n    end\n    set [x v] to ((x) * (0.9))\n    if <<touching (sprite4 v)?> or <touching (grass v)?>> then\n        change x by ((x) * (-1))\n        set [x v] to [0]\n    else\n        set [my variable v] to ((x) * (0.9))\n    end\n    change y by (y)\n    if <<touching (sprite4 v)?> or <touching (grass v)?>> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n        if <(follow me) = [0]> then\n            if <key (up arrow v) pressed?> then\n                set [y v] to [14]\n                set [follow me v] to [1]\n            end\n        end\n    else\n        change [y v] by (-1)\n        set [follow me v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if on edge, bounce\n    set rotation style [left-right v]\nend\n\nwhen flag clicked\nset [level v] to [0]\nforever\n    if <(x position) > [209]> then\n        go to x: (-202) y: (-89)\n        change [level v] by (1)\n    end\nend\n\nwhen [r v] key pressed\ngo to x: (-150) y: (-73)\n\nwhen backdrop switches to [backdrop1 v]\nhide variable [level v]\n\nwhen backdrop switches to [backdrop2 v]\nhide variable [level v]\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nshow variable [level v]\n\nwhen backdrop switches to [backdrop3 v]\ngo to x: (-160) y: (-74)\n\nwhen flag clicked\nforever\n    if <touching (spider v)?> then\n        go to x: (-168) y: (-78)\n    end\nend\n\nwhen [s v] key pressed\nbroadcast (go v)\n\nwhen flag clicked\nforever\n    if <touching (png-transparent-black-spider-web-illustration-spider-web-spiderweb-removebg-preview v)?> then\n        go to x: (-168) y: (-78)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spike v)?> then\n        go to x: (-168) y: (-78)\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (dementor v)?> then\n        go to x: (-168) y: (-78)\n    end\nend\n\n@Player Light\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide\nforever\n    go to (lantern v)\nend\n\nwhen flag clicked\nset size to (140) %\nforever\n    go to [back v] layer\nend\n\nwhen flag clicked\nforever\n    change size by (5)\n    wait (0.5) seconds\n    change size by (5)\n    wait (0.5) seconds\n    change size by (-5)\n    wait (0.5) seconds\n    change size by (-5)\n    wait (0.5) seconds\nend\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\n@Lantern\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\n@Sprite2\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <(level) = [0]> then\n        switch costume to (costume1 v)\n        show\n        go to x: (151) y: (-73)\n        go to [back v] layer\n    end\n    if <(level) = [1]> then\n        show\n        go to x: (151) y: (-73)\n        go to [back v] layer\n    end\n    if <(level) = [2]> then\n        hide\n    end\n    if <(level) = [3]> then\n        show\n        go to x: (151) y: (-73)\n        go to [back v] layer\n    end\n    if <(level) = [4]> then\n        show\n        go to x: (151) y: (-73)\n        go to [back v] layer\n    end\n    if <(level) = [5]> then\n        hide\n    end\n    if <(level) = [6]> then\n        show\n        go to x: (151) y: (-73)\n        go to [back v] layer\n    end\n    if <(level) = [7]> then\n        switch costume to (costume2 v)\n        show\n        go to x: (151) y: (-73)\n    end\n    if <(level) = [8]> then\n        switch costume to (costume2 v)\n        show\n        go to x: (151) y: (-73)\n    end\n    if <(level) = [9]> then\n        switch costume to (costume2 v)\n        hide\n        go to x: (151) y: (-73)\n    end\n    if <(level) = [10]> then\n        hide\n    end\n    if <(level) = [11]> then\n        hide\n    end\nend\n\n@Sprite3\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <(level) = [0]> then\n        switch costume to (costume1 v)\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [1]> then\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [2]> then\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [3]> then\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [4]> then\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [5]> then\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [6]> then\n        show\n        go to x: (-142) y: (-74)\n        go to [back v] layer\n    end\n    if <(level) = [7]> then\n        show\n        switch costume to (costume2 v)\n        go to x: (-142) y: (-74)\n    end\n    if <(level) = [8]> then\n        show\n        switch costume to (costume2 v)\n        go to x: (-142) y: (-74)\n    end\n    if <(level) = [9]> then\n        show\n        switch costume to (costume2 v)\n        go to x: (-142) y: (-74)\n    end\n    if <(level) = [10]> then\n        show\n        switch costume to (costume2 v)\n        go to x: (-142) y: (-74)\n    end\n    if <(level) = [11]> then\n        hide\n    end\nend\n\n@spider\n\nwhen backdrop switches to [backdrop1 v]\nswitch costume to (costume2 v)\n\nwhen backdrop switches to [backdrop2 v]\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        go to x: (119) y: (-123)\n        show\n        glide (1) secs to x: (29) y: (-125)\n        glide (1) secs to x: (119) y: (-123)\n    end\n    if <(level) = [2]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [3]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [4]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [5]> then\n        switch costume to (costume2 v)\n    end\n    if <(level) = [6]> then\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [message1 v]\nswitch costume to (costume2 v)\n\nwhen flag clicked\nforever\n    if <(level) = [1]> then\n        if <(hide) = [1]> then\n            switch costume to (costume2 v)\n        else\n            switch costume to (costume1 v)\n        end\n    end\nend\n\n@Arrow1\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <touching (spider v)?> then\n        broadcast (message1 v)\n        change [hide v] by (1)\n    end\nend\n\nwhen flag clicked\nset [hide v] to [0]\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <key (s v) pressed?> then\n        go to (harry2 v)\n        show\n        glide (1) secs to x: ((x position) + (140)) y: (y position)\n        hide\n    end\nend\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <key (s v) pressed?> then\n        go to (harry2 v)\n        show\n        glide (1) secs to x: ((x position) + (140)) y: (y position)\n        hide\n    end\nend\n\n@png-transparent-black-spider-web-illustration-spider-web-spiderweb-removebg-preview\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <(level) = [0]> then\n        hide\n    end\n    if <(level) = [1]> then\n        hide\n    end\n    if <(level) = [2]> then\n        go to x: (28) y: (-75)\n        show\n        switch costume to (2 v)\n    end\n    if <(level) = [3]> then\n        hide\n    end\n    if <(level) = [4]> then\n        hide\n    end\n    if <(level) = [5]> then\n        hide\n    end\n    if <(level) = [6]> then\n        hide\n    end\n    if <(level) = [7]> then\n        hide\n    end\nend\n\n@spike\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <(level) = [0]> then\n        hide\n    end\n    if <(level) = [1]> then\n        hide\n    end\n    if <(level) = [2]> then\n        hide\n    end\n    if <(level) = [3]> then\n        go to x: (0) y: (-140)\n        show\n        switch costume to (costume1 v)\n    end\n    if <(level) = [4]> then\n        go to x: (-42) y: (-140)\n        show\n        switch costume to (costume2 v)\n    end\n    if <(level) = [5]> then\n        go to x: (-42) y: (-140)\n        show\n        switch costume to (costume3 v)\n    end\n    if <(level) = [6]> then\n        hide\n    end\n    if <(level) = [7]> then\n        hide\n    end\n    if <(level) = [8]> then\n        go to x: (5) y: (-141)\n        show\n        switch costume to (costume4 v)\n    end\n    if <(level) = [9]> then\n        go to x: (5) y: (-141)\n        show\n        switch costume to (costume5 v)\n    end\n    if <(level) = [10]> then\n        go to x: (5) y: (-141)\n        show\n        switch costume to (costume6 v)\n    end\n    if <(level) = [11]> then\n        hide\n    end\n    if <(level) = [12]> then\n        go to x: (-34) y: (-141)\n        show\n        switch costume to (costume7 v)\n    end\n    if <(level) = [13]> then\n        hide\n    end\nend\n\n@Player Light2\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    forever\n        if <key (l v) pressed?> then\n            go to [back v] layer\n            go to (harry2 v)\n            show\n        else\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nset size to (170) %\nforever\n    set size to (170) %\n    wait (0.5) seconds\n    set size to (180) %\n    wait (0.5) seconds\n    set size to (170) %\n    wait (0.5) seconds\nend\n\n@dementor\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <(level) = [0]> then\n        hide\n    end\n    if <(level) = [1]> then\n        hide\n    end\n    if <(level) = [2]> then\n        hide\n    end\n    if <(level) = [3]> then\n        hide\n    end\n    if <(level) = [4]> then\n        hide\n    end\n    if <(level) = [5]> then\n        hide\n    end\n    if <(level) = [6]> then\n        if <(p) = [1]> then\n            hide\n        else\n            show\n        end\n    end\n    if <(level) = [7]> then\n        hide\n    end\nend\n\nwhen flag clicked\nset [p v] to [0]\n\nwhen flag clicked\nforever\n    go to x: (183) y: (-32)\n    glide (1) secs to x: (63) y: (-33)\n    glide (1) secs to x: (183) y: (-32)\nend\n\n@patronus\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <key (p v) pressed?> then\n        go to (harry2 v)\n        show\n        glide (1) secs to x: ((x position) + (140)) y: (y position)\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (dementor v)?> then\n        change [p v] by (1)\n    end\nend\n\n@Sprite4\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop4 v]\nforever\n    if <(level) = [7]> then\n        hide\n    end\n    if <(level) = [8]> then\n        hide\n    end\n    if <(level) = [9]> then\n        hide\n    end\n    if <(level) = [10]> then\n        hide\n    end\n    if <(level) = [11]> then\n        hide\n    end\n    if <(level) = [12]> then\n        show\n        switch costume to (costume1 v)\n    end\n    if <(level) = [13]> then\n        hide\n    end\n    if <(level) = [14]> then\n        hide\n    end\n    if <(level) = [15]> then\n        hide\n    end\nend\n\nif <(level) = [16]> then\n    switch costume to (costume2 v)\n    show\n    ask [Password please] and wait\n    if <(answer) = [mimbus mimbletonia]> then\n        go to x: (112) y: (36)\n        glide (1) secs to x: (91) y: (212)\n    else\n        go to x: (112) y: (36)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(level) = [12]> then\n        go to x: (8) y: (-93)\n        glide (1) secs to x: (78) y: (-93)\n        glide (1) secs to x: (8) y: (-93)\n    end\nend\n\n
S-Stupefy\nL-Lumos\nP-Expecto patronum\nThere aren't too many glitches in this game but if any are found then please report\ncomment below if u want more levels