ragazzi questo codice è preso da uno script che sto cercando di modificare stavo cercando di cambiare colore e volevo sapere come devo fare per cambiare da rosso in azzurro
val = 255 * ((actor.hp*100)/actor.maxhp)
green = 255 - val/100
color = Color.new(224,green,0,255)
w_color = Color.new(255,green+32,96,255)
if green > 64 then green -= 32
elsif green > 128 then green -= 64 end
b_color = Color.new(172,green,0,255)
Question
edoardol
ragazzi questo codice è preso da uno script che sto cercando di modificare stavo cercando di cambiare colore e volevo sapere come devo fare per cambiare da rosso in azzurro
CONTEST CLASSIFICATO
http://i33.tinypic.com/jgpesj.jpghttp://i43.tinypic.com/10ge99v.pnghttp://i41.tinypic.com/2uo3zpu.jpghttp://img521.imageshack.us/img521/6189/2bannercontestqf1.png
http://i41.tinypic.com/znajd5.png
http://i40.tinypic.com/soqvb8.jpg
http://i38.tinypic.com/23ogew.jpg
http://img262.imageshack.us/img262/7128/30710148re8.png
http://i40.tinypic.com/2qltjjq.jpg
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now