Jungle Platformer   #games 


@Stage\n\n@Player\n\nwhen flag clicked\nset [next v] to [0]\nset [ghost v] effect to (0)\nshow\ngo to x: (-179) y: (-112)\nset [x v] to [0]\nset [y v] to [0]\nforever\n    if <key (right arrow v) pressed?> then\n        change [x v] by (0.6)\n    end\n    if <key (left arrow v) pressed?> then\n        change [x v] by (-0.6)\n    end\n    change x by (x)\n    set [x v] to ((x) * (0.9))\n    if <touching (base v)?> then\n        change y by (0.5)\n        if <touching (base v)?> then\n            change y by (0.5)\n            if <touching (base v)?> then\n                change y by (0.5)\n                if <touching (base v)?> then\n                    change y by (0.5)\n                    if <touching (base v)?> then\n                        change y by (0.5)\n                        if <touching (base v)?> then\n                            change y by (0.5)\n                            if <touching (base v)?> then\n                                change y by (0.5)\n                                if <touching (base v)?> then\n                                    change y by (0.5)\n                                    if <key (up arrow v) pressed?> then\n                                        if <[0] < (x)> then\n                                            set [x v] to [-7]\n                                        else\n                                            set [x v] to [7]\n                                        end\n                                        set [y v] to [10]\n                                    else\n                                        set [x v] to ((x) * (-1.3))\n                                        change x by (x)\n                                        set [x v] to [0]\n                                        change x by ((x) / (5))\n                                    end\n                                    change y by (-4)\n                                end\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [y v] by (-0.5)\n    change y by (y)\n    if <touching (base v)?> then\n        set [y v] to ((y) * (-0.25))\n        change y by (y)\n        if <touching (base v)?> then\n            change y by (y)\n            if <touching (base v)?> then\n                change y by (y)\n                if <touching (base v)?> then\n                    change y by (y)\n                end\n            end\n        end\n    end\n    change y by (-1)\n    if <<key (up arrow v) pressed?> and <touching (base v)?>> then\n        set [y v] to [10]\n    end\n    change y by (1)\n    if <touching (danger v)?> then\n        set [x v] to [0]\n        set [y v] to [0]\n        repeat (10)\n            change [ghost v] effect by (10)\n        end\n        go to x: (-179) y: (-108)\n        set [ghost v] effect to (0)\n    end\nend\n\nwhen I receive [next level v]\nchange [next v] by (1)\nset [x v] to [0]\nset [y v] to [0]\nwait (0.01) seconds\ngo to x: (-179) y: (-108)\n\nwhen flag clicked\nforever\n    play sound [City Lights v] until done\nend\n\n@Base\n\nwhen flag clicked\nshow\nswitch costume to (kostüm1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@Danger\n\nwhen flag clicked\nshow\nswitch costume to (kostüm1 v)\n\nwhen I receive [next level v]\nnext costume\n\n@next level\n\nwhen flag clicked\nshow\nforever\n    if <touching (player v)?> then\n        broadcast (Next Level v)\n        wait (0.1) seconds\n    end\nend\n\nwhen flag clicked\nforever\n    if <(next) = [12]> then\n        hide\n    else\n        show\n    end\nend\n\n@love\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (-139) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@favorite\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (-50) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@follow\n\nwhen flag clicked\nhide\nset size to (200) %\ngo to x: (41) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@Figur1\n\nwhen flag clicked\nhide\nset size to (100) %\ngo to x: (0) y: (0)\n\nwhen flag clicked\nforever\n    if <(next) = [12]> then\n        show\n    else\n        hide\n    end\nend\n\n@Figur2\n\nwhen flag clicked\nhide\n\n