Catformer (a catblock platformer)
@Stage\n\ndefine Hi! I made a new block just to say hi!\n\n@thumbnail\n\nwhen flag clicked\ngo to [front v] layer\nshow\nrepeat (10)\n    change [ghost v] effect by (10)\nend\n\nwhen flag clicked\nforever\n    reset timer\nend\n\n@player\n\nwhen I receive [go v]\n\nwhen flag clicked\nshow\n\nhide\n\nwhen I receive [go v]\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        play sound [Bonk v] until done\n        broadcast (lol! v)\n    end\n    if <touching (bouncy v)?> then\n        change [y velocity v] by (20)\n    end\nend\n\nif <touching (next v)?> then\n    broadcast (next_level_ v)\n    go to x: (-209) y: (-50)\nend\n\nwhen flag clicked\nforever\n    set volume to (25) %\n    play sound ['Check Meowt!' Lyrics v] until done\n    wait (3) seconds\nend\n\nwhen flag clicked\nset [kitten/cat v] to [kitten]\nswitch costume to (yellow flag v)\nclear graphic effects\nset size to (15) %\nshow\nswitch costume to (costume1 v)\nset [y velocity v] to [0]\nset [x velocity v] to [0]\ngo to x: (-214) y: (-90)\nforever\n    erase all\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume1 v)\n        change [x velocity v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume2 v)\n        change [x velocity v] by (-1)\n    end\n    set [x velocity v] to ((x velocity) * (.9))\n    change x by (x velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground v)?> then\n                            change x by ((x velocity) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(x velocity) > [0]> then\n                                    set [x velocity v] to [-5]\n                                else\n                                    set [x velocity v] to [5]\n                                end\n                                change [y velocity v] by (10)\n                            else\n                                set [x velocity v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (y velocity)\n    if <touching (ground v)?> then\n        change y by ((y velocity) * (-1))\n        set [y velocity v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            change [y velocity v] by (15)\n        end\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        change [level v] by (1)\n        broadcast (next level v)\n        go to x: (-202) y: (-70)\n        next costume\n    end\n    if <key (r v) pressed?> then\n        go to x: (-202) y: (-70)\n    end\n    if <<(y position) = [-180]> or <(y position) < [-180]>> then\n        play sound [Bonk v] until done\n        broadcast (lol! v)\n        change [y velocity v] by (30)\n    end\nend\n\nwhen flag clicked\nset [level v] to [1]\nwait until <(LEVEL) = [14]>\nset [kitten/cat v] to [cat]\n\nwhen flag clicked\nforever\n    if <(kitten/cat) = [kitten]> then\n        set size to (15) %\n    else\n        set size to (20) %\n    end\nend\n\nwhen [timer v] > (.1)\nset volume to (25) %\nforever\n    play sound ['Check Meowt!' Lyrics v] until done\n    wait (1) seconds\nend\n\nwhen [timer v] > (.1)\nforever\n    if <key (m v) pressed?> then\n        set volume to (0) %\n    end\n    if <key (n v) pressed?> then\n        set volume to (25) %\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (m v) pressed?> then\n        set volume to (0) %\n    end\n    if <key (n v) pressed?> then\n        set volume to (25) %\n    end\nend\n\ngo to [back v] layer\nshow\n\nturn left (15) degrees\n\nwhen I receive [next level v]\ngo to x: (-202) y: (-70)\n\nwhen [s v] key pressed\nwait until <not <key (s v) pressed?>>\nchange [level v] by (1)\nbroadcast (next level v)\n\n@Ground\n\nwhen I receive [end v]\nhide\n\nwhen flag clicked\nforever\n    if <<(costume [number v]) = [14]> and <(LEVEL) = [14]>> then\n        next costume\n    end\nend\n\nwhen flag clicked\ngo to x: (36) y: (15)\nswitch costume to (01 v)\ngo to [front v] layer\nshow\n\nwhen I receive [next level v]\nnext costume\n\nwhen [timer v] > (.1)\nhide\n\n@Spikes\n\nwhen flag clicked\ngo to x: (36) y: (15)\nwait until <<(kitten/cat) = [cat]> and <not <(LEVEL) = [14]>>>\ngo to [front v] layer\nshow\nswitch costume to (02 v)\n\nwhen [timer v] > (.1)\nhide\n\nwhen flag clicked\nhide\n\nwhen I receive [next level v]\nif <<(kitten/cat) = [cat]> and <not <(LEVEL) = [14]>>> then\n    next costume\nend\n\n@LOL\n\nwhen flag clicked\nhide\ngo to x: (0) y: (100)\nset [lol v] to [0]\n\nwhen I receive [lol! v]\ngo to [front v] layer\nshow\nwait (3) seconds\nhide\nset [lol v] to [1]\n\n@end\n\nwhen flag clicked\nswitch costume to (end v)\nhide\ngo to x: (0) y: (50)\nwait until <(LEVEL) = [27]>\nif <(LOL) = [1]> then\n    switch costume to (lol end v)\n    show\nelse\n    switch costume to (end v)\n    show\nend\n\n
This is my first platformer! Arrow keys or WAD to move, do not touch spikes. S key to skip a level M key to mute music N to unmute. Catformer 2 is here: https://scratch.mit.edu/projects/400575334\n\nI'm not really updating this, but I will try to fix glitches if you comment them!\n\nIf you find an Easter egg DO NOT COMMENT IT it ruins the surprise!\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nI put comments in the project! Hopefully they are funny. (Some got mixed up into the wrong order, hopefully you can still tell what I meant.)