The Green Jungle a platformer || #games#platformer
@Stage\n\nwhen flag clicked\nforever\n    play sound [Plugged \(post mastering\) v] until done\nend\n\n@platform\n\nwhen flag clicked\nforever\n    switch costume to (LVL)\nend\n\n@player\n\nwhen flag clicked\nswitch backdrop to (tło1 v)\ngo to [front v] layer\nset [pixelate v] effect to (0)\npoint in direction (90)\nset [lvl v] to [1]\nshow\ngo to x: (-152) y: (51)\nset size to (150) %\nset [x v] to [0]\nset [y v] to [0]\nforever\n    movements\nend\n\ndefine movements\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-1)\n    end\n    set [x v] to ((X) * (0.9))\n    change x by (X)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change y by (-5)\n                            change x by ((X) * (-1))\n                            if <key (up arrow v) pressed?> then\n                                if <(X) < [0]> then\n                                    set [x v] to [-5]\n                                else\n                                    set [x v] to [5]\n                                end\n                                set [y v] to [10]\n                            else\n                                set [x v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-1)\n    change y by (Y)\n    if <touching (platform v)?> then\n        change y by ((Y) * (-1))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <touching (platform v)?> then\n        if <key (up arrow v) pressed?> then\n            set [y v] to [15]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <key (right arrow v) pressed?> then\n        switch costume to (1 v)\n    end\n    if <key (left arrow v) pressed?> then\n        switch costume to (4 v)\n    end\n    if <key (up arrow v) pressed?> then\n        switch costume to (6 v)\n    end\n    if <<not <key (right arrow v) pressed?>> and <<not <key (left arrow v) pressed?>> and <not <key (up arrow v) pressed?>>>> then\n        switch costume to (2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (spikes v)?> then\n        broadcast (Slime Particles v)\n        hide\n        set [dead? v] to [yes]\n        wait (1) seconds\n        go to x: (-152) y: (51)\n        set [dead? v] to [no]\n        show\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching (level end v)?> then\n        if <not <(dead?) = [yes]>> then\n            go to x: (-152) y: (51)\n            change [lvl v] by (1)\n        end\n    end\nend\n\nturn left (15) degrees\n\n@Particles\n\nwhen flag clicked\ngo to [back v] layer\nshow\ngo to (random position v)\nforever\n    change x by (-10)\n    if <touching (_edge_ v)?> then\n        hide\n    end\nend\n\nwhen I start as a clone\nset [color v] effect to (pick random (1) to (100))\nset [ghost v] effect to (50)\ngo to [back v] layer\ngo to (random position v)\nshow\nforever\n    change x by (-10)\n    if <touching (_edge_ v)?> then\n        delete this clone\n    end\nend\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\n@spikes\n\nwhen flag clicked\nforever\n    switch costume to (LVL)\nend\n\n@level end\n\nwhen flag clicked\nchange x by (20)\ngo to x: (217) y: (11)\nset [ghost v] effect to (100)\n\n@dead particles\n\nwhen flag clicked\nhide\nset [is clone? v] to []\n\nwhen I receive [slime particles v]\nif <not <(Is clone?) = [1]>> then\n    repeat (4)\n        Particles\n    end\nend\n\nwhen I start as a clone\nswitch costume to (SLIME TYPE)\nset [ghost v] effect to (0)\nset [color v] effect to (pick random (-5) to (5))\nset [brightness v] effect to (pick random (-40) to (0))\nset [is clone? v] to [1]\ngo to (player v)\nshow\nset [xv v] to (pick random (-12) to (12))\nset [yv v] to (pick random (5) to (20))\nrepeat until <<touching (_edge_ v)?> or <touching (platform v)?>>\n    change [yv v] by (-2)\n    set [xv v] to ((xv) * (0.9))\n    set [yv v] to ((yv) * (0.9))\n    change x by (xv)\n    change y by (yv)\n    if <touching (platform v)?> then\n        change y by (1)\n        if <touching (platform v)?> then\n            change y by (1)\n            if <touching (platform v)?> then\n                change y by (1)\n                if <touching (platform v)?> then\n                    change y by (1)\n                    if <touching (platform v)?> then\n                        change y by (1)\n                        if <touching (platform v)?> then\n                            change y by (1)\n                            if <touching (platform v)?> then\n                                change y by (1)\n                                if <touching (platform v)?> then\n                                    change y by (1)\n                                    if <touching (platform v)?> then\n                                        change y by (1)\n                                        if <touching (platform v)?> then\n                                            change y by (1)\n                                            if <touching (platform v)?> then\n                                                change y by (1)\n                                                if <touching (platform v)?> then\n                                                    change y by (1)\n                                                else\n                                                    change y by (-1)\n                                                end\n                                            end\n                                        end\n                                    end\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nrepeat (20)\n    change [ghost v] effect by (5)\nend\ndelete this clone\n\ndefine Particles\nrepeat (5)\n    create clone of (_myself_ v)\nend\n\n@letters\n\nwhen flag clicked\nforever\n    switch costume to (LVL)\nend\n\n@Duszek1\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n
-------------------------Green Jungle-------------------------------------------------------------------------------------------------------\nwalking-arrows\nI made this game for 9 hours xD\nI drew all the pictures by myself except the player!\nif you liked it, be sure to leave a heart and a star!\n@-Scratchy-LAZAR loved and commented!\n@AUMSUMTHEGREATHULK loved and commented!\n@MasterAndras commented!\n@Matthew_K1 commented, loved, faved and remixed :O\n\n