# Changelog, part 7

Part 7 of 7: [newer](6.md).

- **`has(entity, "Component")` says whether an entity has a component**, and false for
  an entity that is gone, so a script need not keep its own sets to avoid `E0003`. The
  protocol has `world.spawn` and `world.despawn` for the running game (no file is
  written), and `game.info` reports the `[window]` `background` and `filter`. Nothing
  changes for a game or a client that uses none of them.
- **A polygon that is not convex is an error (`E1103`).** Before, its convex hull was
  used without a word. Write the hull's corners to get the old shape, or make the dent
  from convex pieces. A joint between two colliders with no moving body is still made,
  and warned of (`W1114`) by `frost check`, `frost run` and `game.status`.
- **`frost run` and `frost test` print what only running the game finds**: `W1112`, a
  joint removed because one end was despawned. `frost run` prints it on standard error
  after the checksum, `frost test` under the game's line; neither fails for it.
- **`substeps` above 4 stiffens contacts and joints.** Before, 8 and 16 gave what 4
  gives. A game at the default 4, or fewer, is unchanged; one that set more runs
  differently (stiffer), and has no setting to go back but `substeps = 4`.
- **`Mover.crushed` is true in every step of a crush**, with or without a script: from
  the first squeeze until the kinematic body is out of the mover. Before, it was true
  for a step or two and false while the body went on through. A script that counted
  the steps it read true counts more.
- **`physics.pause(true)` holds the simulation** while scripts and the interface run;
  `physics.read` says `paused`. Nothing changes for a game that does not call it.
- **A wheel with `spring = 0` is on a rigid axle**, as the reference said. Before, the
  axle slid freely along its line and the body sank onto its wheels. For an axle that
  slides freely between two ends: `limit = true` with `min` and `max`.
- **A sensor no longer reports static colliders.** A `Collider` with `sensor = true`
  sent `sensor_enter` for the floor or the tilemap it rests on, in its first step. Now
  only dynamic and kinematic bodies and movers are reported. For the old behaviour:
  `senses = "all"` on that collider. Every `Collider` has the new field, so every
  recorded game with a collider has a new checksum.
- **`physics.ray`, `physics.cast` and `physics.overlap` take an entity to ignore** after
  the mask. Nothing changes for a call that does not give one.
- **A mover has weight.** `Mover.mass` is 1 by default: standing on a dynamic body it
  presses on it as a body of its size and a density of 1 would, so a seesaw tips and a
  rope bridge sags under the character. For the old behaviour: `mass = 0`.
- **A dynamic body that moves carries the mover on it**, as a kinematic one does: a
  character on a rolling cart goes with the cart. There is no switch for it.
- **A body rests on a mover's head.** A dynamic body that lands on a mover which cannot
  give way (it stands on something, or has a wall behind it) is stopped by the mover
  and lies on it; before, it pushed the mover into the floor. A mover is never taken
  through a static collider. `Mover.crushed` no longer comes from dynamic bodies.
- **A standing mover's feet are exactly on its ground.** It used to rest up to a third
  of a unit inside or above it. A character is drawn that much higher or lower, and
  meets a ramp or a crate a fraction of a unit differently.
- **A mover is carried from the step it lands in**, and round with a kinematic body
  that turns, not only along with one that slides.
- **`frost new` leaves tool leftovers behind**: names that start with a dot,
  `__pycache__`, `stills`, `Thumbs.db`, and files ending in `.pyc`, `.pyo`, `~`, `.swp`,
  `.tmp` or `.orig` are not copied out of a template.
