Cat - Former ll A Platformer
@Stage\n\n@JoyPad\n\nwhen flag clicked\nset [ghost v] effect to (50)\nforever\n    point in direction (0)\n    hide\n    if <mouse down?> then\n        show\n        point towards (mouse-pointer v)\n        if <([abs v] of (direction) ) < [70]> then\n            broadcast (Jump v)\n        end\n    end\nend\n\n@Platforms\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\n\nwhen I receive [level up v]\nnext costume\n\n@Thumbnail\n\nwhen [timer v] > (0.3)\nif <not <([exit v] of [alertsui v]) = [null]>> then\n    switch costume to (costume1 v)\n    set [ghost v] effect to (100)\n    show\n    go to [front v] layer\n    repeat (10)\n        go to [front v] layer\n        change [ghost v] effect by (-10)\n    end\nend\n\nwhen flag clicked\ngo to x: (00) y: (0)\ngo to [front v] layer\nhide\nforever\n    reset timer\nend\n\n@Song\n\nwhen flag clicked\nforever\n    play sound [Nebula v] until done\nend\n\n@Cat\n\nwhen flag clicked\ngo to x: (-222) y: (-111)\nforever\n    if <not <touching (platforms v)?>> then\n        change y by (-4)\n    end\n    Sensing\n    change y by (4)\n    if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <([direction v] of [joypad v]) < [-70]>>> then\n        switch costume to (left v)\n        change x by (-5)\n        Sensing\n        if <touching (platforms v)?> then\n            change x by (5)\n        end\n    end\n    if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <([direction v] of [joypad v]) > [70]>>> then\n        switch costume to (right v)\n        change x by (5)\n        Sensing\n        if <touching (platforms v)?> then\n            change x by (-5)\n        end\n    end\n    change y by (-4)\nend\n\nwhen [up arrow v] key pressed\nif <touching (platforms v)?> then\n    broadcast (Up v)\nend\n\ndefine Sensing\nif <touching color (#549a10)?> then\n    broadcast (Level Up v)\n    go to x: (-222) y: (-111)\nend\nif <touching color (#ff0000)?> then\n    go to x: (-222) y: (-111)\nend\n\nwhen I receive [jump v]\nif <touching (platforms v)?> then\n    broadcast (Up v)\nend\n\nwhen I receive [up v]\nrepeat (14)\n    change y by (10)\n    if <touching (platforms v)?> then\n        change y by (-6)\n        stop [this script v]\n    end\nend\n\nwhen [w v] key pressed\nif <touching (platforms v)?> then\n    broadcast (Up v)\nend\n\nwhen flag clicked\nswitch costume to (right v)\n\n@Love,Favorite,Follow\n\nwhen flag clicked\nhide\nforever\n    set [ghost v] effect to (25)\n    wait (pick random (10) to (20)) seconds\n    play sound [pop v] until done\n    go to x: (50) y: (280)\n    go to [front v] layer\n    go [forward v] (1) layers\n    show\n    repeat (9)\n        change y by (-4)\n    end\n    repeat (5)\n        change y by (2)\n    end\n    wait (3) seconds\n    repeat (15)\n        change y by (2)\n    end\n    hide\nend\n\n
Check out the second! https://scratch.mit.edu/projects/702169872/\n\nWhoever gets the 200th love gets a follow all my accounts\nArrow Keys or WASD or use your finger to move