Proving Grounds: 3D Platformer Mechanics Support: GitHub issues

Powers

1. What it does

One power is worn at a time; the power button (Q / Y) switches it on and off. Give a power with a Corridor Power Shrine, take it with a Corridor Power Remover.

Power Effect
Phase Swaps which objects are solid: actors with a Corridor Phase component (or Corridor Phase Block) are solid in their default phase and a see-through ghost in the other.
Cyclone Endless spin, light gravity, its own two jumps, breaks strong crates, sets off fuse boxes on touch.
Time Slow Slows the world, not the hero (3 s, world scale 0.35).
Gravity Flips gravity: walk on the ceiling.
Glide Hold Jump on the way down to glide. See Glide.

2. Turn on / off

3. Level actor to place

Corridor Power Shrine (set Power), Corridor Power Remover, Corridor Phase Block (or any actor plus a Corridor Phase component). A checkpoint crate can hand the power back after a death.

4. Details fields

Shrine:

Field Default What it does
Power (Power) TimeSlow Which power this station hands out. (Details: Corridor | Power)
Appear Radius (AppearRadius) 1157 The power appears when the hero comes this close (cm), unless the hero already wears it; it leaves again when the hero moves away. (Details: Corridor | Power)
Acquire Radius (AcquireRadius) 193 The hero this close (cm) takes the power: it flies onto the hero's back and is put on. (Details: Corridor | Power)
Fly Speed (FlySpeed) 1157 The power flies onto the hero's back at this speed (cm/s). (Details: Corridor | Power)
Equip Hint (EquipHint) - Shown once the first time this station's power is put on. Empty = a line about the power button and this power's power. (Details: Corridor | Power)

Power component (cooldowns and durations):

Field Default What it does
Time Slow Duration (TimeSlowDuration) 3 Seconds of slow time per use; it refills in full after the cooldown. (Details: Corridor | Power | TimeSlow)
Time Slow World Scale (TimeSlowWorldScale) 0.35 World speed while slowed (1 = normal, lower = slower). The hero keeps its normal speed. (Details: Corridor | Power | TimeSlow)
Time Slow Explosive Scale (TimeSlowExplosiveScale) 0.1 fuse box and volatile crates run at this fraction of speed on top of the slowed world (lower = slower). (Details: Corridor | Power | TimeSlow)
Time Slow Blend (TimeSlowBlend) 0.2 Time to ease into and out of slow time (s). (Details: Corridor | Power | TimeSlow)
Time Slow Cooldown (TimeSlowCooldown) 0.5 Wait after switching time slow off before it can be switched on again (s). (Details: Corridor | Power)
Cyclone Cooldown (CycloneCooldown) 0.5 Wait after switching cyclone off before it can be switched on again (s). (Details: Corridor | Power)
Glide Cooldown (GlideCooldown) 0.5 Wait after switching glide off before it can be switched on again (s). (Details: Corridor | Power)
Glide Duration (GlideDuration) 6 Seconds the glide power stays on per use (0 = until switched off); it refills in full after GlideCooldown. The fall itself (speed cap, gravity) is set on the hero: Corridor|Power|Glide. (Details: Corridor | Power | Glide)
Max Gravity Flips In Air (MaxGravityFlipsInAir) 0 Gravity flips allowed in the air before the hero must land again. 0 = no limit. (Details: Corridor | Power | Gravity)
Time Slow Vignette (TimeSlowVignette) 0.6 Slowed time darkens the screen edge by this much on top of the camera's own vignette. (Details: Corridor | Power | TimeSlow)
Time Slow Saturation (TimeSlowSaturation) 0.75 Colour saturation while time is slowed (1 = unchanged). (Details: Corridor | Power | TimeSlow)

Hero (Corridor | Power):

Field Default What it does
Gravity Flip Speed Scale (GravityFlipSpeedScale) 0.5 Vertical speed kept when gravity flips. (Details: Corridor | Power | Gravity)
Cyclone Gravity Scale (CycloneGravityScale) 0.3 Gravity multiplier while cyclone is on (lower = floatier). (Details: Corridor | Power | Cyclone)
Cyclone Speed (CycloneSpeed) 514 Run speed while cyclone is on (cm/s). (Details: Corridor | Power | Cyclone)
Cyclone Acceleration (CycloneAcceleration) 1028 Ground acceleration while cyclone is on (cm/s^2). (Details: Corridor | Power | Cyclone)
Cyclone Friction (CycloneFriction) 0.2 Ground friction while cyclone is on (lower = slides more). (Details: Corridor | Power | Cyclone)
Cyclone Jump Velocity (CycloneJumpVelocity) 643 Its own jump: fixed height, two of them before landing. Upward speed in cm/s. (Details: Corridor | Power | Cyclone)
Cyclone Idle Drift (CycloneIdleDrift) 0.5 With no stick the spin drifts forward at this share of its speed. (Details: Corridor | Power | Cyclone)

5. Blueprint functions and events

Node Kind What it does
Set Ability Enabled / Is Ability Enabled Function / Getter The switch above (Ability = Powers).
Get Powers (hero) Getter The power component. Then:
Equip, Unequip, Toggle, Power Off Functions Wear, remove, switch on / off.
Get Equipped, Is Power On, Is Power Active Getters The state.
Get Time Slow Left, Get Cooldown Left, Get Glide Left, Get Power Duration, Get Cooldown Duration, Get Air Flips Getters Timers for your own HUD.
Get Corridor Action Getter Cyclone or Glide while those are on. Phase, Time Slow and Gravity have no action value (they change the world, not the pose); read Is Power Active.
On Power Pressed Function Call it from your own input.

6. Use your own animation

Leave Anim Set empty; Get Corridor Action = Cyclone / Glide; for the other three read Is Power Active.

7. See it in the demo

Course3_Powers: one shrine per power with a short test area each. System_Gallery shows the five side by side.

8. Pitfalls

Power details from the guide

ECorridorPower: one is worn at a time, the power button (Q / Y) switches its power on and off.

Power Effect
Phase Swaps which objects are solid: actors with a UCorridorPhaseComponent (or ACorridorPhaseBlock) are solid in their DefaultPhase and a see-through ghost in the other.
Cyclone Endless spin, light gravity, own jump, breaks strong crates, sets off fuse box on touch.
TimeSlow Slows the world, not the hero (TimeSlowDuration 3 s, TimeSlowWorldScale 0.35).
Gravity Flips gravity: walk on the ceiling (MaxGravityFlipsInAir limits flips in the air).
Glide While it is on, holding Jump on the way down glides: the fall is held at GlideMaxFallSpeed (220 cm/s; a faster fall brakes down at GlideBrake), gravity x GlideGravityScale (0.35), air control unchanged; letting go of Jump falls normally. On for GlideDuration (6 s, 0 = until switched off), then GlideCooldown. Sound / effect keys PowerOn_Glide, PowerOff_Glide, PowerEquip_Glide, ... as the other powers, plus GlideLoop while gliding; the anim set's GlideLoop (empty = FallLoop). IsGliding, GetGlideLeft read the state.

Give a power with an ACorridorPowerShrine (Power, AppearRadius, AcquireRadius), take it with an ACorridorPowerRemover. A checkpoint can hand the power back after a death (ForcedPower / CheckpointPower). From Blueprint: hero GetPowers then Equip, Unequip, Toggle, PowerOff, GetEquipped, IsPowerOn. Tuning values live on UCorridorPowerComponent and ACorridorCharacter (Cyclone..., Glide..., GravityFlipSpeedScale).