Games
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    if <<(backdrop [name v]) = [backdrop10]> or <(backdrop [name v]) = [backdrop25]>> then\n        if <key (space v) pressed?> then\n            if <(backdrop [name v]) = [backdrop10]> then\n                switch backdrop to (backdrop25 v)\n                wait (0.15) seconds\n            else\n                switch backdrop to (backdrop10 v)\n                wait (0.15) seconds\n            end\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset volume to (100) %\nswitch costume to (costume3 v)\ngo to x: (0) y: (0)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume4 v)\n    else\n        switch costume to (costume3 v)\n    end\nend\n\nwhen this sprite clicked\nstart sound [sfx v]\nswitch backdrop to (backdrop2 v)\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nset volume to (100) %\nswitch costume to (costume3 v)\ngo to x: (83) y: (3)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume3 v)\n    else\n        switch costume to (costume2 v)\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen this sprite clicked\nstart sound [sfx v]\nswitch backdrop to (backdrop9 v)\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nset volume to (100) %\nswitch costume to (costume3 v)\ngo to x: (-83) y: (1)\nshow\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume3 v)\n    else\n        switch costume to (costume2 v)\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen this sprite clicked\nstart sound [sfx v]\nswitch backdrop to (backdrop3 v)\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@Run\n\nwhen flag clicked\nset [yvel v] to [0]\nset [xvel v] to [0]\nhide variable [score v]\nset [score v] to [0]\ngo to x: (0) y: (0)\nset size to (40) %\nhide\n\nwhen backdrop switches to [backdrop1 v]\nhide variable [score v]\nset [yvel v] to [0]\nset [xvel v] to [0]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow variable [score v]\nset [score v] to [0]\ngo to x: (0) y: (0)\nshow\n\nwhen backdrop switches to [backdrop2 v]\nforever\n    wait (1) seconds\n    change [score v] by (1)\n    if <not <(backdrop [name v]) = [backdrop2]>> then\n        set [score v] to [0]\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change [yvel v] by (1)\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        change [yvel v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xvel v] by (1)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [xvel v] by (-1)\n    end\n    set [xvel v] to ((0.9) * (Xvel))\n    set [yvel v] to ((0.9) * (Yvel))\n    change y by (Yvel)\n    change x by (Xvel)\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume3 v)\n    else\n        switch costume to (costume2 v)\n    end\nend\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen flag clicked\nset volume to (100) %\nset size to (65) %\nswitch costume to (costume3 v)\ngo to x: (0) y: (-153)\nhide\n\nwhen this sprite clicked\nstart sound [sfx v]\nswitch backdrop to (backdrop1 v)\n\nwhen backdrop switches to [backdrop3 v]\nshow\n\nwhen backdrop switches to [backdrop9 v]\nshow\n\nwhen backdrop switches to [backdrop10 v]\nshow\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen backdrop switches to [backdrop19 v]\nshow\n\n@Button2\n\nwhen flag clicked\ngo to x: (-230) y: (-170)\nset size to (40) %\nhide\n\nwhen backdrop switches to [backdrop2 v]\ngo to x: (-230) y: (-170)\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nforever\n    point towards (run v)\n    move (7) steps\nend\n\nwhen flag clicked\nforever\n    if <touching (run v)?> then\n        go to x: (-230) y: (-170)\n        set [score v] to [0]\n    end\nend\n\n@costume1\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (0) y: (0)\nhide\n\n@Platformer\n\nwhen backdrop switches to [backdrop3 v]\nset [level v] to [1]\nshow variable [level v]\ngo to x: (-215) y: (-75)\nshow\n\nwhen backdrop switches to [backdrop1 v]\nhide variable [level v]\nhide\nstop [other scripts in sprite v]\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    change [y v] by (-0.5)\n    if <<key (d v) pressed?> or <key (right arrow v) pressed?>> then\n        change [x v] by (0.75)\n        switch costume to (ball-d v)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change [x v] by (-0.75)\n        switch costume to (ball-d2 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (1)\n                            if <touching color (#000000)?> then\n                                change y by (-6)\n                                change x by ((x) * (-1))\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                                    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 (#000000)?> 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 (#000000)?> and <<key (w v) pressed?> or <key (up arrow v) pressed?>>> then\n        set [y v] to [10]\n    end\n    change y by (0.5)\n    if <touching color (#ff0000)?> then\n        go to x: (-215) y: (-75)\n        change [deaths v] by (1)\n        start sound [Hit_Hurt96 v]\n    end\nend\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    if <touching (_edge_ v)?> then\n        go to x: (-215) y: (-75)\n        switch backdrop to (next backdrop v)\n        change [level v] by (1)\n    end\nend\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen flag clicked\nset [level v] to [1]\nhide variable [level v]\nset volume to (100) %\nset size to (35) %\nhide\n\nwhen backdrop switches to [backdrop3 v]\nforever\n    set [level v] to (join (Level) [/17])\nend\n\n@costume2\n\nwhen flag clicked\nset volume to (100) %\nswitch costume to (costume1 v)\ngo to x: (200) y: (-140)\nset size to (75) %\n\nwhen backdrop switches to [backdrop9 v]\nhide\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\nwhen this sprite clicked\nstart sound [sfx v]\nswitch backdrop to (backdrop10 v)\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@maze\n\nwhen backdrop switches to [backdrop1 v]\nhide variable [level v]\nset [level v] to [1]\ngo to x: (215) y: (-145)\nhide\nstop [other scripts in sprite v]\n\nwhen flag clicked\nhide variable [level v]\nset [level v] to [1]\nset volume to (100) %\ngo to x: (215) y: (-145)\nset size to (25) %\nhide\n\nwhen backdrop switches to [backdrop9 v]\nforever\n    if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n        change y by (5)\n    end\n    if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        change y by (-5)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change x by (5)\n    end\n    if <<key (a v) pressed?> or <key (left arrow v) pressed?>> then\n        change x by (-5)\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\nshow\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\nwhen backdrop switches to [backdrop9 v]\nforever\n    if <touching color (#ff0000)?> then\n        stop all sounds\n        go to x: (215) y: (-145)\n        start sound [Hit_Hurt96 v]\n    end\nend\n\nwhen backdrop switches to [backdrop9 v]\nforever\n    if <touching (_edge_ v)?> then\n        go to x: (215) y: (-145)\n        change [level v] by (1)\n        switch backdrop to (next backdrop v)\n    end\nend\n\n@costume3\n\nwhen flag clicked\nswitch costume to (costume2 v)\nset volume to (100) %\nset size to (60) %\ngo to x: (135) y: (-140)\nshow\n\nwhen this sprite clicked\nif <(costume [number v]) = [1]> then\n    start sound [sfx v]\n    set volume to (0) %\n    broadcast (stop sound v)\n    switch costume to (costume3 v)\nelse\n    set volume to (100) %\n    broadcast (start sound v)\n    switch costume to (costume2 v)\n    start sound [sfx v]\nend\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nhide\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen backdrop switches to [backdrop1 v]\nshow\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@trophy-512\n\nwhen flag clicked\nset volume to (100) %\nswitch costume to (trophy-512 v)\nset size to (18) %\ngo to x: (65) y: (-140)\nshow\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\nwhen backdrop switches to [backdrop9 v]\nhide\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (trophy-2 v)\n    else\n        switch costume to (trophy-512 v)\n    end\nend\n\nwhen this sprite clicked\nhide\nswitch backdrop to (backdrop19 v)\nplay sound [sfx v] until done\n\nwhen I receive [start sound v]\nset volume to (100) %\n\nwhen I receive [stop sound v]\nset volume to (0) %\n\n@Sprite5\n\nwhen [space v] key pressed\nif <<(username) = [DogeFan1555]> or <<(username) = [moocow1324]> or <(username) = [VectorDragon]>>> then\n    show\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (0.75) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\n\nwhen flag clicked\ngo to x: (pick random (-240) to (240)) y: (pick random (-180) to (180))\nset [ghost v] effect to (100)\nhide\n\n@platforming achievement\n\nwhen flag clicked\nset [platform achieve v] to [0]\ngo to x: (0) y: (70)\nhide\n\nwhen flag clicked\nforever\n    if <<(platform achieve) = [1]> and <(backdrop [name v]) = [backdrop19]>> then\n        show\n    else\n        hide\n    end\nend\n\n@Achievement get!\n\nwhen flag clicked\ngo to x: (0) y: (155)\nhide\n\nwhen flag clicked\nforever\n    if <<(Level) = [17]> and <(platform achieve) = [0]>> then\n        show\n        wait (1.25) seconds\n        hide\n        set [platform achieve v] to [1]\n    end\n    if <<(LEVEL) = [7]> and <(maze achieve) = [0]>> then\n        show\n        wait (1.25) seconds\n        hide\n        set [maze achieve v] to [1]\n    end\n    if <<(Score) = [100]> and <(run achieve) = [0]>> then\n        show\n        wait (1.25) seconds\n        hide\n        set [run achieve v] to [1]\n    end\nend\n\n@maze achievement\n\nwhen flag clicked\nset [maze achieve v] to [0]\ngo to x: (0) y: (20)\nhide\n\nwhen flag clicked\nforever\n    if <<(maze achieve) = [1]> and <(backdrop [name v]) = [backdrop19]>> then\n        show\n    else\n        hide\n    end\nend\n\n@run achievement\n\nwhen flag clicked\nset [run achieve v] to [0]\ngo to x: (0) y: (-50)\nhide\n\nwhen flag clicked\nforever\n    if <<(run achieve) = [1]> and <(backdrop [name v]) = [backdrop19]>> then\n        show\n    else\n        hide\n    end\nend\n\n@Sprite6\n\nwhen flag clicked\nset size to (150) %\ngo to x: (0) y: (0)\nforever\n    if <<<(maze achieve) = [0]> and <<(platform achieve) = [0]> and <(run achieve) = [0]>>> and <(backdrop [name v]) = [backdrop19]>> then\n        show\n    else\n        hide\n    end\nend\n\n
PRESS THE BUTTON TO PLAY THE GAMES. INSTRUCTIONS IN GAME. ALL LEVELS ARE POSSIBLE @moocow1324 and I tested them\n