Code:
var video_mode= 8;
var video_screen= 1;
var video_depth= 32;
var walk_speed;
var breath_speed;
var jump_speed;
string level_wmb= <disco.wmb>;
sound music= <bites_the_dust.mp3>;
sound oh_yeah= <oh_yeah.wav>;
string start_str= "Start Groovin'!";
action char_walk
{
my.fat= on;
my.narrow= on;
c_setminmax(my);
while(1)
{
if(key_cuu== on)
{
c_move(my,vector(0,6 * time_step,0),nullvector,glide);
ent_animate(my,"walk",walk_speed,anm_cycle);
walk_speed+= 7 * time_step;
}
else
{
ent_animate(my,"stand",breath_speed,anm_cycle);
breath_speed+= 3 * time_step;
}
if(key_cud== on)
{
c_move(my,vector(0,-6 * time_step,0),nullvector,glide);
ent_animate(my,"walk",walk_speed,anm_cycle);
walk_speed+= 7 * time_step;
}
if(key_cul== on)
{
my.pan+= 10 * time_step;
}
if(key_cur== on)
{
my.pan-= 10 * time_step;
}
if(key_j== on)
{
c_move(my,vector(0,0,15 * time_step),nullvector,glide);
ent_animate(my,"jump",jump_speed,anm_cycle);
jump_speed+= 14 * time_step;
}
else
{
c_move(my,vector(0,0,-15 * time_step),nullvector,glide);
}
wait(1);
}
}
And upon test running it:
Wrong typ bites_the_dust.mp3 music invalid file
I SWEAR my version isn't warez!
everything builds and runs just fine until now
my "About WED" window:
