07/12/08 02:21:58 HAW715W6
>>662
ものすごく死角から攻撃されたような衝撃です。
明日試して見ます。
そして新たに質問なんですけど、draw_sprite_stretchedでスプライトを下記の方法で表示すると一瞬で消えてしまうんですが、何が問題なのでしょう?
//X(攻撃)ボタン
if keyboard_check_pressed(ord('X')) {
attack = 1; ren += 1 ;
if ren == 1 {
if !muki_chk{ sprite_index = x1_r; }else{ sprite_index = x1_l; }
image_index = 0 ; image_speed = 1 ;
draw_sprite_stretched(spr_attack,0,x+10,y-20,50,20);
}else if ren == 2 {
if !muki_chk{ sprite_index = x2_r; }else{ sprite_index = x2_l; }
image_index = 0 ; image_speed = 1 ;
draw_sprite_stretched(spr_attack,0,x+10,y-20,30,40);
}
}