Minecraft -A Platformer- 

Instructions: \nWelcome to Wings of fire platformer (number 1)\n(you don't need to read the book to play this.)\nIn this game, you will be experiencing the escape of the secret cave (the first part of the book: the dragonet prophecy(book 1).) You can change dragonets by pressing 1,2,3,4,5.\n\n1:Clay\n2:Tsunami\n3:Sunny\n4:Glory\n5:Starflight\nEach dragonet will have a unique power:\nClay: invulnerable to lava or fire,\nTsunami: can swim in water\nSunny: can squeeze into tiny places\nGlory: Becomes camouflaged:(enemy can't see her)\nStarflight: can see in the dark\nFor Sunny and Glory, hold "z" to activate the power.\n\nBut most importantly:\nHAVE FUN!\n\n

@Stage\n\nwhen flag clicked\nforever\n    play sound (pick random (1) to (4)) until done\nend\n\n@Ball\n\nwhen flag clicked\ndelete (all) of [ballx v]\ndelete (all) of [bally v]\nrepeat (3)\n    add [-219] to [ballx v]\n    add [-153] to [bally v]\nend\nadd [226] to [ballx v]\nadd [134] to [bally v]\nadd [-209] to [ballx v]\nadd [142] to [bally v]\nadd [-223] to [ballx v]\nadd [157] to [bally v]\nadd [0] to [ballx v]\nadd [160] to [bally v]\nadd [-219] to [ballx v]\nadd [160] to [bally v]\nadd [-222] to [ballx v]\nadd [160] to [bally v]\nadd [-219] to [ballx v]\nadd [-153] to [bally v]\nbroadcast (start physics v)\n\nwhen I receive [start physics v]\nset size to (120) %\nshow\npoint in direction (90)\ngo to x: (item (Costume2) of [ballx v]) y: (item (Costume2) of [bally v])\nforever\n    go to [front v] layer\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 (ground v)?> then\n        change y by (1)\n        if <touching (ground v)?> then\n            change y by (1)\n            if <touching (ground v)?> then\n                change y by (1)\n                if <touching (ground v)?> then\n                    change y by (1)\n                    if <touching (ground v)?> then\n                        change y by (1)\n                        if <touching (ground 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 (ground v)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching (ground v)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [14]\n        end\n    end\n    if <touching (sprite3 v)?> then\n        broadcast (Next Level v) and wait\n        go to x: (item (Costume2) of [ballx v]) y: (item (Costume2) of [bally v])\n    end\n    if <<<<<touching color (#ff0000)?> or <key (r v) pressed?>> or <(y position) < [-175]>> or <touching (lava and spikes v)?>> or <touching (sprite6 v)?>> then\n        go to x: (item (Costume2) of [ballx v]) y: (item (Costume2) of [bally v])\n    end\n    if <<(Xv) < [0.5]> and <(Xv) > [-0.5]>> then\n        set [xv v] to [0]\n    end\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat (10)\n    change size by (((10) - (size)) / (5))\n    change [ghost v] effect by (10)\nend\ndelete this clone\n\nwhen I receive [go to \(x, y\) v]\ngo to x: (item (Costume2) of [ballx v]) y: (item (Costume2) of [bally v])\n\n@Ground\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to x: (0) y: (0)\nwait until <(costume [number v]) = [10]>\nbroadcast (End v)\n\nwhen I receive [next level v]\nnext costume\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    go [backward v] (2) layers\n    set [costume2 v] to (costume [number v])\nend\n\n@Words\n\nwhen flag clicked\nset [costume v] to [0]\nswitch costume to (costume1 v)\nshow\nset [var1 v] to [1]\ngo to x: (0) y: (0)\nforever\n    wait until <(Costume2) > (Var1)>\n    set [var1 v] to (Costume2)\n    Wait for space\n    next costume\nend\n\nwhen I receive [next level v]\nwait (0.02) seconds\nswitch costume to (((Costume2) * (2)) - (2))\n\ndefine Wait for space\nwait until <key (space v) pressed?>\nwait until <not <key (space v) pressed?>>\n\nwhen flag clicked\nforever\n    if <<(Costume2) > [ 1 ]> and <(costume [number v]) = [1]>> then\n        switch costume to (((Costume2) * (2)) - (1))\n    end\n    set [costume v] to (Costume2)\n    if <(Costume2) = [1]> then\n        switch costume to (costume1 v)\n        set [var1 v] to [1]\n        wait until <not <(Costume2) = [1]>>\n    end\n    if <(costume [number v]) = ((Costume2) * (2))> then\n        switch costume to (((Costume2) * (2)) - (1))\n    end\n    if <<(costume [number v]) = [1]> and <(Costume2) = [12]>> then\n        switch costume to (costume23 v)\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nshow\ndelete (all) of [go-to x v]\ndelete (all) of [go-to y v]\nadd [210] to [go-to x v]\nadd [-131] to [go-to y v]\nadd [-213] to [go-to x v]\nadd [77] to [go-to y v]\nadd [210] to [go-to x v]\nadd [-131] to [go-to y v]\nadd [-212] to [go-to x v]\nadd [17] to [go-to y v]\nadd [215] to [go-to x v]\nadd [-137] to [go-to y v]\nadd [148] to [go-to x v]\nadd [30] to [go-to y v]\nadd [-3] to [go-to x v]\nadd [-76] to [go-to y v]\nadd [210] to [go-to x v]\nadd [-131] to [go-to y v]\nadd [210] to [go-to x v]\nadd [-135] to [go-to y v]\nforever\n    change [color v] effect by (0.1)\n    set size to ((100) + (([sin v] of ((timer) * (200)) ) * (25))) %\n    turn right (2) degrees\n    go to x: (item (Costume2) of [go-to x v]) y: (item (Costume2) of [go-to y v])\nend\n\nwhen I receive [end v]\ngo to x: (240) y: (240)\nhide\n\n@Sprite1\n\nwhen flag clicked\nforever\n    if <not <(Costume2) = [2]>> then\n        hide\n    else\n        show\n        go to [front v] layer\n        set y to (35)\n        set x to ((75) + (([sin v] of ((timer) * (100)) ) * (60)))\n    end\nend\n\n@Sprite2\n\nwhen flag clicked\ncreate clone of (_myself_ v)\nforever\n    if <not <(Costume2) = [3]>> then\n        hide\n    else\n        show\n        set y to ((230) + (([sin v] of ((timer) * (100)) ) * (30)))\n        set x to (-20)\n    end\nend\n\nwhen I start as a clone\nhide\nwait until <(Costume2) = [3]>\nrepeat until <not <(Costume2) = [3]>>\n    go [backward v] (1) layers\n    go [backward v] (1) layers\n    show\n    set y to ((-3) + (([sin v] of ((timer) * (100)) ) * (-30)))\n    set x to (-20)\nend\ndelete this clone\n\n@Lava and Spikes\n\nwhen flag clicked\ngo to x: (0) y: (0)\ndelete (all) of [front/back v]\nAdd (1-2) (2) to Front/Back (list)\nAdd (1-2) (1) to Front/Back (list)\nAdd (1-2) (2) to Front/Back (list)\nAdd (1-2) (2) to Front/Back (list)\nAdd (1-2) (1) to Front/Back (list)\nAdd (1-2) (2) to Front/Back (list)\nAdd (1-2) (1) to Front/Back (list)\nAdd (1-2) (2) to Front/Back (list)\nAdd (1-2) (2) to Front/Back (list)\nAdd (1-2) (2) to Front/Back (list)\nforever\n    switch costume to (Costume2)\n    if <<(item (Costume2) of [front/back v]) = [Front]> or <(Costume2) = [7]>> then\n        go to [front v] layer\n    else\n        go to [front v] layer\n        go [backward v] (3) layers\n    end\nend\n\ndefine None\nif <(1/2) = [1]> then\n    add [Front] to [front/back v]\nelse\n    add [Back] to [front/back v]\nend\n\n@Sprite4\n\nwhen flag clicked\nforever\n    go to [front v] layer\n    set y to (0)\n    set x to (0)\n    show\n    set [ghost v] effect to (100)\nend\n\n@Sprite5\n\nwhen flag clicked\nforever\n    wait until <key (s v) pressed?>\n    wait until <not <key (s v) pressed?>>\n    broadcast (Next Level v)\n    wait (0.1) seconds\n    broadcast (Go to \(x, y\) v)\nend\n\n@Sprite6\n\nwhen flag clicked\nforever\n    if <(Costume2) = [9]> then\n        show\n    else\n        hide\n    end\n    go to [front v] layer\n    set y to (1)\n    set x to (([sin v] of ((timer) * (150)) ) * (31))\nend\n\n