#Night#Forest/A platformer  #G...

Instructions: Trend?\ngames #?\nmusıc#?\n\nEn:\n[-------Welcome-------]\nHi Everybody!\nThis is my #Night#Forest platformer game.\nYou can use Arrow Keys.\nBecarufull! Enemy is behind for you!!!\nİf you dont complete level you can use Skip button.\nİf this project have 200 love 150 fave #Night#Forest 2 it will come!!\nAll levels are possible.\n\nTr:\n[--------Hoşgeldin-------]\nHerkese Merhaba!\nBu benim #Night#Forest# platform oyunum.\nOk Tuşlarını kullanabilirsin.\nDikkatli ol! Düşman arkanda!!!\nEğer leveli tamamlayamazsan Skip butonunu kullan.\nEğer bu projeye 200 kalp 150 yıldız gelirse #Night#Forest# 2 yi yapacağım.\nBütün leveller mümkündür.\n\nSee you later with my other perfect project!\nBaşka mükemmel bir projemde görüşmek üzere!\n\n_-_-_-;Credits;-_-_-_\n@-XaF- (for music)\n@INorth-(He draw a lots of grapfic)\n @mke2010-(he fix my mistake)\n@4a0012-(he has rest XD)\n@345969-(for draw some sprites)\n@0014049-(for  codes)\n\nTags:\n#games#all#music\n\n@PrimeApocalypse fave\n@INorth love and fave\n@--AwesomeCode-- said 'I like your night forest game'\n\nMy other perfect project:\nhttps://scratch.mit.edu/projects/447737422 look it.\n\nTysm guys! It have 200+ love and 185+ fave!

@Stage\n\n@Player\n\nwhen flag clicked\ngo to [front v] layer\nset [total dead v] to [0]\ngo to x: (-156) y: (77)\nbroadcast (Restart v)\nset [level v] to [1]\nforever\n    if <key (left arrow v) pressed?> then\n        change [xvel v] by (-1)\n    end\n    if <key (right arrow v) pressed?> then\n        change [xvel v] by (1)\n    end\n    set [xvel v] to ((xvel) * (0.9))\n    change x by (xvel)\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (1)\n    end\n    if <touching (sprite1 v)?> then\n        change y by (-4)\n        change x by ((xvel) * (-1))\n        if <key (up arrow v) pressed?> then\n            if <(xvel) > [0]> then\n                set [xvel v] to [-10]\n            else\n                set [xvel v] to [10]\n            end\n            set [yvel v] to [15]\n        else\n            set [xvel v] to [0]\n        end\n    end\n    if <touching (sprite2 v)?> then\n        change [yvel v] by (-0.5)\n    else\n        change [yvel v] by (-1)\n    end\n    change y by (yvel)\n    if <touching (sprite1 v)?> then\n        change y by ((yvel) - ((yvel) * (2)))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching (sprite2 v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yvel v] to [2]\n        end\n    else\n        if <<touching (sprite1 v)?> and <key (up arrow v) pressed?>> then\n            set [yvel v] to [12]\n        end\n    end\n    change y by (1)\n    create clone of (_myself_ v)\n    if <(x position) > [230]> then\n        broadcast (Next Level v) and wait\n        change [level v] by (1)\n    end\n    if <touching (diken v)?> then\n        broadcast (Restart v)\n    end\n    if <touching (zıplatma v)?> then\n        set [yvel v] to [19]\n    end\nend\n\nwhen flag clicked\n\nwhen I start as a clone\nclear graphic effects\nrepeat (5)\n    change [ghost v] effect by (11)\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Restart v)\n\nwhen I receive [restart v]\nset [xvel v] to [0]\nset [yvel v] to [0]\ngo to x: (-156) y: (77)\n\nwhen I receive [second v]\ngo to x: (-158) y: (40)\n\nwhen flag clicked\nforever\n    if <(Level) = [5]> then\n        wait (0.0.1) seconds\n        stop [all v]\n    end\nend\n\nwhen I receive [fi̇rst v]\ngo to x: (2) y: (-87)\n\nwhen flag clicked\nforever\n    if <<touching (diken v)?> or <touching (enemy v)?>> then\n        play sound [Crunch v] until done\n    end\nend\n\nwhen flag clicked\nforever\n    play sound [Unlimited3 v] until done\nend\n\n@Enemy\n\nwhen flag clicked\nset [level v] to [1]\nrepeat until <(Level) > [1]>\n    if <(Level) = [1]> then\n        show\n        go to x: (206) y: (-5)\n        wait (0.3) seconds\n        repeat until <(Level) > [1]>\n            if <([x position v] of [player v]) < (x position)> then\n                change [xvel v] by (-1)\n            end\n            if <(x position) < ([x position v] of [player v])> then\n                change [xvel v] by (1)\n            end\n            set [xvel v] to ((xvel) * (0.9))\n            change x by (xvel)\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (-4)\n                change x by ((xvel) * (-1))\n                if <(([y position v] of [player v]) - (50)) > (y position)> then\n                    wait (0.0.1) seconds\n                    if <(xvel) > [0]> then\n                        set [xvel v] to [-10]\n                    else\n                        set [xvel v] to [10]\n                    end\n                    set [yvel v] to [15]\n                else\n                    set [xvel v] to [0]\n                end\n            end\n            if <touching (sprite2 v)?> then\n                change [yvel v] by (-0.5)\n            else\n                change [yvel v] by (-1)\n            end\n            change y by (yvel)\n            if <touching (sprite1 v)?> then\n                change y by ((yvel) - ((yvel) * (2)))\n                set [yvel v] to [0]\n            end\n            change y by (-1)\n            if <touching (sprite2 v)?> then\n                if <(([y position v] of [player v]) - (50)) < (y position)> then\n                    wait (0.0.1) seconds\n                    set [yvel v] to [2]\n                end\n            else\n                if <<touching (sprite1 v)?> and <(([y position v] of [player v]) - (40)) < (y position)>> then\n                    wait (0.0.1) seconds\n                    set [yvel v] to [12]\n                end\n            end\n            change y by (1)\n            if <touching (diken v)?> then\n                delete this clone\n            end\n            if <touching (zıplatma v)?> then\n                set [yvel v] to [19]\n            end\n            if <touching (player v)?> then\n                broadcast (Restart v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<(Level) = [1]> or <(Level) = [4]>> then\n        show\n    else\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n\nwhen flag clicked\nrepeat until <(Level) > [4]>\n    if <(Level) = [4]> then\n        show\n        go to x: (189) y: (-105)\n        wait (0.0.1) seconds\n        repeat until <(Level) > [4]>\n            if <([x position v] of [player v]) < (x position)> then\n                change [xvel v] by (-1)\n            end\n            if <(x position) < ([x position v] of [player v])> then\n                change [xvel v] by (1)\n            end\n            set [xvel v] to ((xvel) * (0.9))\n            change x by (xvel)\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (1)\n            end\n            if <touching (sprite1 v)?> then\n                change y by (-4)\n                change x by ((xvel) * (-1))\n                if <(([y position v] of [player v]) - (50)) > (y position)> then\n                    if <(xvel) > [0]> then\n                        set [xvel v] to [-10]\n                    else\n                        set [xvel v] to [10]\n                    end\n                    set [yvel v] to [15]\n                else\n                    set [xvel v] to [0]\n                end\n            end\n            if <touching (sprite2 v)?> then\n                change [yvel v] by (-0.5)\n            else\n                change [yvel v] by (-1)\n            end\n            change y by (yvel)\n            if <touching (sprite1 v)?> then\n                change y by ((yvel) - ((yvel) * (2)))\n                set [yvel v] to [0]\n            end\n            change y by (-1)\n            if <touching (sprite2 v)?> then\n                if <(([y position v] of [player v]) - (50)) < (y position)> then\n                    set [yvel v] to [2]\n                end\n            else\n                if <<touching (sprite1 v)?> and <(([y position v] of [player v]) - (40)) < (y position)>> then\n                    set [yvel v] to [12]\n                end\n            end\n            change y by (1)\n            if <touching (diken v)?> then\n                delete this clone\n            end\n            if <touching (zıplatma v)?> then\n                set [yvel v] to [19]\n            end\n            if <touching (player v)?> then\n                broadcast (Restart v)\n            end\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (1)\n            broadcast (new v)\n        end\n    end\nend\n\nwhen I receive [new v]\nchange [total dead v] by (1)\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        if <(Level) = [1]> then\n            go to x: (187) y: (2)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        if <(Level) = [4]> then\n            go to x: (190) y: (-105)\n        end\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\nset [sayaç v] to [0]\nforever\n    switch costume to (Level)\n    if <(costume [number v]) = [5]> then\n        broadcast (FİRST v)\n        set [sayaç v] to [1]\n        go to x: (7) y: (-153)\n    end\nend\n\nwhen flag clicked\ngo to x: (-1) y: (-150)\n\nwhen flag clicked\nhide variable [skip time v]\n\nset [☁ best score v] to [30]\n\n@diken\n\nwhen flag clicked\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        hide\n    end\n    if <(Level) = [2]> then\n        go to x: (59) y: (-63)\n        show\n        go to [front v] layer\n        switch costume to (diken v)\n    end\n    if <(Level) = [3]> then\n        go to x: (59) y: (-62)\n        show\n        go to [front v] layer\n        switch costume to (diken5 v)\n    end\n    if <(Level) = [4]> then\n        hide\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (player v)?> then\n        repeat (1)\n            broadcast (new v)\n        end\n    end\nend\n\nwhen I receive [new v]\nchange [total dead v] by (1)\n\n@Sprite2\n\nwhen flag clicked\nset [level v] to [1]\nrepeat until <(Level) = [3]>\n    repeat until <(Level) = [3]>\n        hide\n    end\nend\nif <(Level) = [3]> then\n    go to x: (-27) y: (-185)\n    show\n    go to [back v] layer\n    set [tide v] to [0]\n    forever\n        repeat (10)\n            change [tide v] by (1)\n        end\n        repeat (20)\n            change [tide v] by (-1)\n        end\n        repeat (10)\n            change [tide v] by (1)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    set y to (tide)\nend\n\nwhen flag clicked\nforever\n    if <(Level) = [4]> then\n        hide\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nforever\n    if <(Level) = [1]> then\n        go to x: (3) y: (48)\n    end\n    if <(Level) = [2]> then\n        go to x: (13) y: (74)\n    end\n    if <(Level) = [3]> then\n        go to x: (-3) y: (62)\n    end\nend\n\n@Love fave\n\nwhen flag clicked\nhide\n\nwhen flag clicked\nhide\nforever\n    wait (pick random (5) to (10)) seconds\n    switch costume to (costume1 v)\n    go to x: (-233) y: (46)\n    show\n    go to [front v] layer\n    start sound [pop v]\n    repeat (9)\n        change y by (-6)\n    end\n    repeat (5)\n        change y by (3)\n    end\n    repeat (5)\n        change y by (-1)\n    end\n    wait (2) seconds\n    repeat (15)\n        change y by (7)\n    end\n    hide\n    if <(Level) = [5]> then\n        stop [this script v]\n    end\nend\n\nwhen I receive [fi̇rst v]\nhide\n\n@Sprite4\n\nwhen flag clicked\nbroadcast (start v)\nwait (1) seconds\n\nwhen this sprite clicked\nchange [skip time v] by (1)\nchange [level v] by (1)\nbroadcast (SECOND v)\n\nwhen I receive [fi̇rst v]\nhide\ngo to x: (-219) y: (149)\n\nwhen I receive [start v]\nshow\ngo to [front v] layer\nset [skip time v] to [0]\ngo to x: (-130) y: (-184)\n\n@Sprite5\n\nwhen flag clicked\nforever\n    hide\n    hide variable [skip time v]\n    hide\n    hide\nend\n\nwhen I receive [fi̇rst v]\nset [hide v] to [1]\nshow variable [skip time v]\nshow\ngo to [front v] layer\ngo to x: (-66) y: (-106)\ngo to [front v] layer\n\nwhen flag clicked\nplay sound [Unlimited v] until done\n\n@Sprite7\n\nwhen flag clicked\nwait (0.1) seconds\nshow\nrepeat (1)\n    go to x: (-77) y: (63)\n    repeat (5)\n        wait (0.3) seconds\n        next costume\n    end\n    wait (0.1) seconds\n    hide\nend\n\n@Sprite8\n\nwhen flag clicked\ngo to x: (2) y: (2)\ngo to [back v] layer\nforever\n    go [backward v] (25) layers\nend\n\n@Sprite10\n\nwhen flag clicked\nset [ghost v] effect to (0)\nclear graphic effects\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\n\nwhen I receive [fi̇rst v]\nrepeat (10)\n    wait (0.1.2) seconds\n    change [ghost v] effect by (10)\nend\n\n