hey I have a game like kung fu and I want it so health bars fallow my actives. this is extremely difficult. any advice?

Help with health bars!
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
It's actually quite simple. Make sure there are always an equal ammount of healthbars and the type of actives they should appear at, and make one event: Always: Set Healthbar to [x,x] of Active1 and set set health of Healthbar to health of Active1. Fusion will automatically make pairs of each healthbar and Active1 as long as there is an equal ammount of each.
-
I made a slightly more advanced example of creating healthbars using actives and ForEach loops:
File: Please login to see this attachment.
I hope the idea didn't get lost among all the "fancy" stuff XD
Edit: I tried to implement the color of the bar changing depending on health, ranging from green (at full) to yellow (half) to red (at zero), using a single event but I couldn't wrap my head around it.
-
Went back and added the color feature after all
File: Please login to see this attachment.
-
The automatic pairing system is faster than running ForEach loops for all objects all the time, but on the Windows runtime on a decent PC, unless you're having 10.000+ objects it shouldn't matter much.
ForEach gives you more control. It's good to know both methods, though. -
Here is the one I made for you last night in the chatroom: Please login to see this link.
-
klikhappy Your example are awesome. I've played and enjoy a little.
-
im having trouble understanding you examples
-
Here is the one I made for you last night in the chatroom: Please login to see this link.
Woah.. there's a Fusion chatroom? Why did no one tell me this? is it irc? whats the server?
-
PaulFoster....look at the very top banner of this forum
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!