This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Simple turn based combat #160
Unanswered
ryanmunger
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'd give each clickable object with a tag like "character" and use add([
// ... normal comps
"character",
]);
clicks("character", (obj: GameObj) => {
// do stuff with obj
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am very excited about this library. What a clean API!
I noticed the click action only passes the vector point. Is it possible to click on another character or player and have it locate or return the clicked on object?
This is to select a target in a very simple turn based combat system like final fantasy 1.
Thank for your help and I would love to share what I come up with!
Beta Was this translation helpful? Give feedback.
All reactions