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: a system to add borders to union parts?

Previous Thread :: Next Thread 
BrendonTheWizard is online. BrendonTheWizard
Joined: 28 Jul 2010
Total Posts: 25709
13 May 2017 07:54 PM
somewhat experimental but i'm making a game about europe

https://twitter.com/WizardBrendon/status/809211402900697088

this gif is slightly outdated but it features a part where the user can click on various provinces
the provinces are unions

the issue is
it's hard to see where one province ends and another begins
i have outlines enabled

any ideas for how i can make a system that solves this issue? i know i could just build lines but that would look bad and i'd have to think of something more noticeable if i come up with a system for national borders
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
13 May 2017 08:20 PM
Clone the union, make it slightly bigger, move it down .01 studs?


Report Abuse
BrendonTheWizard is online. BrendonTheWizard
Joined: 28 Jul 2010
Total Posts: 25709
13 May 2017 08:40 PM
no distance between them
wouldn't be visible without remaking the map
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
13 May 2017 08:43 PM
move the selected country up .02, clone the border and move it up .01


Report Abuse
BrendonTheWizard is online. BrendonTheWizard
Joined: 28 Jul 2010
Total Posts: 25709
13 May 2017 08:48 PM
that would help the user see which is selected

though i'm hoping there's a way to generate subtle lines between unions or something similar
not sure whether i'd do something very complicated or very simple
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
13 May 2017 08:55 PM
Oh I misunderstood

You could always run something to premake borders in studio.

local clones = {}

for i, v in pairs(countries) do
local c = v:Clone()
c.Size = c.Size + Vector3.new(.2,.2,.2)
c.CFrame = c.CFrame - Vector3.new(.1,.1,.1)
table.insert(clones,c)
end

wiki.roblox.com/index.php?title=API:Class/Plugin/Union

use that on clones


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