Endangered Species, a platformer
@Stage\n\nwhen I receive [bee v]\nswitch backdrop to (bee v)\n\nwhen I receive [next backdrops v]\nnext backdrop\n\n@Sprite1\n\nwhen flag clicked\nset [xv v] to [0]\nset [yv v] to [0]\nset [deaths: v] to [0]\ngo to x: (-170) y: (195)\nforever\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (1)\n    end\n    if <key (left arrow v) pressed?> then\n        change [xv v] by (-1)\n    end\n    set [xv v] to ((XV) * (0.9))\n    change x by (XV)\n    if <touching (sprite2 v)?> then\n        change y by (1)\n        if <touching (sprite2 v)?> then\n            change y by (1)\n            if <touching (sprite2 v)?> then\n                change y by (1)\n                if <touching (sprite2 v)?> then\n                    change y by (1)\n                    if <touching (sprite2 v)?> then\n                        change y by (1)\n                        if <touching (sprite2 v)?> 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 (sprite2 v)?> then\n        change y by ((YV) * (-1))\n        set [yv v] to [0]\n        change y by (-1)\n        if <touching (sprite2 v)?> then\n            if <key (up arrow v) pressed?> then\n                set [yv v] to [15]\n            end\n        end\n        change y by (1)\n    end\nend\n\nwhen flag clicked\nbroadcast (bee v)\nswitch costume to (bee v)\n\nwhen flag clicked\nforever\n    if <touching (sprite3 v)?> then\n        broadcast (next backdrops v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [polar bear]> then\n        switch costume to (polar bear v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [orangutang]> then\n        switch costume to (orangutang v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [blue whale]> then\n        switch costume to (blue whale v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [turtle]> then\n        switch costume to (turtle v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [rhino]> then\n        switch costume to (rhino v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [shark]> then\n        switch costume to (shark v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [bee]> then\n        switch costume to (bee v)\n    end\nend\n\nwhen I receive [go away v]\ngo to x: (-170) y: (195)\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [panda]> then\n        switch costume to (bee2 v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [do something]> then\n        switch costume to (costume1 v)\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ngo to x: (0) y: (0)\n\nwhen I receive [bee v]\nswitch costume to (bee v)\n\nwhen I receive [next backdrops v]\nnext costume\nbroadcast (go away v)\n\n@Sprite3\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    show\n    set [ghost v] effect to (100)\nend\n\n@Sprite4\n\nwhen flag clicked\nset [ghost v] effect to (0)\ngo to x: (0) y: (0)\ngo to [front v] layer\nshow\nwait (1) seconds\nrepeat (10)\n    change [ghost v] effect by (10)\nend\nhide\n\n
This is a platformer about endangered species. Use arrow keys to move. If you are playing, i dont ask you to like or favourite, i ask you to use an alternative to plastic once today. Little changes mean alot!\nLove you, and the earth!\nIona xx