Another quick question.. ...another programming question
#1
Posted 07 August 2001 - 04:14 AM
#2
Posted 07 August 2001 - 04:29 AM
#4
Posted 07 August 2001 - 05:36 AM
set any color (in this example "1") to R=0,G=0,B=0
loop start
set color 1 "loopcount" "loopcount" "loopcount"
wait 3
loop 63
this will be much, much easier than messing around with palfade because it's only 5 lines wheras palfade I believe would take over 900 lines (I might be wrong)
also, take note that that "1" in set color is the color you want to fade from black to white and the wait 3 can be set to anything.
#5
Posted 07 August 2001 - 06:37 AM
set color 0 63 63 63
loop start
color intensity 0 loopcount percent
wait 1
loop 99
Always remember to set the "loop [number]" to 1 less than the total value. RoSS's idea should have it "loop 62"
#6
Posted 07 August 2001 - 07:21 AM
#8
Posted 07 August 2001 - 06:25 PM
#10
Posted 07 August 2001 - 11:30 PM
#11
Posted 08 August 2001 - 02:22 AM
SET LOCAL 0
:LOOPOUTER
LOOP START
INC COL[&LOOPCOUNT&].R 1
IF COL[&LOOPCOUNT&].R < 64 OKAYR
SET COL[&LOOPCOUNT&].R 63
:OKAYR
INC COL[&LOOPCOUNT&].G 1
IF COL[&LOOPCOUNT&].G < 64 OKAYG
SET COL[&LOOPCOUNT&].G 63
:OKAYG
INC COL[&LOOPCOUNT&].B 1
IF COL[&LOOPCOUNT&].B < 64 OKAYB
SET COL[&LOOPCOUNT&].B 63
:OKAYB
SET COLOR LOOPCOUNT COL[&LOOPCOUNT&].R COL[&LOOPCOUNT&].G
>>> COL[&LOOPCOUNT&].B
LOOP 15
WAIT 1
INC LOCAL 1
IF LOCAL <= 63 LOOPOUTER
:D
#12
Posted 08 August 2001 - 11:53 PM
But anyway, I figured out how to do it. Thanks everyone.
#14
Posted 09 August 2001 - 04:05 AM
Where color is a numeric/counter pointing to the color and percent is the percentage. thats how you set up one colors brightness
loop start
set local to 100
dec local loopcount
color intensity 1 local percent
wait 1
loop 100
theres how to fade out color 1
loop start
color intensity 1 loopcount percent
wait 1
loop 100
to fade in color 1
Tada!
-=Artith=-
*easy!*
#15
Posted 09 August 2001 - 06:32 AM
#16
Posted 09 August 2001 - 06:23 PM
RoSS, on Aug 8 2001, 11:32 PM, said:
No, that's right. Each loop, it takes 100 and decreases it by the loopcount. It's just another method.
However, once again, you should have it loop for 99, not 100.
#17
Posted 09 August 2001 - 07:46 PM
#20
Posted 22 March 2007 - 08:39 PM
This topic is too old. Locked.
----
Thinking at the speed of dark.
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111

Help
This topic is locked







