kodiak77-77 I A Platformer
@Stage\n\nwhen I receive [end intro v]\nwait (1.5) seconds\nforever\n    play sound (pick random (1) to (2)) until done\nend\n\n@Player\n\ndefine ycoll\nrepeat until <not <touching (stages v)?>>\n    if <(y) > [0]> then\n        change y by (-0.5)\n    else\n        change y by (0.5)\n    end\nend\n\ndefine fast\nrepeat (6)\n    if <touching (stages v)?> then\n        change y by (1)\n    end\nend\n\ndefine xcoll\nrepeat until <not <touching (stages v)?>>\n    if <(x) > [0]> then\n        change x by (-1)\n    else\n        change x by (1)\n    end\nend\n\nwhen flag clicked\nforever\n    repeat until <(x position) > [-210]>\n        turn right (5) degrees\n        change [x v] by (4)\n    end\nend\n\nwhen I receive [end intro v]\nwait (1.5) seconds\nshow\nset size to (40) %\nclear graphic effects\npoint in direction (90)\nswitch costume to (1 v)\ngo to x: (-200) y: (60)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    change [y v] by (-1)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        turn right (8) degrees\n        switch costume to (1 v)\n        change [x v] by (0.75)\n    else\n        if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n            turn left (8) degrees\n            switch costume to (2 v)\n            change [x v] by (-0.75)\n        end\n    end\n    set [x v] to ((x) * (0.9))\n    change x by (x)\n    if <touching (stages v)?> then\n        fast\n        if <touching (stages v)?> then\n            change y by (-6)\n            xcoll\n            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                set [y v] to [11]\n                if <([abs v] of (x) ) = (x)> then\n                    set [x v] to [-10]\n                else\n                    set [x v] to [7]\n                end\n            else\n                set [x v] to [0]\n            end\n        end\n    end\n    change y by (y)\n    if <touching (stages v)?> then\n        ycoll\n        if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <(y) < [0]>> then\n            set [y v] to [14]\n        else\n            set [y v] to [0]\n        end\n    end\n    if <(x position) > [210]> then\n        broadcast (Next :DDD v)\n        switch costume to (1 v)\n        go to x: (-200) y: (50)\n        point in direction (90)\n        set [x v] to [0.5]\n        set [y v] to [0]\n    end\n    if <<touching (spikes v)?> or <(y position) < [-180]>> then\n        broadcast (Dead :DDD v)\n        start sound [Bonk v]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        point in direction (90)\n        switch costume to (1 v)\n        go to x: (-200) y: (50)\n        set [x v] to [0.5]\n        set [y v] to [0]\n        repeat (10)\n            change [ghost v] effect by (-10)\n        end\n    end\nend\n\nwhen flag clicked\nhide\n\n@Stages\n\nwhen flag clicked\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [next :ddd v]\nnext costume\n\nwhen I receive [end intro v]\nwait (0.5) seconds\nshow\n\n@Spikes\n\nwhen flag clicked\ngo to [back v] layer\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [next :ddd v]\nnext costume\n\nwhen I receive [end intro v]\nwait (0.5) seconds\nshow\n\n@Shadows\n\nwhen flag clicked\nhide\n\nwhen I receive [next :ddd v]\nnext costume\n\nwhen I receive [end intro v]\nwait (0.5) seconds\nset [ghost v] effect to (87)\ngo to [back v] layer\nswitch costume to (1 v)\ngo to x: (0) y: (0)\nshow\n\n@Shadow Player\n\nwhen flag clicked\nset [ghost v] effect to (87)\ngo to [back v] layer\nswitch costume to (1 v)\nhide\n\nwhen I receive [dead :ddd v]\nrepeat (13)\n    change [ghost v] effect by (1)\nend\nset [ghost v] effect to (87)\n\nwhen I receive [end intro v]\nwait (1.5) seconds\nshow\nforever\n    go to [back v] layer\n    go to (player v)\nend\n\n@Intro #1\n\nwhen I start as a clone\nif <(costume [name v]) = [3]> then\n    wait (2) seconds\n    repeat (25)\n        change [ghost v] effect by (-2)\n    end\n    wait (3.5) seconds\n    repeat (50)\n        change [ghost v] effect by (2)\n    end\nend\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\npoint in direction (90)\ngo to [front v] layer\nstart sound [Intro song_ Hop, by Schtiffles v]\nswitch costume to (me v)\ncreate clone of (_myself_ v)\nswitch costume to (1 v)\ncreate clone of (_myself_ v)\nswitch costume to (tn v)\ncreate clone of (_myself_ v)\nswitch costume to (2 v)\ncreate clone of (_myself_ v)\nswitch costume to (3 v)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(costume [name v]) = [Me]> then\n    go to [front v] layer\n    wait (0) seconds\n    go to x: (-300) y: (0)\n    show\n    Smooth Glide x: (0) y: (0) speed: (8)\n    repeat (152)\n        set y to (([cos v] of ((timer) * (700)) ) * (13))\n        point in direction ((([cos v] of ((timer) * (300)) ) * (3)) + (90))\n    end\n    point in direction (90)\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    broadcast (Go follow kodiak v)\nelse\n    if <(costume [name v]) = [1]> then\n        wait (0) seconds\n        go to x: (-300) y: (0)\n        show\n        start sound [Low Whoosh v]\n        Smooth Glide x: (245) y: (0) speed: (6)\n        repeat (4)\n            wait (1) seconds\n            repeat (5)\n                change [brightness v] effect by (0.5)\n            end\n            repeat (5)\n                change [brightness v] effect by (-0.5)\n            end\n        end\n    end\n    if <(costume [name v]) = [Tn]> then\n        set [ghost v] effect to (0)\n        go to [back v] layer\n        show\n        wait (1) seconds\n        delete this clone\n    end\n    if <(costume [name v]) = [3]> then\n        wait (1) seconds\n        show\n        go to [back v] layer\n        set [ghost v] effect to (100)\n        go [forward v] (7) layers\n        \n            glide (1) secs to x: (-220) y: (0)\n            go to x: (0) y: (0)\n        end\n    end\nend\n\nwhen I receive [go follow kodiak v]\nwait (0.5) seconds\nstart sound [Low Whoosh v]\nSmooth Glide x: (-300) y: (0) speed: (7)\n\nwhen I receive [go follow kodiak v]\nbroadcast (End intro v)\nwait (0.6) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nstop [other scripts in sprite v]\nstop [this script v]\n\ndefine Smooth Glide x: (x) y: (y) speed: (speed)\nrepeat until <<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>>\n    change x by (((round (x)) - (round (x position))) / (speed))\n    change y by (((round (y)) - (round (y position))) / (speed))\nend\ngo to x: (x) y: (y)\n\n@Intro #2\n\ndefine Clone (#) orbs\nswitch costume to (1 v)\npoint in direction (pick random (180) to (-180))\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nforever\n    move (3) steps\nend\n\nwhen I start as a clone\nwait (0.5) seconds\nrepeat (10)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\nwhen flag clicked\nwait (1.4) seconds\nhide\nset [ghost v] effect to (50)\nrepeat (12)\n    wait (0.4) seconds\n    go to x: (pick random (-240) to (240)) y: (-300)\n    Clone [1] orbs\n    Clone [1] orbs\n    Clone [1] orbs\n    Clone [1] orbs\nend\n\nwhen I start as a clone\ngo to [front v] layer\ngo [backward v] (2) layers\n\nwhen I start as a clone\nshow\nrepeat (2)\n    change y by (20)\nend\nrepeat (3)\n    change y by (15)\nend\nrepeat (3)\n    change y by (10)\nend\nrepeat (2)\n    change y by (5)\nend\nrepeat (2)\n    change y by (3)\nend\nrepeat (2)\n    change y by (-3)\nend\nrepeat (2)\n    change y by (-5)\nend\nrepeat (3)\n    change y by (-10)\nend\nrepeat (3)\n    change y by (-15)\nend\nrepeat (3)\n    change y by (-20)\nend\nforever\n    change y by (-35)\nend\n\n@TN\n\nwhen flag clicked\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\nend\n\n@TN2\n\nwhen flag clicked\ngo to [front v] layer\nset [ghost v] effect to (100)\ngo to x: (0) y: (0)\nshow\nwait (1) seconds\nhide\nstop [this script v]\n\n
Hi ! Welcome to @kodiak77-77 I A Platformer !\n\nPress the arrows to move !\n\n■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■\n\nCredits :\n\nArt - 100% by @kodiak77-77 \nThank you coollogo for writing\n■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■-■\n\nTags :\n\n#kodiak77-77 #Games #Art #Platformer #Scratch  #Music #Popular #Recent #Love #Favorite #And #Follow 