Cool facts, a platformer
@Stage\n\n@Player\n\nwhen flag clicked\n\ndefine Go To Start\ngo to x: (-230) y: (-91)\ngo to x: (-232) y: (24)\n\nwhen flag clicked\nwait (0.01) seconds\nswitch backdrop to (backdrop1 v)\ngo to x: (-221) y: (-91)\ngo to x: (-219) y: (-80)\nshow\nset size to (300) %\nswitch costume to (costume1 v)\nset [xv v] to [0]\nset [yv v] to [0]\nforever\n    if <key (r v) pressed?> then\n        Go To Start\n    end\nend\n\nwhen flag clicked\nhide\n\nset [☁ most points ever v] to [51]\n\nif <touching color (#dddede)?> then\nend\n\nwhen I receive [start v]\n\nwhen flag clicked\nGo To Start\nforever\n    if <<touching color (#7f7f7f)?> or <touching color (#ff0000)?>> then\n        Go To Start\n    end\n    if <<touching color (#00ff55)?> or <(x position) = [235]>> then\n        Go To Start\n        switch backdrop to (next backdrop v)\n    end\nend\n\nwhen flag clicked\nforever\n    if <touching color (#0033cc)?> then\n        set [yv v] to [12]\n    end\nend\n\nwhen this sprite clicked\nnext costume\n\nwhen I receive [start v]\nswitch backdrop to (backdrop1 v)\nforever\n    change [yv v] by (-0.5)\n    if <<key (right arrow v) pressed?> or <key (d v) pressed?>> then\n        change [xv v] by (0.7)\n        point in direction (90)\n    end\n    if <<key (left arrow v) pressed?> or <key (a v) pressed?>> then\n        change [xv v] by (-0.7)\n        point in direction (-90)\n    end\n    set [xv v] to ((Xv) * (0.9))\n    change x by (Xv)\n    if <touching color (#000000)?> then\n        change y by (1)\n        if <touching color (#000000)?> then\n            change y by (1)\n            if <touching color (#000000)?> then\n                change y by (1)\n                if <touching color (#000000)?> then\n                    change y by (1)\n                    if <touching color (#000000)?> then\n                        change y by (1)\n                        if <touching color (#000000)?> 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?> or <key (w v) pressed?>> then\n                                if <(Xv) > [0]> then\n                                    set [xv v] to [-8]\n                                else\n                                    set [xv v] to [8]\n                                end\n                                set [yv v] to [10]\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 (#000000)?> then\n        change y by ((Yv) * (-1))\n        set [yv v] to [0]\n    end\n    change y by (-1)\n    if <touching color (#000000)?> then\n        if <<key (up arrow v) pressed?> or <key (w v) pressed?>> then\n            set [yv v] to [10]\n        end\n    end\n    if <touching color (#e5b53a)?> then\n        if <key (up arrow v) pressed?> then\n            change [yv v] by (5)\n        else\n            change [yv v] by (-1)\n        end\n    end\n    change y by (1)\nend\n\n@THumb\n\nwhen flag clicked\ngo to x: (0) y: (0)\nshow\ngo to [front v] layer\nwait (1) seconds\nhide\nbroadcast (start v)\n\n
Hello, welcome to cool facts, a platformer that has cool facts on every level. Use arrow keys or WASD to move. Avoid red and bounce on blue. Touch light green to go to the next level. Enjoy the facts and comment down below to tell me your favorite fact. Thanks!\n \n@-Auron- and @snow-cannon and @SullyBully and @Will_wam loved! AAAAAHHHHHH\nplease also check this game out: https://scratch.mit.edu/projects/190171400/\n@appleapple22 for the idea!