Candyland A Mobile Platformer Mobile Friendly

Instructions: If you remix this, please credit me(@Walimimi)!!!\n\nDon't touch the green spikes or the green lava. Use the arrows or mobile touch to move.\nPress the 1st button to skip a level.\nPress the 2nd button to add and removed motion blur.\n\nNe touchez pas les piques vertes ou la lave verte. Utilisez les flèches ou touchez si vous êtes sur mobile.\nCliquez sur le bouton pour sauter un niveau.\n\n#games #platformer #game #candy #candyland #platformers

@Stage\n\nwhen flag clicked\nshow variable [volume v]\nset [volume v] to [100]\nclear sound effects\nswitch backdrop to (screenshot_20230317_230846_chrome v)\nforever\n    play sound [Emotional Piano v] until done\nend\n\nwhen flag clicked\nforever\n    set volume to ((Volume) / (2)) %\nend\n\n@Ground\n\nwhen flag clicked\ngo to [front v] layer\nforever\n    go to x: (0) y: (0)\n    switch costume to (Level)\nend\n\n@Spikes\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\nset [level v] to [1]\nforever\n    switch costume to (Level)\nend\n\n@Lava\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    switch costume to (Level)\nend\n\nwhen flag clicked\ngo to [back v] layer\ngo to x: (0) y: (0)\npoint in direction (90)\nforever\n    repeat (30)\n        change y by (-0.8)\n    end\n    repeat (30)\n        change y by (0.8)\n    end\nend\n\n@Sprite1\n\nwhen flag clicked\ngo [forward v] (100) layers\nset size to (100) %\nshow\nforever\n    go to x: (-200) y: (150)\n    go to [front v] layer\nend\n\nwhen this sprite clicked\ngo to [front v] layer\nchange size by (10)\nwait (0.05) seconds\nchange size by (-10)\nchange [level v] by (1)\nset [falling? v] to [0]\nset [speed y v] to [0]\nset [speed x v] to [0]\nset [walljump v] to [0]\nset [slope v] to [0]\n\n@Thumbnail\n\nwhen flag clicked\ngo to x: (0) y: (0)\nforever\n    go to [front v] layer\n    go [forward v] (10000006523) layers\n    set [ghost v] effect to (100)\nend\n\n@Sprite2\n\nwhen flag clicked\nhide\ngo [forward v] (999) layers\nforever\n    wait (pick random (0) to (0.001)) seconds\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nswitch costume to (pick random (1) to (8))\ngo to [front v] layer\nclear graphic effects\nset [ghost v] effect to (pick random (40) to (85))\nset size to (pick random (50) to (100)) %\ngo to x: (pick random (240) to (-240)) y: (180)\npoint in direction (90)\nshow\nglide (pick random (1) to (9)) secs to x: (pick random (240) to (-240)) y: (-180)\nhide\ndelete this clone\n\n@Player\n\nwhen flag clicked\nshow\ngo to x: (-200) y: (0)\nset [speed y v] to [0]\nforever\n    point towards (mouse-pointer v)\n    change [speed y v] by (-1)\n    set [speed x v] to ((Speed X) * (0.8))\n    change y by (Speed Y)\n    Touch ground <(Speed Y) > [0]>\n    if <(Walljump) > [0]> then\n        change [walljump v] by (-1.)\n    else\n        if <<key (d v) pressed?> or <<key (right arrow v) pressed?> or <<mouse down?> and <(x position) < (mouse x)>>>> then\n            change [speed x v] by (1.5)\n        end\n        if <<key (a v) pressed?> or <<key (left arrow v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n            change [speed x v] by (-1.5)\n        end\n    end\n    if <<<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> and <(falling?) < [3]>> then\n        set [speed y v] to [15]\n    end\n    if <(Speed X) < [-0.5]> then\n        Walk [5] (Speed X)\n    else\n        if <[0.5] < (Speed X)> then\n            Walk [5] (Speed X)\n        end\n        if <<(Level) = [4]> and <(y position) > [150]>> then\n            go to x: (-221) y: (-104)\n        end\n    end\nend\n\ndefine Touch ground <up?>\nchange [falling? v] by (1)\nrepeat until <not <touching (ground v)?>>\n    if <up?> then\n        change y by (-1)\n    else\n        change y by (1)\n        set [falling? v] to [0]\n    end\n    set [speed y v] to [0]\nend\n\ndefine Walk (x) (speed)\nchange x by (speed)\nset [slope v] to [0]\nrepeat until <<(slope) = [8]> or <not <touching (ground v)?>>>\n    change y by (1)\n    change [slope v] by (1)\nend\nif <(slope) = [8]> then\n    change x by ((0) - (speed))\n    change y by ((0) - (slope))\n    if <<<key (w v) pressed?> or <<key (up arrow v) pressed?> or <<mouse down?> and <(y position) < (mouse y)>>>> and <([abs v] of (speed) ) > [3]>> then\n        if <(Walljump) = [0]> then\n            set [speed x v] to ((-2) * (speed))\n            set [speed y v] to [11]\n            set [falling? v] to [6]\n        else\n            set [speed x v] to [0]\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<[230] < (x position)> or <<touching (lava v)?> or <touching (spikes v)?>>> then\n        repeat (10)\n            change [ghost v] effect by (10)\n            change size by (-5)\n        end\n        if <[230] < (x position)> then\n            change [level v] by (1)\n        end\n        set [falling? v] to [0]\n        set [speed y v] to [0]\n        set [speed x v] to [0]\n        set [walljump v] to [0]\n        set [slope v] to [0]\n        if <(Level) = [11]> then\n            go to x: (-200) y: (100)\n        else\n            go to x: (-200) y: (0)\n        end\n        repeat (10)\n            change [ghost v] effect by (-10)\n            change size by (5)\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <<<(mouse y) < (y position)> and <mouse down?>> or <<key (down arrow v) pressed?> or <key (s v) pressed?>>> then\n        if <(costume [number v]) = [5]> then\n            switch costume to (c5 v)\n        else\n            next costume\n        end\n    else\n        if <(costume [number v]) = [1]> then\n            switch costume to (c v)\n        else\n            switch costume to ((costume [number v]) - (1))\n        end\n    end\nend\n\nwhen flag clicked\nforever\n    if <(A cloney) = [0]> then\n        create clone of (_myself_ v)\n        go to [front v] layer\n        set size to (85) %\n    end\nend\n\nwhen I start as a clone\nset size to (85) %\nrepeat (15)\n    change [ghost v] effect by (6)\n    change size by (-1.5)\nend\ndelete this clone\n\nwhen flag clicked\nforever\n    if <(Level) = [14]> then\n        if <(y position) > [150]> then\n            if <[-150] > (x position)> then\n                go to x: (-200) y: (-10)\n            end\n        end\n    end\nend\n\n@Sprite3\n\nwhen flag clicked\nswitch costume to (costume0 v)\ngo [forward v] (100) layers\nset size to (90) %\nshow\nforever\n    go to x: (-135) y: (150)\n    go to [front v] layer\nend\n\nwhen this sprite clicked\ngo to [front v] layer\nchange size by (10)\nwait (0.05) seconds\nchange size by (-10)\nnext costume\n\nwhen flag clicked\nforever\n    if <(costume [number v]) = [1]> then\n        set [a cloney v] to [0]\n    end\n    if <(costume [number v]) = [2]> then\n        set [a cloney v] to [1]\n    end\nend\n\n