Skip to content
New issue

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

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

Already on GitHub? # to your account

v0.8.21 droppable items #201

Merged
merged 4 commits into from
Oct 14, 2024
Merged

v0.8.21 droppable items #201

merged 4 commits into from
Oct 14, 2024

Conversation

alexanderclarktx
Copy link
Owner

items can be dropped and picked up

// })
// }
// })
// world.addEntity(tooltip)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaving tooltip (key sprite on hover) for later changeset

})
})
}
}
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ClickableSystem refactor — you have to hover before you can click

TODO this broke buttons

for (const componentType of query) {
if (!keys(e.components).includes(componentType)) return false;
if (e.components[componentType]?.active === false) return false;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added Component.active property

@alexanderclarktx alexanderclarktx merged commit b2663a5 into main Oct 14, 2024
@alexanderclarktx alexanderclarktx deleted the alex branch October 14, 2024 10:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant