Autumn a Platformer
@Stage\n\nwhen I receive [start v]\nforever\n    play sound [parasonic v] until done\nend\n\nwhen [timer v] > (0.1)\nforever\n    play sound [parasonic v] until done\nend\n\n@Sprite1\n\ndefine settings\ngo to [front v] layer\nswitch costume to (costume1 v)\nshow\ngo to x: (-241) y: (-87)\nset size to (78) %\nset [color v] effect to (0)\npoint in direction (90)\nset [slip v] to [.9]\nset [y v] to [0]\nset [x v] to [0]\nset rotation style [don't rotate v]\n\nwhen flag clicked\nforever\n    if <(x position) = [241]> then\n        broadcast (Next v)\n        go to x: (-241) y: (-87)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#ff0000)?> then\n        go to x: (-241) y: (-87)\n    end\nend\n\nwhen [timer v] > (0.1)\nhide\n\nwhen I receive [start v]\nsettings\nforever\n    change [y v] by (-1)\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        switch costume to (costume2 v)\n        point in direction (-90)\n        change [x v] by (-1)\n    end\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        switch costume to (costume1 v)\n        point in direction (-90)\n        change [x v] by (1)\n    end\n    set [x v] to ((x) * (slip))\n    change x by (x)\n    if <touching color (#e35900)?> then\n        change y by (1)\n        if <touching color (#e35900)?> then\n            change y by (1)\n            if <touching color (#e35900)?> then\n                change y by (1)\n                if <touching color (#e35900)?> then\n                    change y by (1)\n                    if <touching color (#e35900)?> then\n                        change y by (-4)\n                        change x by ((x) * (-1))\n                        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                            set [y v] to [12]\n                            if <(x) > [0]> then\n                                set [x v] to [-10]\n                            else\n                                set [x v] to [10]\n                            end\n                        else\n                            set [x v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change y by (y)\n    if <touching color (#e35900)?> then\n        change y by ((y) - ((y) * (2)))\n        set [y v] to [0]\n    end\n    change y by (-1)\n    if <<<key (up arrow v) pressed?> or <key (w v) pressed?>> and <touching color (#e35900)?>> then\n        set [y v] to [12]\n    end\n    change y by (1)\nend\n\n@Sprite2\n\nwhen flag clicked\nswitch costume to (costume1 v)\n\nwhen I receive [next v]\nnext costume\n\n@Sprite3\n\nwhen flag clicked\nset y to (143)\nforever\n    go to x: (203) y: (pick random (144) to (-144))\n    point in direction (pick random (0) to (180))\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nrepeat until <touching (_edge_ v)?>\n    turn right (5) degrees\n    change x by (-5)\nend\ndelete this clone\n\n@Thumbnail\n\nwhen flag clicked\nhide\ngo to x: (0) y: (349)\nreset timer\nforever\n    go to [front v] layer\n    reset timer\nend\n\nwhen [timer v] > (0.1)\nshow\nglide (1) secs to x: (0) y: (0)\nforever\n    wait (1) seconds\n    repeat (50)\n        change [whirl v] effect by (15)\n    end\n    repeat (50)\n        change [whirl v] effect by (-15)\n    end\nend\n\n@Intro\n\nwhen flag clicked\nswitch costume to (costume1 v)\ngo to [front v] layer\nshow\nstart sound [Splash v]\nrepeat (21)\n    next costume\n    wait (.005) seconds\nend\nwait (3) seconds\nhide\nbroadcast (Start v)\n\n
#4 Trending!\nThis is a big surprise\n\nArrow keys to move\nDon't touch the lava\nEnjoy!\nMore levels coming soon\n