Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Edit this page

Changelog

All notable changes to the Pite game engine are documented here.

Unreleased

  • Documentation Site Move:
    • The documentation site now publishes to https://piteengine.github.io/docs from the dedicated piteengine/docs repository, and the old /pite URL redirects there. Documentation sources remain in docs/ in this repository.
  • Viewport Edit Modes (Q / W / E / S):
    • Replaced the single move gizmo with a Godot-style top-left viewport mode toolbar (Select, Move, Rotate, Resize) alongside the Snap toggle.
    • Select (Q): Draws bounding boxes for spatial nodes (and 8 resize handles for Control nodes outside Containers, keeping aspect ratio with Shift), supports drag-to-move, Ctrl/Alt/Ctrl+Alt temporary Rotate/Move/Resize overrides, and an RMB context menu to pick among overlapping nodes.
    • Move (W), Rotate (E), and Resize (S): Provide dedicated 2-axis Move/Resize gizmos and drag-anywhere transforms with Shift constraints (single-axis lock, 15° rotation snap, and aspect-ratio lock).
  • Dockable Editor Panels & Top-Bar Switcher:
    • Added Godot-style dockable and floating tab containers across the editor workspace and moved the Viewport / Code mode switcher into the top bar with icons.
  • Project Settings & Live Input Capture:
    • Redesigned the Input Map tab in Project Settings with live key/mouse binding capture and made the Project Settings window resizable, scrollable, and responsive.
  • Sprite Shader sRGB Color Fix:
    • Decoded sRGB instance colors to linear in pite-render's sprite vertex shader so Button, ColorRect, and tinted quads render with their authored sRGB colors in both pite edit and pite run.
  • Editor UI/UX & Safety Polish:
    • Replaced Sprite2D/AnimatedSprite2D atlas rows with Create Atlas… / Edit Atlas… actions (keeping texture for plain sprites), unified Inspector input styling/alignment/typography, added Console panel padding, and right-aligned viewport zoom HUD and Safe Mode banner controls.
    • Guarded against instantiating the current scene inside itself, blocked moving special project files in the Assets panel, and ensured ensure_python_init() runs before Python::attach on untrusted workspaces.
  • Dedicated Atlas Editor Panel:
    • Moved the .ptatlas editor out of the Inspector into a dedicated Atlas Editor tab in the bottom dock, opened by double-clicking an atlas, clicking Edit Atlas…, or creating an atlas.
    • Redesigned it for the wide dock layout: the sheet canvas and zoom controls fill the left side, while Frames, Animations, and the Grid Slicer live in a scrollable side column. The toolbar keeps Save, TOML, and unload actions.
  • Playtest Shortcut Scope:
    • F5 / Ctrl+R (Play/Pause) and Shift+F5 (Stop) now ignore key presses while an editor text field has focus, so typing in the Inspector, Code editor, or a rename field keeps priority. They still work while the pointer is over the game viewport.
  • Playtest Save Guard:
    • Saving a scene during a playtest now pauses simulation and shows a warning instead of writing playtest state to disk by default. The warning defaults to Skip; Save Anyway writes the playtest state explicitly. Stop resets the scene to the saved file and re-enables saving; the redundant stopped, scene reset. console line was removed. Held gameplay keys are released when a modal takes focus, so the player no longer keeps moving while a popup is open.
  • Editor Auto-Save on Run:
    • Starting a fresh Play now saves the open scene and script (plus any dirty atlas) before gameplay begins. Resuming from Pause continues the same playtest session without writing playtest mutations back to disk.
  • Editor Menu Shortcuts:
    • Keyboard shortcuts in the top menu bar and scene-tree context menu now render as greyed, right-aligned hints instead of being appended to the item label.
  • Assets Panel Create New Menu:
    • Grouped the Assets panel's New File…, New Script, New Scene, New Atlas…, and New Folder… context-menu actions under a single Create New… submenu on the project root and folder rows.
  • Add Node Dialog Abstract Hierarchy:
    • Updated the editor's Create New Node tree to display abstract base node types (Control, Container, CollisionObject2D, PhysicsBody2D, etc.) in their inheritance positions for clearer organization, while pruning empty abstract branches.
    • Kept abstract entries non-instantiable (selectable to inspect their description, with Create, double-click, Enter, and ops::add_node_with_schemas guarded against instantiation), made branches collapsible (defaulting to collapsed under level 3), and updated search so matching an abstract parent reveals its concrete descendants.
  • Audio Mixing & Buses:
    • Added dynamic named audio buses (all routing through "master") in pite-audio and pite-script: pite.play(path, volume=1.0, bus="master"), pite.set_bus_volume(bus, volume), pite.bus_volume(bus), pite.set_bus_muted(bus, muted), pite.is_bus_muted(bus), and pite.stop_bus(bus).
  • Scene Switching API (pite.change_scene(), pite.reload_scene()):
    • Added deferred end-of-frame scene transitions via pite.change_scene(path) and pite.reload_scene() in pite-script and pite-runtime (validating paths immediately in Python, preserving autoload plugins across transitions, and working with both dev runs and packed exports).
  • Automatic GPU Texture Unload:
    • Tracked per-texture last_used_frame in SharedQueue (pite-render) and automatically evicted unused image textures after 300 idle frames (~5 seconds at 60 FPS), recycling freed GPU texture slots while keeping __white__ and LRU-managed text caches intact.
  • Custom Font Support & Project-Wide Default Font:
    • Added font (ttf/otf asset property) on Control (inherited by Label and Button) and default_font in pite.toml [project] (exposed in Editor Project Settings).
    • Extended TextAtlas, Renderer2D, and RenderQueue in pite-render to load and cache custom .ttf/.otf fonts via pite_core::vfs with per-glyph fallback (node.font → project.default_font → bundled Inter).
    • Added FontImporter in pite-assets, default_font validation in pite check, and default_font staging in pite export.
  • Camera2D Smoothing & Bounds:
    • Added smoothing (Bool), smoothing_speed (Num), limit_left, limit_top, limit_right, and limit_bottom (Int, defaulting to ±10_000_000) to Camera2D in pite-core, pite-runtime, and pite-script.
    • Implemented frame-rate-independent exponential camera smoothing and viewport-aware world-bounds clamping in GameSession::update_camera.
  • User Save Data (user:// Persistence API):
    • Added per-game OS user-data directory resolution (user_data_dir, resolve_user_path) in pite-core, mapping user:// to $XDG_DATA_HOME/pite/<game> / ~/.local/share/pite/<game> on Linux, ~/Library/Application Support/pite/<game> on macOS, and %APPDATA%\pite\<game> on Windows while rejecting traversal and null-byte escapes.
    • Exposed pite.save(name, data) (atomic .json.tmp + rename JSON writes), pite.load(name, default=None) (returns default when missing, raises RuntimeError on corrupt JSON), and pite.user_path(rel="") to Python scripts.
  • Single-File Packed Exports & Lean pite-player:
    • Made single-file packed executables the default for pite export (combining pite-stub with an appended zip payload and PITEPCK1 footer), with --unpacked to emit the legacy directory layout.
    • Added pite_core::vfs and ZipVfsProvider so scenes, assets, audio, textures, and Python scripts (_PiteVfsFinder) load in-memory directly from the packed executable without writing raw game files to disk, while pite-stub caches pite-player and bundled CPython once on first launch.
    • Feature-gated notify behind hot-reload in pite-runtime and disabled it in pite-player.
    • Updated pite toolchain download to fetch the -allplatforms player bundle when all platforms are missing, and updated status/verify and release CI to include pite-stub.
  • Tweens (pite.tween()):
    • Added runtime-managed property and callback tweens via pite.tween() (PropertyTweener with .property(target, prop, final_val, duration), .ease(...), .trans(...), .from_(...), .delay(...), .parallel(), .callback(...), .interval(...), .loops(...), .on_finished(...), .pause(), .play(), .stop(), .kill(), .is_running()).
    • Supports Num/Int, Vec2, and Color interpolation across linear, quad, cubic, sine, back, bounce, and elastic transitions (in, out, in_out, out_in), auto-cleans finished tweens, and clears active tweens on scene rebuild.
  • Scripting & Runtime Performance:
    • Reduced Python/Rust bridge overhead in the main loop via batched GIL acquisition, cached lifecycle method lookups, in-place input action evaluation, and single-lock Vec2 axis writes.
    • Added early-exit fast paths when scenes have no active scripts, physics bodies, or AnimatedSprite2D nodes.
  • Editor Viewport Pan & Zoom & Transform Gizmos:
    • Added middle-mouse drag and Space+drag panning, cursor-centered scroll/pinch zooming (0.25x–8.0x), Ctrl+0 reset, and a compact zoom HUD pill in the editor viewport (disabled during Play mode so game framing stays 1:1).
    • Added an interactive 2D move gizmo for the selected Node2D (free center handle + X/Y axis handles) with a top-left Snap: 16px grid-snap toggle (Ctrl temporarily inverts snap while dragging) and coalesced Undo/Redo.
  • Editor Undo/Redo History:
    • Added typed inverse-command undo/redo (Ctrl+Z / Ctrl+Y / Ctrl+Shift+Z and Edit → Undo / Redo) across Scene Tree operations, Inspector property edits, TileMap2D brush/eraser strokes, and Visual Atlas (.ptatlas) edits, while preserving built-in text undo in the Code tab.
    • Coalesces continuous Inspector drags, TileMap strokes, and Atlas frame drags into single undo steps, and tracks the saved state across Ctrl+S.
  • Input Action Mapping (res://input.pite.toml):
    • Added res://input.pite.toml (format_version = 1, [actions]) supporting multiple bindings per action and +-separated key/mouse chords (e.g., "Space", "Control+S", "MouseLeft").
    • Exposed pite.action.held(name), pite.action.pressed(name), pite.action.released(name), pite.action.axis(neg, pos), and pite.action.vector(left, right, up, down) in Python scripts and pite-stubs.
    • Added the Input Map tab in Project Settings, validation in pite check, and staging in pite export.
  • UI Layout Containers & Top-Left Control Origin:
    • Switched Control (Label, Button, and containers) to top-left origin (position = top-left corner) and added custom_minimum_size, size_flags_horizontal, and size_flags_vertical ("fill", "expand", "expand_fill", "shrink_begin", "shrink_center", "shrink_end").
    • Added abstract Container and 8 concrete layout containers: HBoxContainer, VBoxContainer, CenterContainer, HFlowContainer, VFlowContainer, GridContainer, MarginContainer, and ScrollContainer across pite-core, pite-script, pite-runtime, and pite-editor (with live editor viewport layout preview).
    • Added world-space scissor clipping (push_clip_rect / pop_clip_rect → wgpu::RenderPass::set_scissor_rect) in pite-render for ScrollContainer.
  • Hardening & Reliability Fixes:
    • Hardened pite-stub to stream packed zip payloads without buffering the whole archive in memory, reject Zip Slip traversal entries, and extract runtime caches atomically (tmp + rename).
    • Fixed packed-export script and plugin resolution (pite_core::vfs::is_file in GameSession::rebuild and sys.path setup in PluginHost) and ensured pite.change_scene() / pite.reload_scene() reset script instances cleanly.
    • Added pite_core::vfs::write_atomic for assets.pite.toml saves, skipped symlinks in scan_files to prevent circular walks, and removed stale colliders on repeated PhysicsWorld::attach_shape calls.

v0.5.0 - 2026-11-26

  • Plugin System (v1):
    • Added project-local plugins under res://plugins/<id>/ with plugin.toml manifests, [plugins] configuration in pite.toml, and pite plugin new|add|enable|disable|remove|list CLI commands (supporting local paths, git URLs with --rev, and .zip archives, added disabled by default).
    • Replaced static engine node tables with a dynamic SchemaRegistry in pite-core, supporting plugin-contributed node types ([[nodes]]), typed properties ([[nodes.props]]), signals ([[nodes.signals]]), and custom project props ([props]).
    • Added runtime PluginHost (pite.plugin("<id>") and pite.autoload("<Name>")), on_scene_loaded and post-node _process/_physics_process hooks, auto-bound default plugin node classes with live PluginPropDescriptors, res://plugins/ on sys.path, and per-node _draw(self, canvas: pite.Canvas2D) rendering (draw_rect, draw_line, draw_text, draw_sprite).
    • Added workspace-trust-gated EditorPluginHost in pite-editor with scoped EditorUI / EditorContext, bottom panel tabs alongside Console, Inspector sections, Plugins menu actions, viewport overlay/pointer hooks, and res://plugins/ in Pyright extraPaths.
    • Added plugin validation in pite check and runtime-only plugin staging (stripping editor entrypoints and disabled plugins) in pite export.
  • Workspace Trust & Safe Mode:
    • Opening an untrusted workspace in pite edit enters Safe Mode: the scene tree, inspector, code editor, and viewport render normally without importing or executing Python scripts or .py hot reloads.
    • Added a top Safe Mode banner (Trust Workspace) and a confirmation modal (Trust & Play / Stay in Safe Mode) gating Play (F5 / Ctrl+R).
    • Trusted workspace paths are stored outside repositories in <config_dir>/pite/trusted_workspaces.toml (PITE_CONFIG_DIR, $XDG_CONFIG_HOME/pite, or $HOME/.config/pite).
    • pite new automatically trusts newly created project directories.
  • Visual Atlas Creator & Inspector Editor:
    • Added an interactive .ptatlas editor inside the Inspector (via Edit Atlas…, Create Atlas… on PNGs, or double-clicking a .ptatlas file in Assets).
    • Supports interactive canvas zoom/pan, drag-to-create/move/resize frame boxes, frame filtering and renaming, and grid slicing by tile size or column/row counts with offset, spacing, and transparent-tile skipping.
    • Added animation sequence management with frame-range selection, FPS and loop controls, live playback preview, and automatic viewport atlas/texture invalidation on save.
  • 2D Rendering Layering, Tinting, and Batching:
    • Added z_index draw ordering on Node2D (inherited by 2D, UI, and physics nodes) and modulate RGBA color tinting on Sprite2D and AnimatedSprite2D.
    • Upgraded Renderer2D / WgpuRenderer to instanced quad rendering with persistent GPU buffers, 64-bit depth sort keys, texture slot handles, and texture-grouped sprite batching within z_index layers.
    • Added baked 16×16 static chunks and pre-resolved atlas UV rects for TileMap2D.
  • Asset Manifest Completion (assets.pite.toml):
    • Removed legacy opaque UIDs in favor of content-hashed path tracking in assets.pite.toml (committed to version control).
    • pite new and pite edit automatically reconcile assets.pite.toml; pite check flags missing or stale asset manifest entries.
  • Standalone Type Stubs Package (pite-stubs):
    • Added the lockstep pite-stubs PyPI distribution generated from NODE_SCHEMAS, enabling import pite autocompletion and type checking in external editors.
  • Security & Path Hardening:
    • Sandboxed res:// path resolution against directory traversal escapes and bounded recursive scene-cache / instance expansion.
  • Development Workflow & CI:

    • Added pre-commit hooks (.pre-commit-config.yaml) for cargo fmt, markdownlint-cli2, and Conventional Commit subjects, plus workspace Clippy enforcement in CI.
  • Atlas Sidecars Switched to .ptatlas:

    • Changed sprite-sheet atlas sidecar extension from .atlas.json to .ptatlas across the engine.
    • Switched atlas serialization to strict TOML with format_version = 1.
    • Automated migration via pite check --reimport-assets which converts legacy .atlas.json sidecars to .ptatlas, updates references in .ptscn, .ptmap, and .py, and removes legacy files.
    • pite check emits a diagnostic warning when legacy .atlas.json files are detected.
  • CLI Output Design Pass:

    • Human messages are built from typed styled spans (bold paths, cyan identifiers, dim secondary text) instead of markup embedded in strings; JSON receives the plain concatenation.
    • Diagnostic cards use Error: / Warning:, Why:, and Fix: only — the Hint: field and its duplicated guidance were folded into Fix:.
    • Commands with a verdict or stats end in a full-width summary bar: solid green/yellow/red with bold black text, or dim when neutral. Bars follow terminal width (40–200 columns, 80 when piped) and grow instead of truncating.
    • pite check gained cyan Reimporting assets: and Checking scene caches: blocks, rewritten-reference counts on renames, an Update: label for changed assets, and Nothing to change. when a reimport has no work. The scene-cache, reimport, and check bars print as one contiguous group at the bottom.
    • pite check prints a cyan Hint: Run pite check --reimport-assets to fix <n> issues. line after reference-rewrite cards, with a blank line above and below. The reimport command is cyan in Fix: text too.
    • The verbose scene cache lists each scene file once, even when it is also reached through an [[instance]] entry.
    • pite vendor indents Pinned to <hash> under the package row instead of aligning it with the row's cells.
    • pite export, pite vendor, and pite toolchain now share the same cards/bars/tables vocabulary, including Verified / Mismatch / Missing / Cached display statuses and Windows / Linux / macOS platform names.
    • pite export groups progress into Binary, Python, and Files sections, lists Copied <path> lines under Copying N project files with -v, and renders output paths with the target platform's separator.
    • Long-running export steps rewrite their line in place on a terminal (Downloading … becomes a green Downloaded …) and print both lines when stderr is piped; section content is indented two spaces.
    • pite toolchain status groups rows under one Python and one Player label; pite toolchain clean now requires --python, --player, or --all and lists what it removed.
    • pite vendor labels downloaded artifacts Wheel <file>, prints Pinned to <hash>, and reports Matches the pinned hash / Got unexpected <hash> in verification details.
    • -v only adds command detail (cache lines, copied files, pinned hashes); it no longer raises the log level to debug.
    • Progress lines capitalize the verb in cyan and bold parenthesized file names; pite run -v and pite edit -v announce the target before launching.
  • Unified CLI Output Layer:
    • Every pite command now shares one output context: diagnostics, success lines, progress, cards, and tables render consistently.
    • Global flags accepted before or after any subcommand: --color <auto|always|never>, --json, -v, --verbose, and -q, --quiet (previously pite check-only).
    • Human output (progress, confirmations, cards, tables) moved to stderr; stdout carries only JSON payloads and requested data, so pite export … > build.log and pipelines stay clean.
    • pite new, pite export, pite vendor, and pite toolchain confirmations are now structured lines and tables instead of ad-hoc println! text.
    • pite vendor list and pite toolchain status render aligned, auto-width tables with an uppercase header and no truncation.
    • Severity labels are words (Error:, Warning:, Success:) rather than ✖ / ▲ / ✔ glyphs, improving screen-reader output.
  • Structured JSON for Every Command:
    • All commands honor --json and emit one envelope: { schema_version, command, ok, data?, error? }.
    • check keeps its full payload; new, export, toolchain, and vendor gained typed payloads; run and edit report on exit only.
    • Envelope and per-command payload schema_version are independent and both start at 1 (previously the check report was schema_version: 3).
    • A failed check or failed verification reports ok: false with full data and exits 1; usage errors emit an error envelope and exit 2.
    • --json always disables ANSI; color precedence is --json > --color > NO_COLOR > TTY detection.
  • pite check Refactor:
    • Findings are built as typed Finding values at detection time (severity, kind, location, message, why, fix) instead of parsed from rendered strings; the old string parsing remains only as a boundary adapter for lower-crate messages.
    • JSON paths are project-relative with / separators, including scene-cache entries.
    • The check implementation is split into orchestration, scene walk, payload types/rendering, and behavior tests.
  • pite-export Progress Sink (Breaking for library callers):
    • Added pite_export::Progress with section / info / step / success / warn / pending / complete / detail; the CLI implements it with its own output layer.
    • I/O-facing functions (export_project, ensure_archive, verify, stage, download_and_extract_player, ensure_player_binary) now take &mut dyn Progress; pass &mut () for silence.
    • Removed duplicated raw eprintln! progress lines in favor of the sink, so RUST_LOG=info no longer prints each event twice.
    • This is a breaking API change for the published crate and will be reflected in the next release version.

v0.4.0 - 2026-11-13

  • Enhanced pite check CLI Diagnostics:

    • Redesigned terminal report with structured What / Why / Fix diagnostic cards for all errors and warnings.
    • Standard 16-color ANSI output with bold red (✖ ERROR), bold yellow (▲ WARN), bold green (✔ Checked), and bold cyan locations.
    • Clean single-line quiet success banner displaying checked project name, scene count, asset count, and elapsed time.
    • Added --color <auto|always|never> option with automatic terminal and NO_COLOR detection.
    • Added -v, --verbose flag to view scene cache details on demand, suppressing them by default in clean output.
    • Upgraded machine-readable --json report to schema_version: 3 with structured summary and diagnostics objects.
  • 2D Flipbook Animations (AnimatedSprite2D):

    • Added AnimatedSprite2D node inheriting from Node2D for frame-by-frame 2D animations using sprite sheets.
    • Extended .atlas.json schema with "animations" defining named sequences of frames, frames-per-second (fps), and loop setting.
    • Scripting API: pite.AnimatedSprite2D exposes play(anim, loop), pause(), stop(), and is_playing(), along with properties atlas, animation, frame, speed_scale, playing, and autoplay.
    • Signals: Engine-managed animation_finished(anim_name) on completion of non-looping animations and animation_looped(anim_name) on each cycle of looping animations.
    • Runtime: Frame timing accumulation with remainder carry-over in _process, support for negative speed_scale (reverse playback), and scene-ready autoplay initialization.
    • Static verification: pite check verifies .atlas.json animation definitions, ensures node animation names exist in referenced atlases, and flags unreferenced animations.
    • Editor integration: Phosphor icon, atlas drag-and-drop support, inspector editing, and static viewport frame rendering.
  • 2D Tilemaps (TileMap2D):

    • Added multi-layer grid tilemaps via .ptmap TOML sidecars referencing atlas frames.
    • Greedy collider merging: adjacent solid tiles coalesce into maximal static box colliders in Rapier2D, preventing internal edge snagging.
    • Frustum-culled batch rendering: offscreen tiles are culled, batching visible tiles into GPU draw calls.
    • Scripting API: pite.TileMap2D exposes get_cell, set_cell, erase_cell, clear, coordinate helpers world_to_map / map_to_world, layer introspection, and tile_size.
    • Editor tools: inspector tile palette with layer switcher and brush/eraser toggles; viewport interactive painting with grid snapping.
    • Project verification: pite check validates .ptmap files, atlas references, and frame usage.
  • Simultaneous Scene & Code Save: Ctrl+S / Cmd+S saves both the active .ptscn scene and open Python script simultaneously, triggering an immediate hot reload.
  • Assets Panel File Management:
    • Folder-first sorting, empty folder preservation, and double-click file opening.
    • Creation dialogs for scripts, scenes, and folders via + File and + Folder.
    • Context menu and keyboard shortcuts: Cut, Copy, Paste, Duplicate, Delete, and Rename (F2) with automatic reference rewriting across scenes and scripts.
    • Drag-and-drop support: import files from the OS, move items between directories, drop scripts onto Scene Tree nodes, and drag textures into Inspector fields.
  • UI Hierarchy Refactoring:
    • Control now inherits from Node2D (Node → Node2D → Control → Label & Button).
    • Label and Button inherit position and rotation transforms directly from Node2D alongside UI styling (color, font_size).
  • Custom Project Properties ([props]):
    • Declared under [props] in pite.toml (string, int, number, bool, vec2, color).
    • Accessible in scripts via get_custom_property, set_custom_property, and remove_custom_property.
  • Schema-Driven Documentation and Stubs:
    • NodeTypeSchema and PropSchema drive editor tree descriptions, inspector hover tooltips, and node reference docs.
    • pite.pyi and pite.py type stubs are generated at build time directly from NODE_SCHEMAS, guaranteeing synchronization with the engine.
  • Python Accessor Updates:
    • CharacterBody2D.is_on_floor, is_on_wall, and is_on_ceiling are now attribute accessors (e.g. self.is_on_floor), not methods.
    • Node2D.rotation is exposed to Python and reflected by the renderer.
    • Direct tree-backed prop accessors ensure property modifications (position, velocity, color, etc.) persist cleanly across hot reloads.
  • Scene Tree Panel Overhaul:
    • Modal node creation dialog (Ctrl+A / + Node) with search filtering, category descriptions, and inheritance hierarchy.
    • Sibling and child drag-and-drop reordering with 3-2 drop zones (child vs before/after sibling), horizontal insertion lines, and floating drag preview cards.
    • Subtree duplication (Ctrl+D), inline renaming (F2), and child scene instantiation (Ctrl+Shift+A).
    • Phosphor icons and color-coded node categories (2D, physics, UI, timer).
  • Inspector Panel Overhaul:
    • Properties organized into collapsible inheritance-grouped sections (Node → Node2D → derived class).
    • Revert-to-default buttons for properties deviating from schema defaults.
    • Interactive Color editor with hex inputs and live preview swatches.
  • Crates.io & cargo install pite Packaging:
    • Configured all 13 workspace crates for crates.io publication; engine CLI and editor installable via cargo install pite.
  • Scripting & Physics Synchronization:
    • Pre-step synchronization of node tree positions into Rapier2D for kinematic and static bodies and areas manipulated in Python.
    • Signal error reporting prints full Python tracebacks to stderr and logs when handlers raise exceptions.
    • Color property setters accept hex color strings (e.g. "#38bdf8") in addition to numeric tuples.
    • Sprite2D treats empty atlas and frame strings as unset rather than throwing invalid reference errors.
  • Dependencies & MSRV:
    • Upgraded Rapier2D to 0.36.1 and Zip archive handling to 9.4.1.
    • Bumped workspace MSRV to Rust 1.95.
  • Color Property Type: Added native Color property variant with #rgb, #rrggbb, and #rrggbbaa hex parsing and alpha support in the editor.

v0.3.0

  • 2D Physics Subsystem (Rapier2D):
    • Integrated 2D physics simulation running on a fixed 60 Hz tick (_physics_process(delta)).
    • Node types: StaticBody2D (static geometry), CharacterBody2D (kinematic controller with move_and_slide()), RigidBody2D (forces and impulses), Area2D (trigger zones), and CollisionShape2D (box, circle, capsule).
    • Kinematic character controller: move_and_slide() resolves sliding collisions against solid geometry while ignoring sensors, updating velocity and contact flags (is_on_floor, is_on_wall, is_on_ceiling).
    • Spatial queries: pite.raycast(from, to, mask) queries solid obstacles and returns intersection points, normals, distances, and hit bodies.
    • Editor visualization: viewport wireframe overlays for collision shapes with Inspector configuration controls.
  • Editor Menu Bar & Recent Projects:
    • Native menu bar (Scene, Project, Help) with file dialogs, project settings, documentation links, and recent project history.
    • Open and edit text configuration files (pite.toml, .gitignore) directly in the embedded code editor.
  • CLI Toolchain Management:
    • Added toolchain manager (pite toolchain) and streamlined cross-platform installer scripts (install.sh, install.ps1).
  • Python API Redesign:
    • Native Vec2 math class with arithmetic operator overloading, in-place mutation, and tuple sequence unpacking.
    • Direct engine transform mutations without end-of-frame reflection overhead.
    • Attribute-based input API: pite.held.<key>, pite.pressed.<key>, and pite.released.<key>.
    • Declarative node descriptors: pite.child("Name") and pite.node("../Path") with first-access caching.
    • Flexible signal callbacks: signal.connect() accepts arbitrary Python callables (methods, lambdas, free functions).
  • Hot Reload Reliability:
    • Continuous editor idle watching reloads external script and scene edits without starting gameplay.
    • Hot reload selectively updates scenes matching the active hierarchy, preserving Python instance state and physics velocities.
    • Texture and atlas modifications automatically invalidate cached renderer textures.
  • Expanded Audio Support: Added pure-Rust decoding via Symphonia for Ogg Vorbis (.ogg), MP3 (.mp3), FLAC (.flac), and extended WAV formats.
  • Scene File Extension Standardized to .ptscn: Migrated scene file naming to .ptscn across editor, tooling, templates, and documentation.
  • Standalone Player Releases & Cross-Platform Export:
    • pite export automatically downloads platform-specific pite-player release archives when missing locally.
    • Release pipeline publishes standalone and multi-platform player archives.
    • Added macOS export and cross-compilation support.

v0.2.0

  • Python Dependency Vendoring (pite vendor):
    • Added pite vendor add/remove/list/verify to vendor third-party wheels into vendor/ with cryptographic SHA-256 locking in [vendor].
    • The runtime configures vendor/ on sys.path across development and exported builds.
    • pite check audits game scripts and warns on non-vendored third-party imports.
  • Integrated Code Completion:
    • Embedded Pyright language server provides autocomplete popups, hover information, and diagnostics directly in the code editor.
    • Baked-in pite.pyi stubs ensure full engine API autocompletion out of the box.
  • Design Resolution & Window Scaling:
    • Default project resolution updated to 1280×720 with uniform aspect-ratio scaling, letterboxing, and mouse coordinate mapping.
  • Project Settings Window:
    • Added interactive settings dialog (Project > Project Settings…) for editing manifest fields with validation and byte-stable saving.
  • Code Editor Enhancements:
    • Added line-number gutter with error row indicators and click-to-jump error navigation.
    • Syntax highlighting for Python and configuration file formats (toml, json, yaml, ini).

v0.1.1

  • Timer Subsystem (Timer.timeout): Engine-owned timeout signal automatically fires every wait_time seconds and loops, with bidirectional property synchronization between Rust and Python.
  • Button Sizing: Button.size property exposed as a script-accessible, type-hinted Vec2 property for hit-testing and rendering.
  • Manifest Cleanup: Deprecated unused export.platforms manifest key; pite export validates execution from within a project root.
  • Signal Type Safety: Enhanced signal emission validation via Pyright type stubs in pite.pyi.

v0.1.0

Initial public release series establishing Pite's foundational architecture:

  • Scene Tree Architecture:
    • Hierarchical node tree (Node, Node2D, Sprite2D, Camera2D, Timer, Label, Button) with parent-child coordinate inheritance and lifecycle dispatch (_ready, _process).
    • Modular scene instantiation: nest sub-scenes within scenes with namespaced IDs and property overrides.
  • Embedded Python Scripting:
    • High-performance embedded CPython 3.12 runtime powered by PyO3.
    • Public pite module with transform bindings, vector math, input polling, typed signals (pite.signal), and pite.pyi type stubs.
    • Live script hot reload on save without restarting the engine.
  • Visual Desktop Editor:
    • Desktop editor built with egui/eframe: real-time 2D viewport, visual scene tree, property inspector, asset file tree, and code editor.
    • Design system with canonical Pite Teal palette, dark UI theming, and embedded typography.
  • TOML Scene Format & Binary Caching:
    • Human-readable TOML scenes (.ptscn) as the canonical source of truth for version control.
    • Automatic content-hashed binary scene caches (_cache/*.bin) for fast loading with transparent fallback.
  • Asset Pipeline & Verification Tooling:
    • Project-relative resource paths (res://…) and content-addressed UID manifest (assets.pite.toml).
    • pite check CLI tool for validating asset references, script imports, and scene schemas, with automatic path rewriting on asset moves (--reimport-assets).
    • Texture atlas batching (.atlas.json) for efficient sprite sheet rendering.
  • Audio Output:
    • Multi-voice audio playback via CPAL with graceful silent simulation when no hardware output device is detected.
  • Standalone Desktop Export:
    • Self-contained export pipeline producing lean, runnable bundles for Linux and Windows with bundled CPython and minimal pite-player runner.
  • Crates.io Release:
    • Modular workspace crates (pite-core, pite-scene, pite-project, pite-runtime, pite-render, pite-script, pite-audio, pite-assets, pite-export, pite-player, pite-editor, pite-cli) published to crates.io.