Build-a-Platformer

Instructions: All the items drag to move. Once you have them where you like it, click on them to create a clone. You can still move the clones also. \n\n*WAD or arrows move\n*Click on the green flag to clear.\n*Click on the re-play button to zap your character back to the start.\n*Slide the 'jump height' slider to adjust how high your character can jump.\n*Click on your character for a surprise!!!\n* The house is like home plate. the goal of your level should be to reach the house.\n*the tree and bush are just decoration, they don't do anything.

@Stage\n\nwhen flag clicked\nforever\n    play sound [168734_Jumper v] until done\nend\n\n@Sprite1\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (-186) y: (118)\n\n@Sprite2\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (-93) y: (219)\n\n@Sprite3\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (-71) y: (225)\n\n@Sprite4\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (-155) y: (155)\n\n@Sprite5\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (-12) y: (224)\n\n@Sprite6\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\nwhen flag clicked\ngo to x: (-18) y: (197)\n\n@Sprite7\n\nwhen flag clicked\ngo to x: (-208) y: (158)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@Sprite9\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (50)\ngo [backward v] (90) layers\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (9) y: (161)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@Sprite10\n\nwhen flag clicked\ngo to x: (206) y: (62)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@Sprite11\n\nwhen flag clicked\ngo to x: (218) y: (-10)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@Sprite12\n\nwhen flag clicked\ngo to x: (40) y: (170)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@home\n\nwhen flag clicked\ngo to x: (209) y: (112)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@Sprite14\n\nwhen flag clicked\ngo to x: (214) y: (-121)\n\nwhen this sprite clicked\nbroadcast (RE-PLAY v)\n\n@charater\n\nwhen flag clicked\nswitch costume to (costume4 v)\ngo to x: (-213) y: (-134)\npoint in direction (90)\nset [jump height v] to [10]\nset [run speed v] to [5]\nset [gravity v] to [-1]\nset [fall speed v] to [0]\nforever\n    run controls\n    jump control\n    simulate gravity\n    if <<touching color (#ff0000)?> or <touching color (#b2b2b2)?>> then\n        go to x: (-213) y: (-134)\n    end\n    if <touching (home v)?> then\n        broadcast (fire works v)\n        wait (1.2) seconds\n        go to x: (-213) y: (-134)\n    end\nend\n\ndefine run controls\nif <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n    point in direction (90)\n    move (run speed) steps\n    if <<<touching color (#00ff55)?> or <touching color (#995900)?>> or <touching (sprite9 v)?>> then\n        move ((0) - (run speed)) steps\n    end\nend\nif <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n    point in direction (-90)\n    move (run speed) steps\n    if <<<touching color (#00ff55)?> or <touching color (#995900)?>> or <touching (sprite9 v)?>> then\n        move ((0) - (run speed)) steps\n    end\nend\n\ndefine simulate gravity\nchange y by (fall speed)\nif <<<touching color (#00ff55)?> or <touching color (#995900)?>> or <touching (sprite9 v)?>> then\n    change y by ((0) - (fall speed))\n    set [fall speed v] to [0]\nelse\n    change [fall speed v] by (gravity)\nend\n\ndefine jump control\nif <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n    change y by (-1)\n    if <<<touching color (#00ff55)?> or <touching color (#995900)?>> or <touching (sprite9 v)?>> then\n        set [fall speed v] to (jump height)\n    end\n    change y by (1)\nend\n\nwhen I receive [re-play v]\ngo to x: (-213) y: (-134)\n\nwhen this sprite clicked\nnext costume\n\n@Sprite13\n\nwhen flag clicked\nhide\n\nwhen I receive [fire works v]\ngo to x: ([x position v] of [charater v]) y: ([y position v] of [charater v])\nshow\nswitch costume to (costume1 v)\ngo [backward v] (97) layers\nwait (0.1) seconds\nrepeat (4)\n    wait (0.1) seconds\n    next costume\nend\nwait (0.4) seconds\nhide\n\n@Sprite15\n\nwhen flag clicked\ngo to x: (73) y: (131)\n\nwhen this sprite clicked\ncreate clone of (_myself_ v)\n\n@Sprite16\n\nwhen flag clicked\nhide\n\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\n\n