© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
2 replies
SlackeR

❔ 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).
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Need help converting xml to C [Answered]
C#CC# / help
4y ago
Help converting indicators...
C#CC# / help
3y ago
Need help compressing an RPS system
C#CC# / help
2y ago
making a keybind system, need help
C#CC# / help
3y ago