Hello,
Actually i dont understand all of it but some of it i kinda have the idea like when i was dooing mine and trying to get it to work I was trying to set up the timer then set up the randomize feature to to randomize colors when the timer gets to a certain time..... Now i was not doing anything like the mseconds, and i really am not sure why you used mseconds, I looked for any type of coding referring to this but did not see anything like that. Im sure its one of those things you end up learning as part of the coding, but right now im not totally sure yet. So maybe ill set it up like this and ask questions about it so i know more about it if thats okay with everyone....
mseconds_until_colour_change = 500...okay I understand that this statment says 500 miliseconds until color change, is that why it is set up as mseconds?
xrotate object 1,wrapvalue(w)
zrotate object 1,wrapvalue(w)...okay these twothe only thing im not sure about is the (w) at the end.... Im starting to understand the wrapvalue part as im reading but when i had mine set up to rotate I had numbers at the end of it instead of the (w)
if timer() > t + mseconds_until_colour_change..... okay the only thing on this is the > sign im not sure about that...i would have ended up putting an equal sign there instead
red = rnd(255)
green = rnd(255)
blue = rnd(255)
color object 1,rgb(red, green, blue)
okay this part i had all screwed up when i was working on it lol... I know what the rnd is....heres the basic way i was trying to set this up...
a=rnd(255,100,150)...or whatever number....Im not sure as of yet why 255 is there but I imagine its the total for the color code..... other than that I kinda understand the concept of this code just not sure why it gets set up this way.... talk about newbies huh lol