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
 

smooth brick color transitions

Previous Thread :: Next Thread 
rowerowe71 is not online. rowerowe71
Joined: 14 Apr 2013
Total Posts: 1999
12 Dec 2015 09:08 AM
is there any way to smoothly transition from one brick color to another

for example for a red brick to gradually turn blue not just all of sudden
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
12 Dec 2015 09:25 AM
Use a file mesh, set texture to all white, tween VertexColor (which acts as an RGB even though the input is vector3)
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
12 Dec 2015 09:44 AM
'Use a file mesh, set texture to all white, tween VertexColor (which acts as an RGB even though the input is vector3)'


I died inside.


Just add a SelectionBox on it, and set the surface color, tween it until it matches the desired brickcolor, and then set the brickcolor itself and destroy the SelectionBox.
Report Abuse
wonderful72pike is not online. wonderful72pike
Joined: 13 Jul 2010
Total Posts: 7009
12 Dec 2015 09:45 AM
@warspy

But wouldn't selectionboxes be very very noticeable?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
12 Dec 2015 09:46 AM
@wonderful If that turns out to be the case, use SurfaceGuis on each side
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
13 Dec 2015 10:17 PM
The method I proposed is responsive to game lighting (surfaceGUIs are not, last I checked). Selection Boxes are definitely not the way to do this.

@warspy To be clear, I recommend using one instance (the mesh), and tweening one property. You have suggesting using a different instance which is fine, but if that fails, you recommend using 6 (one surfaceGUI per face). And your recommendations ignore lighting.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
14 Dec 2015 09:42 AM
A SelectionBox WOULD work actually, I was just too lazy to explain why lol.
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