The Dink Network

and1's Profile

pq_knight.gif
and1
Peasant He/Him
 
I discoverd dink 5 years ago.I didn't had accaunt till now.Since then i learned a little bout programing and now i am ready to dmods...

E-Mail magicianoffire92@yahoo.co.uk
Private Message

2006-02-26 07:10:41
pq_knight.gif
and1
Peasant He/Him
 
start-1.c

//start
void buttonon( void )
{
sp_pframe(&current_sprite, 2);
Playsound(20,22050,0,0,0);
}

void buttonoff( void )
{
sp_pframe(&current_sprite, 1);
Playsound(21,22050,0,0,0);
}

void click ( void )
{
Say_xy("`%Please wait. (Creating new game)", 0, 394);
wait(1);

//"turns game on"
set_mode(2);
reset_timer();
fill_screen(0);
//put dink in this room
&player_map = 32;

//make dink
sp_x(1, 180);
sp_y(1, 250);
sp_base_walk(1, 70);
sp_base_attack(1, 100);
sp_dir(1, 8);
sp_brain(1, 1);
sp_que(1, 0);
sp_noclip(1, 0);

//dinks weapons
add_item("item-fst",438, 1);
&cur_weapon = 1;
arm_weapon();

//status bar
&update_status = 1;
draw_status();

kill_this_task();
}

Maby this will help

and1 has written 1 review

TitleFileTypeScoreDate
Nice Tutorial Video Tutorial: WarpsNormalExceptional 9.0February 26th, 2006