❔ Need help converting mana system
so I really need help changing out the mana system in my game, I am new to unity and coding but we are using a pre built engine for a TCG game. I will provide any information needed if someone is willing to help. This is what the mana system should be:
Basically each player has a gauge up to 10 each, with both players sharing 0.
When you spend Mana, it moves towards your opponents gauge.
So the game starts with it in the middle, which is 0. The first person to move, as long as they spend Mana, will move to the opponent's side. So let's say I spend 2 Mana, it will move (from 0) two spots into the opponent's side, which means they have 2 Mana to use (and it is their turn). So they can keep spending Mana until it hits your gauge (in this case, if they spend 3 Mana, it will hit your turn because it crosses into your side).
2 Replies
The mana bar could be 0, if it's player turn first turn and player spent 2 mana, the mana bar becomes -2. Enemy turn, they spend 3 mana it becomes +1 manabar. Just one suggestion, I'm sure there's many possible solutions
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.