NOTE PLATFORMER - 2D
@Stage\n\n@#PLAYER\n\nwhen flag clicked\nbroadcast (GAME ON v)\n\nwhen I receive [game on v]\nset [xv v] to [-190]\nset [yv v] to [-25]\nset [level v] to [1]\ngo to x: (XV) y: (YV)\nset size to (85) %\nshow\nset [y v] to [0]\nset [x v] to [0]\nset [🤕 v] to [0]\nshow variable [❌ + 🤕 v]\nstart sound [Connect v]\nforever\n    go to [back v] layer\n    set [y v] to [0]\n    set [x v] to [0]\n    forever\n        change [y v] by (-1)\n        set [x v] to ((X) * (0.9))\n        if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<<mouse down?> and <(x position) > (mouse x)>> and <(skip?) = [0]>>> then\n            change [x 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)>> and <(skip?) = [0]>>> then\n            change [x v] by (1)\n        end\n        change x by (X)\n        if <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>> then\n            change y by (1)\n        end\n        if <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>> then\n            change y by (1)\n        end\n        if <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>> then\n            change y by (1)\n        end\n        if <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>> then\n            change y by (1)\n        end\n        if <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>> then\n            change y by (-4)\n            change x by ((X) * (-1))\n            if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<<mouse down?> and <(mouse y) > (y position)>> and <(skip?) = [0]>>> then\n                set [y v] to [10]\n                if <([abs v] of (X) ) = (X)> then\n                    set [x v] to [-4]\n                else\n                    set [x v] to [4]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n        change y by (Y)\n        if <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>> 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?>> or <<<mouse down?> and <(mouse y) > (y position)>> and <(skip?) = [0]>>> and <<touching (#bonse_bridge v)?> or <touching (#platforms v)?>>> then\n            set [y v] to [15]\n        end\n        change y by (1)\n        if <touching (#trampoline v)?> then\n            set [y v] to [22]\n        end\n        if <<<<touching (#danger v)?> or <touching (#lava v)?>> or <<touching (#enemy_1 v)?> or <touching (#enemy_2 v)?>>> or <(y position) < [-170]>> then\n            change [🤕 v] by (1)\n            start sound [Roblox Death Sound - OOF Sound Effect v]\n            broadcast (SET v)\n            wait (0.1) seconds\n        end\n        if <(x position) > [240]> then\n            change [level v] by (1)\n            go to x: (XV) y: (YV)\n        end\n        if <touching (#bonse v)?> then\n            set [level v] to [B]\n        end\n        if <(LEVEL) = [B]> then\n            if <touching (#key v)?> then\n                set [level v] to [7]\n                set [px v] to [1]\n                broadcast (SET v)\n            end\n        end\n    end\nend\n\nwhen I receive [set v]\ngo to x: (XV) y: (YV)\n\nwhen I receive [game on v]\nset [❌ v] to [DEATH]\nset [🤕 v] to [0]\nforever\n    set [❌ + 🤕 v] to (join (❌) (join [ : ] (🤕)))\nend\n\nwhen [r v] key pressed\ngo to x: (XV) y: (YV)\n\nwhen I receive [game on v]\nforever\n    play sound [Allison & Vexento - Mango Breeze v] until done\nend\n\n@#PLATFORMS\n\nwhen flag clicked\n\nnext costume\n\nwhen I receive [game on v]\ngo to x: (0) y: (0)\nswitch costume to (costume-1 v)\nshow\nforever\n    switch costume to (LEVEL)\nend\n\nwhen I receive [game on v]\nshow\nforever\n    if <(LEVEL) = [20]> then\n        broadcast (SKIP 📛 v)\n    end\n    if <(LEVEL) = [B]> then\n        switch costume to (costume-b v)\n    end\nend\n\nbroadcast (SET v)\n\n@#DANGER\n\nwhen I receive [game on v]\nswitch costume to (danger ⇢ level 1 v)\ngo to x: (0) y: (0)\ngo to [back v] layer\nshow\nforever\n    if <(LEVEL) = [B]> then\n        switch costume to (costumeb v)\n    else\n        switch costume to (LEVEL)\n    end\nend\n\n@#LEVEL?\n\nwhen flag clicked\n\nwhen I receive [game on v]\nswitch costume to (level :1 v)\nshow\ngo to x: (0) y: (0)\nforever\n    if <(LEVEL) = [1]> then\n        switch costume to (level :1 v)\n    end\n    if <(LEVEL) = [2]> then\n        switch costume to (level :2 v)\n    end\n    if <(LEVEL) = [3]> then\n        switch costume to (level :3 v)\n    end\n    if <(LEVEL) = [4]> then\n        switch costume to (level :4 v)\n    end\n    if <(LEVEL) = [5]> then\n        switch costume to (level :5 v)\n    end\n    if <(LEVEL) = [6]> then\n        switch costume to (level :6 v)\n    end\n    if <(LEVEL) = [7]> then\n        switch costume to (level :7 v)\n    end\n    if <(LEVEL) = [8]> then\n        switch costume to (level :8 v)\n    end\n    if <(LEVEL) = [9]> then\n        switch costume to (level :9 v)\n    end\n    if <(LEVEL) = [10]> then\n        switch costume to (level :10 v)\n    end\n    if <(LEVEL) = [11]> then\n        switch costume to (level :11 v)\n    end\n    if <(LEVEL) = [12]> then\n        switch costume to (level :12 v)\n    end\n    if <(LEVEL) = [13]> then\n        switch costume to (level :13 v)\n    end\n    if <(LEVEL) = [14]> then\n        switch costume to (level :14 v)\n    end\n    if <(LEVEL) = [15]> then\n        switch costume to (level :15 v)\n    end\n    if <(LEVEL) = [16]> then\n        switch costume to (level :16 v)\n    end\n    if <(LEVEL) = [17]> then\n        switch costume to (level :17 v)\n    end\n    if <(LEVEL) = [18]> then\n        switch costume to (level :18 v)\n    end\n    if <(LEVEL) = [19]> then\n        switch costume to (level :19 v)\n    end\n    if <(LEVEL) = [20]> then\n        switch costume to (level :20 v)\n    end\n    if <(LEVEL) = [B]> then\n        switch costume to (level :b v)\n    end\nend\n\nwhen I receive [game on v]\nforever\n    if <touching (mouse-pointer v)?> then\n        set [brightness v] effect to (15)\n    else\n        set [brightness v] effect to (0)\n    end\nend\n\ngo to [front v] layer\n\nif <(LEVEL) = [B]> then\n    switch costume to (costumeb v)\nelse\n    switch costume to (LEVEL)\nend\n\n@#TRAMPOLINE\n\nwhen I receive [game on v]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nshow\nforever\n    if <(LEVEL) = [B]> then\n        switch costume to (costumeb v)\n    else\n        switch costume to (LEVEL)\n    end\nend\n\n@#LAVA\n\nwhen I receive [game on v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\nforever\n    if <(LEVEL) = [B]> then\n        switch costume to (costumeb v)\n    else\n        switch costume to (LEVEL)\n    end\n    if <(LEVEL) = [20]> then\n        switch costume to (LEVEL)\n        show\n    end\nend\n\nwhen I receive [open v]\nhide\n\n@#SKIP\n\nwhen I receive [game on v]\n\nwhen this sprite clicked\nchange [level v] by (1)\nbroadcast (SET v)\n\nwhen I receive [skip 📛 v]\nswitch costume to (costume2 v)\n\ngo to [front v] layer\n\nhide\n\nshow\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\nset [skip? v] to [0]\ngo to x: (0) y: (0)\nswitch costume to (costume1 v)\nset [brightness v] effect to (0)\nforever\n    if <touching (mouse-pointer v)?> then\n        set [skip? v] to [1]\n        set [brightness v] effect to (15)\n    else\n        set [skip? v] to [0]\n        set [brightness v] effect to (0)\n    end\nend\n\n@#THUMBNAIL\n\nwhen I receive [game on v]\nshow\ngo to x: (0) y: (0)\nset size to (100) %\nset [ghost v] effect to (100)\ngo to [front v] layer\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nset [ghost v] effect to (0)\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nswitch costume to (costume1 v)\n\n@#ENEMY_1\n\nwhen I receive [game on v]\ngo to x: (0) y: (0)\nshow\nset size to (100) %\nswitch costume to (costume1 v)\nforever\n    if <(LEVEL) = [B]> then\n        switch costume to (costumeb v)\n    else\n        switch costume to (LEVEL)\n    end\nend\n\nwhen I receive [game on v]\nshow\nset y to (-100)\nforever\n    repeat (2)\n        glide (0.85) secs to x: (0) y: (-100)\n        glide (0.85) secs to x: (170) y: (-100)\n    end\nend\n\nswitch costume to (costume10 v)\n\n@#ENEMY_2\n\nwhen I receive [game on v]\ngo to x: (0) y: (0)\nshow\nset size to (100) %\nswitch costume to (costume1 v)\nforever\n    if <(LEVEL) = [B]> then\n        switch costume to (costumeb v)\n    else\n        switch costume to (LEVEL)\n    end\nend\n\nwhen I receive [game on v]\nshow\nset y to (-100)\nwait (0.15) seconds\nforever\n    repeat (2)\n        glide (0.85) secs to x: (10) y: (-100)\n        glide (0.85) secs to x: (-180) y: (-100)\n    end\nend\n\nswitch costume to (costume10 v)\n\n@#BONSE\n\nwhen I receive [game on v]\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nset [px v] to [0]\nforever\n    if <touching (#player v)?> then\n        broadcast (SET v)\n    end\n    if <(LEVEL) = [B]> then\n        hide\n    else\n        if <not <(px) = [1]>> then\n            show\n        else\n            hide\n        end\n    end\n    switch costume to (LEVEL)\nend\n\n@#BONSE_BRIDGE\n\nwhen I receive [game on v]\nswitch costume to (costume2 v)\ngo to x: (0) y: (0)\nshow\nforever\n    switch costume to (LEVEL)\n    if <(LEVEL) = [B]> then\n        switch costume to (costume1 v)\n        Move\n    else\n        switch costume to (costume2 v)\n    end\nend\n\ngo to [front v] layer\n\ndefine Move\nif <(LEVEL) = [B]> then\n    repeat (25)\n        change x by (3)\n    end\n    wait (0.8) seconds\n    repeat (25)\n        change x by (-3)\n    end\n    wait (0.8) seconds\nelse\n    switch costume to (costume2 v)\nend\n\n@#KEY\n\nwhen I receive [game on v]\nswitch costume to (key v)\ngo to x: (0) y: (0)\nshow\ngo to [back v] layer\nset [cc v] to [0]\nforever\n    if <(LEVEL) = [B]> then\n        switch costume to (key v)\n        show\n    else\n        if <(LEVEL) = [19]> then\n            switch costume to (key2 v)\n            if <(cc) = [0]> then\n                show\n            end\n        else\n            hide\n        end\n    end\n    if <<touching (#player v)?> and <(LEVEL) = [19]>> then\n        broadcast (Open v)\n        set [cc v] to [1]\n    end\nend\n\nwhen I receive [open v]\nhide\n\n
hai :)\nWelcome to the new pen game .. nah maybe there are no blocks to the pen but the idea of the game is ( the player like a Ink square and the backdrop as a math book or paper, also there are credits so we must write them!!\n\n【CREDITS】\nSTART VOICE : @JP_GO_ARMY\nTHANKS @JP_GO_ARMY FOR MAKE IT FOR MOBILE\n\n【NOTES】\n✏ TRY TO WIN!!\n✏ <^> OR W , A , D ( TO MOVE PLAYER ) AND YEAH\n✏ ❤️ & ⭐\n✏ you can play it on the mobile