Cute Cube Adventure 2  (Platformer Series)
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [message1 v]\nswitch backdrop to (backdrop2 v)\n\nwhen [s v] key pressed\nswitch backdrop to (next backdrop v)\n\nwhen flag clicked\nforever\n    play sound [Glacier  - KnightKit12 v] until done\nend\n\n@Cute Cube\n\nwhen flag clicked\nset rotation style [left-right v]\nset [y spawn v] to [1]\nset [x spawn v] to [-218]\ngo to x: (X Spawn) y: (Y Spawn)\nshow\nset size to (50) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    Platformer engine\nend\n\ndefine Platformer engine\nchange [y v] by (-0.5)\nif <key (left arrow v) pressed?> then\n    change [x v] by (-1)\n    point in direction (-90)\nend\nif <key (right arrow v) pressed?> then\n    point in direction (90)\n    change [x v] by (1)\nend\nset [x v] to ((x) * (0.9))\nchange x by (x)\nif <touching color (#000000)?> then\n    change y by (1)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change y by (-6)\n                            change x by ((x) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                set [y v] to [10]\n                                if <(x) > [0]> then\n                                    set [x v] to [-10]\n                                else\n                                    set [x v] to [10]\n                                end\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange y by (y)\nif <touching color (#000000)?> then\n    change y by ((y) * (-1))\n    set [y v] to [0]\nend\nchange y by (-0.5)\nif <<touching color (#000000)?> and <key (up arrow v) pressed?>> then\n    set [y v] to [10]\nend\nchange y by (0.5)\nif <touching color (#ff0000)?> then\n    go to x: (X Spawn) y: (Y Spawn)\nend\nif <touching color (#ff00b9)?> then\n    set [y v] to [16]\nend\n\nwhen backdrop switches to [backdrop1 v]\nhide\n\nwhen backdrop switches to [backdrop2 v]\nshow\n\nwhen [r v] key pressed\nset [y spawn v] to [1]\nset [x spawn v] to [-218]\ngo to x: (X Spawn) y: (Y Spawn)\nshow\nset size to (50) %\nset [x v] to [0]\nset [y v] to [0]\n\nwhen flag clicked\nforever\n    if <(x position) > [234]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-218) y: (1)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(y position) < [-171]> then\n        go to x: (-218) y: (1)\n    end\nend\n\nwhen backdrop switches to [backdrop21 v]\nhide\n\n@Play Game Button\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [backdrop2 v]\nhide\n\nwhen flag clicked\nforever\n    if <touching (mouse-pointer v)?> then\n        repeat (4)\n            change size by (3)\n        end\n        wait until <not <touching (mouse-pointer v)?>>\n        repeat (4)\n            change size by (-3)\n        end\n    end\nend\n\nwhen this sprite clicked\nbroadcast (message1 v)\n\n@Moving Platform 1\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop7 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop8 v]\nhide\n\n@Moving Platform 2\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop8 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop9 v]\nhide\n\n@Moving Platform 3\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop9 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop10 v]\nhide\n\n@Moving Platform 4\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop16 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\n@Moving Platform 5\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop16 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop17 v]\nhide\n\n@Moving Platform 6\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop17 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\n@Moving Platform 7\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop17 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (5) degrees\nend\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\n@Moving Platform 8\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop18 v]\nshow\n\nwhen flag clicked\nforever\n    turn left (3) degrees\nend\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@Moving Platform 9\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop18 v]\nshow\n\nwhen flag clicked\nforever\n    turn left (3) degrees\nend\n\nwhen backdrop switches to [backdrop19 v]\nhide\n\n@Moving Platform 10\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop20 v]\nshow\n\nwhen flag clicked\nforever\n    turn right (2) degrees\nend\n\nwhen backdrop switches to [backdrop21 v]\nhide\n\n@Moving Platform 11\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop20 v]\nshow\n\nwhen flag clicked\nforever\n    turn left (3) degrees\nend\n\nwhen backdrop switches to [backdrop21 v]\nhide\n\n@Moving Platform 12\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop19 v]\nshow\n\nwhen flag clicked\nforever\n    turn left (3) degrees\nend\n\nwhen backdrop switches to [backdrop20 v]\nhide\n\n@Moving Platform 13\n\nwhen flag clicked\nhide\n\nwhen backdrop switches to [backdrop19 v]\nshow\n\nwhen flag clicked\nforever\n    turn left (3) degrees\nend\n\nwhen backdrop switches to [backdrop20 v]\nhide\n\n
Cute Cube Adventure 2 (Platformer Series)\nFRONT PAGED ON 3/15/2019 thanks, @ArtsyStrawberry!\nPlay part 1 here!! https://scratch.mit.edu/projects/278923025/\nPlay part 3 here! https://scratch.mit.edu/projects/291836076/\nSetting:\nWelcome everyone to Cute Cube Adventure 2, the second part in the Cute Cube platformer series!! \nToday, Cute Cube wants to jump around on buildings. Strange, but it's fun for Cute Cube!\n \nInstructions:\n--Use your arrow keys to move--\n--Press the R key to restart any level--\n--Press the S key to skip any level--\n--Dodge the obstacles to help Cute Cube have a fun time in the city of Cube Land!--\n--Have fun!!--