The Cavern; a Platformer
@Stage\n\nwhen flag clicked\nswitch backdrop to (backdrop1 v)\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [7]> then\n        broadcast (raining dagger v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [number v]) = [8]> then\n        broadcast (messagestop v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <(backdrop [name v]) = [3]> then\n        broadcast (messageoutro1 v)\n    end\nend\n\n@Sprite1\n\nwhen this sprite clicked\nbroadcast (messagenew v)\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\n\nwhen I receive [messageoutro1 v]\nhide\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\nhide\n\nwhen I receive [messagenew v]\nshow\nwait (1) seconds\nhide\n\nwhen I receive [message 2 v]\nnext costume\n\n@thumbnail\n\nwhen flag clicked\nshow\nwait (1) seconds\nhide\n\n@player\n\nwhen flag clicked\nset [ghost v] effect to (0)\nhide\nswitch costume to (costume1 v)\nwait (1) seconds\nshow\ngo to x: (-231) y: (0)\npoint in direction (90)\nset [level v] to [1]\nset [yv v] to [0]\nset [xv v] to [0]\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        point in direction (90)\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow v) pressed?> then\n        point in direction (-90)\n        change [xv v] by (-0.7)\n    end\n    if <key (d v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (a v) pressed?> then\n        change [xv v] by (-0.7)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n        change y by (1)\n        if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n            change y by (1)\n            if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n                change y by (1)\n                if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n                    change y by (1)\n                    if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n                        change y by (1)\n                        if <<touching color (#363636)?> or <<touching color (#7f5500)?> or >> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            if <touching (null v)?> then\n                                change x by (Change)\n                            end\n                            change x by (1)\n                            if <key (up arrow v) pressed?> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\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 y by (Yv)\n    if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <<touching color (#363636)?> or <<touching color (#7f5500)?> or <<touching color (#c08000)?> or <touching color (#ff9700)?>>>> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [10]\n        end\n    end\n    if <<touching color (#7f0000)?> or <<touching color (#5a0000)?> or <touching color (#450000)?>>> then\n        go to x: (-231) y: (0)\n        set [xv v] to [0]\n        set [yv v] to [0]\n        point in direction (90)\n        change [lives v] by (-1)\n    end\n    if <touching color (#420000)?> then\n        change [yv v] by (1)\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#8f4848)?> then\n        go to x: (-231) y: (0)\n        broadcast (nextlevel v)\n        broadcast (message 2 v)\n    end\nend\n\nwhen I receive [nextlevel v]\nswitch backdrop to (next backdrop v)\nbroadcast (message 2 v)\n\nwhen flag clicked\nswitch backdrop to (backdrop9 v)\n\nwhen [down arrow v] key pressed\nswitch costume to (costume2 v)\nwait (1) seconds\nswitch costume to (costume1 v)\n\nwhen flag clicked\nif <touching (trampoline v)?> then\n    broadcast (tramplevel1 v)\nend\n\nwhen I receive [messageoutro1 v]\nhide\n\nwhen I receive [onomonopia v]\ngo to x: (-231) y: (0)\n\nwhen flag clicked\nforever\n    if <touching color (#387db2)?> then\n        change [ghost v] effect by (75)\n        wait (1) seconds\n        change [ghost v] effect by (-75)\n    end\nend\n\n@Sprite4\n\nwhen this sprite clicked\nswitch backdrop to (next backdrop v)\nbroadcast (onomonopia v)\nbroadcast (message 2 v)\n\nwhen flag clicked\nhide\nwait (1) seconds\nshow\n\nwhen I receive [messageoutro1 v]\nhide\n\n@Sprite3\n\nwhen flag clicked\nhide\ngo to x: (36) y: (28)\nforever\n    glide (1.5) secs to x: (250) y: (28)\n    glide (1.5) secs to x: (36) y: (28)\nend\n\nwhen I receive [raining dagger v]\nshow\n\nwhen I receive [messagestop v]\nhide\n\n
arrow keys to move, skip button to skip, and hint button for a hint, and just to let you all know, all levels are possible! and you may just possibly find a couple of hidden things :)\n-------------------------------------------------------------------------\nteclas de flecha para moverse, botón de salto para saltar, y botón de pista para una pista, y solo para que todos sepan, ¡todos los niveles son posibles!