EURO World Cup Tryouts A Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (requesr v)\n\nwhen I receive [fade backround v]\nswitch backdrop to (requesr2 v)\n\n@Ground\n\nwhen flag clicked\nforever\n    play sound [Instrumental The White Stripes  Seven Nation Army mp3cut v] until done\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [fade backround v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen I receive [next level v]\nnext costume\n\n@23-237350_uefa-euro-2020-logo-euro-2020-logo-png\n\nwhen flag clicked\nshow\ngo to [front v] layer\nswitch costume to (23-237350_uefa-euro-2020-logo-euro-2020-logo-png v)\nset [ghost v] effect to (0)\nwait (1) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nbroadcast (Story v)\nhide\ngo to [back v] layer\n\n@Black Sreen\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [story v]\nshow\ngo to [back v] layer\nswitch costume to (costume1 v)\nclear graphic effects\n\nwhen I receive [fade backround v]\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nbroadcast (Ball v)\n\n@Sprite2\n\nwhen I receive [story v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [story v]\nset [ghost v] effect to (0)\nwait (1) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nnext costume\nwait (1) seconds\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nwait (1) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nwait (1) seconds\nnext costume\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nwait (1) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\nbroadcast (Fade backround v)\n\n@Soccer Ball\n\nwhen [r v] key pressed\nswitch costume to (center v)\nreset x placement [-200]\n\ndefine reset x placement (place)\nset size to (100) %\nshow\ngo to x: (place) y: (-30)\npoint in direction (90)\nReset player variables\n\ndefine If touching\nif <touching (spikes and lava v)?> then\n    reset x placement [-224]\nend\n\ndefine Reset player variables\nset [x v v] to [0]\nset [y v v] to [0]\nhide variable [level v]\nhide variable [y v v]\nhide variable [x v v]\n\nwhen I start as a clone\nrepeat (5)\n    change size by (-5)\n    change [ghost v] effect by (-10)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <touching (net v)?> then\n        go to x: (208) y: (-66)\n        broadcast (Next Level v)\n        change [level v] by (1)\n        play sound [Coin v] until done\n    end\nend\n\nwhen I receive [next level v]\nreset x placement [-224]\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen flag clicked\nforever\n    if <touching (cones v)?> then\n        broadcast (Restart v)\n        play sound [Crunch v] until done\n    end\nend\n\nwhen I receive [restart v]\ngo to x: (-224) y: (-28)\n\nwhen flag clicked\nforever\n    if <touching (kicking boosts v)?> then\n        set [y v v] to [20]\n        play sound [Big Boing v] until done\n    end\nend\n\nwhen flag clicked\nhide variable [timer v]\n\nwhen I receive [ball v]\nshow variable [timer v]\n\nwhen flag clicked\nset [timer v] to [0]\n\nwhen I receive [ball v]\nset [timer v] to [0]\nforever\n    change [timer v] by (1)\n    wait (1) seconds\nend\n\nwhen I receive [yup v]\nswitch costume to (costume1 v)\n\nwhen flag clicked\nforever\n    if <touching (cactus v)?> then\n        broadcast (Restart v)\n        play sound [Crunch v] until done\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\n\nwhen I receive [fade backround v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nset [level v] to [1]\nset size to (100) %\nreset x placement [-224]\nforever\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [x v v] by (.9)\n    end\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [x v v] by (-.9)\n    end\n    turn right (X v) degrees\n    set [x v v] to ((X v) * (0.9))\n    change x by (X v)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((X v) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n                                if <(X v) > [0]> then\n                                    set [x v v] to [-5]\n                                else\n                                    set [x v v] to [5]\n                                end\n                                set [y v v] to [15]\n                            else\n                                set [x v v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v v] by (-1)\n    change y by (Y v)\n    if <touching (ground v)?> then\n        change y by ((Y v) * (-1))\n        set [y v v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > ((y position) + (20))>>>> then\n            set [y v v] to [15]\n        end\n    end\n    change y by (1)\n    If touching\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\ngo to x: (-224) y: (-28)\n\nwhen I receive [stop timer v]\nstop [other scripts in sprite v]\n\n@Coach\n\nwhen I receive [fade backround v]\nshow\ngo to [front v] layer\nswitch costume to (costume1 v)\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\n\n@Net 2\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen I receive [fade backround v]\nshow\ngo to [front v] layer\nswitch costume to (costume2 v)\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Net\n\nwhen I receive [fade backround v]\nshow\ngo to [front v] layer\nswitch costume to (costume2 v)\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\nforever\n    if <(Level) = [9]> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [10]> then\n        switch costume to (costume2 v)\n    end\nend\n\n@Cones\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [3]> then\n        show\n        go to [front v] layer\n        switch costume to (costume1 v)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [4]> then\n        show\n        go to [front v] layer\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [6]> then\n        hide\n        go to [back v] layer\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [5]> then\n        show\n        go to [front v] layer\n        switch costume to (costume3 v)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [8]> then\n        show\n        go to [front v] layer\n        switch costume to (costume4 v)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [9]> then\n        show\n        go to [front v] layer\n        switch costume to (costume5 v)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [10]> then\n        hide\n        go to [back v] layer\n    end\nend\n\n@Kicking Boosts\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen flag clicked\ngo to x: (36) y: (28)\n\nwhen flag clicked\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [6]> then\n        show\n        go to [front v] layer\n        switch costume to (costume2 v)\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [7]> then\n        hide\n        go to [back v] layer\n    end\nend\n\n@Mode\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [12]> then\n        show\n        go to [front v] layer\n        if <(Timer) < [36]> then\n            switch costume to (costume1 v)\n        end\n        if <<(Timer) > [36]> and <(Timer) < [51]>> then\n            switch costume to (costume2 v)\n        end\n        if <<(Timer) = [51]> or <(Timer) > [51]>> then\n            switch costume to (costume3 v)\n        end\n    end\nend\n\nwhen I receive [fade backround v]\nforever\n    if <(Level) = [12]> then\n        broadcast (Stop Timer v)\n    end\nend\n\n@Thumbanil\n\nwhen flag clicked\nhide\ngo to [back v] layer\n\n
Arrow Keys WASD Or Mobile Friendly! :D\n\nGet 35 or less seconds to be Gold 36-50 to Be Silver 51+ To be Bronze\n\nPlease love and fav! :D\n\nThanks @2GS6 For the Mountains Thanks @A_wire for the platformer engine Modified by me! :D\n\n\n\n