Amnity
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 39 |
|
|
| 15 Feb 2015 05:21 PM |
| How would one detect if two bricks of any size are adjacent? |
|
|
| Report Abuse |
|
|
Amnity
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 39 |
|
| |
|
Amnity
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 39 |
|
|
| 15 Feb 2015 05:52 PM |
| Bump II: The Return Of The Bump |
|
|
| Report Abuse |
|
|
Amnity
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 39 |
|
|
| 15 Feb 2015 06:31 PM |
| Bump III: The Desperate Last Call |
|
|
| Report Abuse |
|
|
|
| 15 Feb 2015 06:34 PM |
| use gapfill between them and see if its a straight line |
|
|
| Report Abuse |
|
|
Amnity
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 39 |
|
| |
|
|
| 15 Feb 2015 07:07 PM |
Do you mean just like touching sides? And is it guaranteed that the bricks are aligned the same way?
~Upload code to codepad-dot-org with Lua syntax highlighting to preserve indentation and make it easier to read!~ |
|
|
| Report Abuse |
|
|
Amnity
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 39 |
|
|
| 15 Feb 2015 07:36 PM |
| Yes, touching sides. And I can make all the bricks aligned the same way. |
|
|
| Report Abuse |
|
|
|
| 18 Feb 2015 12:37 AM |
| see if their positions are equal in the direction you are trying to find |
|
|
| Report Abuse |
|
|