Adventurous - A Platformer

Instructions: By POYRAZ namely me\n\nAdvertising(Reklam):⛔\n\nTurbo Mod\nhttps://turbowarp.org/485160400\n\nEN:\nHi friends\nWelcome to the Electric Current Platformer game.\nIf the last level is included, it will be a 17 level game.\nLike, Add to Favorites and Follow.\n\nTR:\n\nMerhaba arkadaşlar\nElektrik Akımı Platformer oyununa hoş geldiniz.\nSon seviye dahil edilirse, 17 seviyeli bir oyun olacaktır.\nBeğen,Favorilere Ekle ve Takip Et.

@Stage\n\nwhen flag clicked\npoint in direction (90)\nset [level v] to [1]\nwait (3) seconds\ngo to x: (-198) y: (-41)\nset rotation style [left-right v]\nset [y val v] to [0]\nset [x val v] to [0]\nforever\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<mouse down?> and <(x position) > (mouse x)>>> then\n        change [x val v] by (-0.5)\n        switch costume to (left 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        change [x val v] by (0.5)\n        switch costume to (right v)\n    end\n    change x by (x val)\n    set [x val v] to ((x val) * (0.9))\n    if <touching (ground v)?> then\n        change y by (0.5)\n        if <touching (ground v)?> then\n            change y by (0.5)\n            if <touching (ground v)?> then\n                change y by (0.5)\n                if <touching (ground v)?> then\n                    change y by (0.5)\n                    if <touching (ground v)?> then\n                        change y by (0.5)\n                        if <touching (ground v)?> then\n                            change y by (0.5)\n                            if <touching (ground v)?> then\n                                change y by (0.5)\n                                if <touching (ground v)?> then\n                                    change y by (0.5)\n                                    if <touching (ground v)?> then\n                                        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n                                            if <(x val) > [0]> then\n                                                set [x val v] to [-7]\n                                            else\n                                                set [x val v] to [7]\n                                            end\n                                            set [y val v] to [8]\n                                        else\n                                            set [x val v] to ((x val) * (-1.3))\n                                            change x by (x val)\n                                            set [x val v] to [0]\n                                            change x by ((x val) / (5))\n                                        end\n                                        change y by (-4)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y val v] by (-0.5)\n    change y by (y val)\n    if <touching (ground v)?> then\n        set [y val v] to ((y val) * (-0.25))\n        change y by (y val)\n        if <touching (ground v)?> then\n            change y by (y val)\n            if <touching (ground v)?> then\n                change y by (y val)\n                if <touching (ground v)?> then\n                    change y by (y val)\n                end\n            end\n        end\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 [y val v] to [7]\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nforever\n    set volume to (60) %\n    play sound [Super World v] until done\nend\n\nswitch backdrop to (backdrop2 v)\n\nplay sound [Vexento - Digital Kiss.mp3 v] until done\n\n@Levels\n\nwhen flag clicked\nset [level v] to [1]\nhide\n\nwhen I receive [playerrenderdone v]\nRender (Level)\n\ndefine Render (#level)\npoint in direction (90)\nif <(#level) = [1]> then\n    Draw ground\n    Draw line from [0] [-108] to [0] [23] with size [13]\nend\nif <(#level) = [2]> then\n    Draw ground\n    set pen color to (#71d019)\n    Draw line from [-94] [-113] to [-94] [12] with size [13]\n    Draw line from [-15] [-29] to [-15] [83] with size [13]\n    set pen size to (9)\n    set pen color to (#f10707)\n    pen up\n    change x by (-12)\n    change y by (-8)\n    pen down\n    change y by (-100)\n    Draw line from [18] [-102] to [118] [-102] with size [9]\nend\nif <(#level) = [3]> then\n    Draw ground\n    set pen color to (#f10707)\n    Draw line from [-237] [-103] to [145] [-103] with size [9]\n    set pen color to (#71d019)\n    Draw line from [-225] [-63] to [-115] [-63] with size [13]\n    set pen color to (#fa00ff)\n    Draw line from [-160] [-52] to [-122] [-52] with size [9]\nend\nif <(#level) = [4]> then\n    Draw ground\n    set pen color to (#71d019)\n    Draw line from [-100] [-114] to [-100] [-21] with size [13]\n    Draw line from [-100] [48] to [200] [48] with size [13]\n    pen up\n    go to x: (-100) y: (48)\n    change y by (-11)\n    change x by (8)\n    set pen color to (#f10707)\n    Draw line from (x position) (y position) to ((x position) + (283)) (y position) with size [9]\n    set pen color to (#fa00ff)\n    Draw line from [-50] [-103] to [55] [-103] with size [9]\n    Draw line from [100] [-103] to [180] [-103] with size [9]\nend\nif <(#level) = [5]> then\n    set pen color to (#f10707)\n    Draw line from [44] [-116] to [44] [-1] with size [9]\n    Draw line from [44] [-104] to [99] [-104] with size [9]\n    pen up\n    change x by (-175)\n    pen down\n    change x by (120)\n    Draw ground\n    pen up\n    set pen color to (#71d019)\n    Draw line from [-87] [-114] to [-20] [-50] with size [13]\nend\nif <(#level) = [6]> then\n    Draw ground\n    set pen color to (#71d019)\n    Draw line from [236] [-114] to [236] [777] with size [13]\nend\n\ndefine Draw ground\npen up\nset pen color to (#b35a2e)\nDraw line from [-232] [-167] to [232] [-167] with size [100]\nset pen color to (#71d019)\nDraw line from [-237] [-114] to [237] [-114] with size [13]\n\ndefine Draw line from (x1) (y1) to (x2) (y2) with size (pen size)\nset pen size to (pen size)\npen up\ngo to x: (x1) y: (y1)\npen down\ngo to x: (x2) y: (y2)\n\n@Player\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (costume1 v)\nset [xval v] to [0]\nset [yval v] to [0]\nforever\n    clear graphic effects\n    set [xval v] to ((xval) * (0.85))\n    change x by (xval)\n    if <touching color (#71d019)?> then\n        change y by (-2)\n        if <touching color (#71d019)?> then\n            change y by (1)\n            if <touching color (#71d019)?> then\n                change y by (1)\n                if <touching color (#71d019)?> then\n                    change y by (1)\n                    if <touching color (#71d019)?> then\n                        change y by (1)\n                        if <touching color (#71d019)?> then\n                            change y by (1)\n                            if <touching color (#71d019)?> then\n                                change y by (-5)\n                                change x by ((-1) * (xval))\n                                if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <(mouse x) > (x position)>> or <<mouse down?> and <(mouse x) < (x position)>>>> and <not <(xval) = [0]>>> then\n                                    set [yval v] to [8]\n                                    set [xval v] to (((xval) / ([abs v] of (xval) )) * (-10))\n                                else\n                                    set [xval v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change y by (2)\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 [xval v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xval v] by (1)\n    end\n    change y by (-3)\n    if <touching color (#71d019)?> then\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [yval v] to [7.5]\n        end\n    end\n    change y by (3)\n    if <(yval) > [-15]> then\n        change [yval v] by (-0.5)\n    end\n    change y by (-2)\n    if <not <touching color (#71d019)?>> then\n        change y by (-1)\n        if <not <touching color (#71d019)?>> then\n            change y by (-1)\n            if <not <touching color (#71d019)?>> then\n                change y by (-1)\n                if <not <touching color (#71d019)?>> then\n                    change y by (-1)\n                    if <not <touching color (#71d019)?>> then\n                        change y by (-1)\n                        if <not <touching color (#71d019)?>> then\n                            change y by (5)\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (2)\n    change y by (yval)\n    if <touching color (#71d019)?> then\n        change y by (-2)\n        if <touching color (#71d019)?> then\n            change y by ((-1) * (yval))\n            set [yval v] to [-3]\n        end\n        change y by (2)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (-216) y: (-35)\nforever\n    PlayerRender\nend\n\nwhen flag clicked\nforever\n    wait until <(x position) > [228]>\n    broadcast (Next v) and wait\n    wait until <not <(x position) > [228]>>\nend\n\ndefine PlayerRender\nif <touching color (#f00707)?> then\n    go to x: (-216) y: (-35)\n    set [xval v] to [0]\n    set [yval v] to [0]\nend\nif <touching color (#fa00ff)?> then\n    set [yval v] to [13]\nend\nerase all\nbroadcast (PlayerRenderDone v)\nset pen color to (#042990)\nset pen size to (16)\npen down\npen up\n\nwhen I receive [next v]\nchange [level v] by (1)\n\nwhen I receive [next v]\ngo to x: (-216) y: (0)\n\n@TN\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\n\n