Dream-A platformer V1.6
@Stage\n\n@player\n\nwhen flag clicked\nset [gravity v] to [-1]\nset [jump force v] to [14]\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\npoint in direction (90)\nshow\nforever\n    if <touching (sprite2 v)?> then\n        go to x: (-224) y: (-79)\n    end\n    if <key (w v) pressed?> then\n        if <(falling) < [3]> then\n            set [speed y v] to (JUMP FORCE)\n        end\n    end\n    if <key (a v) pressed?> then\n        point in direction (-90)\n        change [speed x v] by ((0) - (ACCELERATION))\n    end\n    if <key (d v) pressed?> then\n        point in direction (90)\n        change [speed x v] by (ACCELERATION)\n    end\n    if <touching (level v)?> then\n        repeat until <not <touching (level v)?>>\n            change y by (10)\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 (up arrow v) pressed?> then\n    if <(falling) < [3]> then\n        set [speed y v] to (JUMP FORCE)\n    end\nend\nchange [speed y v] by (GRAVITY)\n\ndefine Controls - Left  And Right\nif <key (left arrow v) pressed?> then\n    point in direction (-90)\n    change [speed x v] by ((0) - (ACCELERATION))\nend\nif <key (right arrow v) pressed?> then\n    point in direction (90)\n    change [speed x v] by (ACCELERATION)\nend\nset [speed x v] to ((Speed x) * (RESISTANCE))\n\ndefine Reset And Begin - Level\nset [scene # v] to [1]\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling v] to [99]\ngo to x: (-150) y: (55)\nbroadcast (Change Scene v)\nbroadcast (Game loop v)\n\nwhen I receive [game loop v]\nforever\n    broadcast (Tick - Player v)\n    broadcast (Tick - last v)\nend\n\nwhen I receive [tick - last v]\nif <(x position) > [237]> then\n    change [scene # v] by (1)\n    broadcast (Change Scene v)\n    set x to (-235)\nend\nif <(x position) < [-237]> then\n    change [scene # v] by (-1)\n    broadcast (Change Scene v)\n    set x to (235)\nend\n\nwhen flag clicked\nshow variable [☁ highscore v]\nshow variable [timer v]\n\nwhen flag clicked\nif <touching color (#000000)?> then\n    broadcast (lolo v)\n    go to x: (0) y: (0)\nend\n\n@Level\n\nwhen flag clicked\nshow\ngo to x: (0) y: (0)\ngo to [back v] layer\n\nwhen I receive [change scene v]\nshow\nswitch costume to (join [Scene] (SCENE #))\n\nwhen flag clicked\nreset timer\nset [timer v] to (timer)\n\nwhen flag clicked\nforever\n    wait (0) seconds\n    set [timer v] to (timer)\n    if <(costume [number v]) = [9]> then\n        if <(Timer) < (☁ highscore)> then\n            set [☁ highscore v] to (Timer)\n        end\n        stop [this script v]\n    end\nend\n\nchange [timer v] by (1)\n\nwhen I receive [lolo v]\nswitch costume to (scene9 v)\n\n@Sprite1\n\nwhen flag clicked\nhide\n\nshow\n\n@Sprite2\n\n@Clouds\n\nwhen flag clicked\ngo to x: (350) y: (133)\nhide\nset [ghost v] effect to (20)\nforever\n    go to x: (350) y: (133)\n    wait (pick random (8) to (25)) seconds\n    switch costume to (costume3 v)\n    show\n    repeat until <(x position) = [-309]>\n        move (pick random (-3) to (-10)) steps\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    play sound [Dream Speedrun Music v] until done\nend\n\n@Clouds2\n\nwhen flag clicked\ngo to x: (350) y: (133)\nhide\nset [ghost v] effect to (20)\nforever\n    go to x: (350) y: (133)\n    wait (pick random (8) to (25)) seconds\n    switch costume to (costume3 v)\n    show\n    repeat until <(x position) = [-309]>\n        move (pick random (-3) to (-10)) steps\n    end\n    hide\nend\n\nwhen flag clicked\nforever\n    play sound [Dream Speedrun Music v] until done\nend\n\n@Sun\n\nwhen flag clicked\ngo to x: (6) y: (8)\n\nwhen flag clicked\nforever\n    next costume\n    wait (0.04) seconds\nend\n\n@notif\n\nwhen flag clicked\ngo to x: (0) y: (50)\nhide\nwait (pick random (7) to (15)) seconds\nshow\nrepeat until <(y position) < [6]>\n    change y by (((5) - (y position)) / (6))\nend\nwait (3.5) seconds\nrepeat until <(y position) > [49.5]>\n    change y by (((y position) + (5)) / (5))\nend\nhide\nforever\n    wait (pick random (14) to (26)) seconds\n    show\n    repeat until <(y position) < [6]>\n        change y by (((5) - (y position)) / (6))\n    end\n    wait (3.5) seconds\n    repeat until <(y position) > [49.5]>\n        change y by (((y position) + (5)) / (5))\n    end\n    hide\nend\n\nwhen I receive [alert v]\nstop [other scripts in sprite v]\nrepeat (5)\n    change [ghost v] effect by (20)\nend\nhide\n\nwhen I receive [tick v]\ngo to [front v] layer\n\n
You are Dream this shouldn't be hard \n\nI want you to follow ❤ ⭐and follow, thank you for helping my channel grow \n\nOnly a small % of ppl who watch my content r actully followed so make sure to follow it helps out a ton\n\nmake sure to post your score in the chat\n\nmy high score is 8.943 