Add pickup/drag-and-place mechanic for weapons & armor #7
Loading…
Reference in a new issue
No description provided.
Delete branch "task/2-pickup-drag-place"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
item.gd(Area2D-based): click-drag-release to pick up and move an item, with a tint while held and a_unhandled_inputfallback so the release always registers. Added three draggable items (sword, shield, helmet) scattered off their stands, each with anitem_idfor the snap-to-stand matching in #3.Validated with
godot --headless --quitand--headless --import(both clean, no errors).Closes #2