Venom Platformer

Instructions: Whoa, this got a lot more views than I orginally intended. If more people love and favorite, maybe will remaster it!\n----------------------------------------------------------\nThe instructions are in-game.To access them, you can either go to "How to Play" or go to "Settings"and toggle the in-game hints on. Note: the in the game hints are on by default.

@Stage\n\nwhen flag clicked\nswitch backdrop to (... v)\n\nwhen I receive [new level v]\nnext backdrop\n\nwhen I receive [start v]\nswitch backdrop to (... v)\n\nwhen I receive [start v]\nif <[1] < (backdrop [number v])> then\n    switch backdrop to (... v)\nend\n\nwhen I receive [carnage v]\nswitch backdrop to ((backdrop [number v]) - (1))\n\n@Menu\n\nwhen flag clicked\nset [helpmenu? v] to [no]\ngo to [back v] layer\nswitch costume to (menu v)\nshow\nclear graphic effects\ngo to x: (0) y: (0)\nset volume to (100) %\nforever\n    play sound [Venom Theme v] until done\nend\n\nwhen I receive [help v]\nset [helpmenu? v] to [yes]\nswitch costume to (help v)\ngo to [front v] layer\nforever\n    if <(Helpmenu?) = [yes]> then\n        if <key (space v) pressed?> then\n            play sound [pop v] until done\n            switch costume to (menu v)\n            go to [back v] layer\n            set [helpmenu? v] to [no]\n        end\n    end\nend\n\nwhen I receive [fade v]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [settings v]\nset [helpmenu? v] to [yes]\nswitch costume to (settings v)\ngo to [back v] layer\nforever\n    if <(Helpmenu?) = [yes]> then\n        if <key (space v) pressed?> then\n            broadcast (settingsexit v)\n            play sound [pop v] until done\n            switch costume to (menu v)\n            go to [back v] layer\n            set [helpmenu? v] to [no]\n        end\n    end\nend\n\n@Start\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (177) y: (-26)\nshow\n\nwhen this sprite clicked\nplay sound [pop v] until done\nclear graphic effects\nbroadcast (Fade v)\n\nwhen I receive [fade v]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nbroadcast (Start v)\nbroadcast (New level v)\nhide\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [settingsexit v]\ngo to [front v] layer\nshow\n\n@How To Play\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (177) y: (-95)\nshow\n\nwhen this sprite clicked\nplay sound [pop v] until done\nbroadcast (Help v)\n\nwhen I receive [fade v]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [settingsexit v]\ngo to [front v] layer\nshow\n\n@Settings\n\nwhen flag clicked\ngo to [front v] layer\ngo to x: (177) y: (-166)\nswitch costume to (costume1 v)\nshow\n\nwhen this sprite clicked\nplay sound [pop v] until done\nbroadcast (Settings v)\n\nwhen I receive [fade v]\nclear graphic effects\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\nwhen I receive [settings v]\nhide\n\nwhen I receive [settingsexit v]\ngo to [front v] layer\nshow\n\n@Venom \n\nwhen flag clicked\ngo to x: (-209) y: (-106)\npoint in direction (-90)\nswitch costume to (standing1 v)\nset size to (150) %\nhide\n\nwhen I receive [start v]\ngo to x: (-209) y: (-106)\nswitch costume to (standing1 v)\nshow\n\nwhen I receive [start v]\nforever\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [xv v] by (0.8)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [xv v] by (-0.8)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> then\n                            change x by ((Xv) * (-1))\n                            change y by (-5)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-5]\n                                else\n                                    set [xv v] to [5]\n                                end\n                                set [yv v] to [10]\n                            else\n                                set [xv v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yv v] by (-1)\n    change y by (Yv)\n    if <touching color (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <key (up arrow v) pressed?> then\n            Jump\n        end\n    end\n    change y by (1)\nend\n\nwhen I receive [start v]\nforever\n    if <key (right arrow v) pressed?> then\n        if <(Groundstatus) = [walking]> then\n            Walk\n        end\n        if <(Groundstatus) = [jump]> then\n            repeat until <<touching color (#2e2e2e)?> or <touching color (#030304)?>>\n                switch costume to (jump v)\n            end\n        end\n    end\n    if <key (left arrow v) pressed?> then\n        if <(Groundstatus) = [walking]> then\n            Walk\n        end\n        if <(Groundstatus) = [jump]> then\n            repeat until <<touching color (#2e2e2e)?> or <touching color (#030304)?>>\n                switch costume to (jump v)\n            end\n        end\n    end\nend\n\ndefine Walk\nswitch costume to (standing1 v)\nwait (0.2) seconds\nswitch costume to (walk1 v)\nwait (0.2) seconds\nswitch costume to (walk2 v)\nwait (0.2) seconds\nswitch costume to (standing1 v)\n\ndefine Jump\nset [groundstatus v] to [jump]\nswitch costume to (standing1 v)\nswitch costume to (jump v)\nset [yv v] to [15]\nrepeat until <<touching color (#2e2e2e)?> or <touching color (#030304)?>>\n    set [groundstatus v] to [jump]\nend\n\nplay sound [Chomp v] until done\nwait (1) seconds\n\nwhen I receive [start v]\nset [groundstatus v] to [walking]\nforever\n    if <(x position) > [239]> then\n        play sound [Chomp v] until done\n        broadcast (New level v)\n    end\nend\n\nwhen I receive [new level v]\ngo to x: (-209) y: (-106)\n\nstart sound [Chomp v]\n\nwhen flag clicked\nforever\n    if <<touching color (#2e2e2e)?> or <touching color (#030304)?>> then\n        set [groundstatus v] to [walking]\n    end\nend\n\n\n    switch costume to (standing2 v)\nend\n\nswitch costume to (standing1 v)\n\nswitch costume to (standing1 v)\n\nwhen I receive [start v]\nforever\n    if <touching color (#7f7f7f)?> then\n        play sound [Alien Creak2 v] until done\n        go to x: (-209) y: (-106)\n    end\n    if <touching color (#e30000)?> then\n        play sound [Rip v] until done\n        broadcast (Carnage v)\n        go to x: (-209) y: (-106)\n    end\nend\n\n@Music toggle\n\nwhen flag clicked\ngo to x: (175) y: (28)\ngo to [front v] layer\nswitch costume to (on v)\nhide\n\nwhen this sprite clicked\nplay sound [pop v] until done\nnext costume\n\nwhen I receive [fade v]\nhide\n\nwhen I receive [settings v]\ngo to [front v] layer\nshow\n\nwhen I receive [settingsexit v]\nhide\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        set volume to (100) %\n    end\n    if <(costume [number v]) = [2]> then\n        stop all sounds\n        set volume to (0) %\n    end\nend\n\n@Hint toggle\n\nwhen this sprite clicked\nplay sound [pop v] until done\nnext costume\n\nwhen I receive [fade v]\nhide\n\nwhen flag clicked\ngo to [front v] layer\nswitch costume to (on v)\nhide\n\nwhen I receive [settings v]\ngo to x: (175) y: (-65)\ngo to [front v] layer\nshow\n\nwhen I receive [settingsexit v]\nhide\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        set [hints? v] to [yes]\n    end\n    if <(costume [number v]) = [2]> then\n        set [hints? v] to [no]\n    end\nend\n\n@Hints\n\nwhen flag clicked\nclear graphic effects\nswitch costume to (... v)\ngo to x: (0) y: (0)\nhide\n\nwhen I receive [new level v]\nhide\nif <(Hints?) = [yes]> then\n    next costume\n    clear graphic effects\n    wait (0.5) seconds\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\nif <(Hints?) = [no]> then\n    forever\n        hide\n    end\nend\n\nwhen I receive [carnage v]\nswitch costume to ((costume [number v]) - (1))\nhide\nif <(Hints?) = [yes]> then\n    clear graphic effects\n    wait (0.5) seconds\n    show\n    set [ghost v] effect to (100)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\n    hide\nend\nif <(Hints?) = [no]> then\n    forever\n        hide\n    end\nend\n\n