NEON (the scrolling platformer)

Instructions:            NEON\n         [NEON 2 is out]\n         mobile/computer\n         (Rolling platform)\n          By @T_PLAN\n          Idea by me\n           NO ADS\n\n ^^ So easy? If you leave a love I’ll make neon2(coming soon...maybe...2020/4/6?) :D\n ∷ X coordinate open world(if you can't fall XD)\n ∷ 10 levels (the 10th level is what I want to say)\n ∷ use ← → keys/tap left right screen to move\n ∷ use ↑ key/tap above of screen to jump\n ∷ yellow can make you jump high\n ∷ red / fall can make you die\n ∷ touch green to go to the next level\n\n 〼 music: rain (by blackmill)\n 〼 If you like this game don't forget leave a ❤️ and ⭐!\n\n#games #platformer #art #all #music #stories #T_PLAN #animations #popular #trending\n\n\n

@Stage\n\nwhen I receive [2 v]\nforever\n    play sound [Blackmill - Rain2 v] until done\nend\n\n@Nlogo2\n\ndefine 背景\npen up\nset pen color to (#8a55d7)\nset pen size to (250)\nset pen shade to (30)\ngo to x: (0) y: (10000)\npen down\nstart sound [BeepBox-Song v]\nrepeat (15)\n    change y by (((-180) - (y position)) / (6))\nend\npen up\nset pen shade to (50)\ngo to x: (240) y: (10000)\npen down\nstart sound [BeepBox-Song v]\nrepeat (15)\n    change y by (((-180) - (y position)) / (6))\nend\npen up\nset pen shade to (20)\ngo to x: (-240) y: (10000)\npen down\nstart sound [BeepBox-Song v]\nrepeat (20)\n    change y by (((-180) - (y position)) / (6))\nend\npen up\n\ndefine 角色\nset [id v] to [1]\ncreate clone of (_myself_ v)\nwait (0.2) seconds\nset [id v] to [2]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <not <(id) = [3]>> then\n    pen up\n    set size to (1) %\n    go to [front v] layer\n    show\n    set [ghost v] effect to (100)\n    point in direction (39)\n    if <(id) = [1]> then\n        go to x: (-4) y: (18)\n        switch costume to (nlogo4 v)\n    else\n        if <(id) = [2]> then\n            go to x: (-6) y: (-85)\n            switch costume to (nlogo3 v)\n        end\n    end\n    if <(id) = [1]> then\n        start sound [BeepBox-Song \(1\) v]\n    end\n    repeat (20)\n        change [ghost v] effect by (-5)\n        turn right (((91) - (direction)) / (6)) degrees\n    end\n    wait (2) seconds\n    if <(id) = [1]> then\n        start sound [BeepBox-Song \(2\) v]\n    end\n    set [y v] to [20]\n    broadcast (n v)\n    repeat (20)\n        change [ghost v] effect by (5)\n    end\n    delete this clone\nend\n\ndefine 反馈\nclear\n背景\n角色\nwait (3.5) seconds\n清除\nerase all\n\ndefine 清除\npen up\nset pen color to (#7f00ff)\nset pen size to (250)\ngo to x: (-240) y: (180)\npen down\nstart sound [BeepBox-Song2 v]\nrepeat (15)\n    change x by (((240) - (x position)) / (6))\nend\npen up\ngo to x: (240) y: (0)\npen down\nstart sound [BeepBox-Song2 v]\nrepeat (15)\n    change x by (((-240) - (x position)) / (6))\nend\npen up\ngo to x: (-240) y: (-189)\npen down\nstart sound [BeepBox-Song2 v]\nrepeat (15)\n    change x by (((240) - (x position)) / (6))\nend\npen up\nset [a v] to [0]\nset [n v] to [1]\nset [id v] to [3]\ncreate clone of (_myself_ v)\nbroadcast (消息1 v)\nbroadcast (2 v)\n\nwhen I start as a clone\nforever\n    if <not <(id) = [3]>> then\n        set [size v] to (((size) * (0.7)) + (((185) - (size)) / (6)))\n    end\nend\n\nwhen flag clicked\nset [n v] to [0]\nset [y v] to [0]\nhide\nset size to (1) %\nif <(a) = [1]> then\n    pen down\n    反馈\nelse\n    broadcast (消息1 v)\n    broadcast (2 v)\nend\n\nwhen I receive [n v]\nrepeat (10)\n    change [y v] by (-3)\nend\n\nwhen I start as a clone\nforever\n    if <not <(id) = [3]>> then\n        change size by (size)\n        change y by (y)\n    end\nend\n\ndefine clear\npen down\nset pen size to (250)\nset pen color to (#ffffff)\ngo to x: (-240) y: (180)\ngo to x: (-240) y: (0)\ngo to x: (-240) y: (-180)\ngo to x: (240) y: (180)\ngo to x: (240) y: (0)\ngo to x: (240) y: (-180)\n\nwhen I start as a clone\nclear graphic effects\nset size to (100) %\nif <(id) = [3]> then\n    go to x: (0) y: (0)\n    show\n    switch costume to (造型1 v)\n    go to [front v] layer\nend\nforever\n    if <(id) = [3]> then\n        if <(n) = [1]> then\n            wait (0.3) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            delete this clone\n        end\n    end\nend\n\nset [a v] to [1]\n\n@角色1\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.02)\nstart sound [recording1 v]\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nset size to (200) %\nshow\nrepeat (50)\n    change [ghost v] effect by (-10)\n    change size by (((100) - (size)) / (6))\n    go to [front v] layer\nend\n\n@角色2\n\nwhen flag clicked\nset [x v] to [0]\nset [cj x v] to [0]\nhide\n\ndefine clone x (x) y (y) cos (cos)\nswitch costume to (cos)\nset [x v] to (x)\nset y to (y)\ncreate clone of (_myself_ v)\n\ndefine p (x)\nset x to (x)\nif <(round (x)) = (round (x position))> then\n    show\nelse\n    hide\nend\n\nwhen I start as a clone\nforever\n    p ((x) - (cj x))\nend\n\ndefine lvl1\nclone x [-100] y [120] cos [t1]\nclone x [-140] y [-160] cos [1]\nclone x [140] y [-20] cos [1]\nclone x [500] y [-80] cos [1]\nclone x [800] y [0] cos [3]\nclone x [1000] y [-100] cos [3]\nclone x [1200] y [-80] cos [4]\nclone x [1400] y [0] cos [1]\nclone x [1700] y [0] cos [5]\n\nwhen I receive [2 v]\nrepeat (1)\n    delete this clone\nend\nset [lvl v] to [1]\nlvl1\n\nwhen I receive [next lvl v]\nwait (0.4) seconds\nrepeat (1)\n    delete this clone\nend\nchange [lvl v] by (1)\nif <(lvl) = [2]> then\n    lvl2\nelse\n    if <(lvl) = [3]> then\n        lvl3\n    else\n        if <(lvl) = [4]> then\n            lvl4\n        else\n            if <(lvl) = [5]> then\n                lvl5\n            else\n                if <(lvl) = [6]> then\n                    lvl6\n                else\n                    if <(lvl) = [7]> then\n                        lvl7\n                    else\n                        if <(lvl) = [8]> then\n                            lvl8\n                        else\n                            if <(lvl) = [9]> then\n                                lvl9\n                            else\n                                if <(lvl) = [10]> then\n                                    lvl10\n                                else\n                                    if <(lvl) = [11]> then\n                                        broadcast (end v)\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\ndefine lvl2\nclone x [-100] y [120] cos [t2]\nclone x [-140] y [-160] cos [1]\nclone x [100] y [-50] cos [3]\nclone x [300] y [-50] cos [6]\nclone x [500] y [-50] cos [3]\nclone x [700] y [-50] cos [6]\nclone x [900] y [-50] cos [3]\nclone x [1100] y [-50] cos [6]\nclone x [1300] y [-50] cos [5]\n\ndefine lvl3\nclone x [-100] y [120] cos [t3]\nclone x [-140] y [-160] cos [1]\nclone x [150] y [-160] cos [7]\nclone x [440] y [0] cos [1]\nclone x [730] y [-100] cos [7]\nclone x [1000] y [100] cos [5]\n\ndefine lvl4\nclone x [-100] y [120] cos [t4]\nclone x [-140] y [-160] cos [1]\nclone x [150] y [-160] cos [7]\nclone x [332] y [-160] cos [7]\nclone x [332] y [100] cos [6]\nclone x [514] y [-160] cos [7]\nclone x [696] y [-160] cos [7]\nclone x [696] y [100] cos [6]\nclone x [878] y [-160] cos [7]\nclone x [1060] y [-160] cos [7]\nclone x [1060] y [100] cos [6]\nclone x [1242] y [-160] cos [7]\nclone x [1500] y [-160] cos [5]\n\nbroadcast (next lvl v)\n\ndefine lvl5\nclone x [-100] y [120] cos [t5]\nclone x [-140] y [-160] cos [1]\nclone x [300] y [-160] cos [1]\nclone x [700] y [-160] cos [1]\nclone x [1100] y [-160] cos [1]\nclone x [1500] y [-160] cos [1]\nclone x [1900] y [-160] cos [1]\nclone x [2200] y [-160] cos [5]\n\ndefine lvl6\nclone x [-100] y [120] cos [t6]\nclone x [-140] y [-160] cos [1]\nclone x [200] y [-20] cos [3]\nclone x [300] y [-70] cos [6]\nclone x [500] y [-20] cos [3]\nclone x [700] y [70] cos [6]\nclone x [700] y [-100] cos [1]\nclone x [950] y [-10] cos [3]\nclone x [1150] y [-160] cos [7]\nclone x [1550] y [20] cos [1]\nclone x [1650] y [-100] cos [3]\nclone x [1850] y [-100] cos [6]\nclone x [2050] y [-100] cos [3]\nclone x [2250] y [-100] cos [6]\nclone x [2500] y [-100] cos [1]\nclone x [2800] y [-100] cos [7]\nclone x [3000] y [100] cos [1]\nclone x [3200] y [-50] cos [3]\nclone x [3450] y [100] cos [5]\n\ndefine lvl7\nclone x [-100] y [120] cos [t7]\nclone x [-140] y [-160] cos [7]\nclone x [100] y [-160] cos [6]\nclone x [340] y [-160] cos [7]\nclone x [580] y [-160] cos [6]\nclone x [820] y [-160] cos [7]\nclone x [1060] y [-160] cos [6]\nclone x [1300] y [-160] cos [5]\n\ndefine lvl8\nclone x [-100] y [120] cos [t8]\nclone x [-140] y [-160] cos [1]\nclone x [200] y [0] cos [3]\nclone x [500] y [50] cos [3]\nclone x [800] y [-50] cos [3]\nclone x [1000] y [-100] cos [3]\nclone x [1200] y [50] cos [3]\nclone x [1400] y [-100] cos [5]\n\ndefine lvl9\nclone x [-100] y [120] cos [t9]\nclone x [-140] y [-160] cos [1]\nclone x [130] y [-160] cos [3]\nclone x [600] y [-160] cos [5]\n\ndefine lvl10\nclone x [-100] y [120] cos [t10]\nclone x [200] y [90] cos [s1]\nclone x [500] y [90] cos [s2]\nclone x [800] y [90] cos [s3]\nclone x [-140] y [-160] cos [1]\nclone x [150] y [-160] cos [1]\nclone x [300] y [-160] cos [1]\nclone x [450] y [-160] cos [1]\nclone x [600] y [-160] cos [1]\nclone x [750] y [-160] cos [1]\nclone x [900] y [-160] cos [1]\nclone x [1200] y [-160] cos [5]\n\n@角色3\n\nwhen flag clicked\nset size to (100) %\nswitch costume to (100 \(54\) v)\nhide\n\nwhen I receive [2 v]\nwait (0.6) seconds\ngo to x: (-160) y: (-130)\nset [die? v] to [0]\nset [yzb v] to [0]\nset [xzb v] to [0]\nset [cj x ys v] to [0]\ngo to [front v] layer\nshow\nforever\n    if <(DIE?) = [0]> then\n        if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > [0]>>> then\n            point in direction (90)\n            if <[120] < (x position)> then\n                change x by (((120) - (x position)) / (6))\n                change [cj x ys v] by (2)\n            else\n                change [xzb v] by (2)\n            end\n        end\n        if <<key (left arrow v) pressed?> or <<mouse down?> and <[0] > (mouse x)>>> then\n            point in direction (-90)\n            if <(x position) < [-120]> then\n                if <(cj x) < [0]> then\n                    if <(x position) < [-210]> then\n                        change x by (((-210) - (x position)) / (6))\n                    end\n                else\n                    change x by (((-120) - (x position)) / (6))\n                    change [cj x ys v] by (-2)\n                end\n            else\n                change [xzb v] by (-2)\n            end\n        end\n        1\n        set [xzb v] to ((Xzb) * (0.8))\n        set [cj x ys v] to ((cj x ys) * (0.8))\n        change x by (Xzb)\n        if <color (#2a8cbd) is touching (#ffffff)?> then\n            change y by (1)\n            if <color (#2a8cbd) is touching (#ffffff)?> then\n                change y by (1)\n                if <color (#2a8cbd) is touching (#ffffff)?> then\n                    change y by (1)\n                    if <color (#2a8cbd) is touching (#ffffff)?> then\n                        change y by (1)\n                        if <color (#2a8cbd) is touching (#ffffff)?> then\n                            change y by (1)\n                            if <color (#2a8cbd) is touching (#ffffff)?> then\n                                change x by ((Xzb) * (-1))\n                                change [cj x v] by ((cj x ys) * (-1))\n                                change y by (-5)\n                                if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [30]>>> then\n                                    if <(Xzb) > [0]> then\n                                        set [xzb v] to [-5]\n                                        set [cj x ys v] to [-3]\n                                    else\n                                        set [cj x ys v] to [3]\n                                        set [xzb v] to [5]\n                                    end\n                                    set [yzb v] to [10]\n                                else\n                                    set [xzb v] to [0]\n                                    set [cj x ys v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n        change [yzb v] by (-1)\n        change y by (yzb)\n        if <color (#2a8cbd) is touching (#ffffff)?> then\n            change y by ((yzb) * (-1))\n            set [yzb v] to [0]\n        end\n        change y by (-1)\n        if <color (#2a8cbd) is touching (#ffffff)?> then\n            if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > [30]>>> then\n                set [yzb v] to [15]\n            end\n        end\n        change y by (1)\n        判断\n    end\nend\n\ndefine 判断\nif <(y position) < [-180]> then\n    death animation\nelse\n    if <color (#2a8cbd) is touching (#38ff70)?> then\n        win animation\n    else\n        if <color (#2a8cbd) is touching (#ff2b2b)?> then\n            death animation\n        else\n            if <color (#2a8cbd) is touching (#ffee27)?> then\n                set [yzb v] to [20]\n            end\n        end\n    end\nend\n\ndefine death animation\nset [die? v] to [1]\nrepeat (25)\n    change size by (((200) - (size)) / (6))\n    change [ghost v] effect by (10)\nend\nrepeat (25)\n    change [cj x v] by (((0) - (cj x)) / (6))\nend\ngo to x: (-160) y: (-130)\nrepeat (25)\n    change size by (((100) - (size)) / (6))\n    change [ghost v] effect by (-10)\nend\nset [die? v] to [0]\n\nchange y by (((-130) - (y position)) / (1))\n\nchange x by ((Xzb) * (-1))\n\ndefine 1\nif <not <color (#2887b6) is touching (#ffffff)?>> then\n    change [cj x v] by (cj x ys)\nelse\n    move (-1) steps\nend\n\ndefine win animation\nset [die? v] to [1]\nrepeat (25)\n    change size by (((200) - (size)) / (6))\n    change [ghost v] effect by (10)\nend\nbroadcast (next lvl v)\n\nwhen I receive [next end v]\nwait (0.4) seconds\ngo to x: (-160) y: (-130)\nrepeat (25)\n    change size by (((100) - (size)) / (6))\n    change [ghost v] effect by (-10)\nend\nset [die? v] to [0]\n\nwhen I receive [next end v]\nif <(lvl) = [11]> then\n    hide\n    stop [other scripts in sprite v]\nend\n\n@角色4\n\nwhen flag clicked\nhide\n\nwhen I receive [2 v]\nwait (0.6) seconds\ngo to [front v] layer\nswitch costume to (100 \(54\)2 v)\nshow\nforever\n    go to [front v] layer\n    change x by ((([x position v] of [角色3 v]) - (x position)) / (1))\n    change y by ((([y position v] of [角色3 v]) - (y position)) / (1))\n    if <(DIE?) = [1]> then\n        change [ghost v] effect by (25)\n    else\n        change [ghost v] effect by (-25)\n    end\nend\n\n@角色5\n\nwhen flag clicked\nhide\n\nwhen I receive [next lvl v]\nrepeat (1)\n    delete this clone\nend\nc [1] [3]\n\ndefine c (id) (t)\nset [id v] to (id)\nrepeat (t)\n    create clone of (_myself_ v)\n    change [id v] by (1)\nend\n\nwhen I start as a clone\nshow\ngo to [front v] layer\ngo to x: (-500) y: (0)\nif <(id) = [1]> then\n    switch costume to (造型3 v)\nelse\n    if <(id) = [2]> then\n        switch costume to (造型2 v)\n    else\n        if <(id) = [3]> then\n            switch costume to (造型1 v)\n        end\n    end\nend\nrepeat (17)\n    change x by (((0) - (x position)) * (0.3))\nend\nstart sound [BeepBox-Song \(29\) v]\nset [cj x v] to [0]\nif <(id) = [2]> then\n    repeat (19)\n        change y by (((y position) - (1)) * (0.3))\n    end\n    delete this clone\nelse\n    if <(id) = [3]> then\n        repeat (19)\n            change y by (((y position) - (-1)) * (0.3))\n        end\n        delete this clone\n    else\n        if <(id) = [1]> then\n            wait (0.5) seconds\n            repeat (10)\n                change [ghost v] effect by (10)\n            end\n            broadcast (next end v)\n            delete this clone\n        end\n    end\nend\n\n@角色6\n\nwhen flag clicked\nhide\n\nwhen I receive [end v]\ngo to x: (0) y: (0)\nshow\nforever\n    go to x: ((mouse x) * (-0.1)) y: ((mouse y) * (-0.1))\nend\n\n