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: How do I change GUI so that it has an actual shape?

Previous Thread :: Next Thread 
Revontheous is not online. Revontheous
Joined: 29 Jan 2009
Total Posts: 6337
19 May 2015 12:00 AM
Currently, my GUI (which is a count down GUI for the end of a minigame) is just a square. I want my GUI to become an ANALOG GUI so that the arm has to spin a full circle before the time limit is up. How do I do that? Like I said, I already have the script and everything...

Imma' Firin' Ma' Laza'
Report Abuse
CrowClaws is not online. CrowClaws
Joined: 04 Jul 2010
Total Posts: 4466
19 May 2015 12:03 AM
lol a timing script would be really ez

Making it analog is gonna be hard.

Your gonna have to do lots of math.
Report Abuse
Revontheous is not online. Revontheous
Joined: 29 Jan 2009
Total Posts: 6337
19 May 2015 12:18 AM
That doesn't help! q.q

Imma' Firin' Ma' Laza'
Report Abuse
daireb is not online. daireb
Joined: 16 Nov 2012
Total Posts: 726
19 May 2015 12:39 AM
Omg, division?!
So hard...
Maybe even a % or two!

To make your clock circular I think you will have to use an imageLabel.
I don't think you can rotate them either to make the hands :P.
I would check, but I don't have my pic right now.
Don't give up hope yet, though!
Report Abuse
mycheeze is not online. mycheeze
Joined: 27 Jun 2011
Total Posts: 6748
19 May 2015 01:32 AM
@dair, bb wot is the '%' used 4 again?

Also this is simple stuff with the rotation property for gui objects.

It is as easy as having an image where it is a linear line pointing from up to down, but once it reaches the middle, anything lower is transparent.

This way all you have to do is use the rotate property, addition, subtraction and nothing more.
Report Abuse
daireb is not online. daireb
Joined: 16 Nov 2012
Total Posts: 726
19 May 2015 02:00 AM
Oh, I didn't know you could rotate guy objects,
If that's the case, then it will be easy enough.

% Is the modulo operation.
It gives the remainder when you divide the number by the other number
EG

28 % 5 = 3

You'll need that if you want global time between servers, or local time for just someone's computer.
(os.time() and tick())

You'll even need it if you want a continuous counter, instead of having it reset whenever the time is bigger than 12
Heck, you could just even use it to not need an if statement after the variable increment.
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
19 May 2015 02:10 AM
You need a circular ImageFrame and a Frame, and then rotate it max/current*360 degrees at each step
Report Abuse
Revontheous is not online. Revontheous
Joined: 29 Jan 2009
Total Posts: 6337
19 May 2015 04:45 PM
I'm absolutely stupid when it comes to GUI's. I know this is asking too much but would any of you be willing to quickly do that for me? I'll give you the script I have! :)

Imma' Firin' Ma' Laza'
Report Abuse
Johnnya101 is not online. Johnnya101
Joined: 30 Dec 2012
Total Posts: 5140
19 May 2015 04:47 PM
You could probably rework one of those speedometers for cars that the hand turns on how fast your going.
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