Scratch Cube ¦¦ Platformer 
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop2 v)\n\nwhen I receive [gogogogogogo!! v]\nswitch backdrop to (backdrop1 v)\n\nwhen I receive [gogogogogogo!! v]\nforever\n    play sound [Itty Bitty 8 Bit v] until done\nend\n\n@Pikachu\n\nhide\ndelete this clone\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\nforever\n    point in direction ((([sin v] of (rfvdcsx) ) * (7)) + (90))\n    change y by ([sin v] of (rfvdcsx) )\n    change size by ([sin v] of (rfvdcsx) )\n    change [rfvdcsx v] by (10)\nend\n\nwhen flag clicked\nplay sound [Zix Intro \(7 seconds\) v] until done\nbroadcast (GoGoGoGoGoGo!! v) and wait\nhide\n\nwhen I receive [gogogogogogo!! v]\nhide\n\n@Triangles\n\nwhen flag clicked\ngo to x: (36) y: (28)\nshow\n\nwhen I receive [gogogogogogo!! v]\nhide\n\n@Player\n\ndefine platformer\nif <key (right arrow v) pressed?> then\n    switch costume to (run_r7 v)\n    change [xv v] by (0.75)\nend\nif <key (left arrow v) pressed?> then\n    switch costume to (costume1 v)\n    change [xv v] by (-0.75)\nend\nset [xv v] to ((xV) * (0.9))\nchange x by (xV)\nif <<touching (base v)?> or > then\n    change y by (1)\n    if  then\n        change y by (1)\n        if  then\n            change y by (1)\n            if  then\n                change y by (1)\n                if  then\n                    change y by (1)\n                    if  then\n                        change x by ((xV) * (-1))\n                        change y by (-5)\n                        if <key (up arrow 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 [13]\n                        else\n                            set [xv v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [yv v] by (-1)\nchange y by (yV)\nif  then\n    change y by ((yV) * (-1))\n    set [yv v] to [0]\nend\nchange y by (-1)\nif  then\n    if <key (up arrow v) pressed?> then\n        start sound [jump v]\n        set [yv v] to [15]\n    end\n    change y by (1)\nend\nif <touching (next level v)?> then\n    hide\n    change [_lvl v] by (1)\n    go to x: (-203) y: (-106)\n    broadcast (transition - die v) and wait\n    wait (1.5) seconds\n    broadcast (transition - game on v) and wait\n    show\n    go to x: (-203) y: (-106)\nend\nif <touching (bounce v)?> then\n    broadcast (jump v)\n    start sound [boing v]\n    set [yv v] to [18]\nend\nif <<touching (bounce v)?> and <key (up arrow v) pressed?>> then\n    set [yv v] to [22]\nend\n\n    broadcast (Next Level v)\n    wait (2) seconds\nend\nif <touching (danger2 v)?> then\n    start sound [hurt v]\n    hide\n    go to x: (-203) y: (-106)\n    broadcast (transition - die v) and wait\n    wait (1.5) seconds\n    broadcast (transition - game on v) and wait\n    show\nend\nif <(y position) < [-180]> then\n    start sound [hurt v]\n    hide\n    go to x: (-203) y: (-106)\n    broadcast (transition - die v) and wait\n    wait (1.5) seconds\n    broadcast (transition - game on v) and wait\n    show\nend\n\nstart sound [Meow v]\n\nrepeat (1)\n    change [next level v] by (1)\n    hide\nend\n\nif <(next level) = [2]> then\n    repeat (1)\n        broadcast (Next Level v)\n    end\n    show\n    set [next level v] to [0]\nend\n\nwhen I receive [gogogogogogo!! v]\nforever\n    platformer\nend\n\nrepeat (10)\n    change size by (-10)\nend\ngo to x: (-177) y: (-50)\nset size to (100) %\n\nwhen flag clicked\nhide\n\nwhen I receive [gogogogogogo!! v]\nshow\n\nwhen flag clicked\nset [_lvl v] to [1]\ngo to x: (-203) y: (-106)\n\nwhen flag clicked\nforever\n    if <touching (next level v)?> then\n    end\nend\n\nchange [_lvl v] by (1)\n\nwhen flag clicked\nset [_lvl v] to [1]\n\nwhen [r v] key pressed\ngo to x: (-203) y: (-106)\n\n@Transitions\n\nwhen I receive [transition - game on v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (black v)\nset size to (100) %\nshow\nrepeat (5)\n    switch costume to (mini v)\n    set size to ((size) * (1.2)) %\n    switch costume to (mask #1 v)\nend\nset size to ((size) * (0.5)) %\nrepeat (2)\n    switch costume to (mini v)\n    set size to ((size) * (1.2)) %\n    switch costume to (mask #2 v)\nend\nrepeat (2)\n    switch costume to (mini v)\n    set size to ((size) * (1.2)) %\n    switch costume to (mask #3 v)\nend\nrepeat (3)\n    switch costume to (mini v)\n    set size to ((size) * (1.2)) %\n    switch costume to (mask #4 v)\nend\nrepeat (5)\n    switch costume to (mini v)\n    set size to ((size) * (1.2)) %\n    switch costume to (mask #5 v)\nend\nhide\n\nwhen I receive [transition - die v]\ngo to x: (0) y: (0)\ngo to [front v] layer\nswitch costume to (mini v)\nset size to (1116) %\nswitch costume to (mask #5 v)\nshow\nrepeat (4)\n    switch costume to (mini v)\n    set size to ((size) / (1.2)) %\n    switch costume to (mask #5 v)\nend\nrepeat (3)\n    switch costume to (mini v)\n    set size to ((size) / (1.2)) %\n    switch costume to (mask #4 v)\nend\nrepeat (2)\n    switch costume to (mini v)\n    set size to ((size) / (1.2)) %\n    switch costume to (mask #3 v)\nend\nrepeat (2)\n    switch costume to (mini v)\n    set size to ((size) / (1.2)) %\n    switch costume to (mask #2 v)\nend\nswitch costume to (mini v)\nset size to (250) %\nrepeat (5)\n    switch costume to (mini v)\n    set size to ((size) / (1.2)) %\n    switch costume to (mask #1 v)\nend\nswitch costume to (black v)\nset size to (100) %\n\nwhen I receive [transition - splash to black v]\nrepeat (13)\n    change [brightness v] effect by (-8)\nend\nswitch costume to (black v)\nset [brightness v] effect to (0)\n\nwhen I receive [pause v]\nset [ghost v] effect to (100)\nswitch costume to (paused v)\nset size to (80) %\nshow\ngo to [front v] layer\nrepeat (5)\n    change [ghost v] effect by (-20)\n    change size by (4)\nend\nrepeat until <not <key (p v) pressed?>>\n    wait (0) seconds\nend\nrepeat until <key (p v) pressed?>\n    wait (0) seconds\nend\nrepeat until <not <key (p v) pressed?>>\n    wait (0) seconds\nend\nrepeat (5)\n    change [ghost v] effect by (20)\n    change size by (-4)\nend\nhide\nset [ghost v] effect to (0)\n\n@Base\n\nwhen flag clicked\nswitch costume to (_1 v)\nhide\n\nwhen I receive [gogogogogogo!! v]\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [2]>\nswitch costume to (costume1 v)\n\nwhen flag clicked\nwait until <(_lvl) = [3]>\nswitch costume to (costume2 v)\n\nwhen flag clicked\nwait until <(_lvl) = [4]>\nswitch costume to (costume3 v)\n\nwhen flag clicked\nwait until <(_lvl) = [5]>\nswitch costume to (costume4 v)\n\nwhen flag clicked\nwait until <(_lvl) = [6]>\nswitch costume to (costume5 v)\n\nwhen flag clicked\nwait until <(_lvl) = [7]>\nswitch costume to (costume6 v)\n\nwhen flag clicked\nwait until <(_lvl) = [8]>\nswitch costume to (costume7 v)\n\nwhen flag clicked\nwait until <(_lvl) = [9]>\nswitch costume to (costume8 v)\n\nwhen flag clicked\nwait until <(_lvl) = [10]>\nswitch costume to (costume9 v)\n\n@Backdrops\n\nwhen flag clicked\nswitch costume to (costume2 v)\ngo to [back v] layer\nhide\n\nwhen I receive [gogogogogogo!! v]\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [2]>\nswitch costume to (costume1 v)\n\nwhen flag clicked\nwait until <(_lvl) = [3]>\nswitch costume to (costume3 v)\n\nwhen flag clicked\nwait until <(_lvl) = [4]>\nswitch costume to (costume4 v)\n\nwhen flag clicked\nwait until <(_lvl) = [5]>\nswitch costume to (costume5 v)\n\nwhen flag clicked\nwait until <(_lvl) = [6]>\nswitch costume to (costume6 v)\n\nwhen flag clicked\nwait until <(_lvl) = [7]>\nswitch costume to (costume7 v)\n\nwhen flag clicked\nwait until <(_lvl) = [8]>\nswitch costume to (costume8 v)\n\nwhen flag clicked\nwait until <(_lvl) = [9]>\nswitch costume to (costume9 v)\n\nwhen flag clicked\nwait until <(_lvl) = [10]>\nswitch costume to (costume10 v)\n\n@Next level\n\nwhen flag clicked\ngo to x: (24) y: (24)\nhide\n\nwhen I receive [gogogogogogo!! v]\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [2]>\ngo to x: (30) y: (55)\n\nwhen flag clicked\nwait until <(_lvl) = [3]>\ngo to x: (26) y: (232)\n\nwhen flag clicked\nwait until <(_lvl) = [4]>\ngo to x: (28) y: (23)\n\nwhen flag clicked\nwait until <(_lvl) = [5]>\ngo to x: (27) y: (250)\n\nwhen flag clicked\nwait until <(_lvl) = [6]>\ngo to x: (0) y: (214)\n\nwhen flag clicked\nwait until <(_lvl) = [7]>\ngo to x: (22) y: (24)\n\nwhen flag clicked\nwait until <(_lvl) = [9]>\ngo to x: (-213) y: (23)\n\nwhen flag clicked\nwait until <(_lvl) = [10]>\nhide\n\n@Danger2\n\nwhen flag clicked\nswitch costume to (costume2 v)\nhide\n\nwhen I receive [gogogogogogo!! v]\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [2]>\nswitch costume to (costume1 v)\n\nwhen flag clicked\nwait until <(_lvl) = [3]>\nswitch costume to (costume3 v)\n\nwhen flag clicked\nwait until <(_lvl) = [4]>\nswitch costume to (costume4 v)\n\nwhen flag clicked\nwait until <(_lvl) = [5]>\nswitch costume to (costume5 v)\n\nwhen flag clicked\nwait until <(_lvl) = [6]>\nswitch costume to (costume6 v)\n\nwhen flag clicked\nwait until <(_lvl) = [7]>\nswitch costume to (costume7 v)\n\nwhen flag clicked\nwait until <(_lvl) = [8]>\nswitch costume to (costume8 v)\n\nwhen flag clicked\nwait until <(_lvl) = [9]>\nswitch costume to (costume9 v)\n\nwhen flag clicked\nwait until <(_lvl) = [10]>\nswitch costume to (costume10 v)\n\n@Writing\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [gogogogogogo!! v]\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [2]>\nhide\n\nwhen flag clicked\nwait until <(_lvl) = [10]>\nshow\nswitch costume to (costume2 v)\n\n@Bounce\n\nwhen I receive [jump v]\nswitch costume to (costume1 v)\nrepeat (15)\n    next costume\nend\nswitch costume to (costume1 v)\n\nwhen flag clicked\nhide\n\nwhen I receive [gogogogogogo!! v]\nhide\n\nwhen flag clicked\ngo to x: (-23) y: (-107)\nwait until <(_lvl) = [3]>\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [4]>\nhide\n\nwhen flag clicked\nwait until <(_lvl) = [5]>\ngo to x: (214) y: (-107)\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [6]>\nhide\n\nwhen flag clicked\nwait until <(_lvl) = [9]>\ngo to x: (-179) y: (-107)\nshow\n\nwhen flag clicked\nwait until <(_lvl) = [10]>\ngo to x: (226) y: (-107)\nshow\n\n@Fake wall\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nwait until <(_lvl) = [7]>\nshow\n\nwhen [n v] key pressed\nchange [_lvl v] by (1)\n\nwhen flag clicked\nwait until <(_lvl) = [8]>\nhide\n\n@Thumbnail\n\nwhen flag clicked\nhide\nset [timer v] to [0.1]\nforever\n    set [timer v] to ((timer) + (0.1))\nend\n\nwhen [timer v] > (timer)\nshow\ngo to [front v] layer\ngo to x: (-460) y: (346)\nglide (0.3) secs to x: (0) y: (0)\n\n
Welcome to scratch Cube! Tap that green fabricy thing \ntwice to get yourself started! Use the arrow keys to move around, N to skip the level if you're about to flip a table and R to restart if I did something wrong with the coding. (Sorry if you do find something wrong with the game XD)