Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 09:19 PM |
while true do wait(.1) script.Parent.Color = script.Parent.Color+1 end
alright so the Parent is the Fire in the Part, so yeah if I were just changing it to one color it would be Color3.new(blah,blah,blah) but I'm not sure what to do about just adding +1 to the value every .1 second then once it gets to 255,255,255 then it'll go backwards to 0,0,0.
|
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
62GB
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 4157 |
|
|
| 18 Jan 2016 09:31 PM |
while script.Parent.Color ~= Color3.new(255,255,255) do wait(.1) script.Parent.Color = script.Parent.Color + Color3.new(0,0,1) end |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 09:36 PM |
@62
attempt to perform arithmetic on field 'Color' (a userdata value)
|
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:39 PM |
while true do for x = 0, 1, 0.00392156863 do script.Parent.Color = Color3.new(x, x, x) wait(0.1) end for x = 1, 0, -0.00392156863 do script.Parent.Color = Color3.new(x, x, x) wait(0.1) end end |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 09:42 PM |
@128 alright that works perfectly, but only goes between shades of white and black for some reason?
|
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:44 PM |
| Did you want it to do the r b and g not at the same time? |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:44 PM |
| Because you're equally shading R, G, and B |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 09:46 PM |
Nah I was trying to make it basically slowly transition into all of the colors
|
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:47 PM |
Then you want exactly what I just said...
Except that wouldn't be all the colors it would skip colors like
255, 0, 255 |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 09:50 PM |
I just want it to like slowly transition you know? like go from 0,0,1 all the way like one number at a time up to 255,255,255 and go pretty fast so it has a nice transition and then it restarts at 0,0,1
|
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:51 PM |
while true do for x = 0, 1, 0.00392156863 do for y = 0, 1, 0.00392156863 do for z = 0, 1, 0.00392156863 do script.Parent.Color = Color3.new(x, y, z) wait(0.1) end end end for x = 1, 0, -0.00392156863 do for y = 1, 0, -0.00392156863 do for z = 1, 0, -0.00392156863 do script.Parent.Color = Color3.new(x, y, z) wait(0.1) end end end end |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:54 PM |
I would replace 0.0039215... with 1/255
Personal preference, just so I could see what it means. |
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 09:55 PM |
I didn't think of that
I was just trying to avoid dividing the numbers in the Color3.new() by 255 each time |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 10:10 PM |
@128 it goes from black to blue, then back to black, it apparently only goes to blue in rgb and doesnt go into red and green and white? idk
|
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
| |
|
|
| 18 Jan 2016 10:19 PM |
It does go into red and stuff
You said you wanted it to go through every color
All 16,777,216 colors
It takes a while to get past all the blue
Although looking at that number now maybe I did it wrong because I believe there are more combos than that. |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 10:25 PM |
I set it to 0.001 seconds to make it go faster, and It goes to lots of shades of blue really fast then goes to black then back to blue
|
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 10:51 PM |
Is there a way to just slowly transition it through brickcolors?? cause i just want it to transition from blue to all the major shades of blue in between it and say red then same with red and green etc
|
|
|
| Report Abuse |
|
|
|
| 18 Jan 2016 11:01 PM |
| Just lerp between the colors |
|
|
| Report Abuse |
|
|
Optimxl
|
  |
| Joined: 26 Feb 2011 |
| Total Posts: 9430 |
|
|
| 18 Jan 2016 11:03 PM |
Not familiar with the term lerp
|
|
|
| Report Abuse |
|
|