⬆ Space A Platformer (Mobile Friendly) ⬆                                               #Games #All

Instructions: ⬆ Space A Platformer ⬆ || A Platformer by @clemJ72\n\nPlease ❤️⭐️ & Follow me For More ☻  \n \n_Instructions_\n\nUse ⬆⬅➡ and don't touch the spikes, saws and don't swim in the lava !\n14 levels 100 % Possible \nHave Fun !

@Stage\n\n@spikes\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [message1 v]\nnext costume\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\nforever\n    go to x: (36) y: (27)\nend\n\n@levels\n\nwhen I receive [message1 v]\nnext costume\n\nwhen flag clicked\nhide variable [level v]\nswitch costume to (1 v)\n\nwhen I receive [someone pressed s key v]\nnext costume\n\nwhen I receive [someone pressed skip button v]\nnext costume\n\nwhen flag clicked\n\nforever\n    if <(level) = [15]> then\nend\n\nshow variable [level v]\n\n@Platform guy\n\nwhen flag clicked\npoint in direction (90)\nset [x v] to [0]\nset [y v] to [0]\ngo to x: (-200) y: (0)\nforever\n    change [y v] by (-1)\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] by (1)\n        switch costume to (costume1 v)\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] by (-1)\n        switch costume to (costume2 v)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (levels v)?> then\n        fast\n        if <touching (levels v)?> then\n            change y by (-6)\n            xcoll\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(y position) < (mouse y)>>> then\n                set [y v] to [13]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-7]\n                else\n                    set [x v] to [8]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (levels v)?> then\n        ycoll\n        if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <(y) < [0]>> then\n            set [y v] to [21]\n        else\n            set [y v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<key (p v) pressed?> and <not <(level) = [15]>>> then\n        wait until <not <key (p v) pressed?>>\n        broadcast (someone pressed S key v)\n        go to x: (-218) y: (-90)\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (levels v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (levels v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\ndefine ycoll\nrepeat until <not <touching (levels v)?>>\n    if <(y) > [0]> then\n        change y by (-1)\n    else\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(x position) > [237]> then\n        broadcast (message1 v)\n        go to x: (-223) y: (-100)\n    end\nend\n\nwhen flag clicked\nforever\n    if <<touching (spikes v)?> or <<touching (sprite1 v)?> or <touching (danger v)?>>> then\n        go to x: (-223) y: (-100)\n        play sound [Death v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (levels v)?> then\n        set [y v] to [21]\n    end\nend\n\nwhen flag clicked\nwait (10) seconds\nswitch costume to (costume1 v)\nforever\n    play sound [Vexento - Tevo \(Original Mix\) v] until done\nend\n\nwhen I receive [someone pressed s key v]\nchange [level v] by (1)\n\nwhen I receive [message1 v]\nchange [level v] by (1)\n\nwhen flag clicked\nset [level v] to [1]\nhide\nwait (10) seconds\nshow\ngo to x: (-218) y: (-90)\n\nwhen I receive [someone pressed skip button v]\ngo to x: (-218) y: (-106)\n\nchange [pixelate v] effect by (25)\n\n@thumnail\n\nwhen flag clicked\nforever\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\nend\n\nwhen flag clicked\nforever\n    go to x: (1) y: (0)\nend\n\nturn right (90) degrees\n\ngo to (random position v)\n\ngo to x: (36) y: (28)\n\n@skip\n\nwhen flag clicked\nshow\nset size to (100) %\nset [zine v] to [0]\ngo to x: (217) y: (157)\nforever\n    change [zine v] by (1)\n    point in direction ((90) + (([sin v] of ((zine) * (8)) ) * (3)))\n    if <touching (mouse-pointer v)?> then\n        change size by (((110) - (size)) / (2))\n    else\n        change size by (((100) - (size)) / (4))\n    end\n    if <<touching (mouse-pointer v)?> and <mouse down?>> then\n        repeat until <<not <touching (mouse-pointer v)?>> or <not <mouse down?>>>\n            change [zine v] by (1)\n            point in direction ((90) + (([sin v] of ((zine) * (5)) ) * (3)))\n            change size by (((90) - (size)) / (2))\n        end\n        set size to (100) %\n        wait (0) seconds\n        if <<touching (mouse-pointer v)?> and <not <([costume # v] of [levels v]) = [15]>>> then\n            broadcast (someone pressed skip button v)\n        end\n    end\nend\n\nwhen flag clicked\nswitch costume to (guy v)\nset [level v] to [1]\n\nwhen I receive [someone pressed skip button v]\nchange [level v] by (1)\n\nwhen flag clicked\nforever\n    if <(level) = [15]> then\n        forever\n            hide\n            stop [other scripts in sprite v]\n        end\n    end\nend\n\nwait (9) seconds\n\nhide\n\nshow\n\n@Sprite1\n\nwhen flag clicked\nhide\nforever\n    if <(level) = [11]> then\n        show\n    end\n    if <(level) = [3]> then\n        show\n    end\nend\n\n@Intro\n\nwhen flag clicked\nwait (2) seconds\nhide\nwait (1.99) seconds\ndelete this clone\n\nwhen I start as a clone\nhide\nif <(cloneID) = [0]> then\n    set size to (100) %\n    go to [front v] layer\n    switch costume to (costume1 v)\n    show\n    go to x: (-200) y: (200)\n    set [cloneid v] to [45]\n    start sound [Whoosh Pack #1.mp3 v]\n    repeat until <(cloneID) = [0]>\n        change x by (cloneID)\n        change y by ((cloneID) * (-1))\n        set [cloneid v] to ((cloneID) * (0.9))\n    end\nelse\n    if <(cloneID) = [1]> then\n        go to x: (0) y: (0)\n        switch costume to (costume2 v)\n        wait (2) seconds\n        set size to (2) %\n        go to [front v] layer\n        show\n        start sound [Whoosh Pack #1.mp4 v]\n        repeat (50)\n            set [zv v] to ((((100) - (size)) * (0.6)) + ((zv) * (0.7)))\n            change size by (zv)\n        end\n    else\n        if <(cloneID) = [2]> then\n            go to x: (0) y: (0)\n            wait (3) seconds\n            set size to (100) %\n            show\n            switch costume to (costume3 v)\n            repeat (10)\n                go to [front v] layer\n            end\n        else\n            if <(cloneID) = [3]> then\n                go to x: (0) y: (0)\n                set size to (100) %\n                switch costume to (costume4 v)\n                hide\n                wait (3.5) seconds\n                set [ghost v] effect to (60)\n                show\n                go to [front v] layer\n                go [backward v] (2) layers\n                go to x: (-217) y: (25)\n                set [cloneid v] to [60]\n                start sound [Whoosh Pack #1.mp5 v]\n                repeat until <(cloneID) = [0]>\n                    change x by (cloneID)\n                    set [cloneid v] to ((cloneID) * (0.9))\n                end\n            else\n                if <(cloneID) = [4]> then\n                    wait (0.5) seconds\n                    go to x: (0) y: (0)\n                    switch costume to (costume6 v)\n                    set size to (2) %\n                    go to [front v] layer\n                    show\n                    set [cloneid v] to [50]\n                    repeat until <(cloneID) < [1]>\n                        turn right (cloneID) degrees\n                        set [cloneid v] to ((cloneID) * (0.9))\n                        switch costume to (costume7 v)\n                        change size by (7)\n                        switch costume to (costume6 v)\n                    end\n                    hide\n                    delete this clone\n                else\n                    if <(cloneID) = [5]> then\n                        go to x: (0) y: (0)\n                        switch costume to (costume5 v)\n                        wait (1.2) seconds\n                        go to [front v] layer\n                        show\n                        set size to (2) %\n                        set [cloneid v] to [0.2]\n                        repeat until <(size) > [300]>\n                            go to [front v] layer\n                            switch costume to (costume7 v)\n                            change size by (cloneID)\n                            switch costume to (costume5 v)\n                            set [cloneid v] to ((cloneID) * (1.5))\n                        end\n                        delete this clone\n                    else\n                        if <(cloneID) = [6]> then\n                            wait (1.7) seconds\n                            set [ghost v] effect to (100)\n                            switch costume to (costume8 v)\n                            set size to (100) %\n                            show\n                            repeat (10)\n                                change [ghost v] effect by (-10)\n                                go to [front v] layer\n                            end\n                            repeat (10)\n                                change [ghost v] effect by (10)\n                                go to [front v] layer\n                            end\n                        else\n                            if <(cloneID) = [7]> then\n                                go to [front v] layer\n                                switch costume to (costume7 v)\n                                set size to (100) %\n                                switch costume to (costume9 v)\n                                wait (6) seconds\n                                go to [front v] layer\n                                show\n                                go to x: (-200) y: (200)\n                                set [cloneid v] to [45]\n                                start sound [Whoosh Pack #1.mp3 v]\n                                repeat until <(cloneID) = [0]>\n                                    change x by (cloneID)\n                                    change y by ((cloneID) * (-1))\n                                    set [cloneid v] to ((cloneID) * (0.9))\n                                end\n                                delete this clone\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\nwhen I start as a clone\nif <(cloneID) = [0]> then\n    wait (1.5) seconds\n    switch backdrop to (backdrop2 v)\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nwait (8) seconds\nbroadcast (intro END v)\nhide\nstop [this script v]\n\ndelete this clone\n\nwhen flag clicked\nforever\n    if <([costume # v] of [intro v]) = [9]> then\n        broadcast (this v) and wait\n    end\nend\n\nwhen I receive [this v]\nwait (5) seconds\nhide\n\nwhen flag clicked\nswitch costume to (costume7 v)\nset size to (100) %\npoint in direction (90)\nclear graphic effects\nshow\nswitch costume to (bzckground 1 v)\ngo to x: (0) y: (0)\nwait (1) seconds\nstart sound [Music 1 v]\nset [cloneid v] to [0]\ncreate clone of (_myself_ v)\nset [cloneid v] to [1]\ncreate clone of (_myself_ v)\nset [cloneid v] to [2]\ncreate clone of (_myself_ v)\nset [cloneid v] to [3]\ncreate clone of (_myself_ v)\nset [cloneid v] to [4]\ncreate clone of (_myself_ v)\nset [cloneid v] to [6]\ncreate clone of (_myself_ v)\nset [cloneid v] to [7]\ncreate clone of (_myself_ v)\n\nwhen flag clicked\nset volume to (100) %\nforever\n    play sound [C418 - Stranger Think.mp3 v] until done\nend\n\nwhen flag clicked\nwait (8) seconds\ndelete this clone\n\nwhen flag clicked\nwait (8) seconds\nswitch costume to (costume9 v)\ngo to [front v] layer\ngo to x: (225) y: (-219)\nwait (0.5) seconds\nset volume to (0) %\nrepeat (100)\n    show\n    change [ghost v] effect by (1)\n    change volume by (1)\nend\nshow\nbroadcast (intro v)\n\nwhen flag clicked\ngo to [front v] layer\n\nwait (1) seconds\n\nwhen flag clicked\nset volume to (70) %\nwait (6) seconds\nforever\n    change volume by (-10)\n    wait () seconds\nend\n\n@danger\n\nwhen flag clicked\ngo to x: (13) y: (7)\nhide\nforever\n    if <(level) = [12]> then\n        show\n    end\n    if <(level) = [13]> then\n        hide\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (13) y: (7)\nforever\n    turn right (15) degrees\nend\n\n