【Xbox 360】 XNA Game Studio その10 【C#】at GAMEDEV
【Xbox 360】 XNA Game Studio その10 【C#】 - 暇つぶし2ch813:名前は開発中のものです。
10/08/01 14:00:47 PhpNw+LL
BoundingBox shotClsn1 = new BoundingBox(new Vector3(shot1pos[0].X, shot1pos[0].Y, 0),
                      new Vector3(shot1pos[0].X + 30, shot1pos[0].Y + 30, 0));

BoundingBox shotClsn1 = new BoundingBox(new Vector3(shot1pos[1].X, shot1pos[1].Y, 0),
                      new Vector3(shot1pos[1].X + 30, shot1pos[1].Y + 30, 0));
  ・
  ・
BoundingBox shotClsn1 = new BoundingBox(new Vector3(shot1pos[enemy1s.Count-1].X, shot1pos[enemy1s.Count-1].Y, 0),
                      new Vector3(shot1pos[enemy1s.Count-1].X + 30, shot1pos[enemy1s.Count-1].Y + 30, 0));


shotClsn1には一番最後のデータしか入ってないとか?
でもshotもenemyも1つずつだったらいけるのだろうか…
BoundingBoxの効力が及ばないという意味を詳しく


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch