Simple - A Platformer (Part 1)    
@Stage\n\nwhen flag clicked\nstart sound [intro music v]\nswitch backdrop to (thumbnail v)\nwait (3) seconds\nrepeat (4)\n    change [brightness v] effect by (25)\n    wait (0.3) seconds\nend\nset [brightness v] effect to (0)\nswitch backdrop to (backdrop1 v)\nwait until <key (space v) pressed?>\nif <key (space v) pressed?> then\n    stop all sounds\nend\nforever\n    play sound [Vexento - Jump v] until done\nend\n\n@player\n\nwhen I receive [go v]\nshow\ngo to x: (-214) y: (115)\nswitch costume to (costume1 v)\nswitch backdrop to (backdrop2 v)\ngo to x: (-217) y: (-20)\nhide variable [yv v]\nhide variable [xv v]\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    change [yv v] by (-1)\n    if <<<key (left arrow v) pressed?> or <key (a v) pressed?>> or <<(mouse x) < (x position)> and <mouse down?>>> then\n        change [xv v] by (-1)\n    end\n    if <<<key (right arrow v) pressed?> or <key (d v) pressed?>> or <<(mouse x) > (x position)> and <mouse down?>>> then\n        change [xv v] by (1)\n    end\n    set [xv v] to ((xv) * (0.89))\n    change x by (xv)\n    if <<touching color (#000000)?> or <touching color (#009a2a)?>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <touching color (#009a2a)?>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <touching color (#009a2a)?>> then\n        change y by (1)\n    end\n    if <<touching color (#000000)?> or <touching color (#009a2a)?>> then\n        change y by (1)\n    end\n    if <touching color (#000000)?> then\n        change y by (-4)\n        change x by ((xv) * (-1))\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> then\n            set [yv v] to [17]\n            if <(xv) > [0]> then\n                set [xv v] to [-10]\n            else\n                set [xv v] to [10]\n            end\n        else\n            set [xv v] to [0]\n        end\n    end\n    change y by (yv)\n    if <touching color (#000000)?> then\n        change y by ((yv) - ((yv) * (2)))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<<<key (up arrow v) pressed?> or <key (w v) pressed?>> or <<(mouse y) > (y position)> and <mouse down?>>> and <touching color (#000000)?>> then\n        set [yv v] to [15]\n    end\n    change y by (1)\n    if <<touching color (#ff0000)?> or <touching color (#e50000)?>> then\n        go to x: (-217) y: (-20)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-217) y: (-20)\n    end\n    if <<touching color (#009a2a)?> or <<touching color (#000000)?> and <touching color (#009a2a)?>>> then\n        set [yv v] to [23]\n    end\n    if <touching (portal v)?> then\n        if <(backdrop [number v]) = [14]> then\n            go to x: (5) y: (-64)\n            repeat (5)\n                move (10) steps\n                change size by (-10)\n                wait (0.07) seconds\n                change y by (-10)\n                wait (0.07) seconds\n                move (-10) steps\n                wait (0.07) seconds\n                change y by (10)\n                change [ghost v] effect by (25)\n            end\n            change [ghost v] effect by (-250)\n            set size to (35) %\n            switch backdrop to (next backdrop v)\n            go to x: (-211) y: (20)\n        end\n        if <(backdrop [number v]) = [17]> then\n            go to x: (172) y: (-61)\n            repeat (5)\n                move (10) steps\n                change size by (-10)\n                wait (0.07) seconds\n                change y by (-10)\n                wait (0.07) seconds\n                move (-10) steps\n                wait (0.07) seconds\n                change y by (10)\n                change [ghost v] effect by (25)\n            end\n            change [ghost v] effect by (-250)\n            set size to (35) %\n            switch backdrop to (next backdrop v)\n            go to x: (-211) y: (-20)\n        end\n        if <(backdrop [number v]) = [20]> then\n            go to x: (185) y: (147)\n            repeat (5)\n                move (10) steps\n                change size by (-10)\n                wait (0.07) seconds\n                change y by (-10)\n                wait (0.07) seconds\n                move (-10) steps\n                wait (0.07) seconds\n                change y by (10)\n                change [ghost v] effect by (25)\n            end\n            change [ghost v] effect by (-250)\n            set size to (35) %\n            switch backdrop to (next backdrop v)\n            go to x: (-211) y: (-20)\n        end\n        if <(backdrop [number v]) = [22]> then\n            go to x: (200) y: (-82)\n            repeat (5)\n                move (10) steps\n                change size by (-10)\n                wait (0.07) seconds\n                change y by (-10)\n                wait (0.07) seconds\n                move (-10) steps\n                wait (0.07) seconds\n                change y by (10)\n                change [ghost v] effect by (25)\n            end\n            change [ghost v] effect by (-250)\n            switch backdrop to (next backdrop v)\n            go to x: (-211) y: (-20)\n        end\n    end\nend\n\nwhen flag clicked\nset size to (55) %\nhide\ngo to x: (-212) y: (-130)\n\nwhen backdrop switches to [backdrop1 v]\nshow\ngo to x: (-211) y: (-128)\n\nwhen backdrop switches to [backdrop16 v]\nset size to (55) %\n\nwhen backdrop switches to [backdrop19 v]\nset size to (55) %\n\nwhen backdrop switches to [backdrop5 v]\nswitch costume to (2 v)\n\nwhen backdrop switches to [backdrop6 v]\nswitch costume to (1 v)\n\nwhen backdrop switches to [backdrop1 v]\nswitch costume to (1 v)\nshow\n\nwhen backdrop switches to [backdrop22 v]\nset size to (55) %\n\nwhen backdrop switches to [backdrop23 v]\nset size to (55) %\n\n@Sprite1\n\nwhen I receive [go v]\nhide\nstop [other scripts in sprite v]\n\nwhen [space v] key pressed\nbroadcast (go v)\n\nwhen backdrop switches to [backdrop1 v]\nshow\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nforever\n    switch costume to (costume2 v)\n    wait (0.2) seconds\n    switch costume to (costume3 v)\n    wait (0.2) seconds\n    switch costume to (costume2 v)\n    wait (0.2) seconds\n    switch costume to (costume1 v)\n    wait (0.2) seconds\n    switch costume to (costume4 v)\n    wait (0.2) seconds\n    switch costume to (costume5 v)\n    wait (0.2) seconds\n    switch costume to (costume4 v)\n    wait (0.2) seconds\n    switch costume to (costume1 v)\n    wait (0.2) seconds\nend\n\nwhen flag clicked\nhide\n\n@portal\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (88) y: (-103)\nhide\ngo to [back v] layer\n\nwhen backdrop switches to [backdrop14 v]\ngo to x: (88) y: (-133)\nswitch costume to (costume1 v)\nshow\n\nwhen backdrop switches to [backdrop15 v]\nhide\n\nwhen backdrop switches to [backdrop17 v]\nswitch costume to (costume1 v)\nshow\ngo to x: (246) y: (-99)\n\nwhen backdrop switches to [backdrop18 v]\nhide\n\nwhen backdrop switches to [backdrop20 v]\nswitch costume to (costume1 v)\nshow\ngo to x: (258) y: (108)\n\nwhen backdrop switches to [backdrop21 v]\nswitch costume to (costume1 v)\nhide\n\nwhen backdrop switches to [backdrop22 v]\nswitch costume to (costume2 v)\nshow\ngo to x: (272) y: (-120)\n\nwhen backdrop switches to [backdrop23 v]\nhide\n\n@spikes\n\nwhen flag clicked\nset size to (100) %\nforever\n    if <<(backdrop [number v]) = [16]> or <<(backdrop [number v]) = [17]> or <(backdrop [number v]) = [18]>>> then\n        set size to (100) %\n        show\n        go to x: (21) y: (-165)\n        if <(backdrop [number v]) = [17]> then\n            switch costume to (costume2 v)\n            go to x: (22) y: (-166)\n        end\n        if <(backdrop [number v]) = [16]> then\n            switch costume to (costume1 v)\n        end\n        if <(backdrop [number v]) = [18]> then\n            set size to (120) %\n            switch costume to (costume3 v)\n            go to x: (-41) y: (-18)\n        end\n    else\n        hide\n    end\nend\n\n
NOW MOBILE FRIENDLY!\n\nUse arrow keys to move. The game walks you through too.  Also, I know it's easy and short, but I am working on a sequel that I hope will be better. I am open to, and appreciate, any tips and suggestions to make my sequel better! Enjoy!\nNote: My first platformer\nPlease check out parts 2 and 3!\nPart 2: https://scratch.mit.edu/projects/409168331/\nPart 3: https://scratch.mit.edu/projects/413466230/