No Steering - The Platformer
@Stage\n\nwhen flag clicked\nbroadcast (Start v)\nswitch backdrop to (bakgrund2 v)\nwait (1) seconds\nswitch backdrop to (bakgrund1 v)\nbroadcast (Schow v)\n\nwhen flag clicked\nforever\n    play sound [bensound-summer v] until done\nend\n\n@Rubik's cube\n\nwhen flag clicked\nshow\ngo to x: (-201) y: (-86)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#6c483c)?> then\n        change y by (1)\n    end\n    change y by (y)\n    if <touching color (#6c483c)?> then\n        change y by ((y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-0.5)\n    if <<key (up arrow v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [-200]>>> then\n        set [y v] to [10]\n    end\n    if <touching color (#6c483c)?> then\n        change y by (1)\n        if <touching color (#6c483c)?> then\n            change y by (1)\n            if <touching color (#6c483c)?> then\n                change y by (1)\n                if <touching color (#6c483c)?> then\n                    change y by (1)\n                    if <touching color (#6c483c)?> then\n                        change y by (1)\n                        if <touching color (#6c483c)?> then\n                            change y by (1)\n                            if <touching color (#6c483c)?> then\n                                change y by (1)\n                                if <touching color (#6c483c)?> then\n                                    change y by (1)\n                                    if <touching color (#6c483c)?> then\n                                        change y by (1)\n                                        if <touching color (#6c483c)?> then\n                                            change y by (-6)\n                                            if <<key (up arrow v) pressed?> or <<mouse down?> and <((mouse y) - (y position)) > [-200]>>> then\n                                                if <(x) > [0]> then\n                                                    set [x v] to [-5]\n                                                else\n                                                    set [x v] to [5]\n                                                end\n                                                set [y v] to [5]\n                                            else\n                                                set [x v] to ((x) * (-1.3))\n                                                change x by (x)\n                                                set [x v] to [0]\n                                                change x by ((x) / (5))\n                                            end\n                                            change x by (-4)\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    if <touching color (#ffc600)?> then\n        change [x v] by (4)\n    end\n    if <touching (next level v)?> then\n        broadcast (Next Level! v)\n    end\n    if <touching (next level v)?> then\n        go to x: (-201) y: (-86)\n    end\n    if <touching color (#ff6500)?> then\n        change [y v] by (-7)\n    end\n    if <touching color (#c8ff00)?> then\n        change [x v] by (6)\n    end\n    if <touching color (#e6ff00)?> then\n        go to x: (-201) y: (-86)\n    end\n    if <touching color (#005cff)?> then\n        go to x: (-201) y: (-86)\n    end\n    if <key (r v) pressed?> then\n        go to x: (-201) y: (-86)\n    end\n    if <touching color (#ff6666)?> then\n        change [x v] by (-5)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (0)\nset size to (100) %\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change [ghost v] effect by (10)\n    change size by (-10)\nend\ndelete this clone\n\nwhen I receive [start v]\nhide\n\nwhen I receive [schow v]\nshow\n\ngo to x: (-201) y: (-86)\n\ngo to x: (-201) y: (-86)\n\nwhen I receive [go back v]\ngo to x: (-201) y: (-86)\n\n@Clouds\n\nwhen flag clicked\nhide\nforever\n    wait (1) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (3))\ngo to [back v] layer\nshow\ngo to x: (500) y: (pick random (100) to (0))\nset size to (pick random (50) to (125)) %\nset [ghost v] effect to (pick random (0) to (75))\nrepeat until <[-232] > (x position)>\n    change x by (-2)\nend\ndelete this clone\n\nwhen I receive [start v]\nhide\n\nwhen I receive [schow v]\nshow\n\n@Level\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\nswitch costume to (grass v)\nforever\n    if <(costume [number v]) = [4]> then\n        broadcast (Water v)\n    end\n    if <(costume [number v]) = [7]> then\n        broadcast (Stop v)\n    end\n    if <(costume [number v]) = [11]> then\n        broadcast (End v)\n    end\n    if <(costume [number v]) = [12]> then\n        broadcast (STOP!!! v)\n    end\nend\n\nwhen I receive [next level! v]\nnext costume\n\nwhen I receive [start v]\nhide\n\nwhen I receive [schow v]\nshow\n\n@Next Level\n\nwhen flag clicked\nshow\nswitch costume to (klädsel1 v)\ngo to x: (0) y: (0)\nforever\n    repeat (10)\n        change y by (1)\n    end\n    wait (0.1) seconds\n    repeat (10)\n        change y by (-1)\n    end\nend\n\nwhen I receive [next level! v]\nnext costume\n\nwhen I receive [start v]\nhide\n\nwhen I receive [schow v]\nshow\n\n@Water\n\nwhen flag clicked\nhide\n\nwhen I receive [water v]\nshow\ngo to x: (0) y: (0)\nforever\n    repeat (20)\n        change y by (1)\n    end\n    repeat (20)\n        change y by (-1)\n    end\nend\n\nwhen I receive [stop v]\nhide\n\n@Sprajt1\n\nwhen flag clicked\nhide\nset [ghost v] effect to (0)\nset [color v] effect to (0)\n\nwhen I receive [end v]\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\n\n@Sprajt2\n\nwhen flag clicked\nset [idk v] to [0]\nhide\nset [ghost v] effect to (0)\n\nwhen I receive [end v]\nshow\npoint in direction (90)\ngo to [front v] layer\nshow\nset [ghost v] effect to (100)\nrepeat (100)\n    change [ghost v] effect by (-1)\nend\nforever\n    go to [front v] layer\n    change [idk v] by (7.5)\n    point in direction ((([sin v] of (idk) ) * (15)) + (90))\n    set size to ((([sin v] of (idk) ) * (15)) + (90)) %\nend\n\ngo [forward v] (5) layers\n\n@Sprajt3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [start v]\nhide\n\nwhen I receive [schow v]\nshow\n\nwhen this sprite clicked\nbroadcast (Go back v)\n\n
- All you have to do is press the up key, OR use touch. \n- If you are stuck then just press "R" and you will restart.\n- Touch the arrows and you fly in the \ndirection they point\n\ncheck out my new platformer https://scratch.mit.edu/projects/464113624/\n