The Green Adventure | Platformer v1.1 | #games #all #platformer #art

Instructions: Możesz dać obsa :3\n100 serc - PART 2\n----------------------------------------------------------------------------\narrows/wasd to move\nspace to hit\nE to ask \n----------------------------------------------------------------------------\nWelcome to the green adventure!\nIt's my first platformer and i want to ubdate it!\nHave fun playing it!\n----------------------------------------------------------------------

@Stage\n\nwhen flag clicked\n\n@Ludek\n\nwhen flag clicked\nset rotation style [left-right v]\n\nwhen flag clicked\nset [wysokość skoku v] to [50]\nshow list [pytania v]\ngo to x: (-207) y: (-40)\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-207) y: (-42)\n        play drum (17 v) for (0.1) beats\n    end\n    if on edge, bounce\n    set [y v] to ((y position) - (1))\n    if <touching color (#000000)?> then\n        switch costume to (stay v)\n        change y by (1)\n        set [skok v] to [1]\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [skok v] to ((wysokość skoku) / (5))\n            switch costume to (jump v)\n        end\n    else\n        change [skok v] by (-0.5)\n    end\n    change y by (skok)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        point in direction (90)\n        move (5) steps\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        point in direction (-90)\n        move (5) steps\n    end\n    if <(y position) = ((y) + (1))> then\n        change y by (-5)\n    end\n    if <key (space v) pressed?> then\n        switch costume to (hit v)\n    end\n    if <touching (portal v)?> then\n        go to x: (-207) y: (-43)\n        next backdrop\n        play drum (2 v) for (0.1) beats\n    end\nend\n\n\n\nchange y by (1)\nswitch costume to (stay v)\nif <key (up arrow v) pressed?> then\n\nswitch costume to (run v)\n\nif <(backdrop [number v]) = [1]> then\n    \n        switch backdrop to (lvl 1 v)\n        go to x: (-207) y: (-40)\n    end\nend\nif <(backdrop [number v]) = [2]> then\n    if <touching (portal v)?> then\n        switch backdrop to (lvl 2 v)\n        go to x: (-207) y: (-40)\n    end\nend\nif <(backdrop [number v]) = [3]> then\n    if <touching (portal v)?> then\n        switch backdrop to (lvl 3 v)\n        go to x: (-207) y: (-40)\n    end\nend\nif <(backdrop [number v]) = [4]> then\n    if <touching (portal v)?> then\n        switch backdrop to (lvl 4 v)\n        go to x: (-207) y: (-40)\n    end\nend\nif <(backdrop [number v]) = [5]> then\n    if <touching (portal v)?> then\n        switch backdrop to (lvl 5 v)\n        go to x: (-207) y: (-40)\n    end\nend\nif <(backdrop [number v]) = [6]> then\n    if <touching (portal v)?> then\n        switch backdrop to (wygrana v)\n        go to x: (-207) y: (-40)\n    end\nend\n\nforever\n\nhide\n\nhide list [pytania v]\n\nrepeat (10)\n    change y by (15)\nend\nswitch costume to (run v)\n\nwait (1) seconds\n\nwhen flag clicked\nforever\n    play sound [Hair-Trigger-WST011601 v] until done\nend\n\nplay drum (3 v) for (0.25) beats\n\n@Portal\n\nwhen flag clicked\nshow\nswitch backdrop to (lvl 0 v)\ngo to x: (207) y: (-40)\n\nif <(backdrop [number v]) = [1]> then\n    if <touching (ludek v)?> then\n        switch backdrop to (lvl 1 v)\n    end\nend\nif <(backdrop [number v]) = [2]> then\n    if <touching (ludek v)?> then\n        switch backdrop to (lvl 2 v)\n    end\nend\nif <(backdrop [number v]) = [3]> then\n    if <touching (ludek v)?> then\n        switch backdrop to (lvl 3 v)\n    end\nend\nif <(backdrop [number v]) = [4]> then\n    if <touching (ludek v)?> then\n        switch backdrop to (lvl 4 v)\n    end\nend\nif <(backdrop [number v]) = [5]> then\n    if <touching (ludek v)?> then\n        switch backdrop to (lvl 5 v)\n    end\nend\n\n\n\n\n\n\nif <touching (ludek v)?> then\n\nswitch backdrop to (wygrana v)\n\nhide\n\n@Sprite1\n\nwhen flag clicked\ngo to x: (0) y: (0)\nset [ghost v] effect to (100)\n\n@Ludek2\n\n