Draw || - A Platformer

Instructions:                           Draw || - A Platformer\n            ★1,000 Followers Game Contest [ Entry ]★\n\n                          ✿Game Controls :✿\n➜ ←↑→ or w, a, d to Move\n➜ Drag to draw\n➜ Click the 'Switch Skin Button' to Switch Skin\n➜\n\n\n\n#all #games #art #animation #stories #contest #pixelbuild #1,000 #1k #followers\n\n

@Stage\n\nwhen flag clicked\nswitch backdrop to (level1 v)\nerase all\n\nwhen I receive [intro done v]\nset [pitch v] effect to (0)\nset volume to (100) %\nwait (2) seconds\nforever\n    play sound [\[No Copyright Music\] Chill Lofi Hip Hop Beat FREE Instrumental \(Copyright Free\) Chillhop Music.mp3 v] until done\nend\n\n@Thumbnail\n\nwhen [timer v] > (timer)\ngo to [front v] layer\nset [pixelate v] effect to (100)\nset [ghost v] effect to (100)\nshow\nrepeat (20)\n    change [pixelate v] effect by (-5)\n    change [ghost v] effect by (-5)\nend\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\nswitch costume to (pick random (1) to (4))\nforever\n    set [timer v] to ((timer) + (0.1))\nend\n\n@intro\n\nwhen flag clicked\nset [clone movement v] to [0]\nhide\nwait (1) seconds\nstart sound [intro music v]\nset [clone type v] to [0]\nswitch costume to (screen v)\ngo to x: (-473) y: (0)\ncreate clone of (_myself_ v)\nset [clone type v] to [1]\nswitch costume to (1 v)\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [clone type v] to [0]\nset [color v] effect to (-30)\ngo to x: (473) y: (0)\ncreate clone of (_myself_ v)\nset [clone type v] to [1]\nswitch costume to (2 v)\ncreate clone of (_myself_ v)\nwait (0.3) seconds\nset [clone type v] to [0]\nset [color v] effect to (0)\ngo to x: (-473) y: (0)\ncreate clone of (_myself_ v)\nset [clone type v] to [1]\nswitch costume to (3 v)\ncreate clone of (_myself_ v)\nwait (0.8) seconds\nset [clone type v] to [2]\ncreate clone of (_myself_ v)\nset [clone type v] to [3]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\npoint in direction (90)\nset size to (100) %\nshow\ngo to [front v] layer\nif <(clone type) = [0]> then\n    switch costume to (screen v)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) * (0.3))\n    end\n    wait (6.5) seconds\n    repeat until <(round (x position)) = [-473]>\n        change x by (((-473) - (x position)) * (0.3))\n    end\n    broadcast (intro done v)\n    delete this clone\nend\nif <(clone type) = [1]> then\n    go to x: (0) y: (0)\n    set [clone movement v] to [10]\n    repeat (20)\n        change [ghost v] effect by (5)\n        change y by (clone movement)\n        change [clone movement v] by (-1)\n        go to [front v] layer\n    end\n    delete this clone\nend\nif <(clone type) = [2]> then\n    switch costume to (oc v)\n    go to x: (273) y: (30)\n    repeat until <(round (x position)) = [0]>\n        change x by (((0) - (x position)) * (0.3))\n    end\n    set [clone movement v] to [0]\n    repeat (160)\n        point in direction ((([sin v] of (clone movement) ) * (5)) + (90))\n        change y by (([sin v] of (clone movement) ) * (2))\n        change size by (([sin v] of (clone movement) ) * (2))\n        change [clone movement v] by (10)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n        change size by (-4)\n    end\n    delete this clone\nend\nif <(clone type) = [3]> then\n    go to x: (0) y: (-135)\n    switch costume to (name v)\n    set [clone movement v] to [0]\n    set size to (5) %\n    repeat (25)\n        set [clone movement v] to ((((100) - (size)) * (0.3)) + ((clone movement) * (0.7)))\n        change size by (clone movement)\n    end\n    set [clone movement v] to [0]\n    repeat (155)\n        point in direction ((([sin v] of (clone movement) ) * (5)) + (90))\n        change y by (([sin v] of (clone movement) ) * (2))\n        change size by (([sin v] of (clone movement) ) * (2))\n        change [clone movement v] by (10)\n    end\n    repeat (10)\n        change [ghost v] effect by (10)\n        change size by (-4)\n    end\n    delete this clone\nend\n\nwhen I receive [intro done v]\n\n@Menu\n\nwhen flag clicked\nswitch costume to (pick random (1) to (2))\ngo to x: (0) y: (0)\ngo to [back v] layer\nshow\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [done credit v]\nswitch costume to (pick random (1) to (2))\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Menu]> then\n        broadcast (Menu v) and wait\n    end\nend\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [Ocean Menu]> then\n        broadcast (Ocean Menu v) and wait\n    end\nend\n\nwhen I receive [credit v]\nswitch costume to (credit v)\n\n@Volume Button\n\nwhen flag clicked\nshow\nset size to (100) %\ngo to x: (-197) y: (129)\nswitch costume to (costume1 v)\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 [done credit v]\nshow\n\nwhen I receive [credit v]\nhide\n\nwhen I receive [play button clicked v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (10)\n            change size by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [name v]) = [costume2]> then\n        stop all sounds\n    else\n        set volume to (100) %\n    end\nend\n\n@Tittle of Game\n\nwhen flag clicked\ngo to [front v] layer\nshow\nset size to (100) %\ngo to x: (14) y: (113)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change [brightness v] effect by (1)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (10)\n            change [brightness v] effect by (-1)\n            change size by (-1)\n        end\n    end\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [credit v]\nhide\n\nwhen I receive [done credit v]\nshow\n\n@Play Button\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\nset size to (100) %\ngo to x: (17) y: (3)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        repeat (10)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        switch costume to (costume1 v)\n        repeat (10)\n            change size by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Play Button Clicked v)\nhide\n\nwhen I receive [credit v]\nhide\n\nwhen I receive [done credit v]\nshow\n\n@Skin Button\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (no skin v)\nset size to (100) %\ngo to x: (18) y: (-60)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (10)\n            change size by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nnext costume\nforever\n    if <(costume [name v]) = [No Skin]> then\n        broadcast (No Skin v)\n    end\n    if <(costume [name v]) = [Sprout Skin]> then\n        broadcast (Sprout Skin v)\n    end\n    if <(costume [name v]) = [Silver Skin]> then\n        broadcast (Sliver Skin v)\n    end\n    if <(costume [name v]) = [Golden Skin]> then\n        broadcast (Golden Skin v)\n    end\n    if <(costume [name v]) = [Warrior Skin]> then\n        broadcast (Warrior Skin v)\n    end\n    if <(costume [name v]) = [Tick's Hat Skin]> then\n        broadcast (Tick's Hat Skin v)\n    end\n    if <(costume [name v]) = [Sprout Skin]> then\n        broadcast (Sprout Skin v)\n    end\n    if <(costume [name v]) = [Trophy Skin]> then\n        broadcast (Trophy Skin v)\n    end\n    if <(costume [name v]) = [Box Face Skin]> then\n        broadcast (Box Face Hat v)\n    end\n    if <(costume [name v]) = [Dream Skin]> then\n        broadcast (Dream v)\n    end\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [credit v]\nhide\n\nwhen I receive [done credit v]\nshow\n\n@Credit Button\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (costume1 v)\nset size to (100) %\ngo to x: (19) y: (-137)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        switch costume to (costume2 v)\n        repeat (10)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        switch costume to (costume1 v)\n        repeat (10)\n            change size by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Credit v)\nhide\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [done credit v]\nshow\n\n@Credits\n\nwhen flag clicked\nhide\n\nwhen I receive [credit v]\ngo to [front v] layer\nswitch costume to (costume1 v)\nshow\ngo to x: (0) y: (0)\nwait (1) seconds\nforever\n    change y by (1)\n    if <(y position) = [463]> then\n        broadcast (Done Credit v)\n        hide\n        stop [this script v]\n    end\n    if <mouse down?> then\n        broadcast (Done Credit v)\n        hide\n        stop [this script v]\n    end\nend\n\n@News\n\nwhen flag clicked\ngo to [front v] layer\nshow\nswitch costume to (some thing inside v)\nset size to (100) %\ngo to x: (192) y: (-142)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (10)\n            change size by (-1)\n        end\n    end\nend\n\nwhen this sprite clicked\nset [pixelate v] effect to (0)\nnext costume\nforever\n    go to [front v] layer\n    if <<(costume [name v]) = [Ver 1.1]> or <<(costume [name v]) = [Ver 1.2]> or <<(costume [name v]) = [Ver 1.3]> or <<(costume [name v]) = [Ver 1.4]> or <<(costume [name v]) = [Ver 1.5]> or <<(costume [name v]) = [Ver 1.6]> or <(costume [name v]) = [Ver 1.7]>>>>>>> then\n        go to x: (2) y: (-4)\n        if <key (space v) pressed?> then\n            repeat (10)\n                change [pixelate v] effect by (5)\n            end\n            set [pixelate v] effect to (0)\n            wait (0.1) seconds\n            next costume\n        end\n    else\n        set [pixelate v] effect to (0)\n        go to x: (192) y: (-142)\n        repeat (10)\n            change y by (1)\n        end\n        repeat (10)\n            change y by (-1)\n        end\n    end\nend\n\nwhen I receive [play button clicked v]\nhide\n\ngo to x: (192) y: (-142)\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 [credit v]\nhide\n\nwhen I receive [done credit v]\nshow\n\n@Player\n\nwhen flag clicked\nswitch costume to (normal v)\nhide\n\nwhen I receive [play button clicked v]\npoint in direction (90)\ngo to x: (-214) y: (115)\nswitch backdrop to (level1 v)\nshow\ngo to x: (-217) y: (-20)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    set rotation style [left-right v]\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        change [x v] by (-1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume4 v)\n        end\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        change [x v] by (1)\n        if <(backdrop [name v]) = [backdrop18]> then\n            switch costume to (costume5 v)\n        end\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by (-4)\n        change x by ((X) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [y v] to [17]\n            if <([abs v] of (X) ) = (X)> 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    change y by (Y)\n    if <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>> then\n        change y by ((Y) - ((Y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <<touching color (#000000)?> or <<touching color (#009933)?> or <touching color (#663b00)?>>>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <<(y position) = [-179]> or <<(y position) = [-192]> or <<(y position) = [-189]> or <<(y position) = [-185]> or <<(y position) = [-201]> or <<(y position) = [-184]> or <touching color (#ff0000)?>>>>>>> then\n        erase all\n        go to x: (-217) y: (-20)\n    end\n    if <(x position) > [222]> then\n        erase all\n        set [pen ink v] to [100]\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-20)\n    end\n    if <<touching color (#13bd49)?> or <touching color (#16e659)?>> then\n        set [y v] to [21]\n    end\nend\n\nwhen I receive [no skin v]\nswitch costume to (normal v)\n\nwhen I receive [tophat skin v]\nswitch costume to (tophat v)\n\nwhen I receive [warrior skin v]\nswitch costume to (warrior v)\n\nwhen I receive [tick's hat skin v]\nswitch costume to (tick's hat v)\n\nwhen I receive [sprout skin v]\nswitch costume to (sprout hat v)\n\nwhen I receive [trophy skin v]\nswitch costume to (trophy hat v)\n\nwhen I receive [reset level v]\ngo to x: (-217) y: (-20)\nerase all\n\nwhen I receive [sliver skin v]\nswitch costume to (silver1 v)\n\nwhen I receive [golden skin v]\nswitch costume to (golden v)\n\nwhen I receive [box face hat v]\nswitch costume to (box face hat v)\n\nwhen I receive [dream v]\nswitch costume to (dream v)\n\n@Pencil\n\nwhen flag clicked\nhide\n\nwhen I receive [play button clicked v]\nset [pen ink v] to [100]\nshow\nwait (0.5) seconds\nset pen color to (#000000)\nset pen size to (10)\nforever\n    go to (mouse-pointer v)\n    if <mouse down?> then\n        pen down\n    else\n        pen up\n    end\nend\n\n@Reset Button\n\nwhen flag clicked\ngo to x: (-188) y: (137)\nset size to (100) %\nhide\n\nwhen I receive [play button clicked v]\nshow\n\nwhen I receive [play button clicked v]\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (10)\n            change size by (1)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (10)\n            change size by (-1)\n        end\n    end\nend\n\nwhen I receive [play button clicked v]\nforever\n    repeat (10)\n        change y by (1)\n    end\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Reset Level v)\n\n@Layer 1\n\nwhen flag clicked\nhide\n\nwhen I receive [ocean menu v]\nset size to (200) %\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go to x: ((mouse x) / (5)) y: ((mouse y) / (10))\nend\n\nwhen I receive [ocean menu v]\nforever\n    if <(bob) < ((mouse x) / (5))> then\n        broadcast (Message2 v)\n    end\n    wait (0.05) seconds\n    if <(bob) > ((mouse x) / (5))> then\n        broadcast (message1 v)\n    end\nend\n\nwhen I receive [ocean menu v]\nforever\n    wait (0.1) seconds\n    set [bob v] to ((mouse x) / (5))\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [intro done v]\nforever\n    if <touching color (#009cff)?> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [credit v]\nhide\n\n@Layer 2\n\nwhen flag clicked\nhide\n\nwhen I receive [ocean menu v]\nshow\ngo [backward v] (1) layers\nset size to (200) %\ngo to x: (0) y: (0)\nforever\n    go to x: ((mouse x) / (15)) y: ((mouse y) / (20))\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [intro done v]\nforever\n    if <touching color (#009cff)?> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [credit v]\nhide\n\n@Layer 3\n\nwhen I receive [ocean menu v]\nshow\nset size to (200) %\ngo [backward v] (3) layers\ngo to x: (0) y: (0)\nforever\n    go to x: ((mouse x) / (35)) y: ((mouse y) / (40))\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [intro done v]\nforever\n    if <touching color (#009cff)?> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [credit v]\nhide\n\nwhen flag clicked\nhide\n\n@Layer 4\n\nwhen I receive [ocean menu v]\nshow\nset size to (200) %\ngo [backward v] (3) layers\ngo to x: (0) y: (0)\nforever\n    go to x: ((mouse x) / (45)) y: ((mouse y) / (50))\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [intro done v]\nforever\n    if <touching color (#009cff)?> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [credit v]\nhide\n\nwhen flag clicked\nhide\n\n@Layer 5\n\nwhen flag clicked\nhide\n\nwhen I receive [ocean menu v]\nshow\nset size to (200) %\ngo [backward v] (4) layers\ngo to x: (0) y: (0)\nforever\n    go to x: ((mouse x) / (55)) y: ((mouse y) / (60))\nend\n\nwhen I receive [play button clicked v]\nhide\n\nwhen I receive [menu v]\nhide\n\nwhen I receive [intro done v]\nforever\n    if <touching color (#009cff)?> then\n        show\n    else\n        hide\n    end\nend\n\nwhen I receive [credit v]\nhide\n\n