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: GUI Collision?

Previous Thread :: Next Thread 
SimpleSet is online. SimpleSet
Joined: 25 Feb 2017
Total Posts: 165
05 Sep 2017 11:42 PM
Yes I read the Wiki but can someone explain this to me? I just want to educate myself a lot in case I need to use these things later on, or just to expand my knowledge in Lua.

Wiki Link : http://wiki.roblox.com/index.php/GUI_Collision_Tutorial


#help
Report Abuse
SimpleSet is online. SimpleSet
Joined: 25 Feb 2017
Total Posts: 165
05 Sep 2017 11:50 PM
Didn't think anyone would know but it was worth a shot, xD. Bump?


#help
Report Abuse
Fluent_Lua is not online. Fluent_Lua
Joined: 03 Oct 2011
Total Posts: 1290
05 Sep 2017 11:53 PM
Read the wiki and explain it to your self. Its not that complicated, the first line literally explains it:

"Determining if two GUIs touch is the same as determining whether two rectangles intersect."


#code Do not give up; the beginning is always the hardest part.
Report Abuse
SimpleSet is online. SimpleSet
Joined: 25 Feb 2017
Total Posts: 165
05 Sep 2017 11:54 PM
I don't want to know the summary of the code, I want to know each piece and understand it so I may use it in my work later. Wiki doesn't do that.


#help
Report Abuse
Fluent_Lua is not online. Fluent_Lua
Joined: 03 Oct 2011
Total Posts: 1290
05 Sep 2017 11:56 PM
The wiki explains it in depth.....


#code Do not give up; the beginning is always the hardest part.
Report Abuse
SimpleSet is online. SimpleSet
Joined: 25 Feb 2017
Total Posts: 165
06 Sep 2017 05:42 PM
The wording though confuses me. Is there any place to go to understand this better?



#help
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
06 Sep 2017 05:44 PM
Directly from the wiki:
What set of rules can we come up with to check if the shape 1 and shape 2 overlap?

If the x-value of the top-left corner of the first shape is less than the x-value of the top-right corner of the second shape.
If the x-value of the top-right corner of the first shape is greater than the x-value of the top-left corner of the second shape.
If the y-value of the top-left corner of the first shape is less than the y-value of the bottom-left corner of the second shape.
If the y-value of the bottom-left corner of the first shape is greater than the y-value of the top-left corner of the second shape.
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
06 Sep 2017 05:52 PM
it's pretty simple math
Report Abuse
SimpleSet is online. SimpleSet
Joined: 25 Feb 2017
Total Posts: 165
06 Sep 2017 05:56 PM
It isn't the math, it is the wording and new functions to me.


#help
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