Ink Drake - A Platformer [COLLAB]
@Stage\n\nwhen I receive [prepareproject v]\nset [level v] to [1]\nforever\n    switch backdrop to (join [Stage] (Level))\nend\n\nwhen I receive [prepareproject v]\nforever\n    play sound [Dynamite 8-bit v] until done\nend\n\n@Intro\n\nwhen flag clicked\nstart sound [Martin Garrix & Bebe Rexha - In The Name Of Love \(Official Video\) \(1\)2 v]\ngo to x: (0) y: (253)\nswitch costume to (altergeist_vin v)\nswitch backdrop to (intro v)\nshow\nset [yvelintro v] to [-1]\n\n    change [yvelintro v] by (-2)\n    change y by (Yvelintro)\n    if <(y position) < [1]> then\n        set [yvelintro v] to ((Yvelintro) * (-0.9))\n        if <([abs v] of (Yvelintro) ) < [10]> then\n            set [yvelintro v] to [0]\n            broadcast (EndIntro v)\n        end\n    end\nend\n\nwhen I receive [endintro v]\nstop [other scripts in sprite v]\nstop all sounds\nswitch costume to (fadetowhite v)\nset [ghost v] effect to (100)\nrepeat (20)\n    change [ghost v] effect by (-5)\nend\nbroadcast (PrepareProject v)\nrepeat (20)\n    change [ghost v] effect by (5)\nend\nbroadcast (StartProject v)\nhide\n\ngo to x: (0) y: (0)\nswitch backdrop to (intro v)\nswitch costume to (altergeist_vin v)\nclear graphic effects\nshow\n\n@Thumbnail\n\ngo to x: (0) y: (0)\nswitch costume to (kostüm2 v)\nset size to (100) %\nswitch costume to (kostüm1 v)\ngo to [front v] layer\nshow\n\nwhen flag clicked\nhide\n\n@Player\n\nwhen flag clicked\nhide\n\nwhen I receive [prepareproject v]\nbroadcast (Reset v)\n\nwhen I receive [startproject v]\nforever\n    set [player: animationframe v] to [1]\n    wait (0.1) seconds\n    set [player: animationframe v] to [2]\n    wait (0.1) seconds\nend\n\nwhen I receive [startproject v]\nforever\n    switch costume to (hitbox v)\n    set rotation style [don't rotate v]\n    if <<(x position) > [235]> or <key (s v) pressed?>> then\n        broadcast (Reset v)\n        change [level v] by (1)\n        wait until <not <key (s v) pressed?>>\n    end\n    if <<<<touching color (#ff4d46)?> or <touching color (#d33939)?>> or <(y position) < [-175]>> or <key (r v) pressed?>> then\n        broadcast (Reset v)\n        wait until <not <key (r v) pressed?>>\n    end\n    change [yvel v] by (-0.5)\n    if <<key (right arrow v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>> then\n        change [xvel v] by (0.8)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>> then\n        change [xvel v] by (-0.8)\n        point in direction (-90)\n    end\n    set [xvel v] to ((Xvel) * (0.9))\n    change x by (Xvel)\n    if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n        change y by (1)\n        if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n            change y by (1)\n            if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n                change y by (1)\n                if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n                    change y by (1)\n                    if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n                        change y by (1)\n                        if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n                            change y by (1)\n                            if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n                                change y by (1)\n                                if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n                                    change y by (-7)\n                                    change x by ((Xvel) * (-1))\n                                    set [xvel v] to [0]\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (Yvel)\n    if <<touching color (#332c3c)?> or <touching color (#348950)?>> then\n        change y by ((Yvel) * (-1))\n        if <<<key (up arrow v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>> and <(Yvel) < [0]>> then\n            set [yvel v] to [11]\n        else\n            set [yvel v] to [0]\n        end\n    end\n    switch costume to (Player: animationFrame)\n    set rotation style [left-right v]\nend\n\nwhen I receive [reset v]\ngo to x: (-215) y: (-110)\npoint in direction (90)\nset rotation style [left-right v]\nswitch costume to (1 v)\nset size to (15) %\nshow\n\n
✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢\n\nUse the arrow keys or your finger on mobile to move. lava and red spikes are is bad. Get to the right to win the level.\nALL LEVELS ARE POSSIBLE!!\nR to reset\n\n\nde: Benutze die Pfeiltasten oder auf Mobilgeräten deinen Finger, um dich zu Bewegen. Rot ist schlecht. Erreiche den rechten Rand, um das Level zu gewinnen.\nCheats: A zum überspringen und R zum Neustarten.\n\n✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢✢