Hunt ~ Platformer [MOBILE]

Instructions: 200 VIEWS FIRST DAY TYSM!\n~Story~\nYou live happily in village Oakley\nYour family and friends get taken by bad guys!\nYou are mad and need to find them!\nThe hunt is on……\n▶️Controls~ Touchscreen \nOr arrow keys\n⬇️Tags⬇️ ~⚠️Ignore⚠️~\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer\n#hunt #games #all #trending #platformer

@Stage\n\nwhen I receive [start game v]\nstop all sounds\nforever\n    play sound [tanoshiimugibatake v] until done\nend\n\nwhen flag clicked\nstop all sounds\n\n@Player\n\nwhen flag clicked\nhide\n\ndefine Begin Game At: (x) (y)\ngo to x: (x) y: (y)\n\ndefine Trigger death\nstart sound [Oof v]\npoint in direction (90)\nset [freeze? v] to [1]\nrepeat until <not <(y position) < [-171]>>\n    change y by (3)\nend\nset [deathy v] to [17]\nrepeat until <(y position) < [-171]>\n    set rotation style [all around v]\n    turn right (1) degrees\n    change [deathy v] by (-1)\n    change y by (DeathY)\nend\nwait () seconds\npoint in direction (90)\nBegin Game At: [-191] [100]\nset rotation style [left-right v]\nset [freeze? v] to [0]\n\ndefine Controls: left and right\nif <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<(mouse x) < (x position)> and <mouse down?>>>> then\n    change [player2: speedx v] by ((0) - (Acceleration))\n    point in direction (-90)\nend\nif <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<(x position) < (mouse x)> and <mouse down?>>>> then\n    change [player2: speedx v] by (Acceleration)\n    point in direction (90)\nend\nset [player2: speedx v] to ((Player2: SpeedX) * (0.9))\nchange x by (Player2: SpeedX)\n\ndefine Events\nif <(x position) > [238]> then\n    set x to (() - (x position))\n    set y to (40)\n    change [level v] by (1)\nend\nif <<touching (spikes v)?> or <(y position) < [-170]>> then\n    Trigger death\nend\n\nwhen I start as a clone\nswitch costume to (costume1 v)\nrepeat (10)\n    change [ghost v] effect by (25)\nend\ndelete this clone\n\nwhen I receive [start game v]\nshow\nset [freeze? v] to [0]\nset [gravity v] to [-1.5]\nset [player2: speedx v] to [0]\nset [player2: speedy v] to [0]\nBegin Game At: [-191] [100]\ndelete all of [key v]\nset rotation style [left-right v]\nswitch costume to (character v)\nforever\n    if <(Freeze?) = [0]> then\n        set [id v] to [Player]\n        change [player2: speedy v] by (-1)\n        set [acceleration v] to [1]\n        Controls: left and right\n        create clone of (_myself_ v)\n        if <<touching (level v)?> or <touching (boing v)?>> then\n            change y by (1)\n        end\n        if <<touching (level v)?> or <touching (boing v)?>> then\n            change y by (1)\n        end\n        if <<touching (level v)?> or <touching (boing v)?>> then\n            change y by (1)\n        end\n        if <<touching (level v)?> or <touching (boing v)?>> then\n            change y by (1)\n        end\n        if <<touching (level v)?> or <touching (boing v)?>> then\n            change y by (-4)\n            change x by ((Player2: SpeedX) * (-1))\n            if <<<key (w v) pressed?> or <<key (space v) pressed?> or <key (up arrow v) pressed?>>> or <<<mouse down?> and <(y position) < (mouse y)>> or <touching (boing v)?>>> then\n                broadcast (Wall v)\n                set [player2: speedy v] to [17]\n                if <(Player2: SpeedX) > [0]> then\n                    set [player2: speedx v] to [-10]\n                else\n                    set [player2: speedx v] to [10]\n                end\n            else\n                set [player2: speedx v] to [0]\n            end\n        end\n        change y by (Player2: SpeedY)\n        if <<touching (level v)?> or <touching (boing v)?>> then\n            change y by ((Player2: SpeedY) - ((Player2: SpeedY) * (2)))\n            set [player2: speedy v] to [0]\n        end\n        change y by (-1)\n        if <<<<key (w v) pressed?> or <<key (space v) pressed?> or <key (up arrow v) pressed?>>> or <<<mouse down?> and <(y position) < (mouse y)>> or <touching (boing v)?>>> and <<touching (boing v)?> or <touching (level v)?>>> then\n            start sound [Jump v]\n            set [player2: speedy v] to [15]\n        end\n        change y by (1)\n        Events\n    end\nend\n\nwhen I receive [start game v]\nwait until <<(Level) = [6]> and <(x position) > [50]>>\nbroadcast (End v)\n\nwhen I receive [end v]\nhide\n\n@Level\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (join [Level] (Level))\nend\n\nwhen I receive [end v]\nhide\n\n@Text\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\nshow\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (join [Level] (Level))\nend\n\nwhen I receive [end v]\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nchange [ghost v] effect by (100)\nforever\n    go to [front v] layer\nend\n\n@Spikes\n\nwhen flag clicked\nhide\n\nwhen I receive [start game v]\ngo to x: (0) y: (0)\nshow\nset [level v] to [1]\nforever\n    switch costume to (join [Level] (Level))\nend\n\nwhen I receive [end v]\nhide\n\n@Clouds\n\nwhen I start as a clone\ngo to [back v] layer\nshow\nset [ghost v] effect to (pick random (20) to (35))\nif <(pick random (1) to (2)) = [1]> then\n    point in direction (90)\n    go to x: (-308) y: (146)\n    repeat until <(x position) > [307]>\n        move (1) steps\n    end\n    delete this clone\nelse\n    point in direction (-90)\n    go to x: (308) y: (130)\n    repeat until <(x position) < [-307]>\n        change x by (-1)\n    end\n    delete this clone\nend\n\nwhen I receive [start game v]\nhide\nset [ghost v] effect to (0)\nforever\n    create clone of (_myself_ v)\n    wait (pick random (5) to (10)) seconds\nend\n\nwhen flag clicked\nhide\n\n@Intro (by Bwenedian aka @SilasFrankendael )\n\nwhen I start as a clone\nif <(CloneId) = [Logo]> then\n    go to [front v] layer\n    switch costume to (logo v)\n    show\n    go to x: (0) y: (0)\n    set size to (100) %\n    clear graphic effects\n    repeat (3)\n        turn right (50) degrees\n    end\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) * (0.3)) degrees\n    end\n    set size to (115) %\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) * (0.3))\n    end\n    repeat (3)\n        turn right (1) degrees\n    end\n    repeat (3)\n        turn right (50) degrees\n    end\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) * (0.3)) degrees\n    end\n    repeat (3)\n        turn right (50) degrees\n    end\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) * (0.3)) degrees\n    end\n    set size to (115) %\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) * (0.3))\n    end\n    repeat (3)\n        turn right (1) degrees\n    end\n    repeat (3)\n        turn right (50) degrees\n    end\n    repeat until <(round (direction)) = [90]>\n        turn right (((90) - (direction)) * (0.3)) degrees\n    end\n    set size to (115) %\n    repeat until <(round (size)) = [100]>\n        change size by (((100) - (size)) * (0.3))\n    end\n    wait (0.5) seconds\n    go [backward v] (1) layers\n    smooth glide to these positions on grid: X [150] and: Y [0] change direction in glide to: Dir [130] and friction (speed of glide): Friction [10] and size: size [10] []\n    delete this clone\nend\n\nwhen flag clicked\nwait (1) seconds\nset [cloneid v] to [Shutter]\ncreate clone of (_myself_ v)\nset [cloneid v] to [BackGround]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Screen]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Pinwheel]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Grid]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Logo]\ncreate clone of (_myself_ v)\nset [cloneid v] to [Burst]\ncreate clone of (_myself_ v)\nwait (2) seconds\nbroadcast (Vel v)\nset [cloneid v] to [Burst]\ncreate clone of (_myself_ v)\nwait (2) seconds\nbroadcast (Vel v)\nset [cloneid v] to [Burst]\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(CloneId) = [Square]> then\n    go to [back v] layer\n    show\n    go to x: (0) y: (0)\n    switch costume to (chev2 v)\n    set size to () %\n    repeat (50)\n        switch costume to (sizehack v)\n        change size by (10)\n        switch costume to (chev2 v)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait (1) seconds\nrepeat (11)\n    set [cloneid v] to [Square]\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nif <(CloneId) = [Burst]> then\n    go to [front v] layer\n    switch costume to (fractal burst v)\n    show\n    go to x: (0) y: (0)\n    set size to () %\n    set [ghost v] effect to (20)\n    repeat (20)\n        switch costume to (sizehack v)\n        change size by (50)\n        switch costume to (fractal burst v)\n        change [ghost v] effect by (3)\n    end\n    delete this clone\nend\n\nwhen I receive [vel v]\nchange [color v] effect by (25)\n\nwhen I start as a clone\nif <(CloneId) = [Particles]> then\n    change [color v] effect by (5)\n    go to [front v] layer\n    go [backward v] (1) layers\n    switch costume to (pick random (4) to (7))\n    set [changex v] to (pick random (-0.5) to (0.5))\n    go to x: (0) y: (0)\n    set size to (100) %\n    show\n    set [x v] to [0]\n    set [y v] to (pick random (15) to (17))\n    forever\n        change [x v] by (ChangeX)\n        change x by (X)\n        turn right (X) degrees\n        change y by (Y)\n        change [y v] by (-1)\n        if <touching (_edge_ v)?> then\n            delete this clone\n        end\n    end\nend\n\nwhen flag clicked\nwait (0.2) seconds\nstart sound [Prismo - Stronger v]\n\ndefine smooth glide to these positions on grid: X (x) and: Y (y) change direction in glide to: Dir (d) and friction (speed of glide): Friction (f) and size: size (s) (allow id?)\nif <not <(allow id?) = [4]>> then\n    repeat until <<<<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>> and <(round (direction)) = (round (d))>> and <(round (size)) = (round (s))>>\n        turn right (((round (d)) - (round (direction))) / (f)) degrees\n        change x by (((round (x)) - (round (x position))) / (f))\n        change y by (((round (y)) - (round (y position))) / (f))\n        change size by (((round (s)) - (round (size))) / (f))\n    end\n    point in direction (d)\n    set size to (s) %\n    go to x: (x) y: (y)\nelse\n    set [c v] to (costume [name v])\n    repeat until <<<<(round (x position)) = (round (x))> and <(round (y position)) = (round (y))>> and <(round (direction)) = (round (d))>> and <(round (size)) = (round (s))>>\n        switch costume to (sizehack v)\n        turn right (((round (d)) - (round (direction))) / (f)) degrees\n        change x by (((round (x)) - (round (x position))) / (f))\n        change y by (((round (y)) - (round (y position))) / (f))\n        change size by (((round (s)) - (round (size))) / (f))\n        switch costume to (c)\n    end\n    point in direction (d)\n    set size to (s) %\n    go to x: (x) y: (y)\nend\n\nwhen I start as a clone\nif <(CloneId) = [Pinwheel]> then\n    go to [back v] layer\n    go [forward v] (2) layers\n    switch costume to (pinwheel v)\n    show\n    go to x: (0) y: (0)\n    set size to (100) %\n    clear graphic effects\n    repeat (200)\n        turn right (5) degrees\n    end\nend\n\nwhen I start as a clone\nif <(CloneId) = [Grid]> then\n    Instant\n    forever\n        switch costume to (grid2 v)\n        go to [back v] layer\n        go [forward v] (2) layers\n        show\n        go to x: (0) y: (0)\n        set size to (100) %\n    end\nend\n\ndefine Instant\nswitch costume to (grid2 v)\ngo to [front v] layer\ngo [backward v] (3) layers\nshow\ngo to x: (0) y: (0)\nset size to (100) %\n\nwhen I start as a clone\nif <(CloneId) = [BackGround]> then\n    forever\n        go to [back v] layer\n        switch costume to (background v)\n        show\n        go to x: (0) y: (0)\n    end\nend\n\nwhen I start as a clone\nif <(CloneId) = [Screen]> then\n    forever\n        go to [front v] layer\n        switch costume to (screen v)\n        show\n        go to x: (0) y: (0)\n    end\nend\n\nwhen I start as a clone\nif <(CloneId) = [Shutter]> then\n    switch costume to (sizehack v)\n    go to [front v] layer\n    go to x: (480) y: (0)\n    switch costume to (shutter v)\n    wait (6) seconds\n    start sound [Slice v]\n    show\n    repeat (100)\n        switch costume to (sizehack v)\n        set size to (100) %\n        switch costume to (shutter v)\n        change x by (((-440) - (x position)) / (12))\n    end\n    broadcast (Erase v)\n    repeat (35)\n        go to [front v] layer\n        go [forward v] (99999) layers\n        switch costume to (sizehack v)\n        set size to (100) %\n        switch costume to (shutter v)\n        change x by (((480) - (x position)) / (12))\n    end\n    broadcast (Start Game v)\n    delete this clone\nend\n\nwhen I receive [erase v]\nif <(CloneId) = [Shutter]> then\n    stop [this script v]\nelse\n    delete this clone\nend\n\nwhen I start as a clone\nif <(CloneId) = [Flash]> then\n    show\n    switch costume to (flash v)\n    repeat (4)\n        change [ghost v] effect by (33)\n    end\n    delete this clone\nend\n\nwhen flag clicked\nwait (1) seconds\nwait (1) seconds\nset [cloneid v] to [Flash]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [cloneid v] to [Flash]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [cloneid v] to [Flash]\ncreate clone of (_myself_ v)\nwait (1) seconds\nset [cloneid v] to [Flash]\ncreate clone of (_myself_ v)\nwait (1) seconds\n\nwhen flag clicked\nwait (1) seconds\nrepeat (35)\n    set [cloneid v] to [Particles]\n    create clone of (_myself_ v)\n    wait (0.1) seconds\nend\n\nwhen I start as a clone\nif <(CloneId) = [Arrow]> then\n    go to [back v] layer\n    show\n    switch costume to (arrow v)\n    go to x: (0) y: (-297)\n    glide (1) secs to x: (0) y: (297)\n    delete this clone\nend\n\nwhen flag clicked\nset [cloneid v] to [Start]\ncreate clone of (_myself_ v)\nwait (1) seconds\nrepeat (15)\n    set [cloneid v] to [Arrow]\n    create clone of (_myself_ v)\n    wait (0.5) seconds\nend\n\nwhen I start as a clone\nif <(CloneId) = [Start]> then\n    go to x: (0) y: (0)\n    switch costume to (costume1 v)\n    show\n    wait (1) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    delete this clone\nend\n\n@Outro\n\nwhen I receive [end v]\nstart sound [Travel The Galaxy \(HD\) \(128  kbps\) v]\nhide\nswitch costume to (costume1 v)\ngo to x: (-500) y: (0)\nset size to (80) %\nhide\nwait (1) seconds\nshow\nSmooth Glide x: (-100) y: (0) speed: (8)\nswitch costume to (costume1 v)\nset [sine v] to [1]\ngo to [front v] layer\nforever\n    point in direction ((([sin v] of (sine) ) * (7)) + (90))\n    set y to ([sin v] of (sine) )\n    change size by ([sin v] of (sine) )\n    change [sine v] by (10)\nend\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\nwhen flag clicked\nhide\n\nwhen I receive [end v]\nset [clone id v] to [0]\ncreate clone of (_myself_ v)\nwait (3) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\nwait (1.5) seconds\nchange [clone id v] by (1)\ncreate clone of (_myself_ v)\n\nwhen I start as a clone\nif <(clone id) = [0]> then\n    show\n    go to [back v] layer\n    point in direction (90)\n    go to x: (0) y: (0)\n    set size to (100) %\n    switch costume to (costume7 v)\n    forever\n        glide (1) secs to x: (220) y: (0)\n        go to x: (0) y: (0)\n    end\nend\nif <(clone id) = [2]> then\n    point in direction (90)\n    hide\n    switch costume to (costume3 v)\n    go to x: (500) y: (120)\n    show\n    Smooth Glide x: (100) y: (120) speed: (8)\nend\nif <(clone id) = [3]> then\n    point in direction (90)\n    hide\n    switch costume to (costume4 v)\n    go to x: (500) y: (60)\n    show\n    Smooth Glide x: (100) y: (60) speed: (8)\nend\nif <(clone id) = [4]> then\n    point in direction (90)\n    hide\n    switch costume to (costume5 v)\n    go to x: (500) y: (0)\n    show\n    Smooth Glide x: (100) y: (0) speed: (8)\nend\nif <(clone id) = [1]> then\n    point in direction (90)\n    hide\n    switch costume to (costume2 v)\n    go to x: (-500) y: (120)\n    show\n    Smooth Glide x: (-100) y: (120) speed: (8)\n    forever\n        point in direction ((([sin v] of (sine) ) * (7)) + (90))\n        set y to (([sin v] of (sine) ) + (120))\n        change size by ([sin v] of (sine) )\n    end\nend\n\n