Ice Wizard - Mini Platformer :)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset [brightness v] effect to (-100)\nrepeat (50)\n    change [brightness v] effect by (2)\nend\n\nwhen I receive [next level v]\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nwait (0.5) seconds\nrepeat (10)\n    change [brightness v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) > [8]> then\n        switch backdrop to (backdrop2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [11]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Goodbye v] until done\nend\n\n@Player\n\nwhen flag clicked\nset [can't move v] to [True]\npoint in direction (90)\ngo to x: (-208) y: (-101)\nset [brightness v] effect to (-100)\nrepeat (50)\n    change [brightness v] effect by (2)\nend\nbroadcast (Game Start v)\nbroadcast (Spawn Enemy v)\n\nwhen I receive [game start v]\nset [can't move v] to [False]\nforever\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching (platform v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <not <(Can't Move) = [True]>> then\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [yv v] to [13]\n            end\n        end\n    end\n    if <touching color (#ff0000)?> then\n        Death\n        go to x: (-208) y: (-101)\n    end\n    change y by (1)\n    if <(x position) > [235]> then\n        start sound [Coin v]\n        broadcast (Next Level v)\n    end\nend\n\nwhen I receive [game start v]\npoint in direction (90)\nset rotation style [left-right v]\ngo to x: (-208) y: (-101)\nshow\nforever\n    if <not <(Can't Move) = [True]>> then\n        if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n            change [xv v] by (1)\n            point in direction (90)\n        end\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            point in direction (-90)\n            change [xv v] by (-1)\n        end\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I receive [game start v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (2 v)\nrepeat (12)\n    change [ghost v] effect by (15)\nend\ndelete this clone\n\nwhen I receive [next level v]\npoint in direction (90)\ngo to x: (-208) y: (-101)\nset [can't move v] to [True]\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nwait (0.5) seconds\ngo to x: (-208) y: (-101)\nrepeat (10)\n    change [brightness v] effect by (10)\nend\nbroadcast (Game Start v)\nbroadcast (Spawn Enemy v)\n\ndefine Death\nstart sound [Bubbles v]\nset [can't move v] to [True]\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nset [brightness v] effect to (0)\nset [can't move v] to [False]\nbroadcast (Spawn Enemy v)\n\nwhen I receive [death v]\nDeath\ngo to x: (-208) y: (-101)\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [11]> then\n        hide\n    end\nend\n\n@Platform\n\nwhen flag clicked\nshow\nset [level v] to [1]\nswitch costume to (1 v)\nset [brightness v] effect to (-100)\nrepeat (50)\n    change [brightness v] effect by (2)\nend\n\nwhen I receive [next level v]\nchange [level v] by (1)\nrepeat (10)\n    change [brightness v] effect by (-10)\nend\nwait (0.5) seconds\nswitch costume to (LEVEL)\nrepeat (10)\n    change [brightness v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [11]> then\n        switch backdrop to (backdrop3 v)\n    end\nend\n\n@Narrator\n\nwhen flag clicked\nswitch costume to (1 v)\nshow\n\nwhen I receive [game start v]\nswitch costume to (LEVEL)\n\n@Enemy 1\n\nwhen I receive [spawn enemies v]\nset [1 or 2 v] to (pick random (1) to (2))\nif <(LEVEL) = [11]> then\n    repeat until <(Defeated) = [True]>\n        if <(1 or 2) = [1]> then\n            Clone at x: [134] y: [-100]\n            wait (1) seconds\n        else\n            Clone at x: [-241] y: [-100]\n            wait (1) seconds\n        end\n    end\nelse\n    delete this clone\nend\n\ndefine Clone (x) (y)\ngo to x: (x) y: (y)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nset rotation style [left-right v]\nset [speed v] to [5]\nclear graphic effects\nset size to (100) %\nshow\nset [enemyx v] to [0]\nset [enemyy v] to [0]\ngo to [front v] layer\nforever\n    if <touching (projectile v)?> then\n        delete this clone\n    end\n    if <touching (player v)?> then\n        broadcast (Death v)\n        delete this clone\n    end\n    change [enemyy v] by (-1)\n    if <([x position v] of [player v]) < ((x position) - (10))> then\n        change [enemyx v] by ((0) - ((Speed) / (10)))\n        point in direction (-90)\n    end\n    if <((x position) - (-10)) < ([x position v] of [player v])> then\n        change [enemyx v] by ((Speed) / (10))\n        point in direction (90)\n    end\n    set [enemyx v] to ((Enemyx) * (0.9))\n    change x by (Enemyx)\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (1)\n    end\n    if <touching (platform v)?> then\n        change y by (-4)\n        change x by ((Enemyx) * (-1))\n        if <(y position) < ([y position v] of [player v])> then\n            set [enemyy v] to [10]\n            if <([abs v] of (x) ) = (x)> then\n                set [enemyx v] to [-10]\n            else\n                set [enemyx v] to [10]\n            end\n        else\n            set [enemyx v] to [0]\n        end\n    end\n    change y by (Enemyy)\n    if <touching (platform v)?> then\n        change y by ((Enemyy) - ((Enemyy) * (2)))\n        set [enemyy v] to [0]\n    end\n    change y by (-1)\n    if <<((y position) - (-50)) < ([y position v] of [player v])> and <touching (platform v)?>> then\n        set [enemyy v] to [14]\n    end\n    change y by (1)\nend\n\nwhen I receive [spawn enemy v]\nif <(LEVEL) = [3]> then\n    Clone [189] [-104]\nend\nif <(LEVEL) = [4]> then\n    Clone [189] [-104]\nend\nif <(LEVEL) = [5]> then\n    Clone [13] [-60]\n    Clone [189] [-104]\nend\nif <(LEVEL) = [7]> then\n    Clone [88] [-104]\nend\nif <(LEVEL) = [8]> then\n    Clone [-45] [-52]\n    Clone [190] [44]\nend\nif <(LEVEL) = [9]> then\n    Clone [-49] [-103]\n    Clone [148] [-104]\nend\nif <(LEVEL) = [10]> then\n    Clone [-36] [-52]\nend\n\nwhen flag clicked\nhide\n\nwhen I receive [death v]\ndelete this clone\n\n@Projectile\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nforever\n    if <(Can't Move) = [False]> then\n        if <key (space v) pressed?> then\n            start sound [Ice v]\n            point in direction ([direction v] of [player v])\n            go to (player v)\n            show\n            repeat until <<touching (_edge_ v)?> or <touching (platform v)?>>\n                move (10) steps\n            end\n            hide\n        end\n    end\nend\n\n@Enemy 2\n\nwhen flag clicked\nset [enemy there v] to [False]\nset rotation style [left-right v]\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [spawn enemy v]\nif <(LEVEL) = [6]> then\n    show\n    go to x: (153) y: (93)\n    set [enemy there v] to [True]\nend\nif <(LEVEL) = [7]> then\n    show\n    go to x: (214) y: (45)\n    set [enemy there v] to [True]\nend\nif <(LEVEL) = [8]> then\n    show\n    go to x: (136) y: (-13)\n    set [enemy there v] to [True]\nend\nif <(LEVEL) = [9]> then\n    show\n    go to x: (41) y: (-40)\n    set [enemy there v] to [True]\nend\nif <(LEVEL) = [10]> then\n    show\n    go to x: (107) y: (-17)\n    set [enemy there v] to [True]\nend\nforever\n    if <touching (projectile v)?> then\n        hide\n        set [enemy there v] to [False]\n    end\n    if <([x position v] of [player v]) < ((x position) - (10))> then\n        point in direction (-90)\n    end\n    if <((x position) - (10)) < ([x position v] of [player v])> then\n        point in direction (90)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [11]> then\n        hide\n    end\nend\n\n@Bad\n\nwhen flag clicked\nhide\n\nwhen I receive [spawn enemy v]\nforever\n    if <(Enemy There) = [True]> then\n        point in direction ([direction v] of [enemy 2 v])\n        go to (enemy 2 v)\n        show\n        repeat until <<touching (_edge_ v)?> or <touching (platform v)?>>\n            move (5) steps\n        end\n        hide\n        wait (0.26) seconds\n    end\nend\n\nwhen I receive [spawn enemy v]\nforever\n    if <(Enemy There) = [True]> then\n        if <touching (player v)?> then\n            broadcast (Death v)\n            hide\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(LEVEL) = [11]> then\n        hide\n    end\nend\n\n@tn\n\nwhen flag clicked\nhide\n\n@Clouds\n\nwhen flag clicked\nhide\nforever\n    create clone of (_myself_ v)\n    wait (3) seconds\nend\n\nwhen I start as a clone\nshow\ngo to [back v] layer\nset [ghost v] effect to (50)\nset size to (pick random (100) to (150)) %\ngo to x: (-234) y: (pick random (107) to (139))\nforever\n    if <<(x position) > [240]> or <(backdrop [number v]) = [2]>> then\n        stop [other scripts in sprite v]\n        delete this clone\n    end\n    change x by (3)\nend\n\n
Hi, Working on something big, So here is a project for right now. :)\nArrow Keys or WAD to Move\nSpace to shoot\nDon't Touch Red\nHave Fun!\nLove, Fav, and Follow! :)