SlackeR
SlackeR
CC#
Created by SlackeR on 5/16/2023 in #help
❔ 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).
3 replies