Iron Man Platformer
@Stage\n\nwhen flag clicked\nset [dead v] to [0]\nhide variable [dead v]\nset [infinity stones v] to [0]\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nrepeat until <(dead) = [1]>\n    play sound [The Avengers - Theme Song v] until done\nend\n\nwhen I receive [infinity stone + v]\nchange [infinity stones v] by (1)\n\nwhen flag clicked\nshow variable [infinity stones v]\n\nwhen I receive [6 infinity stones v]\nhide variable [infinity stones v]\n\nwhen I receive [game over v]\nhide variable [infinity stones v]\nchange [dead v] by (1)\n\nchange volume by (-10)\n\n@Jarvis\n\nwhen flag clicked\nforever\n    turn right (350) degrees\n    wait (0.03) seconds\nend\n\nwhen flag clicked\nset [suit power v] to [100]\n\nwhen flag clicked\nhide variable [suit power v]\nforever\n    wait (10) seconds\n    change [suit power v] by (-10)\nend\n\nwhen flag clicked\nforever\n    wait (10) seconds\n    say (join [Suit power is ] (join (Suit Power) [%])) for (4) seconds\nend\n\nwhen flag clicked\nforever\n    glide (0.7) secs to x: (-199) y: (122)\n    wait (0.1) seconds\n    glide (0.7) secs to x: (-199) y: (102)\nend\n\nwhen this sprite clicked\nsay (join [You have ] (join (Infinity Stones) [ Infinity Stone/s.])) for (2) seconds\n\nwhen flag clicked\nshow\nset [ghost v] effect to (0)\n\nwhen flag clicked\n\nwhen I receive [game over v]\nhide\n\nglide (1) secs to x: (-199) y: (109)\n\nwhen flag clicked\nforever\n    if <(Infinity Stones) = [6]> then\n        say (join (username) [, I have detected a malfunction. I will have to power down... G-g-goodbye.]) for (6) seconds\n        wait (0.5) seconds\n        broadcast (Complete v)\n        broadcast (6 Infinity Stones v)\n        forever\n            change [ghost v] effect by (10)\n            hide\n        end\n    end\nend\n\n@Iron Man\n\nwhen flag clicked\ngo [backward v] (1) layers\nset [speed y v] to [0]\nforever\n    change [speed y v] by (-1)\n    change y by (Speed y)\n    Ground block\n    if <touching color (#00cc44)?> then\n        set [speed y v] to [0]\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nhide variable [speed y v]\nhide variable [falling? v]\nhide variable [slope v]\n\nwhen [up arrow v] key pressed\nif <<key (up arrow v) pressed?> and <(Falling?) < [3]>> then\n    set [speed y v] to [16]\n    set [falling? v] to [4]\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\ndefine Ground block\nchange [slope v] by (1)\nrepeat until <not <touching color (#00cc44)?>>\n    change y by (1)\n    set [falling? v] to [0]\n    set [speed y v] to [0]\nend\n\nwhen flag clicked\nset rotation style [left-right v]\nforever\n    if <key (right arrow v) pressed?> then\n        Walk (90) (4)\n    end\n    if <key (left arrow v) pressed?> then\n        Walk (-90) (-4)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (costume2 v)\n    else\n        switch costume to (costume1 v)\n    end\n    if <touching color (#fdb0ef)?> then\n        next backdrop\n        go to x: (-216) y: (-93)\n    end\n    if <touching (infinity stones v)?> then\n        broadcast (Infinity Stone + v)\n    end\n    if <<touching color (#0078ff)?> and <touching (infinity stones v)?>> then\n        broadcast (6 Infinity Stones v)\n    end\n    if <(Suit Power) = [0]> then\n        broadcast (Game Over v)\n        broadcast (New Message v)\n    end\n    if <touching (evil guys v)?> then\n        broadcast (Restart v)\n    end\nend\n\ndefine Walk (direction) (speed)\npoint in direction (direction)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching color (#00cc44)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    set y to ((0) - (slope))\nend\n\nwhen flag clicked\nshow\n\nwhen flag clicked\ngo [backward v] (1) layers\ngo to x: (-216) y: (-93)\npoint in direction (90)\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-216) y: (-93)\n    end\nend\n\nwhen flag clicked\ngo to [front v] layer\n\nwhen I receive [restart v]\ngo to x: (-216) y: (-93)\n\nwhen [r v] key pressed\nbroadcast (Restart v)\n\n@Infinity Stones\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\nswitch costume to (costume1 v)\n\nwhen I receive [infinity stone + v]\nhide\n\nwhen backdrop switches to [backdrop3 v]\nswitch costume to (costume2 v)\nshow\n\nwhen backdrop switches to [backdrop4 v]\nswitch costume to (costume3 v)\nshow\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (costume4 v)\nshow\n\nwhen backdrop switches to [backdrop7 v]\nswitch costume to (costume5 v)\nshow\n\nwhen backdrop switches to [backdrop10 v]\nswitch costume to (costume6 v)\nshow\nbroadcast (Last Stone v)\n\nwhen flag clicked\nforever\n    glide (1) secs to x: (68) y: (43)\n    wait (0.1) seconds\n    glide (1) secs to x: (68) y: (33)\nend\n\nwhen I receive [game over v]\nhide\n\n@Evil Guys\n\nwhen flag clicked\nhide\nforever\n    set rotation style [left-right v]\nend\n\npoint towards (mouse-pointer v)\npoint towards (iron man v)\n\nwhen backdrop switches to [backdrop3 v]\nshow\nforever\n    glide (1) secs to (random position v)\n    wait (1) seconds\nend\n\nwhen backdrop switches to [backdrop4 v]\n\nhide\n\nwhen backdrop switches to [backdrop4 v]\nshow\ncreate clone of (_myself_ v)\nforever\n    glide (1) secs to (random position v)\n    wait (1) seconds\nend\n\nwhen I start as a clone\nif <(backdrop [number v]) = [7]> then\n    forever\n        hide\n    end\nelse\n    forever\n        set rotation style [left-right v]\n        glide (1) secs to (random position v)\n        wait (1) seconds\n    end\nend\n\nwhen backdrop switches to [backdrop5 v]\nshow\ncreate clone of (_myself_ v)\nforever\n    glide (1) secs to (random position v)\n    wait (1) seconds\nend\n\nwhen backdrop switches to [backdrop7 v]\nhide\n\nwhen I start as a clone\nforever\n    point towards (mouse-pointer v)\nend\n\nwhen backdrop switches to [backdrop10 v]\nshow\n\nwhen I receive [6 infinity stones v]\nhide\n\nwhen I receive [game over v]\nhide\n\nwhen I start as a clone\nif <(backdrop [number v]) = [7]> then\n    delete this clone\nend\n\n@Gauntlet\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [6 infinity stones v]\nwait (1) seconds\nshow\nset size to (100) %\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\nwait (0.2) seconds\nstart sound [Snap v]\nforever\n    repeat (10)\n        change size by (20)\n        wait (0.03) seconds\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\n@End\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\nwhen I receive [complete v]\nwait (3) seconds\nswitch costume to (costume1 v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwhen I receive [game over v]\nswitch costume to (costume2 v)\nrepeat (10)\n    change [ghost v] effect by (-10)\nend\n\nwait (1) seconds\nforever\n    stop [other scripts in sprite v]\nend\n\nwhen I receive [complete v]\nforever\n    set [suit power v] to [1000]\nend\n\nwhen I receive [6 infinity stones v]\nbroadcast (Complete v)\n\n@Thumbnail\n\nwhen flag clicked\nwait (3) seconds\nset [ghost v] effect to (0)\ngo to [front v] layer\nforever\n    change [ghost v] effect by (10)\nend\n\n@Sprite1\n\nwhen flag clicked\nset [dead v] to [0]\nhide\n\nwhen I receive [new message v]\n\nwhen flag clicked\nforever\n    if <(dead) = [1]> then\n        go to x: (521) y: (26)\n        show\n        glide (10) secs to x: (-474) y: (23)\n        wait (0.01) seconds\n        hide\n    end\nend\n\n
Please double click the green flag!\nIf this project gets 20 loves or favorites, I will make a sequel!\n                         -Instructions-\nArrow keys to move. Get all the infinity stones. Complete the platformer before the suit power runs out. The number count in the bottom left corner is how many infinity stones you have. You can also click Jarvis to check. You can jump onto platforms above you. Avoid red. You have to collect the infinity stone before moving to the next level! \nTry running off a platform and then pressing up...\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n:) 