|
Re: AckCon12 Live Stream
[Re: mk_1]
#403182
06/15/12 20:19
06/15/12 20:19
|
Joined: Jul 2001
Posts: 6,904
HeelX
Senior Expert
|
Senior Expert
Joined: Jul 2001
Posts: 6,904
|
|
|
|
Re: AckCon12 Live Stream
[Re: HeelX]
#403186
06/15/12 21:09
06/15/12 21:09
|
Joined: Apr 2005
Posts: 4,506 Germany
fogman
Expert
|
Expert
Joined: Apr 2005
Posts: 4,506
Germany
|
Laaaaaangweilig!!!  (Habt Ihr einen Zeitplan für die Vorträge? Oder waren die schon?)
no science involved
|
|
|
Re: AckCon12 Live Stream
[Re: fogman]
#403188
06/15/12 21:36
06/15/12 21:36
|
Joined: Dec 2000
Posts: 4,608
mk_1

Expert
|

Expert
Joined: Dec 2000
Posts: 4,608
|
|
|
|
Re: AckCon12 Live Stream
[Re: mk_1]
#403194
06/16/12 02:27
06/16/12 02:27
|
Joined: Aug 2003
Posts: 7,440 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,440
Red Dwarf
|
Hier schonmal ein code-spoiler für das nächste Lotter spiel:
void skychange ()
{
COLOR oldColor, newColor;
var factor = 0.0;
vec_set(oldColor.blue, screen_color.blue);
vec_set(newColor.blue, vector(random(255), random(255), random(255)));
while (1)
{
factor += 0.2 * time_step;
factor = clamp(factor, 0.0, 1.0);
vec_lerp(screen_color.blue, oldColor.blue, newColor.blue, factor);
vec_set(sky_color.blue, screen_color.blue);
if (factor == 1.0)
{
factor = 0.0;
vec_set(oldColor.blue, screen_color.blue);
vec_set(newColor.blue, vector(random(255), random(255), random(255)) );
}
wait(1);
}
}
Was tut das? Einfach in euer eigenes projekt einbauen und herausfinden!
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
Re: AckCon12 Live Stream
[Re: Michael_Schwarz]
#403197
06/16/12 08:17
06/16/12 08:17
|
Joined: Dec 2000
Posts: 4,608
mk_1

Expert
|

Expert
Joined: Dec 2000
Posts: 4,608
|
|
|
|
Re: AckCon12 Live Stream
[Re: mk_1]
#403201
06/16/12 08:46
06/16/12 08:46
|
Joined: Sep 2003
Posts: 9,859
FBL
Senior Expert
|
Senior Expert
Joined: Sep 2003
Posts: 9,859
|
|
|
|
|