Hi Random color object
Your timer code was setting the emitter color every time in the loop
here is some changed code, I set the timer to 1000 to see the change more frequently.
phy start
sync on
sync rate 0
autocam off
color backdrop 0
phy make particle emitter 1, 512, 0.01, 0.0, 0.0, 0.0, 1.0, 0.0, 1.5, 0.0
`phy make particle emitter 1, 512, 5, 0.0, 0.0, 0.0, 1.0, 0.0, 1.5, 0.0
load image "fire.png", 1
`load image "fireball.bmp", 1 :`I didn't have the fire.png image
texture object 1, 1
ghost object on 1, 0
phy set emitter life span 1, 0.001
phy set emitter size 1, 1.0
phy set emitter max size 1, 10.0
phy set emitter growth rate 1, 2.0
phy set emitter start color 1, 0, 255, 255
``color object i, rgb ( rnd ( 255 ), rnd ( 255 ), rnd ( 255 ) )
a=rnd(255)
b=rnd(255)
c=rnd(255)
phy set emitter end color 1, a,b,c
phy set emitter linear velocity range 1, -1, -2, 0, 2, 3, 1
phy set emitter range 1, -20, 20, -20, 40, 0, 40
position camera 0, 30, -40
t1=timer()+1000
do
t2=timer()
if t2 > t1
t1=timer()+1000
a=rnd(255) `La variable a= devient rnd entre 1 et 255, pourra être utilisé pour des coulleurs RBG
b=rnd(255)
c=rnd(255)
phy set emitter end color 1, a,b,c
endif
set cursor 0,0
print "t1=";t1
print "t2=";t2
sync
phy update
loop