CHOCOLATE | A PLATFORMER #GAMES#ART #scratch #explore
@Stage\n\nwhen flag clicked\nforever\n    play sound [K-391-Alan-Walker-Ahrix-End-of-Time v] until done\nend\n\nwhen I receive [sound on v]\nset volume to (100) %\n\nwhen I receive [sound off v]\nset volume to (0) %\n\n@Sprite1\n\nwhen flag clicked\nshow\nset size to (100) %\nswitch costume to (costume1 v)\nset [xv v] to [0]\nset [yv v] to [0]\n\nwhen flag clicked\ngo to x: (-204) y: (2)\nforever\n    change [yv v] by (-0.5)\n    if <key (right arrow v) pressed?> then\n        change [xv v] by (0.7)\n    end\n    if <key (left arrow 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 (#683620)?> then\n        change y by (1)\n        if <touching color (#683620)?> then\n            change y by (1)\n            if <touching color (#683620)?> then\n                change y by (1)\n                if <touching color (#683620)?> then\n                    change y by (1)\n                    if <touching color (#683620)?> then\n                        change y by (1)\n                        if <touching color (#683620)?> then\n                            change x by ((Xv) * (-1))\n                            change x by (-1)\n                            change y by (-5)\n                            change x by (1)\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 [5]\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 (#683620)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#683620)?> then\n        if <key (up arrow v) pressed?> then\n            set [yv v] to [9]\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ffdc52)?> then\n        broadcast (Next level v)\n        hide\n    end\nend\n\nwhen I receive [next level v]\ngo to x: (-204) y: (2)\n\nwhen flag clicked\nforever\n    if <touching color (#de7345)?> then\n        go to x: (-204) y: (2)\n    end\nend\n\nwhen I receive [next level v]\nwait (1) seconds\nshow\ngo to x: (-204) y: (2)\n\nwhen [space v] key pressed\ngo to x: (-204) y: (2)\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next level v]\nwait (.5) seconds\nnext costume\n\n@Sprite3\n\nwhen I receive [next level v]\nrepeat (1)\n    repeat (10)\n        change [ghost v] effect by (-10)\n    end\n    wait (.3) seconds\n    repeat (10)\n        change [ghost v] effect by (10)\n    end\nend\n\nwhen flag clicked\nset [ghost v] effect to (100)\n\n@Sprite4\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    set [ghost v] effect to (100)\nend\n\n@Sprite5\n\nwhen flag clicked\nshow\nforever\n    if <<<<([costume # v] of [sprite2 v]) = [12]> or <([costume # v] of [sprite2 v]) = [13]>> or <([costume # v] of [sprite2 v]) = [14]>> or <<([costume # v] of [sprite2 v]) = [15]> or <([costume # v] of [sprite2 v]) = [16]>>> then\n        hide\n    end\nend\n\nwhen this sprite clicked\nbroadcast (Next level v)\n\nwhen I receive [next level v]\nhide\nwait (.8) seconds\nshow\n\n@Sprite6\n\nwhen flag clicked\nswitch costume to (costume1 v)\nforever\n    if <(costume [number v]) = [1]> then\n        broadcast (Sound On v)\n    end\n    if <(costume [number v]) = [2]> then\n        broadcast (Sound off v)\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\n
Welcome to Chocolate a Platformer\n\nFirst, I wanna say Happy Chocolate Day!!\nThis is another platformer \nThe story is:\nYou were a little chocolate with your chocolate family in the chocolate country. Suddenly you got hit by something and you woke up finding yourself in the chocolate island. Can you make it out? Can you get back to your choco family?\n\nArrow keys to move.\nPress Space to respawn (incase you get stuck to the ground)\nYou can wall jump\nJust dont touch the spikes but touch the lava\nGo to the portal to make it to the next level.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nTags #games #art #chocolate #scratch #explore #everything #chocolateday\n\n\n\n\n\n\n\n\nIf you have come this far,\nType HAPPY CHOCOLATE DAY! in the comments