and1's Profile
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...
start-1.c
//start
void buttonon( void )
{
sp_pframe(¤t_sprite, 2);
Playsound(20,22050,0,0,0);
}
void buttonoff( void )
{
sp_pframe(¤t_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
//start
void buttonon( void )
{
sp_pframe(¤t_sprite, 2);
Playsound(20,22050,0,0,0);
}
void buttonoff( void )
{
sp_pframe(¤t_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
Title | File | Type | Score | Date |
---|---|---|---|---|
Nice Tutorial | Video Tutorial: Warps | Normal | 9.0 | February 26th, 2006 |