Skip to content

Kraken Engine v0.0.4

Compare
Choose a tag to compare
@durkisneer1 durkisneer1 released this 26 Nov 07:32
· 6 commits to main since this release
65e43fe

🦃 What's New 🍂

  • Fitted kn::Rect colliders for accurate tile collisions via the kn::Tile::collider attribute.
  • kn::Rect::clamp method for keeping a rectangle within another.
  • kn::Tile objects now have a pointer to the kn::Layer they're in.
    • Especially useful for checking if a tile is in a certain layer before handling collisions.
  • kn::TileMap::getTileCollection method to get a collection vector of tiles across several tile map layers.
  • kn::window::blitEx functions have been removed.
    • angle and flip traits are now part of kn::Texture as public members.
  • Textures no longer technically render when the draw position is outside of the window.
  • kn::math::Vec2 now supports the <, >, <=, and >= operators.

Bug fixes

  • Fix tile map rendering due to how unordered hash-maps store data.
  • Rendering is now integer-based due to upscaled rendering having sub-pixel visual artifacts.
  • Dragging the window for extended periods of time no longer results in a large delta time afterwards.
    • This comes at the cost of delta time not functioning as intended for refresh rates below 30fps.