Jungle Platformer - Part 1
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\n@LEVEL\n\nwhen flag clicked\nswitch costume to (scene1 v)\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite1\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite2\n\nwhen I receive [next level v]\nnext costume\nrepeat (2000)\n    glide (1) secs to x: (119) y: (-27)\n    wait (0.2) seconds\n    glide (1) secs to x: (-61) y: (-26)\n    wait (0.2) seconds\nend\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [back v] layer\n\n@Sprite3\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to [front v] layer\nswitch costume to (costume1 v)\nwait (2) seconds\nrepeat (100)\n    change [ghost v] effect by (1)\nend\n\nwhen flag clicked\nwait (5) seconds\nforever\n    play sound [INSTRUMENTAL-happr-for-clips7 v] until done\n    wait (0.1) seconds\nend\n\n@player2\n\nwhen flag clicked\nset [gravity v] to [-1.5]\nset [jump force v] to [13]\nset [acceleration v] to [2]\nset [resistance v] to [0.8]\nReset and Begin Level\n\ndefine Move - in steps (steps)\nchange [falling v] by (1)\nrepeat (steps)\n    set [last value v] to (x position)\n    change x by ((speed x) / (steps))\n    check touching solid\n    if <(touching) > [0]> then\n        set x to (last value)\n        set [speed x v] to [0]\n    end\n    set [last value v] to (y position)\n    change y by ((speed y) / (steps))\n    check touching solid\n    if <(touching) > [0]> then\n        set y to (last value)\n        if <(speed y) < [0]> then\n            set [falling v] to [0]\n        end\n        set [speed y v] to [0]\n    end\nend\n\nwhen flag clicked\nforever\n    if <not <key (any v) pressed?>> then\n        switch costume to (costume3 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <key (up arrow v) pressed?> then\n        if <(falling) < [3]> then\n            set [speed y v] to (JUMP FORCE)\n        end\n    end\nend\n\ndefine check touching solid\nif <touching (level v)?> then\n    set [touching v] to [1]\nelse\n    set [touching v] to [0]\nend\n\nwhen I receive [tick - player v]\nControls - Up and Down\nControls - Left and Right\nMove - in steps (([abs v] of (speed x) ) + ([abs v] of (speed y) ))\n\ndefine Controls - Up and Down\nif <key (left arrow v) pressed?> then\n    change [speed x v] by ((0) - (ACCELERATION))\n    switch costume to (costume4 v)\nend\nchange [speed y v] by (GRAVITY)\n\ndefine Controls - Left and Right\nif <key (right arrow v) pressed?> then\n    change [speed x v] by (ACCELERATION)\n    switch costume to (costume2 v)\nend\nset [speed x v] to ((speed x) * (RESISTANCE))\n\ndefine Reset and Begin Level\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling v] to [99]\ngo to x: (-213) y: (-55)\nbroadcast (Change Scene v)\nbroadcast (Game Loop v)\n\nwhen I receive [game loop v]\nforever\n    broadcast (Tick - player v)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#00c119)?> then\n        broadcast (next level v)\n        play sound [Connect v] until done\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-213) y: (-98)\n\nwhen flag clicked\nforever\n    if <<touching color (#343030)?> or <touching color (#5e5e5e)?>> then\n        go to x: (-213) y: (-98)\n        play sound [Bonk v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff00ad)?> then\n        set [jump force v] to [25]\n        start sound [Jump v]\n        wait (0.8) seconds\n    else\n        set [jump force v] to [13]\n    end\nend\n\n@Sprite5\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [back v] layer\n\nwhen I receive [next level v]\nnext costume\nrepeat (2000)\n    glide (1) secs to x: (-61) y: (-27)\n    wait (0.2) seconds\n    glide (1) secs to x: (119) y: (-27)\n    wait (0.2) seconds\nend\n\n@Sprite6\n\nwhen flag clicked\nrepeat (50)\n    go to [front v] layer\n    change [ghost v] effect by (60)\nend\n\n@Love fave\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    go to [front v] layer\n    wait (pick random (10) to (20)) seconds\n    switch costume to (costume1 v)\n    go to x: (0) y: (50)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\nend\n\n
Join our big family : https://scratch.mit.edu/studios/30718909\n\n                   Just click flag.(>‿◠)✌\n\nPart 2 :  https://scratch.mit.edu/projects/694880106/                \n\n                 Dᴏɴᴛ ɢɪᴠᴇ ᴜᴘ ʏᴏᴜʀ ᴄᴜʀɪᴏsɪᴛʏ!\n\n----------------------------- Instructions --------------------------:\n                  ║ Use the arrow keys to move.║\n\n                       Obstacles are dark in color.\n\n           Pink springs for long jump over the obstacle:\n\n       Just be in the pink area and use the up arrow key.\n\n            Go to the green flag to go to the next level\n\n        I hope you like it, if it does not come, there is no \n         problem. \n\n■If you remixed this project, please make some \ninteresting changes in it, maybe it would be better that\nmy project!■\n\n\n—–-—▒▒▒▒▒▒▒▒▒▒\n—–-▒███████████▒\n—▒████▒▒▒▒▒▒▒███▒\n-▒████▒▒▒▒▒▒▒▒▒███▒▒▒▒▒▒▒\n-▒███▒▒▒▒▒███▒▒▒███▒▒██████▒\n-▒███▒▒▒▒██████▒▒███▒▒██▒▒▒▒██▒\n▒███▒▒▒███████▒▒██▒▒███▒▒█▒▒██▒\n▒███▒▒████████▒██▒▒███▒▒███▒▒██▒\n ▒██▒▒██████████▒▒███▒▒████▒▒██▒\n   ▒██▒▒██████████████▒████▒▒██▒\n——▒██▒▒█████████████████▒▒██▒\n————▒██▒▒██████████████▒▒██▒\n————–▒██▒▒████████████▒▒██▒\n—————-▒██▒▒██████████▒▒██▒\n—————–▒██▒▒████████▒▒██▒\n——————-▒██▒▒██████▒▒██▒\n———————▒██▒▒████▒▒██▒\n———————-▒██▒▒███▒▒█▒\n————————▒██▒▒█▒▒█▒\n————————-▒██▒▒▒█▒\n—————————▒██▒█▒\n—————————♥♥♥♥♥♥\n—————————-♥♥♥♥♥\n——————————♥♥♥\n—————————-—♥♥\n———————————♥\n