Skip to content

Kengine 5.0

Choose a tag to compare

@phisko phisko released this 15 Jan 09:21

This release comes with a ZIP file containing the entire source code, including its putils submodule. This makes it easier for people not used to working with Git submodules to download the entire source code.

Changelog

Major changes

"System Entity' model

  • Systems are now represented by Entities with "function Components"
  • Datapackets have been replaced by "function Components"
  • This lets systems be queried and extended by users (by adding new "function Components" or any other type of components, e.g. for profiling)

"Type Entities"

  • Replaced ComponentFunctions with "meta Components", attached to type Entities

Features

Architecture

Helpers

Tools

OpenGL

  • Render to texture
  • Cascaded shadow maps

Minor changes

Behaviors

  • OpenGL sprites and text are now drawn upright
  • ComponentJSONLoader now works with arrays
  • Optimized MagicaVoxelSystem loading through binary serialization
  • Light shaders are now responsible for clearing their shadow maps
  • Optimized OpenGL "entity in pixel" queries

ImGui tools

Components

Misc

  • Replaced putils_for_each_type macro with a function

Optimizations

Fixes

  • Fixed ImGuiAdjustableSystem not loading colors properly
  • Fixed crash in OpenGLSystem when requesting the Entity::ID for pixel in y == 0
  • Fixed camera orientation in OpenGLSystem