Skip to content

Latest commit

 

History

History
194 lines (161 loc) · 6.83 KB

CHANGELOG.md

File metadata and controls

194 lines (161 loc) · 6.83 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

NOTE: Subcrates have their own changelogs: bevy-tnua-physics-integration-layer, bevy-tnua-rapier, bevy-tnua-xpbd.

[Unreleased]

0.15.0 - 2024-02-24

Changed

  • Upgrade to Bevy 0.13.

0.14.2 - 2024-02-02

Fixed

  • Use boost for stopping in TnuaBuiltinWalk (fixes idanarye#39)

0.14.1 - 2024-01-14

Fixed

  • Use a proper OR syntax for the dual license.

0.14.0 - 2024-01-01

Added

  • is_airborne method for TnuaController.
  • get_count_mut and reset_count methods for TnuaSimpleAirActionsCounter.

Changed

  • Use external forces instead of boosting the velocity for movement (fixes idanarye#34)

Fixed

  • Expose DynamicBasis and DynamicAction. This is mostly so that they'd appear in the docs.

0.13.0 - 2023-11-13

Changed

  • [BREAKING] Split the physics integration to separate crates. See the migration guide.

Added

  • XPBD support (with separate crates)

0.12.0 - 2023-11-09

Changed

  • Upgrade Bevy to 0.12

0.11.0 - 2023-10-21

Fixed

  • [BREAKING] Fix typo dynaimc_basis -> dynamic_basis.

Added

  • Ability to start a jump while the air.
  • A simple dash action - TnuaBuiltinDash. Also air-able.
  • Utilities for tracking the air actions, so that games can limit how many (and which) air actions a character can perform. See TnuaAirActionsTracker and TnuaSimpleAirActionsCounter.

0.10.0 - 2023-10-16

Changed

  • [BREAKING] Big refactor which completely breaks the API. See the migration guide. The main changes are:
    • Instead of having a TnuaPlatformerControls, Tnua now has TnuaController which can be fed a basis and (optionally) an action. The basis controls the basic floating and walking abound, while the action can be a jump - but also all other kinds of movement actions.
    • Instead of TnuaPlatformerConfig, the configuration is fed to the basis and the action on every frame.
  • Turn direction no longer defaults to the walk direction. If it is not passed to the TnuaBuiltinWalk basis, the character will not turn.
  • Crouching is done via an action - TnuaBuiltinCrouch.
  • Replace TnuaKeepCrouchingBelowObstacles with TnuaCrouchEnforcer. This is not just a name change - their semantics are also different.

Removed

  • There is no longer forward. It was only needed before because Tnua needed to turn the character's "forward" in the movement direction. Instead, the forward direction is always assumed to be negative Z - even if this is not the real forward direction of the sprite/model.
  • Manual turning. Now that Tnua does not make the character turn in the walk direction by default, there is no longer need to redirect that output in games with 2D physics.

0.9.0 - 2023-08-17

Changed

  • TnuaKeepCrouchingBelowObstacles now also prevent jumping while crouched below an obstacle (fixes idanarye#27)

0.8.0 - 2023-07-11

Changed

  • Upgrade Bevy to 0.11.

0.7.0 - 2023-06-11

Changed

  • Physics backend plugins are now in charge of preventing TnuaSystemSet from running while the physics backend is paused. Users no longer need to do it.

Added

  • TnuaToggle for temporarily disabling Tnua for specific entities.

0.6.1 - 2023-06-04

Fixed

  • Fix jump shortening not working with takeoff gravity

0.6.0 - 2023-06-05

Added

  • Jump/fall through platforms.

0.5.0 - 2023-06-02

Changed

  • [BREAKING] Tnua now requires additional Rapier components - ExternalForce and ReadMassProperties. For convenience, TnuaRapier2dIOBundle/TnuaRapier3dIOBundle were added. It contains these new components, plus Velocity (which was already required)
  • TnuaMotor now has boost and acceleration for both linear and angular components of the motor.
  • Rename jump_start_extra_gravity to upslope_jump_extra_gravity.

Added

  • Settings to add extra gravity during jump takeoff.

0.4.0 - 2023-05-21

Added

  • float_height_offset control for crouching. Also add:
    • height_change_impulse_for_duration and height_change_impulse_limit settings for controling a boost that would be added for crouching and getting back up.
    • standing_offset field to TnuaPlatformerAnimatingOutput to assist in applying crouching/crawling animation.
    • TnuaKeepCrouchingBelowObstacles component for preventing the character from standing up under a too-low ceiling.

Changed

  • Update proximity sensors in parallel.

0.3.0 - 2023-05-13

Changed

  • [BREAKING] Removed TnuaPlatformerBundle::new_with_config. Users should use this instead:
    cmd.insert(TnuaPlatformerBundle {
        config: TnuaPlatformerConfig {
            // ...
        },
        ..Default::default()
    });
  • The character no longer automatically jumps repeatedly when the jump button is held. This behavior, though, can be replicated by setting held_jump_cooldown to Some(0.0).

Fixed

  • Apply additional impulse when moving platform changes velocity to prevent idanarye#13.
  • Fix ray(/shape)cast hitting a wall when the character squeezes into it.

Added

  • jump_peak_prevention_at_upward_velocity and jump_peak_prevention_extra_gravity settings for shortening the time a character floats at the peak of the jump.
  • jump_input_buffer_time setting for jump input buffering - pressing the jump button before the character can actually jump.
  • held_jump_cooldown setting for automatically jumping when the jump button is held.

0.2.2 - 2023-04-15

Added

  • Bevy Reflection for TnuaPlatformerConfig (and TnuaFreeFallBehavior)

0.2.1 - 2023-04-03

Fixed

  • Make ray/shape-casts ignore Sensors.

0.2.0 - 2023-03-20

Changed

  • [BREAKING] spring_dampening now gets divided by the frame duration, to avoid weird effects from unstable framerate. This means that the proper numbers for it should be greatly reduced - for example in the 3D example it was reduced from 60.0 to 1.2.
  • Better document how to shapecast and why it is needed. Also make it the default for the examples.

0.1.0 - 2023-03-16

Added

  • Running
  • Jumping
  • Variable height jumping
  • Coyote time
  • Running up/down slopes/stairs
  • Tilt correction
  • Moving platforms
  • Rotating platforms
  • Animation helpers (not the animation itself, but Tnua has facilities that help deciding which animation to play)