|
| 21 Dec 2014 06:07 PM |
| So I'm coding a dragon for my game, I've already done everything (movement, firebreathing, etc), but I don't know how to change the colour of the fire that my dragon breathes out. Can anybody tell me? |
|
|
| Report Abuse |
|
|
mrfergie
|
  |
| Joined: 25 Mar 2010 |
| Total Posts: 522 |
|
| |
|
| |
|
|
| 21 Dec 2014 06:15 PM |
| Stickmasterluke made a tutorial on How To Make Your Dragon. If you go into Studio and look in tutorials or on YouTube you might find them. |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2014 06:18 PM |
| Fire.Color = Color3.new(1,2,3) the 1 is how much red you have the 2 is how much green and the 3 is how much blue. Adjust them to the color you want, Similar to changing mesh color. |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2014 06:20 PM |
Are you using a fire instance? If you are then this article might help you out: http://wiki.roblox.com/index.php?title=API:Class/Fire
The property you want to look at would be the Color property. You could edit this property in a script by using this line: Fire.Color = Color3.new(0,0,0) -- This would make the fire black
You also want to look at the SecondaryColor property. You would edit this property the same way: Fire.SecondaryColor = Color3.new(0,0,0) -- This would make the Secondary Color black |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 21 Dec 2014 06:22 PM |
"So I'm coding a dragon for my game, I've already done everything (movement, firebreathing, etc), but I don't know how to change the colour of the fire that my dragon breathes out. Can anybody tell me?"
----
"I've already done everything (movement, firebreathing"
----
"movement, firebreathing"
----
"movement"
and you dont know how to change the color of a fire? |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2014 06:44 PM |
| Thanks for your help guys I couldn't figure out what the property was. I tried "Color (#,#,#)" and that didn't work, didn't realize you had to write "Color3.new (#,#,#)", so thanks! |
|
|
| Report Abuse |
|
|