제작 일지

크항 아이템 구연완료!

by 은색바람 posted Sep 08, 2012
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

{
draw_sprite(sprite_index,image_index,x,y)
d3d_set_projection_ortho(0,0,640,480,0)
draw_sprite_ext(spr_itemmenu,-1,16,410,1,1,0,c_white,1);
if (global.haveitem = 1)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
}
if (global.haveitem = 2)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
}
if (global.haveitem = 3)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item3,-1,161,440,1,1,0,c_white,1);
}
if (global.haveitem = 4)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item3,-1,161,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item4,-1,218,440,1,1,0,c_white,1);
}
if (global.haveitem = 5)
{
draw_sprite_ext(spr_item1,-1,34,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item2,-1,96,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item3,-1,161,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item4,-1,218,440,1,1,0,c_white,1);
draw_sprite_ext(spr_item5,-1,281,440,1,1,0,c_white,1);
}

d3d_set_projection_ortho(view_xview,view_yview,640,480,view_angle)
}

 

ㅋㅋ 아이템 구연완료ㅋ