Repository navigation
Fanalor 0.3.0
Pre-release
Pre-release
Fanalor 0.3.0
The 2D engine grows up and goes online. This release combines the planned
0.2 (2D polish, stages 88–110) and 0.3 (networking, stages 111–118).
Highlights
2D polish
- Options and windows — rebound controls saved on every platform (web included), fullscreen / size / vsync from a tick, and a reusable options screen that new games get from
cargo xtask new-game. - Text — shaped with HarfBuzz (ligatures, Arabic, Devanagari, Hebrew), a fallback font chain per language, bidirectional text, Unicode line breaking, and rich text markup (
[b],[color],[size],[font],[icon]). - UI — dropdowns, tooltips, tabs, and themes swapped at run time.
- Assets and levels — texture packer (
cargo xtask pack-atlas), Atlas Editor, Tile Palette with stamps / fill / eyedropper, per-tile collision shapes and custom data. - Effects and animation — particles with curves, gradients, shapes and flipbooks on CPU and GPU (with a live editor);
Line2D,Polygon2D,Trail2D; 2D bones with IK; skinned sprite meshes. - Audio — streamed music with loop points and crossfades; bus effects (filters, delay, reverb, ducking).
- Editor — prefab edit mode; search in the hierarchy and assets (
t:syntax). - Scale — benchmark suite with a regression check in CI; instanced sprites and linear scene parsing (250-entity scene: 96 ms → 3.4 ms); big worlds streamed by region, with loading screens.
Networking
fanalor-net— UDP and WebSocket transports (browser included), reliable and unreliable channels, typed messages, hardened against untrusted input.fanalor-server— headless authoritative server; host, join and listen servers.fanalor-replication— snapshots and deltas with per-client budgets, interpolation, client prediction and reconciliation.- Editor netplay — play with up to three clients, with live latency / loss / bandwidth controls.
games/arena— a 2–4 player networked sample, native and web.
Getting started
New to Fanalor? Read the guide: it goes from install to a game running in a browser, and its commands are checked by CI.
Known limits
- Building a 100k-sprite batch takes 6.3 ms on the CPU, over its 4 ms budget.
- The networking has no encryption or authentication yet.
- No CJK font is shipped.
- Assets from unloaded regions are not freed.
The full details are in CHANGELOG.md, and each design decision is recorded in docs/ARCHITECTURE.md.