Hello, I want to ask how to make sure that the objects (cards) that I drag onto the board can attack or move 1 tile around the object and can also be attacked by other objects. This is like a chess game but I input the objects
Object on the board can be attack or move 1 grid or tile around the object 2D
What’s the question? How far along did you get, where are you stuck?
- Edited
Hello, I'm sorry I think I attached the video before, here are some clips on youtube for my card game progress
I want to make the aiming system to detect the tail map. ( I follow some youtube tutorials the Slay the Spire Clone, and I take the state machine from there and implement it in my card game). But the problem here is I want to know how can i detect the tile map (board) from my aiming system and the card is changed into a token and disappears after placement or released. Thank You
Here's also the screenshot of my card_released_state script
and the card_target_selector also
Also here my second version
The problem here i think is the mouse position, from the video i click the card in the center and then drag it into the board tile map it shows a good one (in the center of the grid) but when i click the card above or below the card center it gonna mess up like on the video.
Toxe
I put in on github :
https://github.com/YogiWiguna/Test-Project-Card-Game-12-18-2023.git