Ouside Demo - Pen Platformer

Instructions: Hi ! Welcome to OᑌᔕIᗪE ᗪEᗰO -  ᑭEᑎ ᑭᒪᗩTᖴOᖇᗰEᖇ !\nClick on the green flag :D\nPress the arrows to move !\nNo advertising !\nArt - 100% by @kodiak77-77 (me)\nIf you can love and favorite ! :D\nI know it's short but it's normal because it's a test !\n@--Dove-- love and favorite this game ! \nI think i will make a full version :D

@Stage\n\nwhen flag clicked\nswitch backdrop to (1 v)\nstart sound [TheFatRat - Epic \[Jackpot EP Track 2\] v]\n\nwhen flag clicked\nforever\n    if <(Next level) = [1]> then\n        switch backdrop to (2 v)\n    end\nend\n\n@Player\n\nwhen flag clicked\nset [ghost v] effect to (0)\nset size to (50) %\nswitch costume to (1 v)\nshow\ngo to x: (-150) y: (77)\npoint in direction (90)\nset [yv v] to [0]\nforever\n    set [xv v] to [0]\n    forever\n        change [yv v] by (-0.5)\n        if <key (right arrow v) pressed?> then\n            change [xv v] by (0.7)\n        end\n        if <key (left arrow v) pressed?> then\n            change [xv v] by (-0.7)\n        end\n        set [xv v] to ((Xv) * (0.9))\n        change x by (Xv)\n        if <touching color (#17ca5e)?> then\n            change y by (1)\n            if <touching color (#17ca5e)?> then\n                change y by (1)\n                if <touching color (#17ca5e)?> then\n                    change y by (1)\n                    if <touching color (#17ca5e)?> then\n                        change y by (1)\n                        if <touching color (#17ca5e)?> then\n                            change y by (1)\n                            if <touching color (#17ca5e)?> then\n                                change x by ((Xv) * (-1))\n                                change x by (-1)\n                                change y by (-5)\n                            end\n                            if <touching (null v)?> then\n                                change x by (Change)\n                            end\n                            change x by (1)\n                            if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (Yv)\n        if <touching color (#17ca5e)?> then\n            change y by ((Yv) * (-1))\n            set [yv v] to [0]\n        end\n        change y by (-1)\n        if <touching color (#17ca5e)?> then\n            if <<key (up arrow v) pressed?> or <key (space v) pressed?>> then\n                set [yv v] to [10]\n            end\n        end\n        if <<touching color (#000000)?> or <touching color (#612900)?>> then\n            start sound [Bonk v]\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            go to x: (-175) y: (77)\n            set [ghost v] effect to (0)\n            set [xv v] to [0]\n            set [yv v] to [0]\n        end\n        if <touching color (#c34200)?> then\n            start sound [Magic Spell v]\n            go to x: (75) y: (-22)\n        end\n        if <(y position) < [-180]> then\n            wait (0.01) seconds\n            start sound [Bonk v]\n            set [xv v] to [0]\n            set [yv v] to [0]\n            go to x: (-175) y: (77)\n        end\n    end\nend\n\nwhen I receive [#1 v]\ngo to x: (-175) y: (77)\n\n@Map \n\nwhen flag clicked\nset [ghost v] effect to (100)\nset size to (1) %\ngo to x: (-800) y: (-20)\nerase all\npen down\nset pen size to (10)\nset pen color to (#17ca5f)\nglide (0.2) secs to x: (300) y: (-20)\npen up\ngo to x: (-600) y: (-30)\nset pen color to (#009804)\npen down\nglide (0.2) secs to x: (300) y: (-30)\nset pen color to (#612900)\nset pen size to (40)\npen up\ngo to x: (-600) y: (-55)\npen down\nglide (0.2) secs to x: (300) y: (-55)\npen up\ngo to x: (-600) y: (-95)\npen down\nglide (0.2) secs to x: (300) y: (-95)\npen up\ngo to x: (-600) y: (-130)\npen down\nglide (0.2) secs to x: (300) y: (-130)\npen up\nset pen color to (#422010)\ngo to x: (-600) y: (-170)\npen down\nglide (0.1) secs to x: (0) y: (-160)\nglide (0.1) secs to x: (300) y: (-170)\n\nwhen flag clicked\nforever\n    if <(Next level) = [1]> then\n        set pen color to (#17ca5f)\n        pen up\n        go to x: (0) y: (-13)\n        pen down\n        go to x: (0) y: (50)\n        pen up\n        set pen size to (30)\n        set pen color to (#612900)\n        go to x: (0) y: (-50)\n        pen down\n        go to x: (0) y: (48)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Next level) = [2]> then\n        erase all\n        pen up\n        set pen size to (10)\n        set pen color to (#17ca5e)\n        go to x: (-300) y: (-55)\n        pen down\n        go to x: (-66) y: (-55)\n        go to x: (300) y: (-120)\n        pen up\n        set pen color to (#009803)\n        go to x: (-300) y: (-65)\n        pen down\n        go to x: (-66) y: (-65)\n        go to x: (300) y: (-130)\n        pen up\n        set pen size to (40)\n        set pen color to (#612900)\n        go to x: (-300) y: (-90)\n        pen down\n        go to x: (-66) y: (-90)\n        go to x: (300) y: (-156)\n        pen up\n        go to x: (-300) y: (-130)\n        pen down\n        go to x: (-66) y: (-130)\n        go to x: (300) y: (-200)\n        pen up\n        go to x: (-300) y: (-168)\n        set pen color to (#422010)\n        pen down\n        go to x: (-66) y: (-168)\n        set pen size to (30)\n        go to x: (-66) y: (-163)\n        go to x: (300) y: (-200)\n        pen up\n        set pen color to (#000000)\n        set pen size to (10)\n        go to x: (33) y: (-67)\n        pen down\n        go to x: (65) y: (-40)\n        go to x: (80) y: (-78)\n        go to x: (33) y: (-67)\n        go to x: (70) y: (-50)\n        go to x: (50) y: (-70)\n        go to x: (70) y: (-65)\n        pen up\n        go to x: (150) y: (-94)\n        set pen size to (35)\n        set pen color to (#17ca5e)\n        pen down\n        go to x: (150) y: (100)\n        pen up\n        go to x: (150) y: (-150)\n        set pen size to (25)\n        set pen color to (#612900)\n        pen down\n        go to x: (150) y: (100)\n        pen up\n        set pen size to (40)\n        set pen color to (#422010)\n        pen up\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Next level) = [3]> then\n        erase all\n        pen up\n        set pen size to (10)\n        set pen color to (#17ca5e)\n        go to x: (-300) y: (-100)\n        pen down\n        go to x: (-80) y: (-60)\n        go to x: (300) y: (-60)\n        pen up\n        set pen size to (10)\n        set pen color to (#009803)\n        go to x: (-300) y: (-110)\n        pen down\n        go to x: (-80) y: (-70)\n        go to x: (300) y: (-70)\n        pen up\n        set pen size to (40)\n        set pen color to (#612900)\n        go to x: (-300) y: (-135)\n        pen down\n        go to x: (-80) y: (-95)\n        go to x: (300) y: (-95)\n        pen up\n        go to x: (-300) y: (-175)\n        pen down\n        go to x: (-80) y: (-130)\n        go to x: (300) y: (-130)\n        pen up\n        set pen color to (#422010)\n        set pen size to (40)\n        go to x: (-300) y: (-200)\n        pen down\n        go to x: (-50) y: (-140)\n        go to x: (300) y: (-140)\n        pen up\n        go to x: (-300) y: (-200)\n        pen down\n        go to x: (300) y: (-200)\n        pen up\n        set pen size to (40)\n        set pen color to (#17ca5e)\n        go to x: (21) y: (-54)\n        pen down\n        go to x: (21) y: (300)\n        pen up\n        set pen size to (30)\n        set pen color to (#612900)\n        go to x: (21) y: (-80)\n        pen down\n        go to x: (21) y: (300)\n        pen up\n        set pen color to (#000000)\n        set pen size to (10)\n        go to x: (-60) y: (-53)\n        pen down\n        go to x: (-35) y: (-15)\n        go to x: (-10) y: (-53)\n        go to x: (-60) y: (-53)\n        go to x: (-32) y: (-28)\n        go to x: (-20) y: (-50)\n        go to x: (-45) y: (-45)\n        go to x: (-30) y: (-37)\n        pen up\n        set pen size to (55)\n        set pen color to (#c34200)\n        go to x: (-33) y: (145)\n        pen down\n        pen up\n        set pen color to (#c73800)\n        go to x: (75) y: (-22)\n        pen down\n        pen up\n        set pen color to (#17ca5e)\n        set pen size to (40)\n        go to x: (181) y: (-50)\n        pen down\n        go to x: (181) y: (110)\n        pen up\n        set pen color to (#612900)\n        set pen size to (30)\n        go to x: (181) y: (-80)\n        pen down\n        go to x: (181) y: (110)\n        pen up\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Next level) = [4]> then\n        erase all\n        pen up\n        set pen size to (10)\n        set pen color to (#17ca5e)\n        go to x: (-300) y: (-100)\n        pen down\n        go to x: (-140) y: (-100)\n        go to x: (-140) y: (-200)\n        pen up\n        set pen color to (#612900)\n        set pen size to (20)\n        go to x: (-300) y: (-115)\n        pen down\n        go to x: (-153) y: (-115)\n        go to x: (-153) y: (-300)\n        pen up\n        go to x: (-300) y: (-135)\n        pen down\n        go to x: (-168) y: (-135)\n        go to x: (-168) y: (-300)\n        pen up\n        go to x: (-300) y: (-155)\n        pen down\n        go to x: (-168) y: (-155)\n        go to x: (-168) y: (-300)\n        pen up\n        go to x: (-300) y: (-170)\n        pen down\n        go to x: (-168) y: (-170)\n        pen up\n        go to x: (-55) y: (-30)\n        set pen size to (20)\n        set pen color to (#17ca5e)\n        pen down\n        go to x: (5) y: (-30)\n        pen up\n        set pen color to (#542200)\n        set pen size to (20)\n        go to x: (-55) y: (-35)\n        pen down\n        go to x: (5) y: (-35)\n        pen up\n        set pen color to (#17ca5e)\n        set pen size to (40)\n        go to x: (120) y: (-399)\n        pen down\n        go to x: (120) y: (120)\n        pen up\n        set pen color to (#612900)\n        set pen size to (30)\n        go to x: (120) y: (-399)\n        pen down\n        go to x: (120) y: (120)\n        pen up\n        set pen color to (#17ca5e)\n        set pen size to (40)\n        go to x: (210) y: (399)\n        pen down\n        go to x: (210) y: (-100)\n        pen up\n        set pen color to (#612900)\n        set pen size to (30)\n        go to x: (210) y: (399)\n        pen down\n        go to x: (210) y: (-100)\n        pen up\n        set pen color to (#17ca5e)\n        go to x: (149.8) y: (-200)\n        pen down\n        go to x: (300) y: (-200)\n        pen up\n        set pen color to (#612900)\n        set pen size to (20)\n        go to x: (140) y: (-200)\n        pen down\n        go to x: (300) y: (-200)\n        pen up\n    end\nend\n\nwhen flag clicked\nforever\n    if <(Next level) = [5]> then\n        erase all\n        pen down\n        set pen size to (10)\n        set pen color to (#17ca5f)\n        glide (0) secs to x: (300) y: (-20)\n        pen up\n        go to x: (-600) y: (-30)\n        set pen color to (#17ca5e)\n        pen down\n        glide (0) secs to x: (300) y: (-30)\n        set pen color to (#612900)\n        set pen size to (40)\n        pen up\n        go to x: (-600) y: (-55)\n        pen down\n        glide (0) secs to x: (300) y: (-55)\n        pen up\n        go to x: (-600) y: (-95)\n        pen down\n        glide (0) secs to x: (300) y: (-95)\n        pen up\n        go to x: (-600) y: (-130)\n        pen down\n        glide (0) secs to x: (300) y: (-130)\n        pen up\n        set pen color to (#422010)\n        go to x: (-600) y: (-170)\n        pen down\n        glide (0) secs to x: (0) y: (-160)\n        glide (0) secs to x: (300) y: (-170)\n        pen up\n        broadcast (#2 v)\n    end\nend\n\n@Next level\n\nwhen flag clicked\nset [next level v] to [0]\ngo to x: (300) y: (-23)\nset [ghost v] effect to (100)\nrepeat until <(Next level) = [5]>\n    if <touching (player v)?> then\n        broadcast (#1 v)\n        change [next level v] by (1)\n    end\nend\n\n@Outro\n\nwhen flag clicked\nshow\nset size to (100) %\nswitch costume to (1 v)\ngo to [back v] layer\nset [ghost v] effect to (100)\ngo to x: (10) y: (110)\n\nwhen I receive [#2 v]\nrepeat (50)\n    change [ghost v] effect by (-2)\nend\n\nwhen I start as a clone\nset size to (80) %\nset [ghost v] effect to (0)\nswitch costume to (2 v)\ngo to x: (-173) y: (-129)\nforever\n    glide (0.6) secs to x: (-173) y: (-129)\n    glide (0.6) secs to x: (-173) y: (-125)\nend\n\nwhen I receive [#2 v]\ncreate clone of (_myself_ v)\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (-65) y: (-17)\nset [ghost v] effect to (100)\nshow\nforever\n    go to [front v] layer\nend\n\n@Thumbnail2\n\nwhen flag clicked\ngo to x: (-65) y: (-17)\nset [ghost v] effect to (100)\ngo to [front v] layer\nshow\nwait (1) seconds\nhide\nstop [this script v]\n\n