The Round - Platformer - 100 blocks
@Stage\n\n@Round 59\n\ndefine move (right or left)\nswitch costume to (hitbox v)\nchange [yspeed v] by (((23) * (<(Yspeed) = [0]> * <key (up arrow v) pressed?>)) - (2))\nchange y by (Yspeed)\nif <touching (ground 7 v)?> then\n    repeat until <not <touching (ground 7 v)?>>\n        if <(Yspeed) > [0]> then\n            change y by (-1)\n            set [yspeed v] to [1]\n        else\n            change y by (1)\n            set [yspeed v] to [0]\n        end\n    end\nend\nset [xspeed v] to (((Xspeed) * (0.7)) + ((3) * (right or left)))\nchange x by (Xspeed)\nrepeat until <not <touching (ground 7 v)?>>\n    change x by ((1) - ((2) * <(Xspeed) > [0]>))\nend\nif <touching (dangers 16 v)?> then\n    start sound [Crunch v]\n    broadcast (Die v)\nend\nswitch costume to (join [costume] (right or left))\n\nwhen flag clicked\nbroadcast (nouveau niveau v)\nforever\n    change [cycle v] by (item (7) of [levels v])\n    move (<key (right arrow v) pressed?> - <key (left arrow v) pressed?>)\nend\n\nwhen I receive [die v]\ngo to x: (item (1) of [levels v]) y: (item (2) of [levels v])\n\n@ground 7\n\nwhen I receive [nouveau niveau v]\nstop all sounds\nstart sound [Magic Spell v]\nnext costume\nforever\n    play sound (backdrop [name v]) until done\nend\n\n@exit 10\n\nwhen I receive [trouvé v]\nset [ghost v] effect to (100)\nwait until <touching (round 59 v)?>\nrepeat (7)\n    delete (1) of [levels v]\nend\nnext backdrop\nset [ghost v] effect to (0)\nbroadcast (nouveau niveau v)\nbroadcast (Die v)\n\n@coins 8\n\nwhen I receive [nouveau niveau v]\nswitch costume to (item (3) of [levels v])\nwait until <touching (round 59 v)?>\nstart sound [Coin v]\nswitch costume to (trouvé v)\nbroadcast (trouvé v)\n\n@dangers 16\n\nwhen I receive [nouveau niveau v]\nswitch costume to (item (4) of [levels v])\nset [cycle v] to [0]\ngo to x: (0) y: (0)\nforever\n    change x by ((item (5) of [levels v]) * ([cos v] of (cycle) ))\n    change y by ((item (6) of [levels v]) * ([sin v] of (cycle) ))\nend\n\n
Arrows to move - Take the coin before exit - 18 levels.\nMade for the challenge - Game 100 Blocks MAX\nhttps://scratch.mit.edu/studios/31208332\n\nI know for the glitch when level change but I need 2 blocks to fix it...\nYou need to reload the whole page to play again. Playing destroy the level list.\nNot enough blocks to have mobile controls, try my remix for that :  https://scratch.mit.edu/projects/658245887/\n\nMade for the studio : Game - 100 blocks MAX\nhttps://scratch.mit.edu/studios/31208332/\n\nRound 59\nGround 7\nExit 10\nCoin 8\nDangers 16\n