Skip to content

0.13.0

Compare
Choose a tag to compare
@ManevilleF ManevilleF released this 31 Jan 16:04
· 49 commits to main since this release

Release notes

algorithms

  • (BREAKING) a_star cost function parameter now takes two adjacent Hex
    nodes instead of one, allowing for more use cases (#130, #128)
  • Fixed field_of_movement algorithm (#142, #127)

Dependencies

  • Bumped bevy_inspector_egui dev dependency (#129)
  • Added bevy_egui dev dependency (#143)

Examples

  • Added a sprite_sheet bevy example (#135)
  • Improved mesh_builder example (#143)

Additions

  • Added HexLayout::rect_size method (#135)
  • Added ColumnMeshBuilder::center_aligned option (#139)
  • Added PlaneMeshBuilder::center_aligned option (#139)
  • Added Hex::to_array_f32 utility method (#141)
  • Added Hex::to_cubic_array_f32 utility method (#141)
  • Added HexLayout::fract_hex_to_world_pos method (#141, #138, #140)
  • Added HexLayout::world_pos_to_fract_hex method (#141, #138, #140)
  • Added HexOrientationData::forward method (#141)
  • Added HexOrientationData::inverse method (#141)
  • Added coordinate expressive const values for Direction (#144)
  • Added coordinate expressive const values for DiagonalDirection (#144)

Mesh generation

  • ColumnMeshBuilder now accepts custom UvOptions for each 6 sides (#143)
    • Added ColumnMeshBuilder::with_multi_sides_uv_options method (#143)
  • UVOptions changes:
    • (BREAKING) changed flip_x and flip_y fields to flip BVec2 (#143)
    • Added rect field, to remap the coordinates in specific sections (#143)
    • Added with_rect builder method (#143)
    • Changed the order of operations in alter_uvs (#143)
  • (BREAKING) Fixed quad generation which had upside down uvs (#143)

Deprecation

  • Deprecated MeshInfo::hexagonal_plane in favor of PlaneMeshBuilder (#139)

What's Changed

Full Changelog: 0.12.0...0.13.0