Is this normal?

Is this normal i am at Chapter 14 and my Sprite
can Jump in the Air.
Also when i am holding right/left arrow keys,
my Sprite is getting faster than the grass is long, so
i will fall out off map.
ALSO when my Sprite is falling and
i hold Down key then the Sprite falls through the
Floor.
Not even Physical yea my Url:
https://www.code3dgames.com/3de/#B/lVdtb9s2EP7uX3H1FyudLdspug1JWiDN3LSYmwSx1+5bQUtni41EaSRlxQny33ck9Ro7HWYElsx77u3h3ZE5W6Xh7v3Z2D56ZyqQPNOgZPCuP9aRRPR/qD7JneA5Iot2iv8UoYJU4iplMjwMe9/r3RgjP5TvFpTPkiSFdzAwT1IanO4hilTeoTQYF8EP9d0tWTj0egDjMSwjhL4KUGAfuIIiQomgdL5eAxeQ5hI2LEEoeBxDxLIMxQkpbpkEq0TmBRZQ+V6YNe/olCBW7CvUl5Jtud55Brf8dDub+V8x0Kl848FkCKPjt/Q9gSOrZOyuY6bJ7KN5LiIWcrE5AS1zfKoQMd9EuvTsLJ4nK45Cz43AGxQR1zggq/7vrVBYGHpWk9ZauQeUnmRl8uRZISrQUUnCiUUap0xlFPYt09zwXnARpoXPhUD5jYc6gnFn7RMaT6e1tvPSifkGpTXJt3hhpd5vb4dtN0OYDqcT+tTUFC94Pq4A0TOAC6ONOBDItdRRupEsi3hQRjIqhkB/Ee1PZMKAJg5nwM9SxSlG4T+QrbeTSZdnB+oSLVGEVFyyD6FkRcm2IboMyRKfCp069gNqq7rWKt1O3N9wdTm/LSXeIxOas5gzVVaLjbZSNIW44A/o7dE3PEDYnupFjExepHEqvYG6263iHAcWFKZBnlDl+WY0+LY/wouIx6FXq4dpMovRgGo+XpcfWCzPb5dwcf3H56tLuL6ixGZwNft7CfPPV7Ma1jMUbGSai5AIIH4v7bvpM1uZW6aZdJJz+15JmrnipIv6t0H0JFJq9m2di8DsZts4PFaNTn2PHeY/pPeXmCao5c47fu0KZdqUaZBun23VF1TRB6Z48IVplLRN3mNg2DyBQcwKsTF7PXiqDdS5tmcLOTVmPBvO0DmhHrdKTqEpyh3pjqLxcbcqHarcXJ1LUeqd9p66FFQs/oSCi3yFNQfUHbZF6Ov/kbDliq9iPIE1ixU2BNRb+t8ETJ+NOKdqF0tjPGGbbvBLvKf0cZ4yKlHvyI/pxeuPLVCNk1QoCtDPxKZfR5SUMXfsLDJJk7ZJJ2HZiXPXpKIs5oCaV5l0Cdg1OrxYbE+NPU5dXjZFh61SLAWkM+eC2vQjM6fLgeNmaifZ5KhtjrTOxSaPf6JmjqdarSkdZ2CvdNot1pRPuw+Nh24jQgvg29e91QjjzKMlgP4HFLl+QAg5ws0aeawZbZeAhzyBFRa4oXfTPUY+R5RWbKWGd0Fivw+/OFtzphSETMH1SmkQPKDDggZVwVUQoXj16lWfcO2GaULqZl6OEptxSe337yGXendT9iRlbsZyi/u6W43qaOL/aibJ8WRSNfXzjf2KcRocvkmQjrtHmF1qx2UuLwuNWRlaeSnhCe24rlhGveQJprn2KrQ778ZvJtZaY6Oa3wuKS8O5oFI3XnpVy1N8d90pYVacm6ZIrBqWERlm/8lR6draR0n+vBJlVZ11c+OxHvwN6lnMMoWhCbwMywZWG6HpECJsUjpSzY3O9/1e6aw8ldyLZwkZQn1eAzwZYB1jWfP1MUcVPtvam5apOTLQv8MdnZ6iPyQiRfgn7v6gX92MWwIPjXaVupuToZkOdt03P1zG9ouvwXNyusWeS5kWc1zrwRHE9PBKbvZBt+YMJ5S018EXYX9lhMmzlwEmYIKY9A6CFhkL8GUblPKtiaI6ZQ23LVZcDvAICQ1ybzQtC78LKlOoUIdBedYgXCc8R7gUWphRjWnDrPR+CLtqg0w+9/CeXNbdaAf0Pe3Y9LQFOTsIGU1bm2k2myZCpz+q/jU+q7ZvRn2WxbsLKgvJ4s9JltMJ6ZGBmsle/X/Svw==

I think your code is correct. You may have a fast keyboard. If the purple fruit monster is moving too fast, try cutting down the speed in the left(), right(), up(), and down() functions. Instead of:

  function left() { move(-100, 0); }
  function right() { move(100, 0); }
  function up() { move(0, 250); }
  function down() { move(0, -50); }

Try this:

  function left() { move(-10, 0); }
  function right() { move(10, 0); }
  function up() { move(0, 25); }
  function down() { move(0, -5); }

Experiment with the numbers until they seem correct to you.

As for the sprite falling through the floor, we fix that later in the chapter.

-Chris

These Numbers are pretty good…