Rock4- A Platformer 

Instructions: Rock4 -A Platformer\n\nWAD or arrow key to move\nZ to skip \nYou can only skip every 4 sec\n100% possible\nPart1 if you haven't play\nhttps://scratch.mit.edu/projects/484384799/\nPart2 if you haven't play\nhttps://scratch.mit.edu/projects/485498630/\nPart3 if you haven't play\nhttps://scratch.mit.edu/projects/489416143/\nPart5:\nhttps://scratch.mit.edu/projects/496192588/\n\nlike and fave or support\nfollow for more games and project\n100 views :)\n200 views :D\n300 views :O\n\nMy Studio:\nhttps://scratch.mit.edu/studios/28429072/\nhttps://scratch.mit.edu/studios/28938408/\nOther projects:\nSticker maker:\nhttps://scratch.mit.edu/projects/475659226/\nwizard's adventure part 1:\nhttps://scratch.mit.edu/projects/469131154/\n\nUpdates:\n27/2/2021 adding some information\n\nTags:\n#game #lol #cool #fun #platformer\n\nCredits:\n@TrentonTNT for some codes\n

@Stage\n\nwhen I receive [rockup v]\nswitch backdrop to (start2 v)\n\nwhen flag clicked\nwait (7.10) seconds\nswitch backdrop to (start3 v)\n\nwhen flag clicked\nwait (10.16) seconds\nswitch backdrop to (start4 v)\n\nwhen I receive [end story v]\nswitch backdrop to (1 v)\n\nwhen flag clicked\nwait (492.79) seconds\nswitch backdrop to (story 2 v)\n\nwhen I receive [information v]\nswitch backdrop to (information v)\n\nwhen I receive [done v]\nswitch backdrop to (2 v)\n\n@player\n\nwhen I receive [go v]\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (clone v)\nrepeat (5)\n    change [ghost v] effect by (10)\n    change size by (-5)\nend\ndelete this clone\n\nwhen I receive [restart v]\ngo to x: (-201) y: (-59)\n\nwhen I receive [end story v]\nset size to (150) %\nset [ghost v] effect to (0)\nshow\nswitch costume to (player_in_space v)\nset [xv v] to [0]\nset [yv v] to [0]\ngo to x: (-62) y: (-96)\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (1)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#826f4d)?> then\n        change y by (1)\n        if <touching color (#826f4d)?> then\n            change y by (1)\n            if <touching color (#826f4d)?> then\n                change y by (1)\n                if <touching color (#826f4d)?> then\n                    change y by (1)\n                    if <touching color (#826f4d)?> then\n                        change y by (1)\n                        if <touching color (#826f4d)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#826f4d)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#826f4d)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [21]\n        end\n    end\n    if <<touching color (#977b7b)?> or <touching color (#104f12)?>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <<(x position) > [-228]> and <(y position) < [-175]>> then\n        set [xv v] to [0]\n        set [yv v] to [0]\n        go to x: (-197) y: (-63)\n    end\n    if <(x position) = [253]> then\n        go to x: (-193) y: (-50)\n        next backdrop\n    end\nend\n\nwhen I receive [end story v]\nset [skip v] to [0]\nrepeat until <(backdrop [number v]) = [21]>\n    if <key (z v) pressed?> then\n        change [skip v] by (1)\n        next backdrop\n        go to x: (-197) y: (-63)\n        wait (4) seconds\n    end\nend\n\nwhen I receive [end story v]\nbroadcast (go v)\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [end v]\nhide\n\nwhen backdrop switches to [17 v]\nforever\n    if <touching color (#50aaff)?> then\n        switch backdrop to (end v)\n        hide\n    end\nend\n\nwhen I receive [information v]\nhide\n\nwhen I receive [done v]\ngo to x: (-197) y: (-90)\nshow\n\n@tb\n\nwhen flag clicked\nshow\ngo to x: (-5) y: (-1)\nset [ghost v] effect to (100)\ngo to [front v] layer\n\n@rocket\n\nwhen flag clicked\nswitch costume to (costume2 v)\nswitch backdrop to (start v)\npoint in direction (90)\ngo to x: (89) y: (-33)\nshow\nset size to (100) %\nwait (1) seconds\nswitch costume to (costume3 v)\nglide (3) secs to x: (85) y: (267)\nhide\nbroadcast (rockup v)\n\nwhen backdrop switches to [start2 v]\npoint in direction (90)\ngo to x: (85) y: (-289)\nshow\nset size to (100) %\nglide (3) secs to x: (85) y: (267)\nhide\n\nwhen backdrop switches to [start3 v]\npoint in direction (90)\ngo to x: (85) y: (-289)\nshow\nset size to (100) %\nglide (3) secs to x: (85) y: (267)\nhide\n\nwhen backdrop switches to [start4 v]\npoint in direction (90)\ngo to x: (85) y: (-289)\nshow\nset size to (100) %\nglide (1.5) secs to x: (87) y: (1)\nwait (0.01) seconds\nturn left (45) degrees\nglide (1) secs to x: (-188) y: (139)\nrepeat (10)\n    change size by (-10)\nend\nhide\nbroadcast (end story v)\n\nwhen backdrop switches to [1 v]\npoint in direction (90)\nswitch costume to (costume1 v)\nset size to (100) %\ngo to x: (-163) y: (24)\nshow\n\nwhen backdrop switches to [2 v]\nhide\n\n@stuff\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [2 v]\nswitch costume to (? v)\nclear graphic effects\nset size to (100) %\ngo to x: (167) y: (126)\nshow\n\nwhen I receive [information v]\ngo to x: (-200) y: (128)\nswitch costume to (x v)\nforever\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (done v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        set [color v] effect to (25)\n    end\n    if <not <touching (mouse-pointer v)?>> then\n        set [color v] effect to (0)\n    end\n    if <<mouse down?> and <touching (mouse-pointer v)?>> then\n        broadcast (information v)\n    end\n    if <not <<(backdrop [name v]) = [2]> or <(backdrop [name v]) = [information]>>> then\n        hide\n    end\nend\n\n