feat(vagrant): v0.14.0 — TC_Basics first-consumer + UI item icons
ADR-0054 Item-Visual-Identity validated end-to-end.
World-sprite migration off the proprietary Subterrain world-atlas:
- Bed + Bench promoted to composition-entities with renderable tag;
rendered via the existing draw_entities path (the hardcoded
draw_sprite_transform calls for furniture are gone).
- Backpack sprite source: Subterrain backpack_001 → TC_Basics sack1.
- Stick visual: blob_rect_stone slot_04_straight → TC_Basics log_pile1.
- rock_pick crafted-output visual: blob_rect_stone slot_05_tee_open →
TC_Basics spade.
- rock + rock_pile + workbench stay on blob_rect_stone (no TC_Basics
equivalent yet).
Scale resolution is now atlas-level (no more module-side constants):
M.init reads tc_meta.atlas_meta.pixels_per_meter and divides into
PROJECT_PIXELS_PER_METER (128 per puppet shoulder anchor) to derive
tc_scale, applied per-entity via lib-core.render v0.3.0's sprite_
scale property.
UI item icons via ADR-0054 §3 Konsum:
- Backpack + Workbench-Inventory rows now show item icons via the
inventory-list-display v0.2.0 default resolver (fallback chain
icon_atlas → sprite_atlas), fit-to-bounds.
- Backpack-Crafting + Workbench-Crafting panels get an icon column
via crafting-display v0.3.0; vagrant supplies a small recipe-
output → {atlas, uv} lookup (craft_icons) and wires it as
icon_resolver on both widgets.
Deps cascaded: lib-core.render 0.2.0 → 0.3.0, lib-core.inventory-
list-display 0.1.1 → 0.2.0, lib-core.crafting-display 0.2.0 → 0.3.0,
lib-asset.prototype-tc-basics 0.1.0 → 0.3.0.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
11
README.md
11
README.md
@@ -8,11 +8,18 @@ callback, foot-body-orientation ("tactical twist"), scale-deformation walk
|
||||
cycle, and inheritance-decoupled foot sprites. End-to-end inventory pickup/drop
|
||||
demo: pick up a rock into a backpack container, drop it back into the world.
|
||||
|
||||
**Version:** 0.13.0
|
||||
**Version:** 0.14.0
|
||||
**Module-ID:** vagrant-skeleton
|
||||
**Requires:** lib-core.input >=0.4.0, lib-core.camera >=0.3.0, lib-core.render >=0.1.0, lib-core.maps >=0.1.2, lib-core.puppet >=0.4.4, lib-core.interaction >=0.1.0, lib-core.composition >=0.3.0, lib-core.actor >=0.1.0, lib-core.inventory-list >=0.1.0, lib-core.panel >=0.2.0, lib-core.inventory-list-display >=0.1.0, lib-core.notify >=0.1.0, lib-core.notify-display >=0.1.0, lib-core.world-overlay >=0.1.0, lib-core.crafting >=0.2.0, lib-core.crafting-display >=0.2.0, lib-asset.prototype-subterrain >=0.1.0
|
||||
**Requires:** lib-core.input >=0.4.0, lib-core.camera >=0.3.0, lib-core.render >=0.2.0, lib-core.maps >=0.1.2, lib-core.puppet >=0.4.4, lib-core.interaction >=0.1.0, lib-core.composition >=0.3.0, lib-core.actor >=0.1.0, lib-core.inventory-list >=0.1.0, lib-core.panel >=0.2.0, lib-core.inventory-list-display >=0.1.0, lib-core.notify >=0.1.0, lib-core.notify-display >=0.1.0, lib-core.world-overlay >=0.1.0, lib-core.crafting >=0.2.0, lib-core.crafting-display >=0.2.0, lib-asset.prototype-subterrain >=0.2.0, lib-asset.prototype-tc-basics >=0.1.0
|
||||
**Tags:** test-chamber, puppet, walking-sim, interaction
|
||||
|
||||
> **v0.14.0:** Bed + Bench + Backpack visuals migrated from the proprietary
|
||||
> Subterrain world-atlas to TC_Basics sprites (`single_bed1`, `bench1`,
|
||||
> `sack1`). Bed + Bench promoted to composition-entities (renderable tag) —
|
||||
> the hardcoded `draw_sprite_transform` calls for furniture are gone. First
|
||||
> concrete consumer of ADR-0054 Item-Visual-Identity. The Subterrain dep
|
||||
> remains for the puppet sprite parts (`subterrain_player` alias).
|
||||
|
||||
## Topology
|
||||
|
||||
<!-- topology:start (auto-generated; do not edit) -->
|
||||
|
||||
Reference in New Issue
Block a user