Winter 1.5.2v|| A platformer Reshared
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\nbroadcast (start platformer v)\n\nwhen I receive [alert v]\n\nnext backdrop\n\n@Sprite5\n\nwhen flag clicked\nhide\ngo to x: (0) y: (177)\nset [ghost v] effect to (50)\n\nwhen flag clicked\nforever\n    set size to (pick random (25) to (100)) %\n    create clone of (_myself_ v)\n    wait (pick random (0.01) to (1)) seconds\nend\n\nwhen I start as a clone\nset x to (pick random (-300) to (300))\nshow\nrepeat (100)\n    change y by (pick random (-1) to (-5))\nend\ndelete this clone\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (36) y: (60)\nset [ghost v] effect to (25)\n\nwhen flag clicked\nshow\nforever\n    wait (pick random (10) to (1)) seconds\n    broadcast (moving somewhere v)\n    wait (5) seconds\n    wait (pick random (10) to (1)) seconds\n    broadcast (backup v)\n    wait (5) seconds\nend\n\nwhen I receive [moving somewhere v]\nrepeat (35)\n    change y by (-1)\nend\n\nwhen I receive [backup v]\nrepeat (35)\n    change y by (1)\nend\n\nwhen this sprite clicked\nhide\n\n@Sprite6\n\nwhen flag clicked\nhide\n\ngo to [front v] layer\n\n@Level areas\n\nwhen flag clicked\nset [time v] to [0]\nhide\ngo to x: (0) y: (0)\ngo to [front v] layer\n\nwhen I receive [change scene v]\nswitch costume to (join [Scene] (SCENE #))\n\nwhen I receive [back to start v]\nforever\n    switch costume to (scene1 v)\nend\n\nwhen I receive [start platformer v]\nshow\n\nwhen flag clicked\nforever\n    if <(SCENE #) = [16]> then\n        change [time v] by (0)\n    else\n        change [time v] by (0.1)\n        wait (0.1) seconds\n    end\nend\n\n@Danger\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [back v] layer\ngo [forward v] (1) layers\n\nwhen I receive [change scene v]\nswitch costume to (join [Scene] (SCENE #))\n\nwhen I receive [back to start v]\nforever\n    switch costume to (scene1 v)\nend\n\nwhen I receive [start platformer v]\nshow\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        if <(SCENE #) = [3]> then\n            broadcast (scene 3 reset v)\n        else\n            if <(SCENE #) = [4]> then\n                broadcast (sd4 v)\n            else\n                if <(SCENE #) = [5]> then\n                    broadcast (sd5 v)\n                else\n                    if <(SCENE #) = [6]> then\n                        broadcast (sd6 v)\n                    else\n                        if <(SCENE #) = [7]> then\n                            broadcast (sd7 v)\n                        else\n                            if <(SCENE #) = [8]> then\n                                broadcast (sd8 v)\n                            else\n                                if <(SCENE #) = [9]> then\n                                    broadcast (sd9 v)\n                                else\n                                    if <(SCENE #) = [10]> then\n                                        broadcast (sd10 v)\n                                    else\n                                        if <(SCENE #) = [11]> then\n                                            broadcast (sd11 v)\n                                        else\n                                            if <(SCENE #) = [12]> then\n                                                broadcast (sd12 v)\n                                            else\n                                                if <(SCENE #) = [13]> then\n                                                    broadcast (sd13 v)\n                                                else\n                                                    if <(SCENE #) = [14]> then\n                                                        broadcast (sd14 v)\n                                                    else\n                                                        if <(SCENE #) = [15]> then\n                                                            broadcast (sd15 v)\n                                                        else\n                                                        end\n                                                    end\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (costume1 v)\nforever\n    change [speed v] by (1)\n    point in direction ((([sin v] of (speed) ) + (90)) * (5))\nend\n\nwhen I receive [alert v]\nnext costume\n\n@Sprite4\n\nwhen flag clicked\nforever\n    if <key (r v) pressed?> then\n        broadcast (back to start v)\n    end\nend\n\nwhen I receive [back to start v]\nchange [time v] by (join [-] (Time))\n\n@song\n\nwhen flag clicked\nforever\n    play sound [Spectre v] until done\nend\n\n@Sprite1\n\nwhen flag clicked\ngo to [back v] layer\nforever\n    switch costume to (join [b] (SCENE #))\nend\n\n@PLAYER\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\ndefine Check Touching solid\nif <touching (level areas 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    change [speed x v] by ((0) - (ACCELERATION))\nend\nif <key (right arrow v) pressed?> then\n    change [speed x v] by (ACCELERATION)\nend\nset [speed x v] to ((speed x) * (RESISTANCE))\n\ndefine Reset and Begin Level\nswitch costume to (costume1 v)\nset [scene # v] to [1]\nset [speed x v] to [0]\nset [speed y v] to [0]\nset [falling v] to [0]\ngo to x: (-139) y: (33)\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) > [235]> then\n    Begin Score # ((SCENE #) + (1)) go to x: [-235]\nend\nif <(x position) < [-235]> then\n    Begin Score # ((SCENE #) + (-1)) go to x: [235]\nend\n\ndefine Begin Score # (scene #) go to x: (x)\nset [scene # v] to (scene #)\nset x to (x)\nbroadcast (change scene v)\nstop [other scripts in sprite v]\nwait (0) seconds\nFix Collision in Diection [0]\nbroadcast (Game Loop v)\n\ndefine Fix Collision in Diection (dir)\nset [temp v] to (direction)\nset [distance v] to [1]\npoint in direction (dir)\nrepeat (64)\n    Check Touching solid\n    if <(Touching) < [1]> then\n        point in direction (temp)\n        stop [this script v]\n    end\n    move (distance) steps\n    turn right (180) degrees\n    change [distance v] by (1)\nend\n\nwhen I receive [back to start v]\ngo to x: (-139) y: (33)\n\nwhen I receive [start platformer v]\nshow\npoint in direction (90)\nset [gravity v] to [-1.5]\nset [jump force v] to [15]\nset [acceleration v] to [2]\nset [resistance v] to [0.8]\nReset and Begin Level\n\nwhen flag clicked\nforever\n    wait (pick random (30) to (140)) seconds\n    next costume\n    broadcast (alert v)\nend\n\nwhen I receive [scene 3 reset v]\ngo to x: (-160) y: (0)\n\nwhen I receive [sd4 v]\ngo to x: (-195) y: (25)\n\nwhen I receive [sd5 v]\ngo to x: (-195) y: (60)\n\nwhen I receive [sd6 v]\ngo to x: (-195) y: (30)\n\nwhen I receive [sd7 v]\ngo to x: (-202) y: (50)\n\nwhen I receive [sd8 v]\ngo to x: (-202) y: (50)\n\nwhen I receive [sd9 v]\ngo to x: (-202) y: (30)\n\nwhen I receive [sd10 v]\ngo to x: (-202) y: (37)\n\nwhen I receive [sd11 v]\ngo to x: (-202) y: (70)\n\nwhen I receive [sd12 v]\ngo to x: (-202) y: (119)\n\nwhen I receive [sd13 v]\ngo to x: (-202) y: (-140)\n\nwhen I receive [sd14 v]\ngo to x: (-202) y: (-5)\n\nwhen I receive [sd15 v]\ngo to x: (-202) y: (-5)\n\n@Sprite7\n\nwhen flag clicked\nset [ghost v] effect to (10)\ncreate clone of (_myself_ v)\nhide\nforever\n    wait (pick random (10) to (50)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nset x to (237)\nswitch costume to (join [costume] (pick random (1) to (5)))\nset y to (pick random (25) to (145))\nshow\nforever\n    change x by (pick random (-0.2) to (-0.75))\nend\n\nwhen I start as a clone\ngo to [back v] layer\ngo to [back v] layer\ngo [forward v] (1) layers\nforever\n    if <(x position) = [-200]> then\n        delete this clone\n    end\nend\n\n
Well this is kinda my second platformer so please no hate. :(\nWinter || A Platformer\n___________________________________________\n=====================================\nlezzgoo I'm I mean was on trending..., again :o\nAlso let's get 150 loves and faves when I come back online :D for those who don't know I'm gonna be offline due to a vacation/tour for 5 days and it's for school\nSorry it's only laptop or pc at the moment\n !!!@RDash75 commented!!!\nEach version of the game will be in another project and the theme will change\n\n___________INSTRUCTIONS___________\nglitched in the ground or somehow stuck?\npress r to go back to the start.\nAnd also arrows to move\nAND TELL ME WHAT PLATFORMER I SHOULD MAKE NEXT\n\nfollow: @Natashaskyblue3000 , @Try_M3 and @Tinyau.\nfirst comment: @LabelTed\nIf you see any bugs then tell me in the comments cuz I probably update this lol :D\nADVERTISE IF FOLLOWED ME @noicelookatme,  LIKE AND FAVE\nBEAT 28 :D record set by me\nSadly some beaten my record but I'll come back XD just you wait >:(     XD\n        ___Update log___\n1.5.2v - 19/07/23 - fixed trees in one of the scene to the right place where their meant to be\n1.5.1v - 19/07/23 - clouds appear\n1.4.1v - 19/07/23 - sun at back layer\n1.4v 19/07/23 - taken username WR holder and the time out because of a bug where the username will go to 31 always and sometimes the WR time will go to 0.1\n1.5v - 19/07/23 - added WR and the WR holder\n1.4v - 18/07/23 - snow effect\n1.3v - 18/07/23 - when died go to same scene \n1.2v - 18/0723 - change day to night and night to day at random timer\n1.1v - 18/07/23 - timer and reset when r clicked\n1.0v - 17/07/23 - like and fave reminder