Remix-able Platformer  

Instructions: ~Controls~\nArrow or WASD to move, Avoid Lava and Spikes.\nAll the levels are possible. 100%\nTotal levels - 13, I don't have any level Ideas :(\nThis is also a Mobile Friendly Platformer!!\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [start project v]\nforever\n    play sound [Jarico - Landscape \[NCS BEST OF\] v] until done\nend\n\n@Intro\n\ndefine Clone Particles\nset [clone id v] to [Particle]\nrepeat (75)\n    create clone of (_myself_ v)\n    turn right (15) degrees\nend\npoint in direction (90)\n\ndefine Clone Row of Boxes\nset [brightness v] effect to (10)\nrepeat (9)\n    create clone of (_myself_ v)\n    change [var 2 v] by (-1)\n    change [brightness v] effect by (-1)\nend\n\ndefine Bounce with (bounciness) , (speed) and (finishing size)\nset [var 1 v] to [0]\nrepeat until <<(finishing size) = (size)> and <(Var 1) = (size)>>\n    set [var 2 v] to (((Var 2) * ((bounciness) / (100))) + (((finishing size) - (size)) * ((speed) / (20))))\n    set [var 1 v] to (size)\n    change size by (Var 2)\nend\nset size to (finishing size) %\n\ndefine Smooth Glide x: (x) y: (y) speed: (speed)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (speed))\n    change y by (((round (y)) - (round (y position))) / (speed))\nend\ngo to x: (x) y: (y)\n\ndefine Type: System (text) (x) (y) (size) (color) (brightness) (speed)\nswitch costume to (master v)\nhide\ngo to x: (x) y: (y)\nset size to (size) %\nset [# v] to [1]\nset [color v] effect to (color)\nset [brightness v] effect to (brightness)\nrepeat (length of (text))\n    if <(letter (#) of (text)) > [ ]> then\n        switch costume to (letter (#) of (text))\n        create clone of (_myself_ v)\n        change x by ((size) * ((item (costume [number v]) of [character widths v]) / (90)))\n        change [# v] by (1)\n    else\n        switch costume to ( v)\n        create clone of (_myself_ v)\n        change x by ((size) * ((item (costume [number v]) of [character widths v]) / (90)))\n        change [# v] by (1)\n    end\n    wait (speed) seconds\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Letter 1]> then\n    wait until <(timer) > [1.5]>\n    wait ((#) / (Length)) seconds\n    show\n    set [x v] to (x position)\n    set [y v] to (y position)\n    go to [front v] layer\n    set size to (0) %\n    go to x: (X) y: (Y)\n    Bounce with (65) , (10) and (Size)\n    wait until <(timer) > [3.5]>\n    wait ((#) / (Length)) seconds\n    set [var 1 v] to [10]\n    repeat (30)\n        change y by (Var 1)\n        change [var 1 v] by (-1)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\nif <(Clone ID) = [Box]> then\n    point in direction (180)\n    switch costume to (box v)\n    set [ghost v] effect to (50)\n    set size to (15) %\n    show\n    go to [back v] layer\n    go to x: ((Var 1) * (40)) y: ((Var 2) * (40))\n    repeat until <(size) > [89]>\n        change size by (((91) - (size)) / (7))\n        turn right (((180) - (direction)) / (10)) degrees\n        change [ghost v] effect by (-5)\n    end\n    set size to (90) %\n    set [ghost v] effect to (0)\n    wait until <(timer) > [4.5]>\n    set [brightness v] effect to (0)\n    repeat (20)\n        turn right (5) degrees\n        change size by (-5)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nset [username v] to [Scratcher_No-1]\nSetup Lists\nset [clone id v] to [Letter 1]\nType (Username) [-200] [-100] [200] [115] [100] [0]\nset [clone id v] to [Letter 2]\nType (Username) [-200] [0] [200] [115] [100] [0]\nclear graphic effects\nreset timer\nstart sound [Never Mind v]\nset [clone id v] to [Back 2]\ncreate clone of (_myself_ v)\nset [clone id v] to [Box]\nset [var 1 v] to [-6]\nrepeat (13)\n    set [var 2 v] to [4]\n    Clone Row of Boxes\n    change [var 1 v] by (1)\nend\nset [clone id v] to [Logo]\ncreate clone of (_myself_ v)\nwait until <(timer) > [1.5]>\nset [clone id v] to [Back]\ncreate clone of (_myself_ v)\nwait until <(timer) > [5]>\nset [clone id v] to [Hider 1]\ncreate clone of (_myself_ v)\nset [clone id v] to [Hider 2]\ncreate clone of (_myself_ v)\nwait until <(timer) > [8]>\nbroadcast (Start Project v)\n\ndefine Setup Lists\ndelete all of [character widths v]\nadd [thing] to [character widths v]\nadd [29] to [character widths v]\nadd [24] to [character widths v]\nadd [28] to [character widths v]\nadd [27] to [character widths v]\nadd [24] to [character widths v]\nadd [24] to [character widths v]\nadd [28] to [character widths v]\nadd [28] to [character widths v]\nadd [7] to [character widths v]\nadd [21] to [character widths v]\nadd [22] to [character widths v]\nadd [22] to [character widths v]\nadd [34] to [character widths v]\nadd [27] to [character widths v]\nadd [34] to [character widths v]\nadd [22] to [character widths v]\nadd [34] to [character widths v]\nadd [21] to [character widths v]\nadd [23] to [character widths v]\nadd [27] to [character widths v]\nadd [27] to [character widths v]\nadd [29] to [character widths v]\nadd [38] to [character widths v]\nadd [26] to [character widths v]\nadd [27] to [character widths v]\nadd [27] to [character widths v]\nadd [11] to [character widths v]\nadd [20] to [character widths v]\nadd [21] to [character widths v]\nadd [25] to [character widths v]\nadd [21] to [character widths v]\nadd [20] to [character widths v]\nadd [21] to [character widths v]\nadd [20] to [character widths v]\nadd [20] to [character widths v]\nadd [20] to [character widths v]\nadd [14] to [character widths v]\nadd [25] to [character widths v]\nadd [15] to [character widths v]\nadd [10] to [character widths v]\nadd [24] to [character widths v]\nadd [24] to [character widths v]\nadd [20] to [character widths v]\nadd [24] to [character widths v]\nadd [22] to [character widths v]\nadd [16] to [character widths v]\nadd [24] to [character widths v]\nadd [22] to [character widths v]\nadd [10] to [character widths v]\nadd [14] to [character widths v]\nadd [18] to [character widths v]\nadd [9] to [character widths v]\nadd [33] to [character widths v]\nadd [22] to [character widths v]\nadd [24] to [character widths v]\nadd [24] to [character widths v]\nadd [24] to [character widths v]\nadd [15] to [character widths v]\nadd [19] to [character widths v]\nadd [16] to [character widths v]\nadd [22] to [character widths v]\nadd [22] to [character widths v]\nadd [30] to [character widths v]\nadd [20] to [character widths v]\nadd [23] to [character widths v]\nadd [20] to [character widths v]\n\ndefine Change Size By: (size)\nchange size by (size)\nchange x by ((0) - ((size) / (7)))\n\ndefine Find Size (text) (size)\nset [size v] to (size)\nset [width v] to [1]\nset [# v] to [1]\nrepeat (length of (text))\n    if <(letter (#) of (text)) > [ ]> then\n        switch costume to (letter (#) of (text))\n        change [width v] by ((Size) * ((item (costume [number v]) of [character widths v]) / (90)))\n        change [# v] by (1)\n    else\n        switch costume to ( v)\n        change [width v] by ((Size) * ((item (costume [number v]) of [character widths v]) / (90)))\n        change [# v] by (1)\n    end\nend\nif <(Width) > [400]> then\n    change [size v] by (-1)\nend\nif <(Width) < [390]> then\n    change [size v] by (1)\nend\nrepeat until <<<(Width) < [400]> and <(Width) > [389]>> or <(Size) > [200]>>\n    set [width v] to [0]\n    set [# v] to [1]\n    repeat (length of (text))\n        if <(letter (#) of (text)) > [ ]> then\n            switch costume to (letter (#) of (text))\n            change [width v] by ((Size) * ((item (costume [number v]) of [character widths v]) / (90)))\n            change [# v] by (1)\n        else\n            switch costume to ( v)\n            change [width v] by ((Size) * ((item (costume [number v]) of [character widths v]) / (90)))\n            change [# v] by (1)\n        end\n    end\n    if <(Width) > [400]> then\n        change [size v] by (-1)\n    end\n    if <(Width) < [390]> then\n        change [size v] by (1)\n    end\n    if <(Size) > [201]> then\n        set [size v] to [190]\n    end\nend\nset [x v] to ((0) - ((Width) / (2)))\n\ndefine Type (text) (x) (y) (size) (color) (brightness) (speed)\nset [length v] to (length of (text))\nif <(length of (text)) > [20]> then\n    Find Size [Text Too Long] (size)\n    Type: System [Text Too Long] (X) (y) (Size) (color) (brightness) (speed)\nelse\n    Find Size (text) (size)\n    Type: System (text) (X) (y) (Size) (color) (brightness) (speed)\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Logo]> then\n    switch costume to (logo v)\n    reset timer\n    set size to (0) %\n    show\n    go to x: (300) y: (0)\n    set [var 1 v] to [-40]\n    repeat (34)\n        change size by (2)\n        change x by (Var 1)\n        change [var 1 v] by (2)\n    end\n    Clone Particles\n    Smooth Glide x: [0] y: [25] speed: [9]\n    wait until <(timer) > [4]>\n    set [var 1 v] to [10]\n    repeat (30)\n        change size by (Var 1)\n        change [var 1 v] by (-1)\n    end\n    delete this clone\nend\nif <(Clone ID) = [Back]> then\n    go to [back v] layer\n    show\n    go to x: (-500) y: (500)\n    set size to (200) %\n    switch costume to (landscape v)\n    clear graphic effects\n    wait until <(timer) > [4]>\n    repeat until <(timer) > [7.5]>\n        change x by (5)\n        change y by (-5)\n    end\n    delete this clone\nend\nif <(Clone ID) = [Back 2]> then\n    go to [back v] layer\n    show\n    go to x: (0) y: (0)\n    set size to (200) %\n    switch costume to (back 2 v)\n    clear graphic effects\n    repeat until <(timer) > [7.5]>\n        go to [back v] layer\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Particle]> then\n    switch costume to (particle v)\n    clear graphic effects\n    set size to (100) %\n    go to x: (0) y: (0)\n    set [brightness v] effect to (100)\n    go to [front v] layer\n    go [backward v] (10) layers\n    set [var 1 v] to (pick random (10) to (15))\n    set [var 2 v] to (pick random (2) to (7))\n    turn right (pick random (-10) to (10)) degrees\n    show\n    repeat until <touching (_edge_ v)?>\n        move (Var 1) steps\n        change y by (Var 2)\n        change [var 2 v] by (-0.4)\n        set [var 1 v] to ((Var 1) * (0.95))\n    end\n    repeat (10)\n        move (Var 1) steps\n        change y by (Var 2)\n        change [var 2 v] by (-0.4)\n        set [var 1 v] to ((Var 1) * (0.95))\n        change [ghost v] effect by (10)\n    end\n    hide\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Hider 1]> then\n    wait until <(timer) > [6.5]>\n    go to [front v] layer\n    point in direction (105)\n    show\n    go to x: (300) y: (0)\n    set size to (100) %\n    switch costume to (hider 2 v)\n    clear graphic effects\n    repeat until <<(round (x position)) = [0]> and <(round (y position)) = [0]>>\n        change x by (((0) - (round (x position))) / (5))\n        change y by (((0) - (round (y position))) / (5))\n    end\n    go to x: (0) y: (0)\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\nif <(Clone ID) = [Hider 2]> then\n    wait until <(timer) > [6.5]>\n    go to [front v] layer\n    point in direction (105)\n    show\n    go to x: (-300) y: (0)\n    set size to (100) %\n    switch costume to (hider 1 v)\n    clear graphic effects\n    repeat until <<(round (x position)) = [0]> and <(round (y position)) = [0]>>\n        change x by (((0) - (round (x position))) / (5))\n        change y by (((0) - (round (y position))) / (5))\n    end\n    go to x: (0) y: (0)\n    wait (1) seconds\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\nwhen I start as a clone\nif <(Clone ID) = [Letter 2]> then\n    wait until <(timer) > [5]>\n    wait ((#) / (Length)) seconds\n    show\n    set [x v] to (x position)\n    set [y v] to (y position)\n    go to [front v] layer\n    set size to (Size) %\n    go to x: (X) y: (-300)\n    Smooth Glide x: (X) y: (Y) speed: [9]\n    wait until <(timer) > [7]>\n    delete this clone\nend\n\nType [Hi!] [0] [0] [20] [0] [100] [0.1]\n\nforever\n    go to [front v] layer\nend\n\n@Player\n\nwhen [space v] key pressed\nnext costume\n\nwhen I receive [play v]\ngo to [front v] layer\nswitch costume to (costume2 v)\nset [ghost v] effect to (0)\nshow\ngo to x: (-180) y: (-50)\nset [level v] to [1]\nset [x2 v] to [0]\nset [y2 v] to [0]\npoint in direction (90)\nforever\n    change [y2 v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x2 v] by (-0.8)\n        switch costume to (costume1 v)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        switch costume to (costume2 v)\n        change [x2 v] by (0.8)\n    end\n    set [x2 v] to ((x2) * (0.9))\n    change x by (x2)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((x2) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y2 v] to [10]\n            if <([abs v] of (x2) ) = (x2)> then\n                set [x2 v] to [-5]\n            else\n                set [x2 v] to [5]\n            end\n        else\n            set [x2 v] to [0]\n        end\n    end\n    change y by (y2)\n    if <touching (ground v)?> then\n        change y by ((0) - (y2))\n        set [y2 v] to [1]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching (ground v)?>> then\n        set [y2 v] to [15]\n    end\n    change y by (1)\n    if <(y position) > [180]> then\n        set [y2 v] to [0]\n    end\nend\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nset [level v] to [1]\nforever\n    if <<key (b v) pressed?> or <<touching (chain trap v)?> or <touching color (#ff0000)?>>> then\n        go to x: (-180) y: (-50)\n    end\n    if <(x position) > [226]> then\n        go to x: (-180) y: (-50)\n        broadcast (levelup v)\n        change [level v] by (1)\n    end\n    if <(Level) = [15]> then\n        broadcast (end v)\n        stop [other scripts in sprite v]\n    end\nend\n\nwhen I receive [start project v]\ngo to x: (-192) y: (18)\nshow\n\n@Ground\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nswitch costume to (costume1 v)\nshow\nbroadcast (play v)\n\nwhen I receive [levelup v]\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [10]> then\n        broadcast (Show v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [14]> then\n        broadcast (Victory! v)\n    end\nend\n\n@Ob\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nswitch costume to (costume2 v)\nshow\n\nwhen I receive [levelup v]\nnext costume\n\n@Particles\n\nwhen I start as a clone\nset [brightness v] effect to (20)\nset [ghost v] effect to (40)\ngo to [back v] layer\nset [color v] effect to (pick random (-10) to (5))\nset size to (pick random (20) to (60)) %\ngo to x: (pick random (-220) to (220)) y: (-230)\nset [stuffspeed v] to (pick random (5) to (12))\nshow\nrepeat (30)\n    change [ghost v] effect by (2)\n    change [brightness v] effect by (-0.3)\n    change y by (stuffspeed)\nend\ndelete this clone\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nhide\nforever\n    create clone of (_myself_ v)\nend\n\nshow\n\n@Love fave\n\nwhen flag clicked\nhide\n\nwhen I receive [start project v]\nset [love fave: costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (25) to (35)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\n        show\n        go to [front v] layer\n        repeat (9)\n            change y by (-6)\n        end\n        repeat (5)\n            change y by (3)\n        end\n        repeat (5)\n            change y by (-1)\n        end\n        wait (2) seconds\n        repeat (15)\n            change y by (7)\n        end\n        hide\n    end\n    if <(Love fave: Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n