Adventure || A Scrolling Platformer #games #fun #scroll #platformer
@Stage\n\n@Player\n\nwhen flag clicked\nshow\nset size to (85) %\nswitch costume to (right v)\ngo to x: (0) y: (0)\nset [x velocity v] to [0]\nset [y velocity v] to [0]\nforever\n    broadcast (Tick v)\nend\n\ndefine Tick\nif <<key (right arrow v) pressed?> or <<key (d v) pressed?> or <<mouse down?> and <(mouse x) > (x position)>>>> then\n    switch costume to (right v)\n    change [x velocity v] by (1)\nend\nif <<key (left arrow v) pressed?> or <<key (a v) pressed?> or <<mouse down?> and <(mouse x) < (x position)>>>> then\n    switch costume to (left v)\n    change [x velocity v] by (-1)\nend\nchange x by (X velocity)\nset [x velocity v] to ((X velocity) * (0.9))\nif <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n    change y by (1)\n    if <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n        change y by (1)\n        if <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n            change y by (1)\n            if <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n                change y by (1)\n                if <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n                    change y by (1)\n                    if <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n                        change x by ((X velocity) * (-1))\n                        change y by (-5)\n                        if <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n                            if <(X velocity) > [0]> then\n                                set [x velocity v] to [-10]\n                            else\n                                set [x velocity v] to [10]\n                            end\n                            set [y velocity v] to [15]\n                        else\n                            set [x velocity v] to [0]\n                        end\n                    end\n                end\n            end\n        end\n    end\nend\nchange [y velocity v] by (-1)\nchange y by (Y velocity)\nif <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n    change y by ((Y velocity) * (-1))\n    set [y velocity v] to [0]\nend\nchange y by (-1)\nif <<key (up arrow v) pressed?> or <<key (w v) pressed?> or <<mouse down?> and <(mouse y) > (y position)>>>> then\n    if <<touching color (#00ef05)?> or <<touching color (#00cb03)?> or <touching color (#00ab03)?>>> then\n        set [y velocity v] to [15]\n    end\nend\nchange y by (1)\nchange [scroll x v] by ((x position) * (-1))\nchange [scroll y v] by ((y position) * (-1))\ngo to x: (0) y: (0)\nif <<touching color (#ff0000)?> or <<touching color (#ff2e00)?> or <(Scroll Y) > [1700]>>> then\n    set [scroll x v] to [2362]\n    set [scroll y v] to [1392]\nend\n\nwhen I receive [tick v]\nTick\n\nwhen flag clicked\nforever\n    play sound [TheFatRat - Prelude \(Jackpot EP Track 3\) v] until done\nend\n\n@Platform\n\nwhen flag clicked\nshow\nswitch costume to (blank v)\nset size to (1000) %\nswitch costume to (platform v)\nPosition\nforever\n    go to x: (Scroll X) y: (Scroll Y)\nend\n\ndefine Position\nset [scroll x v] to [2362]\nset [scroll y v] to [1392]\n\n@Thumbnail\n\nwhen flag clicked\nshow\nforever\n    go to [front v] layer\n    set [ghost v] effect to (100)\nend\n\n
                              ✿   Adventure  ✿        \n                     ✿  A Scrolling Platformer  ✿\n\nIT IS 100% POSSIBLE\n\nThis is my BEST GAME YET, and I spent 10+ hours on this, so if you appreciate my hard work in this please drop a ❤️ or ⭐️!\n\nIf this game reaches 100 loves, I will make a Part 2.\n\nIf it's laggy, it might be the fact that I used 300+ blocks for this platformer.\n\nNo advertising or saying bad things about this game, or I will report.\n\nENJOY!!!\n\n                            ✦✦ How to play ✦✦\n\n➜ Press the left and right arrow keys to move and up to jump. A and D or tapping in the direction where you want to go works, too.\n➜ Jump over spikes using the up arrow key. W or tapping above the player works as well.\n➜ Dodge the spikes and win the level.\n\n                                 ✦✦ Credits ✦✦\n\n➜ @-TheAwesomeCoder- for the game engine \n➜100% ART all by @TrentonTNT\n➜Thanks to @-PickleAnimator- for the Intro\n\n\n#games #games #games #games #games #games #games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games\n#games #games #games #games #games #games