generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Round Health Gui

Previous Thread :: Next Thread 
RekkSai is not online. RekkSai
Joined: 16 Dec 2014
Total Posts: 111
30 Apr 2017 04:00 PM
Anyone know how to make a circle health GUI, such as in https://www.roblox.com/games/65438352/Dungeon-Delver-Pets

or like in Guild Wars 2?

I can't think of a way to do it. Would appreciate help. I can script btw, I just can't think of logic..
Report Abuse
xsplice101 is online. xsplice101
Joined: 11 Sep 2016
Total Posts: 28
30 Apr 2017 04:04 PM
Hmm not sure.
Report Abuse
RekkSai is not online. RekkSai
Joined: 16 Dec 2014
Total Posts: 111
30 Apr 2017 04:18 PM
bump
Report Abuse
RekkSai is not online. RekkSai
Joined: 16 Dec 2014
Total Posts: 111
30 Apr 2017 04:37 PM
buump
Report Abuse
Alexware is not online. Alexware
Joined: 07 May 2010
Total Posts: 661
30 Apr 2017 04:59 PM
well i can tell you it involves math.pi.....
Report Abuse
arshiaslaya is not online. arshiaslaya
Joined: 04 Nov 2012
Total Posts: 2670
30 Apr 2017 06:02 PM
Easiest way is just to have a rectangle, but have the side of the health bar thick enough that it covers the rectangle the full way.
Report Abuse
KapKing47 is not online. KapKing47
Joined: 09 Sep 2012
Total Posts: 5522
30 Apr 2017 07:46 PM
I just made a round health gui, don't know if it will be of any help to u, but learn from this if u like ;)
roblox.com/catalog/760736824/redirect


Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
30 Apr 2017 08:23 PM
I may be reiterating what @arshiaslaya said, but I didn't really understand what they were saying.

In that game, what it looks like is it goes in steps basically. Maybe the circle has 30 rectangles in it, each one has a different size.X than the last (so it fits withing the circle)

Let's say the health is at 100%, you make all rectangles visible.

If the health is at 50%, you only show the bottom 15 rectangles.

That's my guess.
Report Abuse
KapKing47 is not online. KapKing47
Joined: 09 Sep 2012
Total Posts: 5522
30 Apr 2017 08:30 PM
Ah I think I know what u mean

|
|||
|||||
|||||||
|||||
|||
|

Something like this? And then 50% health


|
|||
|||||
|||
|



Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
30 Apr 2017 08:31 PM
the first part is right, but for 50%:

|||||
|||
|
Report Abuse
caca50 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
30 Apr 2017 08:32 PM
Didn't add spaces:

|||||
|||
|
Report Abuse
KapKing47 is not online. KapKing47
Joined: 09 Sep 2012
Total Posts: 5522
30 Apr 2017 08:33 PM
Ah, I get ya. Welp, I might look into making something like that after I get a bit of sleep.


Report Abuse
RekkSai is not online. RekkSai
Joined: 16 Dec 2014
Total Posts: 111
01 May 2017 11:08 AM
KapKing, that GUI isn't exactly what I was looking for, if you followed my links you could see i'm talking more about something that resembles a spherical flash which replenishes with your health not a simple circle. Althought that is interesting because that was my first design but i deemed it too hard..
Report Abuse
KapKing47 is not online. KapKing47
Joined: 09 Sep 2012
Total Posts: 5522
01 May 2017 01:45 PM
If u meant that circle gui at the bottom right then that should be accomplish-able using this method: 1. Create frame and set Frame.ClipDescendants (I think that's the name of the property) to true. ## ### ### ###### image label inside and use OFFSET for size, NOT scale. 3. Change the size of the frame as u please, it SHOULD hide/show parts of the circle. OR 1. Make the image label. 2. When health changes just choose the pixels where to "cut off" from and where to (I can't remember the property name) and just change the size of the image label. Although it can also be done manually, but it wont look that smooth.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image