Scribble 2 A Platformer             #Music  #Art  #Games #art #tutorials #animations (

Instructions: Welcome To The Scribble A Platformer PART 2!!!\n_____________________________________________\n-Instructions-\n-Click the green flag twice-\n-Arrow Keys / W,A,S,D To Move-\n-Avoid Lava,Spikes and Enemies-\n-Try To Get The Highest Score-\n\n\n-Credits-\n -@---AwesomeCode--- For the Platformer Engine-\n-Hall Of Fame By The Script For The Music-\n-Rest By Me-\n\n-Enjoy!-\n\n\nProgress/achievments\n____________________________________________\n19/08/2021 Shared\n21/08/2021 10 Likes\n30/08/2021 on trending!  #13 on stories #32 on music #53 on #games !!! #30 on #animations ? Why?!\n03/09/2021 on trending!  #13 on stories #18 on music #50 on #games !!! #24 on #animations ? Why Has It Gone Up?\n

@Stage\n\nwhen flag clicked\nset [the level v] to [1]\nforever\n    switch backdrop to (The Level)\nend\n\nwhen flag clicked\nforever\n    play sound [The Script- Hall of Fame v] until done\nend\n\n@Player\n\nwhen flag clicked\nswitch costume to (player v)\nforever\n    wait (5) seconds\n    if <(d) = [1]> then\n        switch costume to (player v)\n        repeat (5)\n            next costume\n        end\n        wait (0.1) seconds\n        repeat (5)\n            switch costume to ((costume [number v]) - (1))\n        end\n    else\n        switch costume to (player7 v)\n        repeat (5)\n            next costume\n        end\n        wait (0.1) seconds\n        repeat (5)\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nshow list [3 v]\n\n\n\nwait (pick random (1) to (4)) seconds\nrepeat (5)\n    next costume\nend\nwait (0.1) seconds\nrepeat (5)\n    switch costume to ((costume [number v]) - (1))\nend\n\n\n\n\n\nwhen flag clicked\nset [deaths v] to [0]\nrepeat until <(The Level) = [15]>\n    set [time v] to (timer)\nend\nset [score v] to [1000]\nset [score v] to ((score) - (time))\nset [score v] to ((score) - ((deaths) * (5)))\nshow variable [score v]\n\nwhen flag clicked\nset [the level v] to [1]\nbroadcast (Next Level v)\nforever\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [x velocity v] by (-1.5)\n        switch costume to (player v)\n        set [d v] to [1]\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [x velocity v] by (1.5)\n        switch costume to (player7 v)\n        set [d v] to [2]\n    end\n    set [x velocity v] to ((X velocity) * (0.85))\n    change x by (X velocity)\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (1)\n    end\n    if <touching (ground v)?> then\n        change y by (-4)\n        change x by ((X velocity) * (-1))\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            if <(X velocity) > [0]> then\n                set [x velocity v] to [-10]\n            else\n                set [x velocity v] to [10]\n            end\n            set [y velocity v] to [15]\n        else\n            set [x velocity v] to [0]\n        end\n    end\n    change [y velocity v] by (-1)\n    change y by (Y velocity)\n    if <touching (ground v)?> then\n        change y by ((Y velocity) - ((Y velocity) * (2)))\n        set [y velocity v] to [0]\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n    end\n    change y by (-1)\n    if <<touching (ground v)?> and <<key (up arrow v) pressed?> or <key (w v) pressed?>>> then\n        set [y velocity v] to [15]\n    end\n    change y by (1)\n    if <(x position) > [239]> then\n        broadcast (Next Level v) and wait\n        change [the level v] by (1)\n    end\n    if <<touching (spikes v)?> or <touching (sprite1 v)?>> then\n        broadcast (Reset v)\n        create clone of (_myself_ v)\n        change [deaths v] by (1)\n    else\n        if <<key (down arrow v) pressed?> or <key (s v) pressed?>> then\n        if <touching (lava v)?> then\n            broadcast (Reset v)\n            change [deaths v] by (1)\n        end\n    end\nend\n\nwhen I start as a clone\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\n    change y by (5)\n    turn right (5) degrees\nend\ndelete this clone\n\nwhen I receive [next level v]\nbroadcast (Reset v)\n\nwhen I receive [reset v]\nset [x velocity v] to [0]\nset [y velocity v] to [0]\ngo to x: (-216) y: (20)\n\ndelete this clone\n\nwhen flag clicked\nhide variable [score v]\nshow variable [time v]\n\n@Ground\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Spikes\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\nend\n\n@Lava\n\nwhen flag clicked\nforever\n    set y to (Magma)\n    switch costume to (The Level)\nend\n\nwhen flag clicked\nforever\n    set [magma v] to [0]\n    repeat (10)\n        change [magma v] by (1)\n    end\n    repeat (20)\n        change [magma v] by (-1)\n    end\n    repeat (10)\n        change [magma v] by (1)\n    end\nend\n\n@Thumbnail\n\nwhen flag clicked\nhide\ngo to x: (0) y: (0)\ngo to [front v] layer\n\nshow\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <(item (The Level) of [1 v]) = [0]> then\n        hide\n    else\n        show\n        set y to (item (The Level) of [3 v])\n    end\nend\n\nwhen flag clicked\nforever\n\nadd [0] to [1 v]\nadd [0] to [2 v]\nadd [0] to [3 v]\n\ninsert [0] at (10) of [1 v] \n\nreplace item (11) of [3 v] with [-85]\n\nshow list [1 v]\nshow list [2 v]\nshow list [3 v]\n\nwhen flag clicked\nforever\n    if <(item (The Level) of [1 v]) = [0]> then\n        hide\n    else\n        show\n        repeat until <(x position) < (item (The Level) of [1 v])>\n            change x by (-5)\n            switch costume to (costume2 v)\n        end\n        repeat until <(x position) > (item (The Level) of [2 v])>\n            change x by (5)\n            switch costume to (costume5 v)\n        end\n    end\nend\n\nset x to (item (The Level) of [2 v])\n\ngo to x: (36) y: (28)\n\nreplace item (5) of [3 v] with [-60]\n\ndelete (9) of [3 v]\n\n@Thumbnail2\n\nwhen [timer v] > (Timer)\nset [ghost v] effect to (100)\npoint in direction (-90)\nshow\nhide variable [time v]\nhide variable [score v]\nrepeat (20)\n    change [ghost v] effect by (-5)\n    turn left (9) degrees\nend\nforever\n    go to [front v] layer\nend\n\nset [ghost v] effect to (100)\n\nwhen flag clicked\nhide\nshow list [3 v]\nforever\n    set [timer v] to (timer)\nend\n\nshow\ngo to x: (0) y: (0)\ngo to [front v] layer\n\n@Sprite2\n\ngo [forward v] (1) layers\n\ngo to [back v] layer\n\n@Love fave2\n\nwhen flag clicked\nset [costume v] to [0]\nhide\nforever\n    if <not <<(LOVED__) = [1]> and <(FAVED___) = [1]>>> then\n        wait (pick random (15) to (25)) seconds\n        switch costume to (costume1 v)\n        go to x: (0) y: (50)\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    end\n    if <(Costume) > [0]> then\n        hide\n        stop [this script v]\n    end\nend\n\n@Score\n\n@Sprite3\n\nwhen flag clicked\nforever\n    switch costume to (The Level)\n    go to [back v] layer\n    go [forward v] (1) layers\nend\n\n