Skip to content

bones_bevy_renderer v0.1.0

Compare
Choose a tag to compare
@zicklag zicklag released this 18 Jan 21:18
· 230 commits to main since this release

Chore

  • add missing crate descriptions.

Other

  • switch to released version of bevy_simple_tilemap.
    This temporarily increases our list of Bevy feature dependencies as we wait for the
    PR to reduce the required
    bevy features, but it allows us to publish the crate to crates.io.

Chore

  • generate changelogs for all crates.

Documentation

  • document source repository in cargo manifest.
    The repository key under bones_ecs previously pointed to https://github.com/fishfolk/jumpy.

    This updates this to point to the bones repo, and also adds the repository key to the other
    crates in the repository.

New Features

  • add resource for controlling the clear color.

  • implement tilemap rendering.

  • implement atlas sprite rendering.
    Adds the bones_render types for atlas sprites,
    and renders them in bones_bevy_renderer.

    This also adds an asset loader for .atlas.yaml/.atlas.json files
    which can be used when you need to load a Handle<Atlas>
    in a BonesBevyAsset struct.

Bug Fixes

  • fix Error When Re-Creating World Resource
    This fixes a panic that would happen if you added a bones world resource,
    removed it, and re-added it.
  • fix tile rendering offset.
    The previous tile rendering fix fixed some of the issue,
    but it used the wrong dimensions when off-setting the tile
    placement so that the tiles render from their bottom-left corner.
  • fix bugs in tilemap renderer.
    • Fix issue where tiles were being rendered off into the far right side
      of the map.

New Features (BREAKING)

  • remove join! macro and improve iteration API.
    We will add a more ergonomic replacement for the join! macro later,
    but for now we make it easier to use the raw bitset iteration APIs,
    which previously required a frustrating use of Rc.

    Removing the Rc broke the join! macro, but I think there is a better way to
    create a join API, so it isn't worth fixing yet.

    This also improves the ergonomics of the bitset iterators by having them
    yield their items directly instead of yielding Options that must be filtered out.

  • add asset integration with bevy.
    This is a big overall change that adds ways to integrate Bones with bevy assets.

  • draft bones_lib architecture.
    Renames bones to bones_lib ( mostly because bones was already taken )
    and adds the bones_asset, bones_bevy_renderer, bones_input, and
    bones_render crates.

    This sets up the overall structure for the bones library,
    though changes to some aspects of the design are likely to change.

Bug Fixes (BREAKING)

  • move entity sync to stage before CoreStage::PostUpdate.
    This fixes problems where a sprite is moved and it's global transform
    doesn't update until the next frame, causing flickering.

Refactor (BREAKING)

  • prepare for release.
    • Remove bones_has_load_progress: for now we don't use it, and if we
      want something similar we will work it into bones_bevy_asset.
    • Remove bones_camera_shake: it was moved into bones_lib::camera.
    • Add version numbers for all local dependencies.

Commit Statistics

Commit Details

view details
  • #26
    • draft bones_lib architecture. (d7b5711)
  • #29
    • add asset integration with bevy. (89b44d7)
  • #30
    • remove join! macro and improve iteration API. (b80cf48)
  • #31
    • implement atlas sprite rendering. (d43b6ec)
  • #35
    • implement tilemap rendering. (0a7fec6)
  • #37
    • document source repository in cargo manifest. (a693894)
  • #40
    • fix bugs in tilemap renderer. (f8f41ed)
  • #43
    • add resource for controlling the clear color. (34c5ecc)
  • #45
    • fix tile rendering offset. (1f826dd)
  • #51
    • fix Error When Re-Creating World Resource (e3d70fa)
  • #63
  • #65
    • add missing crate descriptions. (2725246)
  • #67
    • generate changelogs for all crates. (a68cb79)
  • #71
    • switch to released version of bevy_simple_tilemap. (248f80a)
  • Uncategorized
    • Release bones_bevy_asset_macros v0.2.0, bones_bevy_asset v0.1.0, bones_bevy_renderer v0.1.0, safety bump 2 crates (7f7bb38)
    • Release type_ulid_macros v0.1.0, type_ulid v0.1.0, bones_bevy_utils v0.1.0, bones_ecs v0.1.0, bones_asset v0.1.0, bones_input v0.1.0, bones_render v0.1.0, bones_lib v0.1.0 (db0333d)
    • move entity sync to stage before CoreStage::PostUpdate. (5116014)