Crates, bounce and ground jump
This is the part that is always on and has no switch. It answers the question "what breaks a crate?" when you have turned mechanics off.
1. What it does
The hero can always walk, jump from the ground (with coyote time and a jump buffer) and land on crates, which bounce it. Which action breaks which crate decides how your game plays when Spin or Slam are off.
2. Turn on / off
There is no switch. The ground jump, coyote time, jump buffer and crate bounce are core movement.
3. Level actor to place
Corridor Crate (ACorridorCrate); Type picks the behaviour. One actor, 16 types.
4. What breaks what
| Crate type | What it does |
|---|---|
| Basic, Surprise | Breaks on landing, spin or head-bump; the hero bounces. |
| Bounce | Bounces the hero each time; breaks after a few hits. |
| Arrow | High bounce; breaks only by spin or explosion. |
| Metal, Metal Arrow | Bounces the hero; never breaks. |
| Fuse | Landing lights the fuse; spin or explosion sets it off at once. |
| Volatile | Any touch detonates it. |
| Strong | Bounces the hero; opened only by a slam or an explosion. |
| Switch | Landing, spin or head-bump makes every outline crate real. |
The remaining types (Checkpoint, Shield, Big Orb, Time, N-Bounce, Detonator) are described in the README, section 4.
By mechanic: landing always works (and bounces you). A spin, a slide and a slam are the same kind of hit on a crate; the slam also opens Strong crates and flattens only the top crate of a stack. Riding a rail and riding a mount break crates in the hero's path. The Cyclone power breaks strong crates and sets off fuse boxes on touch.
A stack falls when its support breaks.
5. Blueprint functions and events
| Node | Kind | What it does |
|---|---|---|
| Is Broken (crate) | Getter | True once broken. |
| On Broken, On Exploded (crate) | Events | Implement in a Blueprint child for your own pop. |
6. Use your own animation
Not applicable: jumping and landing are your Anim Blueprint's normal states.
7. See it in the demo
Course1_RunAndJump for the first stacks; System_Gallery for all 16 types in a row.
8. Pitfalls
- A game with Spin off still breaks crates by landing, slide, slam, rail and mount.
- Metal, Metal Arrow, Switch and Detonator crates do not count toward the crate gem.
- Crate bounce counts as the double jump used.