I need help figuring out how to make a mana system
I started trying to do it by counting cyan seeds but I can’t figure it out
I need help figuring out how to make a mana system
I started trying to do it by counting cyan seeds but I can’t figure it out
How exactly do you use magic? Through a button?
You could place a checker for each spell or whatever, and if you have enough cyan seeds it would remove the cyan seeds and cast the magic.
Kind of, its a turn based combat so it kind of uses buttons
welcome to the forums I’ll cook something up
What do need help with? Checking whether you have mana? Deducting/adding mana?
having it track the amount of mana(cyan seeds) I have and putting it on an overlay
Ok, simply put a game overlay, go to the setting where it says what to display and change it from text to tracked item.
What fwa has there will work great. Do you have any other problems?
How would I have the tracked item as well as other text in the same overlay
use blocks (it can be confusing for a beginner)
y’all its like nine (PST) and were still on the forums why do we not have a life outside also yes use blocks (I think, I haven’t used gkc all that much so take this post with a whole lotta salt, like 375 grains:)
its midnight for me…
oh darn why are you still on the forums do you ever sleep I know this isn’t for chat but kinda freaks me out people are on here at midnight ok that makes sense sirwywy
Because some people have different time zones, and helping people is a good service to do in general
Is anything else needed @inknaaa ?
Place an IIM (inventory item manager). Place a property device.
Inside the IIM, set it to manage cyan seeds. Go into the property settings. Change it from text to a number property, set the scope to player, and rename it to something like “mana”. Ok, go back to the IIM and go to the properties section. Set it to update your property mana.
Now, place a lifecycle, a relay, and a trigger.
Have the lifecycle wire to the relay, wired to the trigger.
Inside the trigger, have it transmit on a channel, like for example “update mana overlay”. Also have the trigger receive on the same channel, so it triggers itself. Put a 0.1 delay so it doesn’t hit the recursion limit.
Now go to your game overlay. Make a block, when receiving on channel “update mana overlay”. Inside, put this code
This will auto update the mana overlay.
how do you do blocks this might be really helpful for my game I have in development
You just do, there’s not much else to say about it.
Like legit.
Learn by doing.