A Journey Home || A Mobile Friendly Platformer #games #Platformer
@Stage\n\n@Sprite3\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nset rotation style [left-right v]\nshow\nset volume to (100) %\nswitch costume to (costume1 v)\ngo to x: (-196) y: (-81)\nhide variable [y v]\nhide variable [x v]\nset [y v] to [0]\nset [x v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        point in direction (90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching color (#3dbc00)?> then\n        change y by (1)\n    end\n    if <touching color (#3dbc00)?> then\n        change y by (1)\n    end\n    if <touching color (#3dbc00)?> then\n        change y by (1)\n    end\n    if <touching color (#3dbc00)?> then\n        change y by (1)\n    end\n    if <touching color (#3dbc00)?> then\n        change y by (-4)\n        change x by ((x) * (-1))\n        if <<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> then\n            set [y v] to [17]\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    change y by (y)\n    if <touching color (#3dbc00)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <touching color (#3dbc00)?>> then\n        set [y v] to [15]\n    end\n    change y by (1)\n    if <touching color (#ff0000)?> then\n        switch costume to (costume2 v)\n        wait (0.1) seconds\n        switch costume to (costume1 v)\n        go to x: (-196) y: (-81)\n    end\n    if <(x position) > [222]> then\n        switch backdrop to (next backdrop v)\n        go to x: (-196) y: (-81)\n    end\n    if <(y position) < [-180]> then\n        go to x: (-196) y: (-81)\n    end\nend\n\nwhen flag clicked\nwait (6) seconds\nforever\n    play sound [Alan Walker - Nebula \(New Song 2019\) v] until done\nend\n\nwhen I receive [hjkuygbnmhgb ddd v]\ngo to x: (-196) y: (-81)\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\ngo to x: (-185) y: (-73)\n\nwhen I receive [hellp v]\ngo to x: (-196) y: (-81)\n\n@Sprite4\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\n\nwhen this sprite clicked\nbroadcast (hjkuygbnmhgb ddd v)\n\nwhen backdrop switches to [castle 2 v]\nhide\n\nwhen flag clicked\nwait (5.5) seconds\nplay sound [Alan Walker - Nebula \(New Song 2019\) v] until done\n\n@skip\n\nwhen this sprite clicked\nswitch backdrop to (next backdrop v)\n\nwhen flag clicked\nhide\nwait (5) seconds\nshow\n\nwhen backdrop switches to [castle 2 v]\nhide\n\nwhen this sprite clicked\nbroadcast (hellp v)\n\n@Sprite2\n\nwhen flag clicked\nhide\nset volume to (100) %\nstart sound [FLIGHT v]\nset [clones v] to [0]\nreset timer\nrepeat (8)\n    change [clones v] by (1)\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\nwait until <(timer) > [3]>\nrepeat (20)\n    change volume by (-7)\n    wait (0.2) seconds\nend\n\nwhen I start as a clone\nif <<(Clones) > [0]> and <(Clones) < [9]>> then\n    show\n    go to x: (0) y: (0)\n    switch costume to (Clones)\n    set [ghost v] effect to (100)\n    point in direction (0)\n    set size to (99999999) %\n    repeat (50)\n        change size by (((125) - (size)) / (8))\n        turn right (((90) - (direction)) / (8)) degrees\n        change [ghost v] effect by (-4)\n    end\nend\n\nwhen I start as a clone\nwait until <(timer) > [4]>\nrepeat (50)\n    change size by (((175) - (size)) / (8))\n    change [ghost v] effect by (4)\nend\nhide\n\nwhen flag clicked\ngo to [front v] layer\n\n@hf\n\nwhen flag clicked\nshow\nwait (5) seconds\nhide\n\n@thumbnail\n\nwhen flag clicked\nhide\n\nshow\ngo to [front v] layer\ngo to x: (11) y: (-28)\n\nwhen flag clicked\nwait (5) seconds\nbroadcast (hello v)\n\n@Sun\n\nwhen flag clicked\ngo to [back v] layer\nclear graphic effects\nswitch costume to (rays v)\ngo to x: (210) y: (170)\ncreate clone of (_myself_ v)\nforever\n    turn right (1) degrees\nend\n\nwhen I start as a clone\nswitch costume to (sun v)\n\nwhen I receive [dead v]\nset [brightness v] effect to (-100)\nrepeat (50)\n    change [brightness v] effect by (2)\nend\n\nwhen flag clicked\nshow\n\nwhen backdrop switches to [castle 2 v]\nhide\n\n@Bat\n\nshow\ngo to [front v] layer\ngo to x: (11) y: (-28)\n\nwhen flag clicked\nhide\n\nchange size by (10)\n\n
Top Remixed!!! 6-25-20\n\nPlay Fire And Ice: A Platformer https://scratch.mit.edu/projects/407954102/\n\nPlz Don't Advertise, All Advertising Will Be Reported!!!\n\nI spent over a week one this so please leave a heart.\n\nYou are lost and you must find your way home!\nYou must pass all 10 levels to get home!\n\nComputer- arrow keys\nMobile- Tap\nHit the skip button- skip\nHit the reset button- reset \nSpikes- death \nLava- death\n\nAll levels are possible \nRemix all you want \n\nMusic Alan Walker - Nebula\nThanks to @PleaseDontKikMe for the sun sprite \nThanks to @NeelDaPeel For the dash on the thumbnail\nThanks to @Plant2 for the skip and reset button sprites \nThanks for all the coding and everything else @bookdog17\n\n#games #platformer #lost #home