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: Some assistance, please!

Previous Thread :: Next Thread 
Aolence is not online. Aolence
Joined: 25 Apr 2011
Total Posts: 475
16 Jun 2016 02:08 AM
How can I make a script that transitions a ColorCorrection effect from being black to white over time (like a fading effect)?

I've tried all the methods I can think of (though I didn't save them so I can't post them here).

Thanks.
Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
16 Jun 2016 02:10 AM
Use a for loop on the saturation property.
Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
16 Jun 2016 02:12 AM
for i = 0,1,0.1 do
game.Lighting.ColorCorrection.Saturation = i
wait()
end

I barely use ColorCorrection so idk if it's used with Color3.
Report Abuse
Aolence is not online. Aolence
Joined: 25 Apr 2011
Total Posts: 475
16 Jun 2016 02:12 AM
I'm talking about TintColor. Sorry I forgot to mention that.
Report Abuse
Aolence is not online. Aolence
Joined: 25 Apr 2011
Total Posts: 475
16 Jun 2016 02:13 AM
Oooooh, you just gave me an idea!
Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
16 Jun 2016 02:13 AM
Then change saturation to TintColor??
Report Abuse
Aolence is not online. Aolence
Joined: 25 Apr 2011
Total Posts: 475
16 Jun 2016 02:17 AM
I'm just not sure how to implement Color3.new into the equation (in terms of adding the values until the TintColor.Color3 value is completely white).
Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
16 Jun 2016 02:20 AM
for i = 0,255,5 do
game.Lighting.ColorCorrection.TintColor = Color3.new(i/255,i/255,i/255)
wait()
end
Report Abuse
Aolence is not online. Aolence
Joined: 25 Apr 2011
Total Posts: 475
16 Jun 2016 02:20 AM
Oh, duh - I got it.

for i = 0,1,0.1 do
game.Lighting.ColorCorrection.TintColor = Color3.new(i,i,i)
wait()
end



Thanks for the help!
Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
16 Jun 2016 02:22 AM
*
for i = 0,1,0.1 do
game.Lighting.ColorCorrection.TintColor = Color3.new(i/255,i/255,i/255)
wait()
end
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