Platformer! #games #all

Instructions:                            ✨PLATFORMER!✨\n\n\nThis is a simple and easy platformer. I hope you enjoy it.\n\nInstructions\nUse the arrow keys or WASD to move.\nAvoid the lava and spikes.\n\nGood luck!\n\nCredit\nBackdrop art and sound effects by @goriraf0612\nBox and bridge art by @Blue-bulb\nSome ideas by @_Snakebite_ \n\nEverything else by me\n\nUPDATES\nNov. 24, 2023: Game Release\nDec. 14, 2023: New Player Trail added\n\n\n❤️ and ⭐ please!

@Stage\n\nwhen flag clicked\nforever\n    play sound [Vexento - Pixel Party v] until done\n    wait (2) seconds\nend\n\n@blank\n\n@Player\n\nwhen flag clicked\ngo to x: (-180) y: (0)\nset rotation style [don't rotate v]\npoint in direction (90)\nshow\nswitch costume to (player v)\nshow\nset [level # v] to [1]\nset [xvel v] to [0]\nset [yvel v] to [0]\nforever\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xvel v] by (2.15)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xvel v] by (-2.15)\n        point in direction (-90)\n    end\n    set [xvel v] to ((xvel) * (.8))\n    change x by (xvel)\n    if <touching (level v)?> then\n        change y by (1)\n        if <touching (level v)?> then\n            change y by (1)\n            if <touching (level v)?> then\n                change y by (1)\n                if <touching (level v)?> then\n                    change y by (1)\n                    if <touching (level v)?> then\n                        change y by (1)\n                        if <touching (level v)?> then\n                            change y by (-5)\n                            change x by ((xvel) * (-1))\n                            if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n                                set [yvel v] to [12.5]\n                                if <(direction) = [90]> then\n                                    set [xvel v] to [-15]\n                                else\n                                    set [xvel v] to [15]\n                                end\n                            else\n                                set [xvel v] to [0]\n                            end\n                        end\n                    end\n                end\n            end\n        end\n    end\n    change [yvel v] by (-1)\n    change y by (yvel)\n    if <touching (level v)?> then\n        change y by ((yvel) * (-1))\n        set [yvel v] to [0]\n    end\n    change y by (-1)\n    if <touching (level v)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            change [yvel v] by (12.5)\n        end\n    end\n    change y by (1)\nend\n\nwhen flag clicked\nforever\n    if <[238] < (x position)> then\n        change [level # v] by (1)\n        go to x: (-180) y: (0)\n        set [xvel v] to [0]\n        set [yvel v] to [0]\n    end\n    if <touching (danger v)?> then\n        go to x: (-180) y: (0)\n        set rotation style [don't rotate v]\n        point in direction (90)\n        set [xvel v] to [0]\n        set [yvel v] to [0]\n        start sound [Crunch v]\n    end\nend\n\nwhen [timer v] > (0.01)\nhide\n\nwhen flag clicked\nforever\n    create clone of (_myself_ v)\nend\n\nwhen I start as a clone\nclear graphic effects\nshow\nswitch costume to (trail v)\nrepeat (5)\n    change [ghost v] effect by (20)\nend\ndelete this clone\n\n@Level\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nshow\nforever\n    switch costume to (level #)\nend\n\nwhen flag clicked\nshow\n\nwhen [timer v] > (0.01)\nhide\n\n@Danger\n\nwhen flag clicked\ngo to x: (0) y: (0)\nswitch costume to (1 v)\nshow\nforever\n    switch costume to (level #)\nend\n\nwhen [timer v] > (0.01)\nhide\n\n@Thumbnail\n\nwhen flag clicked\nhide\nforever\n    reset timer\nend\n\nwhen [timer v] > (0.01)\nshow\ngo to [front v] layer\n\n