Pumpkin Platformer (Halloween Special)
@Stage\n\nwhen flag clicked\nforever\n    play sound [02. Main Titles v] until done\nend\n\n@You\n\nwhen flag clicked\nshow variable [level v]\nset [level v] to [1]\ngo to x: (-200) y: (0)\nset [y v] to [0]\nset [x v] to [0]\nset size to (120) %\nforever\n    change [y v] by (-0.5)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#663b00)?> then\n        change y by (1)\n        if <touching color (#663b00)?> then\n            change y by (1)\n            if <touching color (#663b00)?> then\n                change y by (1)\n                if <touching color (#663b00)?> then\n                    change y by (1)\n                    if <touching color (#663b00)?> then\n                        change y by (1)\n                        if <touching color (#663b00)?> then\n                            change y by (1)\n                            if <touching color (#663b00)?> then\n                                change y by (-6)\n                                if <<key (w v) pressed?> or <key (up arrow v) pressed?>> then\n                                    set [y v] to [10]\n                                    if <(x) > [0]> then\n                                        set [x v] to [-10]\n                                    else\n                                        set [x v] to [10]\n                                    end\n                                else\n                                    change x by ((x) * (-1))\n                                    set [x v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#663b00)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<touching color (#663b00)?> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        set [y v] to [8.5]\n    end\n    change y by (0.5)\n    if <(x position) > [235]> then\n        go to x: (-200) y: (0)\n        change [level v] by (1)\n    end\n    if <touching color (#b2b2b2)?> then\n        go to x: (-200) y: (0)\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset size to (120) %\nset [brightness v] effect to (-5)\nset [ghost v] effect to (0)\nrepeat (10)\n    change [ghost v] effect by (10)\n    change [brightness v] effect by (-5)\n    change size by (-6)\nend\ndelete this clone\n\n@Sprite2\n\nwhen flag clicked\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\n@Thumbnail10\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\n
Arrow keys or Awsd to move