Pusheen Platformer || #Games
@Stage\n\nwhen flag clicked\nplay sound [bensound-ukulele v] until done\n\n@Pusheen\n\nwhen flag clicked\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (5) y: (1)\nforever\n    if <key (left arrow v) pressed?> then\n        switch costume to (left v)\n        change [x velocity v] by (-0.8)\n    end\n    if <key (right arrow v) pressed?> then\n        switch costume to (right v)\n        change [x velocity v] by (0.8)\n    end\n    set [x velocity v] to ((X Velocity) * (0.9))\n    change x by (round (X Velocity))\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (1)\n                            if <touching (level v)?> then\n                                change y by (-6)\n                                change x by (round ((X Velocity) * (-1)))\n                            end\n                        end\n                    end\n                end\n                set [x velocity v] to [0]\n            end\n            if <(x position) > [431]> then\n                broadcast (Next level!! v) and wait\n                set [y velocity v] to [0]\n                set [x velocity v] to [0]\n                go to x: (5) y: (1)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        change y by (-1)\n        if <touching (level v)?> then\n            set [y velocity v] to [13]\n        end\n        change y by (1)\n    end\n    change [y velocity v] by (-1)\n    change y by (Y Velocity)\n    if <touching (level v)?> then\n        change y by ((Y Velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    if <touching (danger v)?> then\n        set [x velocity v] to [0]\n        set [y velocity v] to [0]\n        go to x: (5) y: (1)\n    end\n    if <(x position) > [431]> then\n        broadcast (Next level!! v) and wait\n        set [y velocity v] to [0]\n        set [x velocity v] to [0]\n        go to x: (5) y: (1)\n    end\nend\n\nwhen I receive [next level!! v]\ngo to x: (5) y: (1)\n\n@Level\n\nwhen flag clicked\nswitch costume to (costume1 v)\nshow\n\nwhen I receive [next level!! v]\nnext costume\n\n@Danger\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level!! v]\nnext costume\n\n@Thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nhide\n\n
Welcome to Pusheen Platformer!\n-- Instructions --\nArrow keys to move\nSpace bar or up arrow to jump!\nAvoid the dangers such as: Lava and Spikes!\nComplete all levels\n<><><><><><><<><><><><><><>\nThe game has 14 levels\n<><>><><><><><><><><><><><>\nPugsheen Version:\nhttps://scratch.mit.edu/projects/700495330\n<><>><><><><><><><><><><><>\n❤️ + ⭐ for more Platformer games!