Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement inventory panel in the UI #158

Merged
merged 20 commits into from Mar 29, 2022
Merged

Implement inventory panel in the UI #158

merged 20 commits into from Mar 29, 2022

Conversation

ethanmoffat
Copy link
Owner

Implement player inventory. Items can be drag/dropped to different slots or double-clicked to equip. Single click will start dragging.

Drop/junk are not yet implemented. Drag to paperdoll dialog to equip is also not implemented.

This PR closes #138

Display only, no clickdrag or doubleclick actions yet
1. Single-click to start dragging
2. Click+hold to start dragging
3. Double-click to equip still works
4. Dragging one item over multiple will reset it to it's original spot (or continue dragging if it no longer fits)
5. Dragging one item over another will start dragging that other item
…ory item background outside the bounds of the inventory grid.
@ethanmoffat ethanmoffat added this to the Up to Speed milestone Mar 29, 2022
@ethanmoffat ethanmoffat merged commit 06e6c29 into master Mar 29, 2022
@ethanmoffat ethanmoffat deleted the inventory branch March 29, 2022 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HUD - item inventory
1 participant