Back to home

Changelog

New versions of every Kronk Corp project, newest first.

Changelog

KUGE 1.0.0

Lua modding

  • New kuge-script module: Lua scripts in a sandbox, reading and writing the world by name through a single table, world.
  • The game chooses what is moddable: a script only sees the components described to the ComponentRegistry.
  • ScriptSystem calls every mod’s update(dt) each tick; a mod that fails is stopped alone.
  • Hot reload of scripts while the game runs (--dev switch).
  • Each mod has its own globals, its own copy of the standard tables and of world, and its own memory limit (16 MiB per mod, 64 MiB in all).
  • Sandbox: no io, os, require or load, no bytecode, no clock; 1,000,000 instructions per call.
  • Multiplayer: a fingerprint of every mod file; a client without the same ones is turned away.
  • Examples: Catch, a 250-line game with the “golden” mod, and the “waves” mod. A full guide chapter on scripts.

UI

  • Rounded corners for panels, buttons and text fields; clicks follow the shape.
  • Images with rotation, pivot and rounded corners.
  • Text too long for its label: clipped, ended with “…”, scrolling or wrapped.
  • Children are clipped to their parent’s rectangle; a node over a button takes its clicks.

Rendering

  • Base resolution: the game draws at a fixed size, scaled up in fullscreen.
  • A picture drawn smaller than it is no longer aliases.
  • Camera: view kicks apart from the aim, and roll.

Engine and network

  • Localization: texts per language, fallback language, {n} variables and plural forms.
  • A client that restarts gets its place back in the match.

3D and levels

  • A level is read from a 3D scene: col_ objects are walls, zone_ triggers, spawn_ and lamp markers.
  • Mesh colliders for static objects: a roof, a slope, a curved wall.
  • Modular characters: one shared model with parts hidden.
  • Destructible level, synced between players and handled by prediction.

Windows

  • The unit tests build and run on Windows.
  • Fixes: frame limit, stop signals, kuge.dll, SDL audio, TCP connections.

kronkworld 1.0.0

First stable release

  • world.spawn creates an entity with all its components in one call.
  • Fix: iterating an empty view no longer goes wrong.
  • Builds on Windows (MSVC); kronklab and kronkflow are pinned to a set version.
  • New regression test for World::remove on a component.

kronkflow 1.2.0

Windows

  • Builds and runs on Windows, with MSVC and MinGW; dependencies are pinned to a set version.

KUGE 0.3.0

Network and rooms

  • The game chooses who plays with whom (ServerConfig::roomPicker).
  • Player authentication, with a token in room requests.
  • Each player’s address is known to the room.

Client

  • Music: pause, position, seek and end of playback.
  • The UI keeps the order nodes were made in, and removeUiTree removes a whole tree.

KUGE 0.2.0

3D

  • 3D rendering with kronk3d (CPU or OpenGL), models, animation, an orbit camera that stops at walls, instancing.
  • 3D physics, hitboxes and character controller; 3D replication.
  • Arena, a networked 3D shooter, with placed sounds and particles.

Network

  • World history, visibility filter, predicted spawns, replays and rejoin.
  • A simulated network (latency, loss) for testing.

Engine and tools

  • Mods (data), components by name and cutscenes.
  • Profiler, debug options, console with cvars, text chat, log categories.
  • Animation (kuge-animation) and restitution in physics.

Client

  • UI: clipboard, progress bar, check box, slider, scrolling, images, scaling.
  • Audio: dialogue bus, ducking, priorities, muffled 3D sounds, streaming.
  • Overlay scenes, logical window size, mouse axes.

KUGE 0.1.0

First release

  • The engine core: fixed-step loop, scenes, systems, window, 2D drawing, animated sprites, sounds, text and UI with a text field.
  • Network: named rooms, a list of public rooms, private rooms, client-side prediction.
  • Builds and runs on Linux and Windows (MSVC), client libraries from vcpkg, CI on every PR.

kronknet 1.2.0

Performance

  • poll() is replaced by epoll(), which handles a very large number of clients much better.

Project

  • TCP timeout fix.
  • The mkn/ folder, an old modular version that had become useless, is removed.
  • Tests build from the root (-DBUILD_TESTS=ON) with kronklab, and the CI runs them.
  • PR and issue templates.