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: Roblox -sliding GUI selector-

Previous Thread :: Next Thread 
FrostBiteFreshy is not online. FrostBiteFreshy
Joined: 10 Mar 2013
Total Posts: 263
02 Mar 2015 06:07 PM
So I'm looking to create a complex GUI in Roblox and I'm wondering how the programmer who make the games such as "whatever floats your boat" make their smooth transitions. I'd like to know hoe they get their selector bar to slide across from button to button smoothly is there a moveto option or built in function I should be looking for.

if you've played whatever floats your boat then you'll understand what im talking about:

http://www.roblox.com/Whatever-Floats-your-Boat-place?id=156220906

the main menu has it at the top where there is a selector bar and it slides from button to button in a floating fashion.

can someone please get back to me on how they achieve this.
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
02 Mar 2015 06:08 PM
Tweening
Report Abuse
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
02 Mar 2015 06:09 PM
TweenSizeAndPosition
TweenSize
TweenPosition
Report Abuse
FrostBiteFreshy is not online. FrostBiteFreshy
Joined: 10 Mar 2013
Total Posts: 263
02 Mar 2015 06:19 PM
Thank you so much this helped alot:)
Report Abuse
FrostBiteFreshy is not online. FrostBiteFreshy
Joined: 10 Mar 2013
Total Posts: 263
02 Mar 2015 06:28 PM

This script Works but I can't figure out why its so unresponsive I've played around with it but sometimes when I go over certain buttons it doesn't follow the first function When the MouseEnters

----------------------------------------------------

MovingSelector = script.Parent.Parent.MovingSelector

script.Parent.MouseEnter:connect(function()
MovingSelector:TweenPosition(script.Parent.Position+UDim2.new(0,0,0.9,0),Enum.EasingDirection.InOut)
end)

script.Parent.MouseLeave:connect(function()
print("left")
end)

---------------------------------------------------

Any help would be appreciated
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
02 Mar 2015 07:16 PM
Search up Crazyman32's Tweening Script. It's pretty useful.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
02 Mar 2015 07:17 PM
If it helps*
Report Abuse
ThisUserSecret is not online. ThisUserSecret
Joined: 29 Sep 2012
Total Posts: 1094
02 Mar 2015 07:59 PM
Wait you just want something to move when the mouse enters?

why not do something like


script.Parent.MouseEnter:connect(function()
script.Parent.Position = POSITION
end)

I personally like when you have a mouse enter a button and it goes farther out if that makes sense so like
I love doing this with my gui buttons.

script.Parent.MouseEnter:connect(function()
script.Parent.Size = script.Parent.Size + UDim2.new(0.03,0,0,0)
end)

script.Parent.MouseLeave:connect(function()
script.Parent.Size = script.Parent.Size - UDim2.new(0.03,0,0,0)
end)
Report Abuse
Rooopppi241 is not online. Rooopppi241
Joined: 19 Dec 2013
Total Posts: 1
09 Mar 2017 12:46 PM
### #### ## ##
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