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 » Scripting Helpers
Home Search
 

Re: Question about Guis?

Previous Thread :: Next Thread 
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
20 Feb 2013 10:10 AM
I'm making a game using Guis, and I want to know how you can check if a Gui is touching another Gui, based upon it's BorderColor3. If possible, how would you check it? Would I need a script calculating what Guis are taking the same region of the screen and then do somthing with that?
Report Abuse
cart6157 is not online. cart6157
Joined: 28 Feb 2009
Total Posts: 2194
20 Feb 2013 10:19 AM
Um, check all pairs of guis if they're touching. Check the size of the two guis, then if gui1.Position.Offset.y(or something else idk the gui positions) - gui2.Position.Offset.y == gui1.size then

Just an idea :/ but I know you can make something out of it.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
20 Feb 2013 10:20 AM
It's a pitty ROBLOX doesn't have any methods for Gui objects.. like:

gui:Touching(gui2)

That would be so helpful..
Report Abuse
cart6157 is not online. cart6157
Joined: 28 Feb 2009
Total Posts: 2194
20 Feb 2013 10:22 AM
Try to make your own function :P and when you're done pm it to me, because it would be very useful XD
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
20 Feb 2013 10:36 AM
I didn't even need to.
I could just steal from the wiki;
http://wiki.roblox.com/index.php/GUI_Collision_Tutorial

But I didn't, because I'm awesome like that. But you can copy it :P
Report Abuse
moryo7 is not online. moryo7
Joined: 19 Jul 2010
Total Posts: 5028
20 Feb 2013 10:49 AM
Roblox's support for GUIs is terrabad.

Needs some updating.
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
20 Feb 2013 10:50 AM
I know. Well, atleast you can still make some novelty things with them..

Or you could just draw swear-words on the screen with them.

[SUCH A GMod QUOTE. LOLO.]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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