JP2004329531A - Game program, information storing medium, and game device - Google Patents

Game program, information storing medium, and game device Download PDF

Info

Publication number
JP2004329531A
JP2004329531A JP2003128810A JP2003128810A JP2004329531A JP 2004329531 A JP2004329531 A JP 2004329531A JP 2003128810 A JP2003128810 A JP 2003128810A JP 2003128810 A JP2003128810 A JP 2003128810A JP 2004329531 A JP2004329531 A JP 2004329531A
Authority
JP
Japan
Prior art keywords
character
game
ball
player
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003128810A
Other languages
Japanese (ja)
Other versions
JP3533393B1 (en
Inventor
Yoshiaki Hirai
芳明 平井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Namco Ltd
Original Assignee
Namco Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Namco Ltd filed Critical Namco Ltd
Priority to JP2003128810A priority Critical patent/JP3533393B1/en
Application granted granted Critical
Publication of JP3533393B1 publication Critical patent/JP3533393B1/en
Publication of JP2004329531A publication Critical patent/JP2004329531A/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To naturally control the motion of a character regarding a game development such as a soccer game in such a manner as to be based on the motion of an actual game player. <P>SOLUTION: A visual field 300 of a visibility angle α is set in the direction (the direction shown by arrow 122) of the body of a ball keeper character 120 who keeps a ball 500. Then, when the ball keeper character 120 is an NPC, one character from among player characters 100a belonging to the same team as the ball keeper character 120 is selected as a pass receiver character. Then, the ball keeper character 120 is controlled in a manner to pass the ball to the selected pass receiver character. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ゲーム情報、情報記憶媒体及びゲーム装置に関する。
【0002】
【従来の技術】
従来から、ゲーム空間内にキャラクタを配置・移動させ、所与の視点から見たゲーム空間内の様子をゲーム画像として生成・表示するゲーム装置においては、よりリアル感のあるゲーム画像を生成するため、様々な処理が行われている。例えば、スポーツゲームであれば、スポーツ競技者を模したキャラクタの動きを実際の競技者のそれにシミュレートすることで、ゲームの臨場感やリアル感の向上が図られている。
【0003】
例えば、特許文献1には、キャラクタにゲームを通して関わりのある目標体との間の物理的な距離や、ゲーム内容に関する関係が所定条件に合致する所定状態である際に、このキャラクタの視線(顔の向き)を目標体に向けさせる技術が開示されている。これによれば、例えばサッカーゲームの場合、ドリブルしているキャラクタに、ボールを蹴り出すタイミングを計ったり、パスを出すゾーンや味方キャラクタを探しているかのように周囲に視線を向ける(周りを見渡す)動作を行わせることができるため、実際のサッカー競技者の動作を、よりリアルにシミュレートすることができる。
【0004】
【特許文献1】
特開平10−290886号公報
【0005】
【発明が解決しようとする課題】
しかしながら、特許文献1に記載の技術は、ゲームの臨場感やリアル感を出すために行われる、いわば視覚効果に留まる制御であり、ゲーム展開そのものに関わる制御ではない。即ち、所定条件に応じてキャラクタの視線(顔の向き)を様々な方向に向けさせるが、視線を向けることによって、ドリブル中のキャラクタがボールを蹴り出すタイミングを決定したり、パスをするゾーンやキャラクタを決定しているものではない。
【0006】
従来のサッカーゲーム等においては、ゲーム展開に関わるキャラクタの動作は、キャラクタの位置(代表位置)に基づいて決定されるものであり、顔(視線)の向きが考慮されているものではなかった。このため、例えば、キャラクタの視線が右前方を向き、パスを出すゾーンや味方キャラクタを探している動作を行っているのにも関わらず、突如左後方にいるキャラクタにパスを出すなど、不自然な状態が発生していた。
【0007】
上記課題に鑑み、本発明は、サッカーゲーム等において、ゲーム展開に関わるキャラクタの動作を、実際の競技者の動作に即しつつ、且つ自然に制御することを目的としている。
【0008】
【課題を解決するための手段】
上記課題を解決するために、請求項1記載の発明は、
コンピュータに類する装置に、プレーヤの操作入力に応答して動作するPC(プレーヤキャラクタ)及びNPC(ノンプレーヤキャラクタ)を含むフィールド上を移動可能な複数のキャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームを実行させるためのゲーム情報であって、
ボール(例えば、図3のボール500)をキープしているボールキープキャラクタ(例えば、図3のボールキープキャラクタ120)を判定する判定手段(例えば、図9のボール管理部53)、
前記フィールド上に、ボールキープキャラクタの視野(例えば、図9の視野300)を設定する視野設定手段(例えば、図9のパス先候補キャラクタ抽出部54a)、
ボールキープキャラクタと同じチームに属し、且つ、前記視野設定手段によって設定された視野内に位置するキャラクタのうち、一のキャラクタを選択する選択手段(例えば、図9のパス先キャラクタ決定部54b)、
ボールキープキャラクタがNPCであった場合に、前記一のキャラクタにパスをするようにボールキープキャラクタの動作を制御する動作制御手段(例えば、図9のパス動作制御部54c)、
として前記装置を機能させるためのゲーム情報である。
【0009】
尚、ゲーム情報とは、ゲーム装置等の電子計算機(コンピュータ)による処理の用に供するプログラムに準じた情報の意である。
【0010】
また、請求項16に記載の発明は、
プレーヤの操作入力に応答して動作するPC(プレーヤキャラクタ)及びNPC(ノンプレーヤキャラクタ)を含むフィールド上を移動可能な複数のキャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームを実行するためのゲーム装置であって、
ボール(例えば、図3のボール500)をキープしているボールキープキャラクタ(例えば、図3のボールキープキャラクタ120)を判定する判定手段(例えば、図9のボール管理部53)と、
前記フィールド上に、ボールキープキャラクタの視野(例えば、図3の視野300)を設定する視野設定手段(例えば、図9のパス先候補キャラクタ抽出部54a)と、
ボールキープキャラクタと同じチームに属し、且つ、前記視野設定手段によって設定された視野内に位置するキャラクタのうち、一のキャラクタを選択する選択手段(例えば、図9のパス先キャラクタ決定部54b)と、
ボールキープキャラクタがNPCであった場合に、前記一のキャラクタにパスをするようにボールキープキャラクタの動作を制御する動作制御手段(例えば、図9のパス動作制御部54c)と、
を備えるゲーム装置である。
【0011】
この請求項1又は16に記載の発明によれば、ボールをキープしているボールキープキャラクタの視野がフィールド上に設定されるとともに、ボールキープキャラクタと同じチームに属し、且つ視野内に位置するキャラクタのうちから一のキャラクタが選択される。そして、ボールキープキャラクタがNPC(ノンプレーヤキャラクタ)であった場合には、選択されたキャラクタにパスをするように、ボールキープキャラクタの動作(挙動)が制御される。即ち、ボールキープキャラクタがパスをする際に、視野内に位置するキャラクタ、即ち、該ボールキープキャラクタが見えるであろうキャラクタにパスをするといった、実際の競技者の動作に即した自然な制御を実現できる。
【0012】
この場合、請求項2に記載の発明のように、請求項1に記載のゲーム情報であって、
前記視野設定手段が、ボールキープキャラクタの体或いは顔の向きに基づいて視野を設定するように前記装置を機能させるためのゲーム情報としても良い。
【0013】
この請求項2に記載の発明によれば、請求項1に記載の発明と同様の効果を奏するとともに、ボールキープキャラクタの体或いは顔の向きに基づいて視野が設定される。従って、例えばボールキープキャラクタの体或いは顔が向いている方向に設定することで、該ボールキープキャラクタの視野を、実際に見えるであろう範囲として、より適切に設定することが可能となる。
【0014】
また、請求項3に記載の発明のように、請求項1又は2に記載のゲーム情報であって、
前記複数のキャラクタ毎に視野角が予め設定されており、
前記視野設定手段が、前記判定手段によりボールキープキャラクタと判定されたキャラクタに設定されている視野角に応じて視野を設定するように前記装置を機能させるためのゲーム情報としても良い。
【0015】
この請求項3に記載の発明によれば、請求項1又は2に記載の発明と同様の効果を奏するとともに、ボールキープキャラクタの視野が、当該ボールキープキャラクタとして判定されたキャラクタに予め設定されている視野角に応じて設定される。従って、ボールキープキャラクタが変化すると、これに応じて設定される視野が変更されるので、キャラクタ毎に視野(見える範囲)が異なるといった実情に即した、より適切な視野の設定を実現できる。
【0016】
また、請求項4に記載の発明のように、請求項1〜3の何れか一項に記載のゲーム情報であって、
前記視野設定手段により設定された視野の視野角を可変する視野角可変手段(例えば、図9のパス先候補キャラクタ抽出手段54a)、として前記装置を機能させるためのゲーム情報としても良い。
【0017】
この請求項4に記載の発明によれば、請求項1〜3の何れか一項に記載の発明と同様の効果を奏するとともに、フィールド上に設定された視野の視野角が可変される。従って、例えば風雨等の悪天候時には視野角を小さくするように可変し、視界が悪くなる様子を再現する、或いは、現試合での出場時間が長くなるにつれ、視野角を小さくするように可変し、疲労によって集中力が低下する状態を再現するといった具合に、天候やキャラクタの体調等の条件に応じて視野角を可変することで、より適切な視野の設定を実現可能となる。
【0018】
また、請求項5に記載の発明のように、請求項1〜4の何れか一項に記載のゲーム情報であって、
所定時間前から現在までにボールキープキャラクタの視野内に位置したキャラクタを更新・記憶しておく記憶手段(例えば、図20の視野内キャラクタ履歴情報を記憶する記憶部70)、として前記装置を機能させるとともに、
前記選択手段が、ボールキープキャラクタと同じチームに属し、且つ前記記憶手段により記憶されているキャラクタのうち、一のキャラクタを選択するように前記装置を機能させるためのゲーム情報としても良い。
【0019】
この請求項5に記載の発明によれば、請求項1〜4の何れか一項に記載の発明と同様の効果を奏するとともに、所定時間前から現在までにボールキープキャラクタの視野内に位置したキャラクタが更新・記憶され、この記憶されているキャラクタのうちから選択された一のキャラクタにパスをするように、ボールキープキャラクタの動作が制御される。従って、現在見えているであろうキャラクタに限らず、少し前に見えていたキャラクタにもパスをすることができ、これによって、少し前には見えていたが現在見えないキャラクタに、現在の位置の見当をつけてパスをするといった表現を実現できる。
【0020】
この場合、請求項6に記載の発明のように、請求項5に記載のゲーム情報であって、
前記記憶手段が、前記所定時間を可変する時間可変手段(例えば、図9のパス先候補キャラクタ抽出部54a)を有するように前記装置を機能させるためのゲーム情報としても良い。
【0021】
この請求項6に記載の発明によれば、請求項5に記載の発明と同様の効果を奏するとともに、ボールキープキャラクタの視野内に位置するキャラクタを記憶しておく過去の時間範囲である所定時間が可変される。従って、キャラクタ毎にこの所定時間を可変することで、現在視野内に位置しない(見えていない)キャラクタにパスをすることができるキャラクタがいる一方、現在視野内に位置する(見えている)キャラクタにのみパスをすることができるキャラクタがいるといった具合に、キャラクタ毎に他のキャラクタの位置判断能力が異なるといった実際の競技者の動作に即した制御を実現できる。
【0022】
また、請求項7に記載の発明のように、請求項1〜6の何れか一項に記載のゲーム情報であって、
前記フィールド上に複数の標本地点(例えば、図5の領域AR、代表点Q)を設定する地点設定手段(例えば、図9のゲーム演算部51及び領域情報75)、
前記各キャラクタについて、当該キャラクタが現在の移動状況を維持した場合の所定時間後の位置(例えば、図5の仮想移動点P)を算出する慣性算出手段(例えば、図8の優勢度算出部55)、
前記算出された位置を始点として、当該キャラクタが前記設定された標本地点に到達するまでの時間を算出する到達時間算出手段(例えば、図5の優勢度算出部55)、
前記算出された前記各標本地点までのキャラクタの到達時間に基づいて、前記各チームの勢力に関する領域を認定する領域認定手段(例えば、図8の優勢度算出部55)、
として前記装置を更に機能させるとともに、
前記選択手段が、更に、前記領域認定手段によって認定された、ボールキープキャラクタのチームの勢力に関する領域を参照して、一のキャラクタを選択するように前記装置を機能させるためのゲーム情報としても良い。
【0023】
この請求項7に記載の発明によれば、請求項1〜6の何れか一項に記載の発明と同様の効果を奏するとともに、フィールド上に設定された複数の標本地点までの各キャラクタの到達時間に基づいて、各チームの勢力に関する領域が認定される。そして、ボールキープキャラクタのチームの勢力に関する領域を参照して、位置のキャラクタが選択される。認定される勢力に関する領域としては、例えばチームが優勢/劣勢な領域等がある。
【0024】
また、到達時間の算出においては、キャラクタの現在の移動状況を維持した場合の所定時間後の仮想的な移動位置が算出されて、該移動位置から標本地点までの到達時間が算出されることで、各キャラクタについて厳密な運動力学的なシミュレーションをせずに、少ない計算負荷でキャラクタの運動を加味した到達時間の算出が実現される。
【0025】
またこの場合、請求項8に記載の発明のように、請求項7に記載のゲーム情報であって、
前記到達時間算出手段により算出された到達時間を参照して、前記設定された各標本地点について、最も早く到達可能なキャラクタの到達時間が短くなるに従って高くなるように優勢度を算出する優勢度算出手段(例えば、図8の優勢度算出部55)として前記装置を更に機能させるとともに、
前記領域認定手段が、前記算出された各標本地点の優勢度に基づいて、前記各チームの勢力に関する領域を認定するように前記装置を機能させるためのゲーム情報であっても良い。
【0026】
この請求項8に記載の発明によれば、請求項7に記載の発明と同様の効果を奏するとともに、キャラクタの標本地点への到達時間の長短(大小)によって、勢力に関する領域が判定される。例えば、複数のチームについて、ある標本地点における勢力を考える場合、一方のチームに属するキャラクタの到達時間と、他方のチームに属するキャラクタの到達時間と、を比較して、到達時間が短いほど該標本地点に相手より速くキャラクタが到達できると判断できる。即ち、該標本地点は到達時間が最も短いキャラクタが属するチームが優勢な標本地点であると判断できる。
【0027】
請求項9に記載の発明は、
コンピュータに類する装置に、ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタ(例えば、図22の守備キャラクタ130)の移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行させるためのゲーム情報であって、
前記ゲーム空間中に着目位置(例えば、図22のボール500の位置)を設定する着目位置設定手段(例えば、図23の目標位置算出部63a)、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタ(例えば、図22のマークキャラクタ140)を選択する選択手段(例えば、図23の目標位置算出部63a)、
前記制御対象キャラクタの位置を中心として、前記注目キャラクタの位置と前記着目位置とが所定角度以内に収まる位置を目標位置(例えば、図22の目標位置D)として設定する目標位置手段(例えば、図23の目標位置算出部63a)、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段(例えば、図23の移動動作制御部63b)、
として前記装置を機能させるためのゲーム情報である。
【0028】
また、請求項17に記載の発明は、
ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタ(例えば、図22の守備キャラクタ130)の移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行するゲーム装置であって、
前記ゲーム空間中に着目位置(例えば、図22のボール500の位置)を設定する着目位置設定手段(例えば、図23の目標位置算出部63a)と、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタ(例えば、図22のマークキャラクタ140)を選択する選択手段(例えば、図23の目標位置算出部63a)と、
前記制御対象キャラクタの位置を中心として、前記注目キャラクタの位置と前記着目位置とが所定角度以内に収まる位置を目標位置(例えば、図22の目標位置D)として設定する目標位置手段、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段(例えば、図23の移動動作制御部63b)と、
を備えるゲーム装置である。
【0029】
この請求項9又は17に記載の発明によれば、ゲーム空間中に着目位置が設定されるとともに、制御対象キャラクタを除く複数のキャラクタのうちから一の注目キャラクタが選択される。そして、制御対象キャラクタの位置を中心として、この着目位置と注目キャラクタの位置とが所定角度以内に収まる位置が目標位置として設定され、この目標位置に向かうよう、制御対象キャラクタの移動が制御される。
【0030】
この場合、請求項10に記載の発明のように、請求項9に記載のゲーム情報であって、
前記所定角度は、前記制御対象キャラクタに予め設定された視野角であることを特徴とするゲーム情報としても良い。
【0031】
この請求項10に記載の発明によれば、請求項9に記載の発明と同様の効果を奏するとともに、所定角度が、制御対象キャラクタに予め設定された視野角とされる。即ち、注目位置及び注目キャラクタの位置の双方が視野に収まる位置が目標位置として設定される。このため、例えばサッカーゲームにおいて、制御対象キャラクタが守備側のチームのキャラクタである場合に、着目位置をボールの位置とするとともに、注目キャラクタを相手チームのマークするキャラクタとすることで、ボール及びマークするキャラクタの双方が視野内に収まる位置に向かって移動するといった、実際のサッカーでなされるような動作の制御を実現できる。
【0032】
また、請求項11に記載の発明のように、請求項9に記載のゲーム情報であって、
前記所定角度を可変する角度可変手段(例えば、図23の目標位置算出部63a)、として前記装置を機能させるためのゲーム情報としても良い。
【0033】
この請求項11に記載の発明によれば、請求項9に記載の発明と同様の効果を奏するとともに、所定角度が可変される。従って、例えば制御対象キャラクタ毎に所定角度を可変すると、これに応じて設定される目標位置が異なるので、キャラクタ毎に見える範囲が異なるといった実情に即した、より適切な移動の制御が実現できる。
【0034】
請求項12に記載の発明は、
コンピュータに類する装置に、ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタ(例えば、図22の守備キャラクタ130)の移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行させるためのゲーム情報であって、
前記ゲーム空間中に防御位置(例えば、図22のゴールラインの中央位置G)を設定する防御位置設定手段(例えば、図23の目標位置算出部63a)、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタ(例えば、図22のマークキャラクタ140)を選択する選択手段(例えば、図23の目標位置算出部63a)、
前記注目キャラクタの位置と前記防御位置とを結ぶ線分上に目標位置(例えば、図22の目標位置D)を設定する目標位置設定手段(例えば、図23の目標位置算出部63a)、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段(例えば、図23の移動動作制御部63b)、
として前記装置を機能させるためのゲーム情報である。
【0035】
また、請求項18に記載の発明は、
ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタ(例えば、図22の守備キャラクタ130)の移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行するゲーム装置であって、
前記ゲーム空間中に防御位置(例えば、図22のゴールラインの中央位置G)を設定する防御位置設定手段(例えば、図23の目標位置算出部63a)と、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタ(例えば、図22のマークキャラクタ140)を選択する選択手段(例えば、図23の目標位置算出部63a)と、
前記注目キャラクタの位置と前記防御位置とを結ぶ線分上に目標位置(例えば、図22の目標位置D)を設定する目標位置設定手段(例えば、図23の目標位置算出部63a)と、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段(例えば、図23の移動動作制御部63b)と、
を備えるゲーム装置である。
【0036】
この請求項12又は18に記載の発明によれば、ゲーム空間中に防御位置が設定されるとともに、制御キャラクタを除く複数のキャラクタのうちから一の注目キャラクタが選択される。そして、この防御位置と注目キャラクタの位置とを結ぶ線分上に目標位置が設定され、この目標位置に向かうように、制御対象キャラクタの移動が制御される。従って、例えばサッカーゲームにおいて、制御対象キャラクタが守備側のチームのキャラクタである場合に、防御位置をゴールの位置とするとともに、注目キャラクタを相手チームのマークするキャラクタとすることで、シュートコースを遮るような位置に向かって移動するといった、実際のサッカーでなされるような動作を実現できる。
【0037】
また、請求項13に記載の発明のように、請求項9〜11の何れか一項に記載のゲーム情報であって、
前記ゲーム空間中に防御位置(例えば、図22のゴールラインの中央位置G)を設定する防御位置設定手段(例えば、図23の目標位置算出部63a)、として前記装置を機能させるとともに、
前記目標位置設定手段が、▲1▼前記制御対象キャラクタを中心として、前記注目キャラクタの位置と前記着目位置とが所定角度以内に収まり、且つ、▲2▼前記注目キャラクタの位置と前記防御位置とを結ぶ線分上に、目標位置を設定するように前記装置を機能させるためのゲーム情報としても良い。
【0038】
この請求項13に記載の発明によれば、請求項9〜11の何れか一項に記載の発明御と同様の効果を奏するとともに、ゲーム空間中に防御位置が設定され、▲1▼制御対象キャラクタの位置を中心として、この着目位置と注目キャラクタの位置とが所定角度以内に収まり、且つ、▲2▼注目キャラクタの位置と防御位置とを結ぶ線分上に、目標位置が設定される。
【0039】
この場合、請求項14に記載の発明のように、請求項13に記載のゲーム情報であって、
プレーヤの操作入力に応答して動作するPC(プレーヤキャラクタ)及びNPC(ノンプレーヤキャラクタ)を含むフィールド上を移動可能な複数の選手キャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームを前記装置に実行させるとともに、
前記着目位置設定手段が、前記ボールの位置を着目位置に設定するように前記装置を機能させるとともに、
前記防御位置設定手段が、前記ゴール領域内の所与の位置を防御位置に設定するように前記装置を機能させるためのゲーム情報としても良い。
【0040】
この請求項14に記載の発明によれば、請求項13に記載の発明と同様の効果を奏するとともに、ボールの位置が着目位置に設定されるとともに、ゴール領域内の所与の位置が防御位置に設定される。従って、例えばサッカーゲームにおいて、制御対象キャラクタが守備側のチームのキャラクタである場合に、注目キャラクタを相手チームのマークするキャラクタとすることで、ボール及びマークするキャラクタの双方が視野内に収まり、且つ、シュートコースを遮るような位置に向かって移動するといった、実際のサッカーでなされるような動作を実現できる。
【0041】
更に、請求項15に記載の発明は、請求項1〜14の何れか一項に記載のゲーム情報を記憶したコンピュータに類する装置によって読み取り可能な情報記憶媒体である。
【0042】
情報記憶媒体としては、各種のICメモリ、CD−ROM、DVD、MO、メモリカード、メモリーカセット、ハードディスクなどが該当する。そして、この請求項15に記載の発明によれば、コンピュータに類する装置に、この情報記憶媒体からゲーム情報等を読み出させて演算処理させることによって、請求項1〜14の何れか一項に記載の発明と同様の効果を実現することができる。
【0043】
【発明の実施の形態】
以下、図面を参照して、本発明の実施の形態を詳細に説明する。尚、以下におおいては、本発明をサッカーゲームに適用した場合について説明するが、本発明の適用がこれに限定されるものではない。
【0044】
[外観]
図1は、本発明を家庭用ゲーム装置に適用した場合の一例を示す図である。同図によれば、家庭用ゲーム装置は、本体装置1200と、ゲームコントローラ1202,1204とを備え、スピーカ1302を具備するディスプレイ1300に接続される。
【0045】
ゲームプログラムや初期データ等のゲームを実行するために必要な情報であるゲーム情報は、例えば本体装置1200に着脱自在な情報記憶媒体であるCD−ROM1212、ICメモリ1214、メモリカード1216等に格納されている。或いは、ゲーム情報を、本体装置1200に具備された通信装置1206を介して通信回線Nに接続し、外部装置から取得しても良い。通信回線Nは、データ授受が可能な通信路を意味する。即ち、通信回線Nとは、直接接続のための専用線(専用ケーブル)やイーサネット(登録商標)等によるLANの他、電話通信網やケーブル網、インターネット等の通信網を含む意味であり、また、通信方法については有線/無線を問わない。
【0046】
本体装置1200は、例えばCPU等の演算処理装置、ICメモリ1214やCD−ROM1212等の情報記憶媒体の読取装置を具備する。そして、CD−ROM1212等から読み出したゲーム情報と、ゲームコントローラ1202,1204からの操作信号とに基づいて種々のゲーム処理を実行し、ディスプレイ1300にゲーム画面を表示させるとともに、スピーカ1302からゲーム音を出力させる。
【0047】
プレーヤは、ディスプレイ1300に表示されたゲーム画面を見ながら、ゲームコントローラ1202,1204に備えられたボタン等を操作してサッカーゲームを楽しむ。
【0048】
[ゲーム画面]
図2は、ディスプレイ1300に表示されるゲーム画面の一例を示す図である。ゲーム画面は、仮想空間にキャラクタや背景等のオブジェクトを配置して設定されたゲーム空間内の様子を、所与の視点(仮想カメラ等)から見た三次元CG画像として表示される。
【0049】
同図は、プレーヤが操作するAチームと、コンピュータによって制御されるBチームと、が対戦中のゲーム画面を示しており、Aチームの選手キャラクタ100(以下、適宜「選手キャラクタ100a」と表記する。)と、Bチームの選手キャラクタ100(以下、適宜「選手キャラクタ100b」と表記する。)と、ボールオブジェクト(以下、単に「ボール」と称する。)500と、が表示されている。
【0050】
選手キャラクタ100aには、プレーヤの操作入力に応答して動作する一のキャラクタ(以下、適宜「プレーヤキャラクタ;PC」と称する。)が含まれる。プレーヤキャラクタにはマーカMが表示されており、このマーカMによって、プレーヤは、どの選手キャラクタ100aを操作するのかを判別することができる。尚、プレーヤキャラクタは、例えばボール500に最も近いキャラクタやプレーヤによって指定されたキャラクタ等に、試合(ゲーム)の進行に伴って任意に切り換えられる。
【0051】
また、選手キャラクタ100aの内、プレーヤキャラクタを除くキャラクタ、及び、選手キャラクタ100bの全ては、コンピュータによってその動作が制御されるキャラクタ(以下、適宜「ノンプレーヤキャラクタ;NPC」と称する。)である。
【0052】
このように構成される家庭用ゲーム装置に適用される2つの実施の形態について、以下、順に説明する。
【0053】
〔第1の実施の形態〕
先ず、第1の実施の形態を説明する。
第1の実施の形態は、ボール500をキープしている選手キャラクタ100がパス動作を行う際に、当該選手キャラクタ100の視野を考慮して、パスを出す先の選手キャラクタ100を決定するものである。
【0054】
[原理]
図3は、第1の実施の形態におけるパス先キャラクタ決定の原理を説明するための図であり、フィールドFLの全体俯瞰図を示している。同図によれば、フィールドFL上には、それぞれ11人の選手キャラクタ100a−1〜100a−11及び選手キャラクタ100bと、1つのボール500と、が配置されており、プレーヤ或いはコンピュータによりその動作が指示・制御されることによって、サッカーゲームが進行する。
【0055】
選手キャラクタ100やボール500等のオブジェクトの位置(詳細には、該オブジェクトの代表点の位置)は、フィールドFLの1つのコーナ(長方形状の頂点)を原点とするローカル座標系(XYZ直交座標系)によって表現される。ローカル座標系は、X−Z平面とフィールドFLとが平行となるように定義されており、X軸方向がフィールドFLのゴールライン(エンドラインとも言う。)と一致し、Z軸方向がサイドライン(タッチラインとも言う。)と一致するように定められている。
【0056】
即ち、選手キャラクタ100やボール500等のオブジェクトの位置は三次元座標(x,y,z)で表現されるが、以下においては、説明の簡略のため、該位置をX−Z平面に投影した二次元座標(x、z)で表現されることとする。
【0057】
また、フィールドFL上には、現在、ボール500をキープしている選手キャラクタ100(以下、適宜「ボールキープキャラクタ120」と称する。)の位置に基づいて、当該ボールキープキャラクタ120の視野300が設定される。同図では、選手キャラクタ100a−8がボールキープキャラクタ120であり、該キャラクタについての視野300が示されている。
【0058】
視野300は、ボールキープキャラクタ120が見えるであろう範囲(視界)を表す領域であり、扇形状を成している。視野300は、扇形状の頂点がボールキープキャラクタ120の位置に一致するとともに、扇形状の中心角(以下、適宜「視野角」と称する。)αの二等分線と、ボールキープキャラクタ120の体の向き(図中、矢印122が示す方向)とが一致するように設定される。尚、視野300は、フィールドFL上に仮想的に設定される領域であり、ゲーム画面では表示されない。
【0059】
そして、ボールキープキャラクタ120がノンプレーヤキャラクタである場合には、パス動作を行う際に、パス先の選手キャラクタ100(以下、適宜「パス先キャラクタ」と称する。)が次のように決定される。尚、ボールキープキャラクタ120がプレーヤキャラクタである場合には、プレーヤの操作入力に応じて、その動作が制御される。
【0060】
即ち、ボールキープキャラクタ120と同じチームの選手キャラクタ100(以下、適宜「味方キャラクタ」と称する。)の内、視野300内に位置する選手キャラクタ100が、パス先キャラクタの候補(以下、適宜「パス先候補キャラクタ」と称する。)として抽出される。同図では、ボールキープキャラクタ120がAチームの選手キャラクタ100aであるため、視野300内に位置するAチームの選手キャラクタ100a−1〜7が、パス先候補キャラクタとして抽出される。
【0061】
ここで、選手キャラクタ100が視野300内に位置するか否かの判断は、次のように実現される。即ち、図4に示すように、ボールキープキャラクタ120の体の向きを示す向きベクトル124と、ボールキープキャラクタ120の位置から判断対象の選手キャラクタ100の位置へ向かう対象ベクトル126と、が成す角βが算出される。そして、この角βと、視野300の視野角αと、が比較され、次式(1)を満たせば、該選手キャラクタ100が視野300内に位置すると判断される。
β≦α/2 ・・・・(1)
【0062】
パス先候補キャラクタが抽出されると、これらのパス先候補キャラクタの内、一のキャラクタがパス先キャラクタとして決定される。そして、当該パス先キャラクタに向けての、ボールキープキャラクタ120のパス動作が行われる。
【0063】
パス先キャラクタは、ゲーム空間内の地理的な勢力分布に基づいて決定される。具体的には、図5に示すように、フィールドFLには、メッシュ状の領域ARが設定されている。即ち、領域ARは、全体としてX軸及びZ軸方向に沿ってマトリクス状に設定されている。領域ARの具体的な大きさの比率としては、例えば実寸に換算して、フィールドFLの大きさ「105×68m」に対して領域ARが約2m四方となる比率である。領域ARの代表点Qは、例えば該領域ARの略中心位置に設定されるが、該領域ARに含まれる位置であれば適宜設定して構わない。
【0064】
また、各領域ARには、地理的な勢力情報として、チーム毎の最小到達時間Tsと、優勢度と、が設定されている。優勢度とは、該領域ARにおいてどちらのチームの勢力がどの程度優勢であるのかを示す指標であり、チーム間の相対的な勢力差(勢力の度合の差)を示すものである。優勢度は、該領域ARに対する、各チームの最小到達時間Tsの差として与えられる。
【0065】
図6(a)は、一の選手キャラクタ100についての、領域ARまでの到達時間Tの算出方法を示す概念図である。同図に示すように、選手キャラクタ100が、現在のフィールドFL上の位置を起点に、現在の速度Vで所定時間(例えば、0.5秒)等速運動したと仮定した場合の仮想移動点Pが求められる。そして、この仮想移動点Pを中心として、所定の到達時間算出範囲ACに代表点Qが含まれる領域AR(以下、単に「到達時間算出範囲ACに含まれる領域AR」と称する。)が算出される。到達時間算出範囲ACは、例えば実寸に換算して、選手キャラクタ100の仮想移動点Pから半径15mとなる範囲で設定される。
【0066】
そして、到達時間算出範囲ACに含まれる全ての領域ARそれぞれについて、仮想移動点Pから代表点Qまでの距離Lを、選手キャラクタ100毎に予め設定されている能力パラメータの一つである能力速度Va(例えば、選手キャラクタ100の最大速度)で除することで、当該領域ARへの到達時間Tが算出される。より具体的には、例えば実物のフィールドの大きさ「105×68m」とXZ座標値の比率とから、仮想移動点Pから代表点Qまでの座標値の差を実際の距離に変換し、能力速度Vaで除して、到達時間Tが算出される。
【0067】
一の選手キャラクタ100について到達時間Tを見ると、図6(b)に示すように、仮想移動点Pを中心として略同心円状に変化する到達時間T(同図中の各数字が到達時間Tの概略秒数の例である。)が求められる。尚、到達時間算出範囲ACに含まれない領域ARについては、十分に大きな仮想的な到達時間T(例えば、10秒)が設定される。
【0068】
そして、他の選手キャラクタ100についても同様に、フィールドFL上に存在する全ての選手キャラクタ100について各領域AR毎の到達時間Tが算出されると、各領域AR毎に、各チームの最小到達時間Ts、更に優勢度が求められる。
【0069】
具体的には、該チームに属する各選手キャラクタ100の到達時間Tの内、最も短い到達時間Tが、該領域ARの最小到達時間Tsとして採用される。そして、各チームの最小到達時間Tsの差、具体的には、Aチームの最小到達時間TaとBチームの最小到達時間Tbとの差分が、該領域ARでの優勢度とされる。従って、優勢度の値が正(即ち、Ta>Tb)である場合には、Bチームが優勢であることを示し、負(即ち、Ta<Tb)である場合には、Aチームが優勢であることを示すことになる。
【0070】
例えば、図7では、領域ARにおける、選手キャラクタ100aによるAチームの最小到達時間Taは「3.5秒」であり、選手キャラクタ100bによるBチームの最小到達時間Tbは「2.6秒」である。従って、該領域ARの優勢度は「0.9(=3.5−2.6)」であり、Bチームが優勢となる。
【0071】
そして、本実施の形態では、優勢度に基づいて、パス先候補キャラクタ決定される。具体的には、パス先候補キャラクタが位置する各領域ARの優勢度が参照され、優勢度が最も“高い”領域ARに位置するパス先候補キャラクタが、パス先キャラクタとして決定される。
【0072】
尚、優勢度は、上述のように、その値の正負によってどちらのチームが優勢であるかを示している。このため、ボールキープキャラクタ120が何れのチームに属するかによって、優勢度が“高い”と判断する基準が異なる。具体的には、ボールキープキャラクタ120がAチームに属する場合には、優勢度の値が最も小さい(負の値であり、且つ絶対値が最も大きい)領域ARが優勢度が“高く”なり、一方、ボールキープキャラクタ120がBチームに属する場合には、優勢度の値が最も大きい(正の値であり、且つ絶対値が最も大きい)領域ARが優勢度が“高く”なる。
【0073】
例えば、図8では、Aチームに属するボールキープキャラクタ120に対して、パス先候補キャラクタとして、Aチームに属する選手キャラクタ100a―1〜3が示されている。各選手キャラクタ100a−1〜3が位置する領域AR−1〜3の優勢度は、それぞれ「2.2」、「3.5」、「1.2」である。従って、ここでは、優勢度が最も“高い”領域AR−2に位置する選手キャラクタ100a−2が、パス先キャラクタとして選択・決定される。
【0074】
[機能構成]
図9は、第1の実施の形態における機能構成を示すブロック図である。同図によれば、第1の実施の形態において、家庭用ゲーム装置1は、操作入力部10と、画像表示部20と、音出力部30と、通信部40と、処理部50と、記憶部70と、を備えて構成される。
【0075】
操作入力部10は、例えばボタンスイッチ、レバー、ダイヤル、マウス、キーボード、各種センサ等によって実現され、プレーヤによる操作入力に応じた操作入力信号を処理部50に出力する。図1では、ゲームコントローラ1202,1204がこれに該当する。
【0076】
画像表示部20は、画像生成部58からの画像信号に基づいて、例えば1/60秒毎に1フレームの画面を再描画しながらゲーム画面を表示する。その機能は、例えばCRT、LCD、ELD、PDP、HMD等のハードウェアによって実現される。図1では、ディスプレイ1300がこれに該当する。
【0077】
音出力部30は、音生成部59からの音信号に基づいて、効果音やBGM等のゲーム音を放音出力する。この機能は、例えばスピーカ等の音出力装置によって実現され、図1では、スピーカ1302がこれに該当する。
【0078】
通信部40は、通信回線に接続して外部装置とのデータの送受信を行う。この機能は、例えば、Bluetooth(登録商標)やIrDA等のモジュール、モデム、TA、有線用の通信ケーブルのジャックや制御回路等によって実現される。図1では、通信装置1206がこれに該当する。
【0079】
処理部50は、家庭用ゲーム装置1全体の制御、ゲーム演算等の各種演算処理を行う。その機能は、例えばCPU(CISC型、RISC型)、ASIC(ゲートアレイ等)等のハードウェア及び関連する制御プログラム等により実現される。図1では、本体装置1200に具備されるCPU等の演算処理装置がこれに該当する。
【0080】
また、処理部50は、主にゲームに係る演算処理を行うゲーム演算部51と、ゲーム演算部51の処理によって求められた各種のデータからゲーム画面を表示させるための画像信号を生成する画像生成部58と、効果音やBGM等のゲーム音を出力させるためのゲーム音を生成する音生成部59と、を含む。
【0081】
ゲーム演算部51は、操作入力部10からの操作入力信号や、記憶部70から読み出したプログラムやデータに基づいて種々のゲーム処理を実行する。ゲーム処理として、例えば仮想空間への視点やオブジェクトの配置、操作入力部10から入力された操作入力信号に基づくキャラクタの動作制御、ボールの移動演算や制御、ゲーム結果の算出等を実行する。また、ゲーム演算部51は、PC管理部52と、ボール管理部53と、NPC制御部54と、優勢度算出部55と、を含む。
【0082】
PC管理部52は、プレーヤキャラクタを管理する。具体的には、何れの選手キャラクタ100がプレーヤキャラクタであるかを判断し、判断結果に応じてプレーヤキャラクタ情報74を更新するとともに、操作入力部10から入力される操作信号に応じて、プレーヤキャラクタの動作を制御する。
【0083】
ボール管理部53は、ボール500を管理する。具体的には、ボール500の現在位置を検出してボール位置情報75を更新するとともに、ボール500が選手キャラクタ100にキープされた状態(キープ状態)にあるか否かや、何れの選手キャラクタ100がボールキープキャラクタであるかを判断し、判断結果に応じてボールキープ情報76を更新する。
【0084】
NPC制御部54は、ノンプレーヤキャラクタ、即ち、プレーヤキャラクタを除く10人の選手キャラクタ100a及び11人の選手キャラクタ100bの動作を制御する。また、NPC制御部54は、パス先候補キャラクタ抽出部54aと、パス先キャラクタ決定部54bと、パス動作制御部54cと、を含む。
【0085】
パス先候補キャラクタ抽出部54aは、ボールキープキャラクタ120がパス動作を行う際に、キャラクタ位置情報73及び視野情報72aを参照してパス先候補キャラクタを抽出し、抽出結果に応じてパス先候補キャラクタ情報77を更新する。詳細には、視野情報72aを参照して、ボールキープキャラクタ120に対応する視野角αの視野300をフィールドFL上に設定する。そして、ボールキープキャラクタ120と同じチームに属する選手キャラクタ100(味方キャラクタ)の内、設定した視野300内の選手キャラクタ100を、パス先候補キャラクタとして抽出する。
【0086】
パス先キャラクタ決定部54bは、パス先候補キャラクタ抽出部54aにより抽出されたパス先候補キャラクタの内からパス先キャラクタを決定し、決定結果に応じてパス先キャラクタ情報78を更新する。具体的には、キャラクタ位置情報73及び領域情報79を参照し、優勢度が最も“高い“領域ARに位置するパス先候補キャラクタを、パス先キャラクタとして選択・決定する。
【0087】
パス動作制御部54cは、パス先キャラクタ決定部54bにより決定されたパス先キャラクタに対する、ボールキープキャラクタ120のパス動作を制御する。
【0088】
優勢度算出部55は、ゲーム空間中の地理的な勢力分布を算出する。具体的には、フィールドFL上の全ての選手キャラクタ100について、到達時間算出範囲ACに含まれる各領域ARの代表点Qに到達するまでの到達時間Tを算出する。そして、各領域ARにおけるチーム毎の最小到達時間Tsを算出するとともに、この最小到達時間Tsの差分から該領域ARの優勢度を算出し、算出結果に応じて領域情報79を更新する。
【0089】
画像生成部58は、例えばCPUやDSP等の演算装置やその制御プログラム、フレームバッファ等の描画フレーム用ICメモリ等によって実現される。画像生成部58は、ゲーム演算部51による演算結果に基づいて幾何学変換処理やシェーディング処理を実行し、ゲーム画面を表示するためのゲーム画像を生成する。そして、生成したゲーム画像の画像信号を画像表示部20に出力する。
【0090】
音生成部59は、ゲーム音を出力させるための音信号を生成する。この機能は、例えばCPUやDSP等の演算装置やその制御プログラム等によって実現される。音生成部59は、記憶部70に記憶された音データ(不図示)に基づいてゲーム中に使用される効果音やBGM等の音を適当なタイミングで生成し、生成した音の音信号を音出力部30へ出力する。
【0091】
記憶部70は、処理部50に家庭用ゲーム装置1を統合的に制御させるための諸機能を実現するためのシステムプログラムや、ゲームを実行させるために必要なプログラムやデータ等を含むゲーム情報71を記憶する。記憶部70は、例えば各種ICメモリやハードディスク、CD−ROM、DVD、MO等の情報記憶媒体によって実現される。図1では、本体装置1200が具備するCD−ROM1212、ICメモリ1214、メモリカード1216がこれに該当する。
【0092】
ゲーム情報71には、処理部50をゲーム演算部51として機能させるためのプログラム及びデータが含まれる。具体的には、プログラムとしてパス先キャラクタ決定プログラム91が含まれ、またデータとして、キャラクタ情報72と、キャラクタ位置情報73と、プレーヤキャラクタ情報74と、ボール位置情報75と、ボールキープ情報76と、パス先候補キャラクタ情報77と、パス先キャラクタ情報78と、領域情報79と、が含まれる。
【0093】
キャラクタ情報72は、選手キャラクタ100等、サッカーゲームに登場するキャラクタに関する情報であり、例えばモデリングデータ、テクスチャデータ、モーションデータ、効果音等の音データに加え、例えば能力速度Va等の能力パラメータ、視野情報72a、が含まれている。
【0094】
視野情報72aは、選手キャラクタ100の視野300の情報であり、図10にそのデータ構成の一例を示す。
図10は、視野情報72aのデータ構成の一例を示す図であり、Aチームについてのデータが示されている。同図によれば、視野情報72aは、選手キャラクタ100毎に、当該選手キャラクタ100を識別する選手ID(721a)と、視野角α(722a)と、を対応付けて記憶している。尚、視野情報72aは、ゲームの進行を通じて変更されない固定的なデータである。
【0095】
キャラクタ位置情報73は、選手キャラクタ100の位置の情報であり、図11にそのデータ構成の一例を示す。
図11は、キャラクタ位置情報73のデータ構成の一例を示す図であり、Aチームについてのデータが示されている。同図によれば、キャラクタ位置情報73は、選手キャラクタ100毎に、選手ID(73a)と、フィールドFL上の現在の位置(73b)と、体の向き(73c)と、速度(73d)と、を対応付けて記憶する。ここで、体の向き(73c)は、対応する選手キャラクタ100の体の向きを示す向きベクトル124(対応する現在位置(73b)を始点としている。)を正規化して単位ベクトルに変換し、ローカル座標系の原点を始点とした場合の終点の二次元座標F(x,z)で表現される。
【0096】
プレーヤキャラクタ情報74は、プレーヤキャラクタを示す情報であり、図12に示すように、プレーヤキャラクタである選手キャラクタ100の選手IDを記憶する。
【0097】
ボール位置情報75は、ボール500の位置の情報であり、図13に示すように、ボール500の現在位置を記憶する。
【0098】
ボールキープ情報76は、ボール500のキープ状況の情報であり、図14に示すように、現在、ボール500がキープ状態にあるか否か(キープ状態/非キープ状態)を示すボール500のキープ状況と、ボールキープキャラクタ120の選手IDと、を記憶する。尚、ボール500が非キープ状態にある場合には、直前のボールキープキャラクタ120の選手IDが記憶される。
【0099】
パス先候補キャラクタ情報77は、パス先候補キャラクタの情報であり、図15に示すように、パス先候補キャラクタの選手IDを記憶する。ここで記憶される選手IDは、複数であって良い。
【0100】
パス先キャラクタ情報78は、パス先キャラクタの情報であり、図16に示すように、パス先キャラクタの選手IDを記憶する。ここで記憶される選手IDは、パス先候補キャラクタ情報77が示すパス先候補キャラクタの内から選択された一のキャラクタの選手IDである。
【0101】
領域情報79は、フィールドFLに設定されている領域ARの情報であり、図17にそのデータ構成の一例を示す。
図17は、領域情報79のデータ構成の一例を示す図である。同図によれば、領域情報79には、領域AR(79a)毎に、代表点Qの座標(79b)と、Aチームの最小到達時間Ta(79c)と、Bチームの最小到達時間Tb(79d)と、優勢度(79e)と、を対応付けて記憶する。
【0102】
[処理の流れ]
図18は、第1の実施の形態におけるパス先キャラクタ決定に係る処理の流れを説明するためのフローチャートである。この処理は、NPC制御部54が、記憶部70のパス先キャラクタ決定プログラム91に従った処理を実行することで実現される。尚、サッカーゲームの進行に係る処理は、従来のサッカーゲームと同様にして実行可能であるので、ここでの説明は省略する。
【0103】
図18によれば、NPC制御部54は、先ず、ボールキープ情報76を参照して、現在のボール500のキープ状況を判断する。判断の結果、キープ状態でなければ(ステップS11:NO)、従来のサッカーゲームと同様に、ノンプレーヤキャラクタである各選手キャラクタ100の動作を制御する。
【0104】
一方、キープ状態であれば(ステップS11:YES)、NPC制御部54は、ボールキープ情報76を参照して、ボールキープキャラクタ120が何れの選手キャラクタ100であるかを判断する(ステップS12)。次いで、プレーヤキャラクタ情報74を参照して、ボールキープキャラクタ120がプレーヤキャラクタであるか否かを判断し、プレーヤキャラクタでなければ(ステップS13:NO)、続いて、ボールキープキャラクタ120の次の動作を決定する。
【0105】
次の動作をパス動作と決定すると(ステップS14:YES)、パス先候補キャラクタ抽出部54aが、パス先候補キャラクタの抽出を行う。具体的には、先ず、ボールキープキャラクタ120と同じチームに属する選手キャラクタ100(味方キャラクタ)の内から一の選手キャラクタ100を判断対象として選択する(ステップS15)。尚、ここで選択する選手キャラクタ100は、現在試合に出場中であり、ボールキープキャラクタ120を除く合計10人の選手キャラクタ100であるとする。
【0106】
次いで、図4に示したように、ボールキープキャラクタ120の体の向きを示す向きベクトル124と、ボールキープキャラクタ120の位置から判断対象として選択した選手キャラクタ100の位置へ向かう対象ベクトル126と、を算出して、双方のベクトルが成す角βを算出する(ステップS16)。
【0107】
続いて、パス先候補キャラクタ抽出部54aは、算出した角βと、ボールキープキャラクタ120の視野角αと、を比較し、式(1)を満たすか否かを判断する。その結果、満たしている、即ち、角βが視野角αの1/2以下(β≦α/2)であれば(ステップS17:YES)、判断対象の選手キャラクタ100を、パス先候補キャラクタとする(ステップS18)。
【0108】
その後、味方キャラクタの全てについて、判断対象として選択したか否かを判定し、選択していなければ(ステップS19:NO)、ステップS15に移行して、他の味方キャラクタを次の判断対象として選択し、同様の処理を行う。そして、味方キャラクタの全てについて、判断対象として選択し、ステップS15〜S18の処理を行うと(ステップS19:YES)、パス先キャラクタ決定部54bが、領域情報79を参照して、抽出したこれらのパス先候補キャラクタが位置する領域ARの内、優勢度が最も“高い”領域ARに位置するパス先候補キャラクタを、パス先キャラクタとして選択・決定する(ステップS20)。
【0109】
パス先キャラクタを決定すると、パス動作制御部54cが、ボールキープキャラクタ120の動作を制御して、決定されたパス先キャラクタに対するパス動作を実行させる(ステップS21)。
以上の処理を行うと、NPC制御部54は、本処理を終了する。
【0110】
[ハードウェア構成]
次に、家庭用ゲーム装置1を実現できるハードウェア構成について説明する。
図19は、本実施の形態におけるハードウェア構成の一例を示す図である。同図によれば、家庭用ゲーム装置1は、CPU1000と、ROM1002と、RAM1004と、情報記憶媒体1006と、音生成IC1008と、画像生成IC1010と、I/Oポート1012、1014とを有し、システムバス1016により相互にデータの入出力が可能に接続されている。また、I/Oポート1012にはコントロール装置1022が接続され、I/Oポート1014には通信装置1024が接続されている。
【0111】
CPU1000は、情報記憶媒体1006に格納されているプログラムやデータ、ROM1002に格納されているシステムプログラムやデータ、コントロール装置1022によって入力される操作入力信号等に従って、家庭用ゲーム装置1全体の制御や各種データ処理を行う。尚、CPU1000は、図5の処理部50に該当する。
【0112】
ROM1002、RAM1004、情報記憶媒体1006は、図5の記憶部70に該当する。ROM1002は、家庭用ゲーム装置1のシステムプログラムや、図5に示す記憶部70に記憶されている情報の内、特に、予め設定されているプログラムやデータ等を記憶する。RAM1004は、CPU1000の作業領域として用いられる記憶手段であり、例えば、1フレーム分の画像データ、ROM1002や情報記憶媒体1006の所与の内容、CPU1000の演算結果等が格納される。また、情報記憶媒体1006は、ICメモリカードや本体装置に着脱自在なハードディスクユニット、MO等によって実現される。
【0113】
音生成IC1008は、情報記憶媒体1006やROM1002に記憶される情報に基づいて効果音やBGM等のゲーム音を生成する集積回路であり、生成されたゲーム音はスピーカ1020によって出力される。尚、音生成IC1008は、図5の音生成部59に該当し、スピーカ1020は、図5の音出力部30、図1のスピーカ1302に該当する。
【0114】
画像生成IC1010は、CPU1000からの画像情報に基づいて表示装置1018に表示するゲーム画面の画素情報を生成する集積回路である。表示装置1018は、画像生成IC1010で生成された画素情報に基づくゲーム画面を表示する。尚、画像生成IC1010は、図5の画像生成部58に該当し、表示装置1018は、図5の画像表示部20、図1のディスプレイ1300に該当する。
【0115】
尚、音生成IC1008、画像生成IC1010等で行われる処理は、CPU1000或いは汎用のDSP等によってソフトウェア的に実行されることとしても良い。
【0116】
コントロール装置1022は、プレーヤがゲームの進行に応じて種々のゲーム操作を入力するための装置である。このコントロール装置1022は、図5の操作入力部10、図1のゲームコントローラ1202,1204に該当する。
【0117】
通信装置1024は、家庭用ゲーム装置1内部で使用される各種情報を外部とやり取りするための装置であり、他のゲーム装置と接続されてゲームプログラムに応じた所与の情報を送受信したり、通信回線を介してゲームプログラム等の情報を送受信する等に利用される。この通信装置1024は、図5の通信部40、図1の通信装置1206に該当する。
【0118】
また、本発明は、図1に示した家庭用ゲーム装置1だけでなく、業務用ゲーム装置や携帯型ゲーム装置、多数のプレーヤが参加する大型アトラクション装置等の種々の装置にも同様に適用できる。
【0119】
更に、本発明は、スタンドアロンの装置によって実行されるゲームに限らず、ネットワークゲームと呼ばれているゲームに適用可能であるのは勿論である。ネットワークゲームを実現するシステム構成としては、例えば、▲1▼家庭に設置してあるパソコンや家庭用ゲームシステム等をゲーム端末とし、インターネット網や専用線等の有線/無線の通信回線を通じてサーバと接続する構成、▲2▼サーバを用いることなく複数のゲーム端末同士が通信回線で接続される構成、▲3▼複数のゲーム端末同士が通信回線で接続されるが、その内の一台がサーバ機能を有する構成、▲4▼複数のゲーム端末が物理的に結合し、全体として一台のシステム(例えば、業務用のゲームシステム)となっている構成、等がある。
【0120】
[効果]
以上、第1の実施の形態によれば、ボールキープキャラクタ120がパス動作を行う場合、当該ボールキープキャラクタ120の視野300がフィールドFL上に設定される。そして、この視野300内に位置し、且つボールキープキャラクタ120と同じチームに属する選手キャラクタ100(パス先候補キャラクタ)の内から選択された一のキャラクタ(パス先候補キャラクタ)にパスをするように、ボールキープキャラクタ120の動作が制御される。従って、ボールキープキャラクタ120の視野300内に位置する、即ち、見えるであろう味方キャラクタにパスをするといった、実際のサッカー競技者の動作に即した自然な制御を実現できる。
【0121】
また、視野300の視野角αは、選手キャラクタ100毎に定められ、ボールキープキャラクタ120となる選手キャラクタ100に応じた視野300が設定される。このため、キャラクタ毎に見える範囲が異なるといった、実情に即した視野300の設定を実現できる。
【0122】
[変形例]
尚、上述した第1の実施の形態においては、現在、視野300内に位置する味方キャラクタをパス先候補キャラクタとして抽出することとしたが、これに加えて、過去にボールキープキャラクタ120の視野300内に位置していた味方キャラクタもパス先候補キャラクタとして抽出することとしても良い。
【0123】
この場合、記憶部70は、更に、過去に視野300内に位置していた味方キャラクタの情報である視野内キャラクタ履歴情報91と、パス先候補キャラクタを抽出する際に抽出対象とするフレームの情報である対象フレーム情報92と、を記憶する。
【0124】
図20は、視野内キャラクタ履歴情報91のデータ構成の一例を示す図であり、Aチームについてのデータが示されている。同図によれば、視野内キャラクタ履歴情報91は、選手キャラクタ100毎に、選手ID(91a)と、現フレーム、1フレーム前及び2フレーム前において視野300内に位置する(していた)味方キャラクタ(91b)と、を対応付けて記憶する。味方キャラクタ(91b)には、該当する選手キャラクタ100の選手IDが記憶される。
【0125】
この視野内キャラクタ履歴情報91は、1フレーム毎に更新される。即ち、1フレーム毎に、各選手キャラクタ100について、プレーヤキャラクタ/ノンプレーヤキャラクタであるに関わらず、該選手キャラクタ100の視野300がフィールドFL上に設定され、この視野300内に位置する同じチームに属する選手キャラクタ100(味方キャラクタ)が抽出され、現フレームでの味方キャラクタとして記憶される。
【0126】
また、図21は、対象フレーム情報92のデータ構成の一例を示す図であり、Aチームについてのデータが示されている。同図によれば、対象フレーム情報92は、選手キャラクタ100毎に、選手ID(92a)と、選択対象とする選択対象フレーム(92b)と、を対応付けて記憶している。
【0127】
そして、パス先候補キャラクタを抽出する際に、パス先候補キャラクタ抽出部54aが、対象フレーム情報92を参照して、ボールキープキャラクタ120に対応する選択対象フレームを判断するとともに、視野内キャラクタ履歴情報91を参照して、判断した選択対象フレームにおいて視野300内に位置する(していた)味方キャラクタを、パス先候補キャラクタとして抽出する。
【0128】
例えば、ボールキープキャラクタ120が、Aチームの選手キャラクタ100a(選手IDが「A−03」であるとする。)である場合、図21に示す対象フレーム情報92によれば、該選手キャラクタ100の選択対象フレームは、「現フレーム」及び「1フレーム前」である。また、図20に示す視野内キャラクタ履歴情報91によれば、該選手キャラクタ100の、「現フレーム」において視野300内に位置する味方キャラクタの選手IDは、「A−01」、「A−04」、「A−05」及び「A−08」であり、「1フレーム前」において視野300内に位置していた味方キャラクタの選手IDは、「A−01」、「A−02」及び「A−04」である。従って、選手IDが「A−01」、「A−02」、「A−04」、「A−05」及び「A−08」である選手キャラクタ100が、パス先候補キャラクタとして抽出される。
【0129】
このように、視野内キャラクタ履歴情報91に記憶された、数フレーム前に視野300内に位置していた味方キャラクタについてもパス先候補キャラクタとして抽出することで、現在見えているであろう味方キャラクタに限らず、少し前に見えいた味方キャラクタにもパスをすることができる。このため、少し前には見えていたが現在見えていない味方キャラクタに、現在の位置の見当をつけてパスをするといった表現を実現できる。
【0130】
更に、ボールキープキャラクタ120が何れの選手キャラクタ100であるかによって、パス先候補キャラクタを抽出する対象となるフレームが異なるので、現在見えていない味方キャラクタにパスをすることができる選手キャラクタ100がいる一方、現在見えている味方キャラクタにのみパスをすることができるといった選手キャラクタ100がいるといった具合に、他のキャラクタの位置判断能力が異なるといった表現を実現できる。
【0131】
また、上述した第1の実施の形態では、視野300は、扇形状の中心角の二等分線が、ボールキープキャラクタ120の体の向きと一致するように設定されることとしたが、これを、ボールキープキャラクタ120の顔の向きと一致するように設定することとしても良いし、更に、体或いは顔の向きが、視野300の扇形状の二等分線と、必ずしも一致しなくとも良い。
【0132】
更に、上述した第1の実施の形態では、優勢度を参照して、パス先候補キャラクタの内からバス先キャラクタを選択・決定することとしたが、優勢度に関わらず、例えばランダムに選択することとしても良いし、ボールキープキャラクタ120の正面近傍に位置するキャラクタを選択することとしても良い。
【0133】
〔第2の実施の形態〕
次に、第2の実施の形態を説明する。尚、以下の説明において、上述した第1の実施の形態と同一要素については同符合を付し、詳細な説明を省略する。
第2の実施の形態は、守備側のチームの選手キャラクタ100が位置すべき目標位置を決定する際に、当該選手キャラクタ100の視野を考慮して決定するものである。
【0134】
[原理]
図22は、第2の実施の形態における目標位置決定の原理を説明するための図であり、フィールドFLの一部俯瞰図を示している。フィールドFL上に配置される各選手キャラクタ100には、上述した第1の実施の形態と同様に、視野の情報(具体的には、視野角α)が対応付けられている。
【0135】
第2の実施の形態では、守備側のチーム(以下、適宜「守備チーム」と称する。)の選手キャラクタ100は、攻撃側のチーム(以下、適宜「攻撃チーム」と称する。)の選手キャラクタ100をマークすべく、それぞれに定められた目標位置Dに向かうよう、その移動動作が制御される。
【0136】
攻撃/守備チームは、次のように判断される。即ち、ボール500をキープしている選手キャラクタ100(ボールキープキャラクタ120)が属するチームが攻撃チームとなり、他方のチームが守備チームとなる。また、ボール500がキープ状態でない場合(非キープ状態)では、直前のボールキープキャラクタ120が属するチームが攻撃チームとなる。同図では、ボールキープキャラクタ120がBチームの選手キャラクタ100bであるので、Bチームが攻撃チームとなり、Aチームが守備チームとなる。
【0137】
また、守備チームの選手キャラクタ100(以下、適宜「守備キャラクタ130」と称する。)の目標位置Dは、次の二つの条件を満たす位置に定められる。即ち、▲1▼マークする攻撃チームの選手キャラクタ100(以下、適宜「マークキャラクタ140」と称する。)の位置と、守備チームのゴール側のゴールラインの中央位置Gと、を結ぶ線分L上であり、▲2▼マークキャラクタ140及びボール500の両方が視野に収まる位置、である。
【0138】
ここで、目標位置Dが、マークキャラクタ140及びボール500の両方が視野内に収まる位置であるか否かの判断は、具体的には、次のように実現される。即ち、目標位置Dからボール500の位置へ向かうベクトル(以下、適宜「ボールベクトル132」と称する。)と、目標位置Dからマークキャラクタ140の位置へ向かうベクトル(以下、適宜「守備ベクトル134」と称する。)と、が成す角θが算出される。そして、この角θと、守備キャラクタ130の視野角αと、が比較され、次式(2)を満たせば、目標位置Dは、マークキャラクタ140及びボール500の両方が視野300内に収まる位置であると判断される。
θ≦α ・・・(2)
【0139】
[機能構成]
図23は、第2の実施の形態における機能構成を示すブロック図である。同図によれば、第2の実施の形態において、家庭用ゲーム装置1は、操作入力部10と、画像表示部20と、音出力部30と、通信部40と、処理部60と、記憶部80と、を備えて構成される。また、ゲーム演算部61は、PC管理部52と、ボール管理部53と、攻守判断部62と、守備キャラクタ制御部63と、を含む。
【0140】
攻守判断部62は、攻撃チーム/守備チームを判断する。具体的には、ボールキープ情報76を参照して、ボールキープキャラクタ120が属するチームを攻撃チームと判断するととともに、他方のチームを守備チームと判断し、判断結果に応じて攻守情報85を更新する。尚、ボール500が何れの選手キャラクタ100にもキープされていない状態(非キープ状態)である場合には、直前の母^るキープキャラクタ120が属するチームを、攻撃チームと判断する。
【0141】
守備キャラクタ制御部63は、攻守判断部62によって判断された守備チームの選手キャラクタ100(守備キャラクタ130)を制御する。守備キャラクタ制御部63は、目標位置算出部63aと、移動動作制御部63bと、を含む、
【0142】
目標位置算出部63aは、攻守判断部62により判断された守備キャラクタ130それぞれの目標位置Dを算出し、算出結果に応じて目標位置情報84を更新する。
【0143】
移動動作制御部63bは、目標位置情報84を参照して、守備キャラクタ130が目標位置Dに向かうよう、その移動動作を制御する。但し、守備キャラクタ130にプレーヤキャラクタが含まれる場合には、当該プレーヤキャラクタである守備キャラクタ120の移動制御は行わない。
【0144】
また、記憶部80に記憶されるゲーム情報71には、キャラクタ情報82と、キャラクタ位置情報83と、目標位置情報84と、プレーヤキャラクタ情報74と、ボール位置情報75と、ボールキープ情報76と、攻守情報85と、守備キャラクタ制御プログラム92と、が含まれる。また、キャラクタ情報82には、視野情報72aと、マークキャラクタ情報82aと、が含まれる。
【0145】
マークキャラクタ情報82aは、守備チームとなった場合に、各選手キャラクタ100がマークする選手キャラクタ100の情報であり、図24にそのデータ構成の一例を示す。
図24は、マークキャラクタ情報82aのデータ構成の一例を示す図であり、Aチームについてのデータを示している。同図によれば、マークキャラクタ情報82aは、選手キャラクタ100毎に、選手ID(821a)と、マークキャラクタ(822a)と、を対応付けて記憶している。マークキャラクタ(822a)には、該キャラクタの選手IDが記憶される。尚、マーク選手情報82aは、ゲームの進行を通じて変更されない固定的なデータである。
【0146】
キャラクタ位置情報83は、選手キャラクタ100の位置の情報であり、図25にそのデータ構成の一例を示す。
図25は、キャラクタ位置情報83のデータ構成の一例を示す図であり、Aチームについてのデータが示されている。同図によれば、キャラクタ位置情報83は、選手キャラクタ100毎に、選手ID(83a)と、フィールドFL上の現在位置(83b)と、を対応付けて記憶する。
【0147】
目標位置情報84は、守備チームとなった場合の、各選手キャラクタ100の目標位置Dの情報であり、図26にそのデータ構成の一例を示す。
図26は、目標位置情報84のデータ構成の一例を示す図であり、Aチームについてのデータを示している。同図によれば、目標位置情報84は、選手キャラクタ100毎に、選手ID(84a)と、目標位置(84b)と、を対応付けて記憶する。
【0148】
攻守情報85は、攻撃/守備チームを示す情報であり、図27に示すように、攻撃チーム(85a)及び守備チーム(85b)それぞれのチーム名を記憶する。
【0149】
[処理の流れ]
図28は、第2の実施の形態における目標位置決定に係る処理の流れを説明するためのフローチャートである。この処理は、守備キャラクタ制御部63が、1フレーム毎に、記憶部80の守備キャラクタ制御プログラム92に従った処理を実行することで実現される処理である。尚、サッカーゲームの進行に係る処理は、従来のサッカーゲームと同様にして実行可能であるので、ここでの説明は省略する。
【0150】
図28によれば、先ず、移動動作制御部63bが、目標位置情報84を参照して、それぞれの目標位置Dに向かうよう、守備キャラクタ130の移動動作を制御する(ステップS31)。但し、守備キャラクタ130にプレーヤキャラクタが含まれる場合には、当該プレーヤキャラクタに対して、目標位置Dに基づく移動制御は行わず、操作入力部10から入力される操作信号に応じた動作を行わせる。すると、画像生成部58によって現フレームでのゲーム画像が生成され、画像表示部20に表示される。
【0151】
次いで、目標位置算出部63aが、守備チームの各選手キャラクタ100についての次フレームでの目標位置Dを算出して、目標位置情報84を更新する。具体的には、先ず、守備キャラクタ130の内から一のキャラクタを、目標位置Dの設定対象の守備キャラクタ130として選択する(ステップS32)。そして、プレーヤキャラクタ情報74を参照して、設定対象の守備キャラクタ130がプレーヤキャラクタであるか否かかを判断する。
【0152】
その結果、プレーヤキャラクタでなければ(ステップS33:NO)、目標位置算出部63aは、目標位置情報84を参照して、設定対象の守備キャラクタ130の現フレームでの目標位置Dが、マークする選手キャラクタ100(マークキャラクタ140)の位置と味方ゴール側のゴールラインの中央位置Gとを結ぶ線分L上に位置するか否かを判断する(ステップS34)。
【0153】
その結果、当該線分L上であれば(ステップS34:YES)、目標位置算出部63aは、続いて、現フレームでの目標位置Dからマークキャラクタ140の位置へ向かう守備ベクトル134と、目標位置Dからボール500の位置へ向かうボールベクトル132と、を算出して、双方のベクトルが成す角θを算出する(ステップS35)。そして、算出した角θと、設定対象の守備キャラクタ130の視野角αと、を比較し、式(2)を満たすか否かを判断する。判断の結果、満たしている、即ち、角θが視野角α以下(θ≦α)であれば(ステップS36:YES)、現フレームでの目標位置Dを、そのまま、次フレームの目標位置Dとする。
【0154】
一方、現フレームでの目標位置Dが線分L上に位置しない場合(ステップS34:NO)、或いは、角θが視野角αより大きい場合には(ステップS36:NO)、目標位置算出部63aは、設定対象の守備キャラクタ130の位置に最も近い線分L上の位置に、目標位置D´を仮設定する(ステップS37)。
【0155】
次いで、仮設定した目標位置D´からマークキャラクタ140の位置へ向かう守備ベクトル134´と、目標位置D´からボール500の位置へ向かうボールベクトル132´と、を算出し、双方のベクトルが成す角φを算出する(ステップS38)。そして、算出した角φと、設定対象の守備キャラクタ130の視野角αとを比較し、式(2)を満たすか否かを判断する。判断の結果、満たして居る、即ち、角φが視野角α以下(φ≦α)であれば(ステップS39:YES)、仮設定した目標位置D´を、次フレームでの目標位置Dとして決定する(ステップS40)。
【0156】
一方、角φが視野角αより大きい場合には(ステップS39:NO)、仮設定した目標位置D´から守備チームのゴール側の方向へ所定距離lだけ離れた線分L上の位置に、再度、目標位置D´を仮設定する(ステップS41)。そして、ステップS38に移行し、角φが視野角α以下となるまで、同様の処理を繰り返す。
【0157】
このように、設定対象の守備キャラクタ130について、次フレームでの目標位置Dを設定すると、続いて、守備キャラクタ130の全てについて、設定対象として選択したか否かを判断する。判断の結果、選択していなければ(ステップS42:NO)、ステップS32に移行して、他の守備キャラクタ130を次の設定対象として選択し、同様の処理を行う。そして、守備キャラクタ130の全てについて次フレームでの目標位置Dを決定すると(ステップS42:YES)、守備キャラクタ制御部63は、本処理を終了する。
【0158】
[効果]
以上、第2の実施の形態によれば、守備チームの選手キャラクタ100(守備キャラクタ130)の制御を行う場合、攻撃チームのマークする選手キャラクタ100(マークキャラクタ140)と守備チームのゴール側のゴールラインの中央位置Gとを結ぶ線分L上であり、且つ、該位置からマークキャラクタ140に向かう守備ベクトル134とボール500に向かうボールベクトル132とが成す角θが守備キャラクタの視野角α以下となる位置に、目標位置Dが設定される。そして、この目標位置Dに向かうよう、守備キャラクタ130の移動が制御される。即ち、マークキャラクタ140及びボール500の双方が視野300に収まり、且つ、マークキャラクタ140のシュートコースを遮るような位置に向かって移動するといった、実際のサッカーでなされるような守備側の動作を実現できる。
【0159】
[変形例]
尚、上述した第2の実施の形態において、上述した二つの条件▲1▼、▲2▼を満たす位置がフィールドFL内に無い場合、即ち、目標位置DがフィールドFL内に設定されない場合には、この二つの条件▲1▼、▲2▼の内、一方のみを満たす位置をフィールドFL内の位置を、目標位置Dとして設定することとしても良い。
【0160】
〔実施の形態の変形例〕
尚、本発明の適用は、上述した2つの実施の形態に限定されることなく、本発明の趣旨を逸脱しない範囲で適宜変更可能である。例えば、次の変形例が挙げられる。
【0161】
(1)視野角αを可変とする
上述した第1及び第2の実施の形態においては、視野情報72aに記憶されている視野角αの視野300を設定することとしたが、これを、ゲーム状況に応じて視野角αを可変し、可変後の視野角α´で視野を設定することとしても良い。
【0162】
例えば、天候や選手キャラクタ100の体調に応じて視野角αを可変することができる。より具体的には、風雨等の悪天候時には視野角αを小さくするように可変し、視界が悪くなる様子を再現する、或いは、現試合での出場時間が長くなるにつれ、視野角αを小さくするように可変し、疲労によって集中力が低下する状態を再現する、といったことを実現できる。
【0163】
更に、視野角αの可変は、全ての選手キャラクタ100について同一量だけ可変することとしても良いし、選手キャラクタ100毎に異なる量を可変することとしても良い。また、全ての選手キャラクタに限らず、一部の選手キャラクタ100についてのみ行うこととしても良い。
【0164】
(2)視野300の半径r
また、視野300の情報として、視野角αに加えて、扇形状の半径である視野半径rを加えることとしても良い。この場合、視野情報72aは、選手キャラクタ100毎に、視野角αと、視野半径rと、を対応付けて記憶する。
【0165】
そして、第1の実施の形態では、選手キャラクタ100が視野300内に位置するか否かを判断する際に、パス先候補キャラクタ抽出部54aが、更に、ボールキープキャラクタ120の位置と判断対象の選手キャラクタ100の位置との間の距離L1を算出し、この距離L1と、ボールキープキャラクタ120に対応する視野半径rとを比較する。そして、距離L1が視野半径r以下(L1≦r)であれば、該選手キャラクタ100は視野300内に位置すると判断する。
【0166】
また、第2の実施の形態では、目標位置Dを設定する際に、目標位置算出部63aが、更に、目標位置D(或いは、仮設定した目標位置D´)とマークキャラクタ140の位置との間の距離L2を算出し、この距離L2と、守備キャラクタ130に対応する視野半径rと、を比較する。そして、距離L2が視野半径r2以下(L2≦r)であれば、目標位置Dとしての条件▲2▼を満たしている、即ち、マークキャラクタ140とボール500との双方が視野300内に収まる位置であると判断する。
【0167】
(3)適用するゲーム
また、上述した2つの実施の形態では、本発明をサッカーゲームに適用する場合について説明したが、本発明が適用可能なゲームの種類はこれに限られるものではない。具体的には、バスケットボールやホッケー、ラグビー等の、プレーヤの操作入力に応答して動作するプレーヤキャラクタ(PC)及びノンプレーヤキャラクタ(MPC)を含むフィールド上を移動可能な複数の選手キャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームが好適である。
【0168】
更に、第2の実施の形態では、守備チームのゴール側のゴールラインの中央位置Gとマークキャラクタ140とを結ぶ線分L上であって、ボール500とマークキャラクタ140とが視野300内に収まる位置に目標位置Dを設定し、この目標位置Dに向けて、制御対象キャラクタである守備キャラクタ130が移動するように制御することとして説明した。しかし、ゲームのルール上、制御対象キャラクタが防御すべき領域・地点・オブジェクトであれば、ゴールラインの中央位置Gである必要は無く、所定の防御位置として設定するとしても良い。また、ボール500も、ゲームのルール上、制御対象キャラクタが注目すべき領域・地点・オブジェクトであれば、ボール500である必要は無く、所定の着目位置として設定するとしても良い。
【0169】
具体的には、例えば城を守りつつ、2人の敵キャラクタと対戦する兵士キャラクタ(NPCであるとする)の移動を制御する場合には、城の位置(詳細には、門の位置や入口等)を防御位置とするとともに、一方の敵キャラクタを注目キャラクタとし、他方の敵キャラクタの位置を注目位置として、兵士キャラクタの移動を制御することとしても良い。
【0170】
【発明の効果】
本発明によれば、ボールをキープしているボールキープキャラクタの視野がフィールド上に設定されるとともに、ボールキープキャラクタと同じチームに属し、且つ視野内に位置するキャラクタのうちから一のキャラクタが選択される。そして、ボールキープキャラクタがNPC(ノン・プレーヤ・キャラクタ)であった場合には、選択されたキャラクタにパスをするように、ボールキープキャラクタの動作が制御される。即ち、ボールキープキャラクタがパスをする際に、視野内に位置するキャラクタ、即ち、該ボールキープキャラクタが見えるであろうキャラクタにパスをするといった、実際の競技者の動作に即した自然な制御を実現できる。
【0171】
また、制御対象キャラクタを除く複数のキャラクタのうちから一の注目キャラクタが選択されて、▲1▼制御対象キャラクタの位置を中心として、この注目キャラクタの位置とゲーム空間内に設定された着目位置とが所定角度以内に収まり、且つ、▲2▼注目キャラクタの位置とゲーム空間内に設定された防御位置とを結ぶ線上に、目標位置が設定される。そして、この目標位置に向かうよう、制御対象キャラクタの移動が制御される。従って、例えばサッカーゲームにおいて、制御対象キャラクタが守備側のチームのキャラクタである場合に、注目キャラクタを相手チームのマークするキャラクタに、着目位置をボールの位置に、防御位置をゴール領域内の所与の位置とすることで、ボール及びマークするキャラクタの双方が視野内に収まり、且つ、シュートコースを遮るような位置に向かって移動するといった、実際のサッカーでなされるような動作を実現できる。
【図面の簡単な説明】
【図1】本発明を適用した家庭用ゲーム装置の外観図。
【図2】ゲーム画面の一例を示す図。
【図3】第1の実施の形態におけるパス先選手決定の原理を説明するための図。
【図4】選手キャラクタが視野内に位置するか否かの判断方法を説明するための図。
【図5】フィールドに設定される領域を示す図。
【図6】到達時間Tの算出方法を説明する概念図。
【図7】優勢度の算出方法を説明する概念図。
【図8】パス先キャラクタの決定を説明する概念図。
【図9】第1の実施の形態における機能構成を示すブロック図。
【図10】視野情報のデータ構成例を示す図。
【図11】キャラクタ位置情報のデータ構成例を示す図。
【図12】プレーヤキャラクタ情報のデータ構成例を示す図。
【図13】ボール位置情報のデータ構成例を示す図。
【図14】ボールキープ情報のデータ構成例を示す。
【図15】パス先候補キャラクタ情報のデータ構成例を示す図。
【図16】パス先キャラクタ情報のデータ構成例を示す図。
【図17】領域情報のデータ構成例を示す図。
【図18】第1の実施の形態におけるパス先キャラクタ決定に係る処理の流れを説明するためのフローチャート。
【図19】本発明を適用した家庭用ゲーム装置を実現するためのハードウェア構成の一例を示す図。
【図20】視野内キャラクタ履歴情報のデータ構成例を示す図。
【図21】対象フレーム情報のデータ構成例を示す図。
【図22】第2の実施の形態における目標位置決定の原理を説明するための図。
【図23】第2の実施の形態における機能構成を示すブロック図。
【図24】マークキャラクタ情報のデータ構成例を示す図。
【図25】キャラクタ位置情報のデータ構成例を示す図。
【図26】目標位置情報のデータ構成例を示す図。
【図27】攻守情報のデータ構成例を示す図。
【図28】第2の実施の形態における目標位置決定に係る処理の流れを説明するためのフローチャート。
【符号の説明】
1 家庭用ゲーム装置
10 操作入力部
20 画像表示部
30 音出力部
40 通信部
50、60 処理部
51、61 ゲーム演算部
52 PC管理部
53 ボール管理部
54 NPC制御部
54a パス先候補キャラクタ抽出部
54b パス先キャラクタ決定部
54c パス動作制御部
55 優勢度算出部
62 攻守判断部
63 守備キャラクタ制御部
63a 目標位置算出部
63b 移動動作制御部
58 画像生成部
59 音生成部
70 記憶部
71、81 ゲーム情報
72、82 キャラクタ情報
72a 視野情報
82b マークキャラクタ情報
73、83 キャラクタ位置情報
74 プレーヤキャラクタ情報
75 ボール位置情報
76 ボールキープ情報
77 パス先候補キャラクタ情報
78 パス先キャラクタ情報
79 領域情報
84 目標位置情報
85 攻守情報
91 パス先キャラクタ決定プログラム
92 守備キャラクタ制御プログラム
FL フィールド
AR 領域
Q 代表点
100 選手キャラクタ
100a Aチームの選手キャラクタ
100b Bチームの選手キャラクタ
120 ボールキープキャラクタ
130 守備キャラクタ
140 マークキャラクタ
300 視野
α 視野角
500 ボールオブジェクト(ボール)
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to game information, an information storage medium, and a game device.
[0002]
[Prior art]
Conventionally, in a game device that arranges and moves a character in a game space, and generates and displays a game image as viewed from a given viewpoint, a game image with a more realistic feeling is generated. Various processes have been performed. For example, in the case of a sports game, the realism and realism of the game are improved by simulating the movement of a character imitating a sports athlete as that of an actual athlete.
[0003]
For example, Patent Document 1 discloses that when a physical distance between a character and a target that is related to the character through the game and a relationship regarding the game content are in a predetermined state that matches a predetermined condition, the character's line of sight (face The technology for directing the orientation of the target body toward the target body is disclosed. According to this, for example, in the case of a soccer game, a dribbling character is timed to kick the ball, or looks around as if looking for a pass zone or a friend character (look around) ) Since the action can be performed, the action of the actual soccer player can be simulated more realistically.
[0004]
[Patent Document 1]
Japanese Patent Laid-Open No. 10-290886
[0005]
[Problems to be solved by the invention]
However, the technique described in Patent Document 1 is control that is limited to the visual effect and is not related to the game development itself, which is performed in order to give the game a sense of realism and realism. In other words, depending on the predetermined condition, the character's line of sight (face orientation) is directed in various directions. By directing the line of sight, the timing at which the dribbling character kicks the ball, It does not determine the character.
[0006]
In a conventional soccer game or the like, the action of the character related to the game development is determined based on the position (representative position) of the character, and the direction of the face (line of sight) is not considered. For this reason, for example, even though the character's line of sight is directed to the right front, and a movement to search for a pass zone or a friend character is being performed, a pass is suddenly given to the character at the left rear. An unusual situation occurred.
[0007]
In view of the above problems, an object of the present invention is to naturally control the movement of a character related to game development in a soccer game or the like in accordance with the movement of an actual player.
[0008]
[Means for Solving the Problems]
In order to solve the above problem, the invention according to claim 1
A plurality of characters that can move on a field including a PC (player character) and an NPC (non-player character) that operate in response to an operation input by a player are divided into a plurality of teams and fight against a computer-like device. Game information for running a game that puts the game in the goal area,
Determination means (for example, the ball management unit 53 in FIG. 9) for determining a ball keep character (for example, the ball keep character 120 in FIG. 3) that keeps the ball (for example, the ball 500 in FIG. 3);
Field setting means (for example, pass destination candidate character extraction unit 54a in FIG. 9) for setting the field of view of the ball keep character (for example, field of view 300 in FIG. 9) on the field,
A selection means (for example, a pass destination character determination unit 54b in FIG. 9) that selects one of the characters belonging to the same team as the ball keep character and located within the field of view set by the field of view setting means;
When the ball keep character is an NPC, motion control means for controlling the motion of the ball keep character so as to pass the one character (for example, the pass motion control unit 54c in FIG. 9),
Game information for causing the device to function.
[0009]
The game information means information according to a program provided for processing by an electronic computer (computer) such as a game device.
[0010]
The invention according to claim 16
A game in which a plurality of characters that can move on a field including a PC (player character) and an NPC (non-player character) that operate in response to a player's operation input are divided into a plurality of teams, and a ball is placed in a goal area A game device for executing
Determination means (for example, the ball management unit 53 in FIG. 9) for determining a ball keep character (for example, the ball keep character 120 in FIG. 3) that keeps the ball (for example, the ball 500 in FIG. 3);
A field setting unit (for example, a pass destination candidate character extraction unit 54a in FIG. 9) for setting a field of view of the ball keep character (for example, field of view 300 in FIG. 3) on the field;
A selection means (for example, a pass destination character determination unit 54b in FIG. 9) that selects one of the characters belonging to the same team as the ball keep character and located within the visual field set by the visual field setting means; ,
Action control means (for example, a pass action control unit 54c in FIG. 9) for controlling the action of the ball keep character so as to pass the one character when the ball keep character is an NPC;
It is a game device provided with.
[0011]
According to the invention described in claim 1 or 16, the field of view of the ball keep character that keeps the ball is set on the field, and the character that belongs to the same team as the ball keep character and is located within the field of view. One of the characters is selected. When the ball keep character is an NPC (non-player character), the operation (behavior) of the ball keep character is controlled so as to pass the selected character. That is, when the ball keep character makes a pass, natural control according to the action of the actual player, such as making a pass to a character located within the field of view, that is, a character that the ball keep character will be able to see, is performed. realizable.
[0012]
In this case, as in the invention according to claim 2, the game information according to claim 1,
The visual field setting means may be game information for causing the device to function so as to set the visual field based on the direction of the body or face of the ball keep character.
[0013]
According to the second aspect of the invention, the same effect as that of the first aspect of the invention can be obtained, and the field of view is set based on the direction of the body or face of the ball keep character. Therefore, for example, by setting the direction of the body or face of the ball keep character, the field of view of the ball keep character can be more appropriately set as a range that will be actually seen.
[0014]
Further, as in the invention according to claim 3, the game information according to claim 1 or 2,
A viewing angle is preset for each of the plurality of characters,
The visual field setting means may be game information for causing the device to function so as to set the visual field according to the visual field angle set for the character determined as the ball-keep character by the determination means.
[0015]
According to the third aspect of the invention, the same effect as that of the first or second aspect of the invention can be achieved, and the field of view of the ball keep character is preset to the character determined as the ball keep character. It is set according to the viewing angle. Accordingly, when the ball keep character changes, the field of view set in accordance with the change is changed. Therefore, a more appropriate field of view can be set in accordance with the actual situation that the field of view (viewing range) differs for each character.
[0016]
Further, as in the invention according to claim 4, the game information according to any one of claims 1 to 3,
Game information for causing the apparatus to function as viewing angle variable means (for example, pass destination candidate character extracting means 54a in FIG. 9) that changes the viewing angle of the field of view set by the field setting means may be used.
[0017]
According to the fourth aspect of the invention, the same effect as that of any one of the first to third aspects of the invention can be achieved, and the viewing angle of the visual field set on the field can be varied. Therefore, for example, in bad weather such as wind and rain, it can be changed to reduce the viewing angle, to reproduce the appearance of poor visibility, or to change the viewing angle to become smaller as the appearance time in the current game becomes longer, By changing the viewing angle according to conditions such as the weather and the physical condition of the character, such as reproducing a state in which the concentration is reduced due to fatigue, a more appropriate setting of the visual field can be realized.
[0018]
Further, as in the invention according to claim 5, the game information according to any one of claims 1 to 4,
The apparatus functions as storage means (for example, storage unit 70 for storing in-view character history information in FIG. 20) for updating and storing a character positioned in the field of view of the ball keep character from a predetermined time to the present. As well as
The selection means may be game information for causing the apparatus to function so as to select one of the characters belonging to the same team as the ball keep character and stored by the storage means.
[0019]
According to the fifth aspect of the present invention, the same effect as that of any one of the first to fourth aspects of the present invention is achieved, and the ball keep character is positioned within a visual field from a predetermined time to the present. The character is updated and stored, and the movement of the ball keep character is controlled so as to pass one character selected from the stored characters. Therefore, it is possible to pass not only the character that is currently visible, but also the character that was seen a while ago, so that the character that was seen a while ago but is not currently visible can be passed to the current position. It is possible to realize an expression such as making a pass with a register of.
[0020]
In this case, as in the invention according to claim 6, the game information according to claim 5,
The storage means may be game information for causing the device to function so as to have time variable means (for example, the pass destination candidate character extraction unit 54a in FIG. 9) for changing the predetermined time.
[0021]
According to the sixth aspect of the invention, the same effect as that of the fifth aspect of the invention can be obtained, and a predetermined time which is a past time range for storing the character located in the field of view of the ball keep character. Is variable. Therefore, by varying this predetermined time for each character, there is a character that can pass a character that is not in the current visual field (not visible), while a character that is in the current visual field (visible). Thus, it is possible to realize control in accordance with the actual action of the player such that there is a character that can pass only the character, and the position determination ability of other characters is different for each character.
[0022]
Further, as in the invention according to claim 7, the game information according to any one of claims 1 to 6,
Point setting means (for example, the game calculation unit 51 and the region information 75 in FIG. 9) for setting a plurality of sample points (for example, the region AR and the representative point Q in FIG. 5) on the field,
For each character, inertia calculation means (for example, the dominance calculation unit 55 in FIG. 8) that calculates a position (for example, the virtual movement point P in FIG. 5) after a predetermined time when the character maintains the current movement state. ),
An arrival time calculation means (for example, the dominance calculation unit 55 in FIG. 5) that calculates the time until the character reaches the set sample point, starting from the calculated position.
An area recognition unit (for example, the dominance calculation unit 55 in FIG. 8) that recognizes an area related to the power of each team based on the calculated arrival time of the character to each sample point;
As the device further functions as
The selection means may further serve as game information for causing the device to function so as to select one character with reference to the area related to the power of the team of the ball keep character authorized by the area authorization means. .
[0023]
According to the seventh aspect of the invention, the same effect as that of any one of the first to sixth aspects is achieved, and each character reaches a plurality of sample points set on the field. Based on the time, areas related to the power of each team are identified. Then, the character at the position is selected with reference to the area related to the power of the team of the ball keep character. As an area related to the power to be recognized, there is, for example, an area where the team is dominant / inferior.
[0024]
In calculating the arrival time, a virtual movement position after a predetermined time when the current movement state of the character is maintained is calculated, and the arrival time from the movement position to the sample point is calculated. Thus, it is possible to calculate the arrival time in consideration of the movement of the character with a small calculation load without performing a strict kinematic simulation for each character.
[0025]
In this case, as in the invention according to claim 8, the game information according to claim 7,
Referring to the arrival time calculated by the arrival time calculation means, a dominance calculation that calculates the dominance degree so that the arrival time of the character that can be reached earliest becomes shorter for each set sample point While further causing the device to function as means (for example, the dominance calculation unit 55 in FIG. 8),
The area recognition means may be game information for causing the apparatus to function so as to recognize an area related to the power of each team based on the calculated dominance of each sample point.
[0026]
According to the eighth aspect of the invention, the same effect as that of the seventh aspect of the invention can be obtained, and the region related to the power is determined based on the length (large or small) of the arrival time of the character at the sample point. For example, when considering the influence at a certain sample point for a plurality of teams, the arrival time of a character belonging to one team is compared with the arrival time of a character belonging to the other team. It can be determined that the character can reach the point faster than the opponent. That is, it can be determined that the sample point is a sample point where the team to which the character having the shortest arrival time belongs is dominant.
[0027]
The invention according to claim 9 is:
A device similar to a computer controls the movement of a control target character (for example, the defensive character 130 in FIG. 22) among a plurality of characters that can move in the game space, and generates an image of the game space. Game information for running a given game,
Focus position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a focus position (for example, the position of the ball 500 in FIG. 22) in the game space;
A selection means (for example, the target position calculation unit 63a in FIG. 23) for selecting one attention character (for example, the mark character 140 in FIG. 22) among the plurality of characters excluding the control target character;
Centering on the position of the control target character, target position means (for example, FIG. 22) sets a position where the position of the target character and the position of interest are within a predetermined angle as a target position (for example, target position D in FIG. 22). 23 target position calculation unit 63a),
A movement control means for controlling the movement of the control target character so as to go to the target position (for example, the movement motion control unit 63b in FIG. 23);
Game information for causing the device to function.
[0028]
The invention according to claim 17
Among a plurality of characters that can move in the game space, a given game is executed by controlling the movement of a control target character (for example, the defensive character 130 in FIG. 22) and generating an image of the game space. A game device,
Focus position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a focus position (for example, the position of the ball 500 in FIG. 22) in the game space;
A selection means (for example, the target position calculation unit 63a in FIG. 23) for selecting one attention character (for example, the mark character 140 in FIG. 22) among the plurality of characters excluding the control target character;
Target position means for setting, as a target position (for example, target position D in FIG. 22), a position where the position of the target character and the target position are within a predetermined angle with the position of the control target character as the center;
Movement control means (for example, movement motion control unit 63b in FIG. 23) for controlling movement of the control target character so as to go to the target position;
It is a game device provided with.
[0029]
According to the ninth or seventeenth aspect of the present invention, the position of interest is set in the game space, and one attention character is selected from a plurality of characters excluding the control target character. A position where the target position and the position of the target character fall within a predetermined angle with respect to the position of the control target character is set as a target position, and the movement of the control target character is controlled so as to go to the target position. .
[0030]
In this case, as in the invention according to claim 10, the game information according to claim 9,
The predetermined angle may be game information characterized by a viewing angle preset for the control target character.
[0031]
According to the tenth aspect of the invention, the same effect as that of the ninth aspect of the invention can be obtained, and the predetermined angle is set to a viewing angle preset for the control target character. That is, a position where both the attention position and the position of the attention character are within the field of view is set as the target position. For this reason, for example, in a soccer game, when the control target character is a character of the defensive team, the focus position is set as the ball position, and the target character is set as the character marked by the opponent team. Thus, it is possible to realize a motion control that is performed in actual soccer such that both of the characters to be moved move toward a position within the field of view.
[0032]
Further, as in the invention according to claim 11, the game information according to claim 9,
It is good also as game information for functioning the said apparatus as an angle variable means (for example, the target position calculation part 63a of FIG. 23) which varies the said predetermined angle.
[0033]
According to the eleventh aspect of the invention, the same effect as that of the ninth aspect of the invention can be achieved, and the predetermined angle can be varied. Therefore, for example, if the predetermined angle is varied for each character to be controlled, the target position set in accordance with this varies, so that it is possible to realize more appropriate movement control based on the actual situation that the range that can be seen for each character is different.
[0034]
The invention according to claim 12
A device similar to a computer controls the movement of a control target character (for example, the defensive character 130 in FIG. 22) among a plurality of characters that can move in the game space, and generates an image of the game space. Game information for running a given game,
Defense position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a defense position (for example, the center position G of the goal line in FIG. 22) in the game space;
A selection means (for example, the target position calculation unit 63a in FIG. 23) for selecting one attention character (for example, the mark character 140 in FIG. 22) among the plurality of characters excluding the control target character;
Target position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a target position (for example, target position D in FIG. 22) on a line segment connecting the position of the target character and the defense position;
A movement control means for controlling the movement of the control target character so as to go to the target position (for example, the movement motion control unit 63b in FIG. 23);
Game information for causing the device to function.
[0035]
The invention according to claim 18
Among a plurality of characters that can move in the game space, a given game is executed by controlling the movement of a control target character (for example, the defensive character 130 in FIG. 22) and generating an image of the game space. A game device,
Defense position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a defense position (for example, the center position G of the goal line in FIG. 22) in the game space;
A selection means (for example, the target position calculation unit 63a in FIG. 23) for selecting one attention character (for example, the mark character 140 in FIG. 22) among the plurality of characters excluding the control target character;
Target position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a target position (for example, target position D in FIG. 22) on a line segment connecting the position of the target character and the defense position;
Movement control means (for example, movement motion control unit 63b in FIG. 23) for controlling movement of the control target character so as to go to the target position;
It is a game device provided with.
[0036]
According to the invention described in claim 12 or 18, a defensive position is set in the game space, and one attention character is selected from a plurality of characters excluding the control character. Then, a target position is set on a line segment connecting the defense position and the position of the target character, and the movement of the control target character is controlled so as to go to the target position. Therefore, for example, in a soccer game, when the control target character is the character of the defensive team, the defensive position is set as the goal position, and the target character is set as the character marked by the opponent team, thereby blocking the shooting course. It is possible to realize an action that is performed in actual soccer, such as moving toward such a position.
[0037]
Further, as in the invention according to claim 13, the game information according to any one of claims 9 to 11,
The apparatus functions as defense position setting means (for example, target position calculation unit 63a in FIG. 23) for setting a defense position (for example, the center position G of the goal line in FIG. 22) in the game space,
The target position setting means: (1) the position of the focused character and the focused position are within a predetermined angle with the control target character as the center, and (2) the position of the focused character and the defense position It may be game information for causing the apparatus to function so as to set a target position on a line segment connecting the two.
[0038]
According to the thirteenth aspect of the invention, the same effect as that of any of the ninth to eleventh aspects is achieved, and a defense position is set in the game space. With the position of the character as the center, the target position and the position of the target character are within a predetermined angle, and (2) the target position is set on a line segment connecting the position of the target character and the defense position.
[0039]
In this case, as in the invention according to claim 14, the game information according to claim 13,
A plurality of player characters that can move on a field including a PC (player character) and an NPC (non-player character) that operate in response to a player's operation input are divided into a plurality of teams, and a ball is placed in the goal area. Causing the device to execute the game,
The target position setting means causes the apparatus to function so as to set the position of the ball to the target position,
The defense position setting means may be game information for causing the device to function so as to set a given position in the goal area as a defense position.
[0040]
According to the fourteenth aspect of the invention, the same effect as that of the thirteenth aspect of the invention can be achieved, the position of the ball is set as the focus position, and the given position in the goal area is the defensive position. Set to Therefore, for example, in a soccer game, when the control target character is a character of the defensive team, by setting the target character as the character marked by the opponent team, both the ball and the character to be marked fall within the field of view, and It is possible to realize an action that is performed in actual soccer, such as moving toward a position that blocks the shooting course.
[0041]
Further, the invention described in claim 15 is an information storage medium readable by a device similar to a computer storing the game information described in any one of claims 1-14.
[0042]
Information storage media include various IC memories, CD-ROMs, DVDs, MOs, memory cards, memory cassettes, and hard disks. According to the invention described in claim 15, an apparatus similar to a computer reads out game information and the like from the information storage medium and performs arithmetic processing, thereby obtaining any one of claims 1 to 14. Effects similar to those of the described invention can be realized.
[0043]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the following, the case where the present invention is applied to a soccer game will be described, but the application of the present invention is not limited to this.
[0044]
[appearance]
FIG. 1 is a diagram showing an example when the present invention is applied to a consumer game device. According to the figure, the home game device includes a main device 1200 and game controllers 1202 and 1204, and is connected to a display 1300 including a speaker 1302.
[0045]
Game information, which is information necessary for executing a game such as a game program and initial data, is stored in, for example, a CD-ROM 1212, an IC memory 1214, a memory card 1216, and the like, which are information storage media detachable from the main unit 1200. ing. Alternatively, the game information may be acquired from an external device by connecting to the communication line N via the communication device 1206 provided in the main device 1200. The communication line N means a communication path through which data can be exchanged. That is, the communication line N is meant to include a communication network such as a telephone communication network, a cable network, and the Internet in addition to a dedicated line (dedicated cable) for direct connection and a LAN using Ethernet (registered trademark). The communication method may be wired / wireless.
[0046]
The main device 1200 includes an arithmetic processing device such as a CPU, and an information storage medium reading device such as an IC memory 1214 and a CD-ROM 1212. Then, various game processes are executed based on the game information read from the CD-ROM 1212 and the like and the operation signals from the game controllers 1202 and 1204 to display the game screen on the display 1300 and the game sound from the speaker 1302. Output.
[0047]
The player enjoys the soccer game by operating buttons provided on the game controllers 1202 and 1204 while viewing the game screen displayed on the display 1300.
[0048]
[Game screen]
FIG. 2 is a diagram illustrating an example of a game screen displayed on the display 1300. The game screen is displayed as a three-dimensional CG image as seen from a given viewpoint (virtual camera or the like) in a game space set by placing objects such as characters and backgrounds in the virtual space.
[0049]
This figure shows a game screen in which the A team operated by the player and the B team controlled by the computer are competing, and the player character 100 of the A team (hereinafter referred to as “player character 100a” as appropriate). ), A player character 100 of Team B (hereinafter referred to as “player character 100b” as appropriate), and a ball object (hereinafter simply referred to as “ball”) 500 are displayed.
[0050]
The player character 100a includes one character that operates in response to an operation input from the player (hereinafter, referred to as “player character; PC” as appropriate). A marker M is displayed on the player character, and this marker M allows the player to determine which player character 100a to operate. Note that the player character is arbitrarily switched to a character closest to the ball 500, a character designated by the player, or the like as the game (game) progresses.
[0051]
Of the player characters 100a, all of the characters excluding the player character and the player character 100b are characters whose movement is controlled by a computer (hereinafter referred to as “non-player character; NPC” as appropriate).
[0052]
Two embodiments applied to the home game device configured as described above will be described in order below.
[0053]
[First Embodiment]
First, the first embodiment will be described.
In the first embodiment, when the player character 100 keeping the ball 500 performs a pass action, the player character 100 to which a pass is to be determined is determined in consideration of the field of view of the player character 100. is there.
[0054]
[principle]
FIG. 3 is a diagram for explaining the principle of determining the pass destination character in the first embodiment, and shows an overall overhead view of the field FL. According to the figure, eleven player characters 100a-1 to 100a-11 and player character 100b and one ball 500 are arranged on the field FL, respectively, and the operation is performed by the player or the computer. A soccer game advances by being instructed and controlled.
[0055]
The position of an object such as the player character 100 or the ball 500 (specifically, the position of the representative point of the object) is a local coordinate system (XYZ orthogonal coordinate system) whose origin is one corner (rectangular vertex) of the field FL. ). The local coordinate system is defined so that the XZ plane and the field FL are parallel to each other, the X-axis direction coincides with the goal line (also referred to as end line) of the field FL, and the Z-axis direction is the side line. (Also referred to as touch line).
[0056]
That is, the positions of the objects such as the player character 100 and the ball 500 are represented by three-dimensional coordinates (x, y, z), but in the following, the positions are projected on the XZ plane for the sake of simplicity. It is expressed by two-dimensional coordinates (x, z).
[0057]
On the field FL, the field of view 300 of the ball keep character 120 is set based on the position of the player character 100 currently keeping the ball 500 (hereinafter referred to as “ball keep character 120” as appropriate). Is done. In the figure, the player character 100a-8 is the ball keep character 120, and the visual field 300 for the character is shown.
[0058]
The field of view 300 is an area representing a range (view) in which the ball keep character 120 can be seen, and has a fan shape. In the field of view 300, the fan-shaped vertex coincides with the position of the ball keep character 120, the bisector of the fan-shaped center angle (hereinafter referred to as “view angle” as appropriate) α, and the ball keep character 120. The direction of the body (the direction indicated by the arrow 122 in the figure) is set to coincide. The visual field 300 is a region virtually set on the field FL and is not displayed on the game screen.
[0059]
When the ball keep character 120 is a non-player character, when performing a pass action, a player character 100 as a pass destination (hereinafter referred to as “pass destination character” as appropriate) is determined as follows. . If the ball keep character 120 is a player character, its movement is controlled in accordance with the player's operation input.
[0060]
That is, among the player characters 100 of the same team as the ball keep character 120 (hereinafter referred to as “friendly characters” as appropriate), the player character 100 located within the field of view 300 is a candidate for a pass destination character (hereinafter referred to as “pass” as appropriate). This is referred to as “first candidate character”. In the figure, since the ball keep character 120 is the player character 100a of the A team, the player characters 100a-1 to 100a-7 of the A team located in the field of view 300 are extracted as pass destination candidate characters.
[0061]
Here, the determination of whether or not the player character 100 is located within the visual field 300 is realized as follows. That is, as shown in FIG. 4, an angle β formed by a direction vector 124 indicating the direction of the body of the ball keep character 120 and a target vector 126 from the position of the ball keep character 120 toward the position of the player character 100 to be determined. Is calculated. Then, the angle β and the viewing angle α of the field of view 300 are compared, and if the following expression (1) is satisfied, it is determined that the player character 100 is located in the field of view 300.
β ≦ α / 2 (1)
[0062]
When the pass destination candidate character is extracted, one of the pass destination candidate characters is determined as the pass destination character. Then, a pass action of the ball keep character 120 toward the pass destination character is performed.
[0063]
The pass destination character is determined based on the geographical power distribution in the game space. Specifically, as shown in FIG. 5, a mesh area AR is set in the field FL. That is, the area AR is set in a matrix along the X-axis and Z-axis directions as a whole. The ratio of the specific size of the area AR is, for example, a ratio in which the area AR is approximately 2 m square with respect to the size “105 × 68 m” of the field FL in terms of the actual size. The representative point Q of the area AR is set, for example, at a substantially central position of the area AR, but may be set as appropriate as long as it is a position included in the area AR.
[0064]
In each area AR, the minimum arrival time Ts and the dominance level for each team are set as geographical power information. The degree of dominance is an index indicating how dominant the power of which team is in the area AR, and indicates a relative power difference (a difference in the degree of power) between the teams. The degree of dominance is given as a difference in the minimum arrival time Ts of each team with respect to the area AR.
[0065]
FIG. 6A is a conceptual diagram showing a method for calculating the arrival time T to the area AR for one player character 100. As shown in the figure, a virtual moving point when it is assumed that the player character 100 moves at a constant speed (for example, 0.5 seconds) at a current speed V starting from the current position on the field FL. P is required. Then, an area AR in which the representative point Q is included in the predetermined arrival time calculation range AC (hereinafter simply referred to as “area AR included in the arrival time calculation range AC”) is calculated with the virtual movement point P as the center. The The arrival time calculation range AC is set within a range of a radius of 15 m from the virtual movement point P of the player character 100, for example, in terms of actual size.
[0066]
Then, for each of the areas AR included in the arrival time calculation range AC, the distance L from the virtual movement point P to the representative point Q is an ability speed that is one of the ability parameters set in advance for each player character 100. By dividing by Va (for example, the maximum speed of the player character 100), the arrival time T to the area AR is calculated. More specifically, for example, the difference in the coordinate value from the virtual moving point P to the representative point Q is converted into the actual distance from the size of the real field “105 × 68 m” and the ratio of the XZ coordinate value, The arrival time T is calculated by dividing by the speed Va.
[0067]
Looking at the arrival time T for one player character 100, as shown in FIG. 6 (b), the arrival time T changes substantially concentrically around the virtual moving point P (the numbers in the figure are the arrival time T). Is an example of the approximate number of seconds.). A sufficiently large virtual arrival time T (for example, 10 seconds) is set for the area AR that is not included in the arrival time calculation range AC.
[0068]
Similarly, for the other player characters 100, when the arrival time T for each area AR is calculated for all the player characters 100 existing on the field FL, the minimum arrival time of each team for each area AR. Ts and further dominance are required.
[0069]
Specifically, the shortest arrival time T among the arrival times T of the player characters 100 belonging to the team is adopted as the minimum arrival time Ts of the area AR. The difference between the minimum arrival times Ts of the respective teams, specifically, the difference between the minimum arrival time Ta of the A team and the minimum arrival time Tb of the B team is defined as the superiority in the area AR. Therefore, if the value of dominance is positive (ie, Ta> Tb), it indicates that Team B is dominant, and if it is negative (ie, Ta <Tb), Team A is dominant. It will show that there is.
[0070]
For example, in FIG. 7, the minimum arrival time Ta of Team A by the player character 100a in the area AR is “3.5 seconds”, and the minimum arrival time Tb of Team B by the player character 100b is “2.6 seconds”. is there. Accordingly, the superiority of the area AR is “0.9 (= 3.5−2.6)”, and the B team becomes dominant.
[0071]
In this embodiment, the pass candidate character is determined based on the degree of dominance. Specifically, the superiority of each area AR in which the pass candidate character is located is referred to, and the pass candidate character located in the area AR having the highest “dominance” is determined as the pass character.
[0072]
As described above, the superiority indicates which team is dominant depending on whether the value is positive or negative. For this reason, the criterion for determining that the superiority is “high” varies depending on which team the ball keep character 120 belongs to. Specifically, when the ball keep character 120 belongs to the team A, the area AR having the smallest dominance value (negative value and the largest absolute value) has the dominance degree “high”. On the other hand, when the ball keep character 120 belongs to the B team, the area AR having the highest dominance value (positive value and the largest absolute value) has the “high” dominance degree.
[0073]
For example, FIG. 8 shows player characters 100a-1 to 100a-3 belonging to Team A as pass destination candidate characters for the ball keep character 120 belonging to Team A. The dominance levels of the areas AR-1 to AR-3 in which the player characters 100a-1 to 100a-3 are located are “2.2”, “3.5”, and “1.2”, respectively. Accordingly, here, the player character 100a-2 located in the area "AR-2" having the highest dominance is selected and determined as the pass destination character.
[0074]
[Function configuration]
FIG. 9 is a block diagram illustrating a functional configuration according to the first embodiment. According to the figure, in the first embodiment, the consumer game device 1 includes an operation input unit 10, an image display unit 20, a sound output unit 30, a communication unit 40, a processing unit 50, and a storage. Unit 70.
[0075]
The operation input unit 10 is realized by, for example, a button switch, a lever, a dial, a mouse, a keyboard, various sensors, and the like, and outputs an operation input signal corresponding to the operation input by the player to the processing unit 50. In FIG. 1, the game controllers 1202 and 1204 correspond to this.
[0076]
Based on the image signal from the image generation unit 58, the image display unit 20 displays the game screen while redrawing the screen of one frame every 1/60 seconds, for example. The function is realized by hardware such as CRT, LCD, ELD, PDP, and HMD. In FIG. 1, the display 1300 corresponds to this.
[0077]
The sound output unit 30 emits and outputs game sounds such as sound effects and BGM based on the sound signal from the sound generation unit 59. This function is realized by a sound output device such as a speaker, and the speaker 1302 corresponds to this in FIG.
[0078]
The communication unit 40 transmits / receives data to / from an external device by connecting to a communication line. This function is realized by, for example, a module such as Bluetooth (registered trademark) or IrDA, a modem, TA, a jack of a wired communication cable, a control circuit, or the like. In FIG. 1, the communication device 1206 corresponds to this.
[0079]
The processing unit 50 performs various arithmetic processes such as control of the entire home game apparatus 1 and game calculations. The function is realized by hardware such as a CPU (CISC type, RISC type), ASIC (gate array, etc.) and a related control program. In FIG. 1, an arithmetic processing device such as a CPU provided in the main body device 1200 corresponds to this.
[0080]
The processing unit 50 also includes a game calculation unit 51 that mainly performs calculation processing related to the game, and image generation that generates an image signal for displaying a game screen from various data obtained by the processing of the game calculation unit 51. And a sound generation unit 59 that generates game sound for outputting game sounds such as sound effects and BGM.
[0081]
The game calculation unit 51 executes various game processes based on operation input signals from the operation input unit 10 and programs and data read from the storage unit 70. As the game process, for example, a viewpoint or object placement in a virtual space, a character motion control based on an operation input signal input from the operation input unit 10, a ball movement calculation or control, a game result calculation, or the like is executed. The game calculation unit 51 includes a PC management unit 52, a ball management unit 53, an NPC control unit 54, and a superiority calculation unit 55.
[0082]
The PC management unit 52 manages player characters. Specifically, it is determined which player character 100 is the player character, the player character information 74 is updated according to the determination result, and the player character 100 according to the operation signal input from the operation input unit 10. To control the operation.
[0083]
The ball management unit 53 manages the ball 500. Specifically, the current position of the ball 500 is detected and the ball position information 75 is updated, and whether or not the ball 500 is kept in the player character 100 (a kept state), and which player character 100 is determined. Is a ball keep character, and the ball keep information 76 is updated according to the judgment result.
[0084]
The NPC control unit 54 controls the actions of the non-player characters, that is, the ten player characters 100a and the eleven player characters 100b excluding the player characters. The NPC control unit 54 includes a pass destination candidate character extraction unit 54a, a pass destination character determination unit 54b, and a pass motion control unit 54c.
[0085]
The pass destination candidate character extraction unit 54a extracts a pass destination candidate character with reference to the character position information 73 and the visual field information 72a when the ball keep character 120 performs a pass action, and passes the candidate character according to the extraction result. Information 77 is updated. Specifically, with reference to the visual field information 72a, the visual field 300 having the visual angle α corresponding to the ball keep character 120 is set on the field FL. And the player character 100 in the set visual field 300 among the player characters 100 (friend characters) belonging to the same team as the ball keep character 120 is extracted as a pass destination candidate character.
[0086]
The pass destination character determination unit 54b determines a pass destination character from the pass destination candidate characters extracted by the pass destination candidate character extraction unit 54a, and updates the pass destination character information 78 according to the determination result. Specifically, with reference to the character position information 73 and the region information 79, the pass destination candidate character located in the region AR having the highest “dominance” is selected and determined as the pass destination character.
[0087]
The pass motion control unit 54c controls the pass motion of the ball keep character 120 with respect to the pass destination character determined by the pass destination character determination unit 54b.
[0088]
The dominance calculation unit 55 calculates a geographical power distribution in the game space. Specifically, for all the player characters 100 on the field FL, the arrival time T until reaching the representative point Q of each area AR included in the arrival time calculation range AC is calculated. Then, the minimum arrival time Ts for each team in each area AR is calculated, the dominance of the area AR is calculated from the difference in the minimum arrival time Ts, and the area information 79 is updated according to the calculation result.
[0089]
The image generation unit 58 is realized, for example, by an arithmetic device such as a CPU or DSP, a control program thereof, a drawing frame IC memory such as a frame buffer, or the like. The image generation unit 58 executes a geometric conversion process and a shading process based on the calculation result by the game calculation unit 51, and generates a game image for displaying a game screen. Then, the image signal of the generated game image is output to the image display unit 20.
[0090]
The sound generator 59 generates a sound signal for outputting a game sound. This function is realized by, for example, an arithmetic device such as a CPU or DSP, or a control program thereof. The sound generation unit 59 generates sound such as sound effects and BGM used during the game at an appropriate timing based on sound data (not shown) stored in the storage unit 70, and generates a sound signal of the generated sound. The sound is output to the sound output unit 30.
[0091]
The storage unit 70 includes game information 71 including a system program for realizing various functions for causing the processing unit 50 to control the consumer game device 1 in an integrated manner, a program and data necessary for executing the game, and the like. Remember. The storage unit 70 is realized by an information storage medium such as various IC memories, a hard disk, a CD-ROM, a DVD, or an MO. In FIG. 1, the CD-ROM 1212, the IC memory 1214, and the memory card 1216 included in the main body apparatus 1200 correspond to this.
[0092]
The game information 71 includes a program and data for causing the processing unit 50 to function as the game calculation unit 51. Specifically, a pass destination character determination program 91 is included as a program, and as data, character information 72, character position information 73, player character information 74, ball position information 75, ball keep information 76, Pass destination candidate character information 77, pass destination character information 78, and area information 79 are included.
[0093]
The character information 72 is information relating to characters appearing in the soccer game such as the player character 100, for example, in addition to sound data such as modeling data, texture data, motion data, and sound effects, for example, ability parameters such as ability speed Va, visual field, etc. Information 72a is included.
[0094]
The visual field information 72a is information on the visual field 300 of the player character 100, and FIG. 10 shows an example of the data structure thereof.
FIG. 10 is a diagram showing an example of the data structure of the visual field information 72a, and shows data about the team A. According to the figure, the visual field information 72a stores, for each player character 100, a player ID (721a) for identifying the player character 100 and a visual field angle α (722a) in association with each other. The visual field information 72a is fixed data that is not changed through the progress of the game.
[0095]
The character position information 73 is information on the position of the player character 100, and FIG.
FIG. 11 is a diagram showing an example of the data structure of the character position information 73, and shows data about Team A. According to the figure, for each player character 100, the character position information 73 includes the player ID (73a), the current position (73b) on the field FL, the body orientation (73c), and the speed (73d). Are stored in association with each other. Here, the body direction (73c) is converted into a unit vector by normalizing the direction vector 124 (starting from the corresponding current position (73b)) indicating the body direction of the corresponding player character 100, and is converted into a local vector. It is expressed by the two-dimensional coordinates F (x, z) of the end point when the origin of the coordinate system is the start point.
[0096]
The player character information 74 is information indicating the player character, and stores the player ID of the player character 100 that is the player character, as shown in FIG.
[0097]
The ball position information 75 is information on the position of the ball 500, and stores the current position of the ball 500 as shown in FIG.
[0098]
The ball keep information 76 is information on the keep state of the ball 500. As shown in FIG. 14, the keep state of the ball 500 indicating whether or not the ball 500 is currently in a keep state (keep state / non-keep state). And the player ID of the ball keep character 120 are stored. When the ball 500 is in a non-keep state, the player ID of the immediately previous ball keep character 120 is stored.
[0099]
Pass destination candidate character information 77 is information of a pass destination candidate character, and stores a player ID of the pass destination candidate character as shown in FIG. There may be a plurality of player IDs stored here.
[0100]
The pass destination character information 78 is information of the pass destination character, and stores the player ID of the pass destination character as shown in FIG. The player ID stored here is the player ID of one character selected from the pass destination candidate characters indicated by the pass destination candidate character information 77.
[0101]
The area information 79 is information on the area AR set in the field FL, and FIG. 17 shows an example of the data structure.
FIG. 17 is a diagram illustrating an example of a data configuration of the region information 79. As illustrated in FIG. According to the figure, the area information 79 includes, for each area AR (79a), the coordinates (79b) of the representative point Q, the minimum arrival time Ta (79c) for the A team, and the minimum arrival time Tb (for the B team). 79d) and the superiority (79e) are stored in association with each other.
[0102]
[Process flow]
FIG. 18 is a flowchart for explaining a flow of processing relating to determination of a pass destination character in the first embodiment. This process is realized by the NPC control unit 54 executing a process according to the pass destination character determination program 91 in the storage unit 70. Note that the processing related to the progress of the soccer game can be executed in the same manner as in the conventional soccer game, and thus description thereof is omitted here.
[0103]
According to FIG. 18, the NPC control unit 54 first determines the current keep state of the ball 500 with reference to the ball keep information 76. As a result of the determination, if it is not in the kept state (step S11: NO), the movement of each player character 100, which is a non-player character, is controlled as in the conventional soccer game.
[0104]
On the other hand, if it is in the kept state (step S11: YES), the NPC control unit 54 refers to the ball keep information 76 to determine which player character 100 the ball keep character 120 is (step S12). Next, with reference to the player character information 74, it is determined whether or not the ball keep character 120 is a player character. If it is not a player character (step S13: NO), the next action of the ball keep character 120 is subsequently performed. To decide.
[0105]
When the next action is determined as a pass action (step S14: YES), the pass destination candidate character extraction unit 54a extracts a pass destination candidate character. Specifically, first, one player character 100 is selected as a determination target from among the player characters 100 (friend characters) belonging to the same team as the ball keep character 120 (step S15). Here, it is assumed that the player characters 100 selected here are a total of 10 player characters 100 who are currently participating in the game and excluding the ball keep character 120.
[0106]
Next, as shown in FIG. 4, a direction vector 124 indicating the body direction of the ball keep character 120 and a target vector 126 heading from the position of the ball keep character 120 to the position of the player character 100 selected as a determination target. The angle β formed by both vectors is calculated (step S16).
[0107]
Subsequently, the pass candidate character extraction unit 54a compares the calculated angle β with the viewing angle α of the ball keep character 120 and determines whether or not Expression (1) is satisfied. As a result, if it is satisfied, that is, if the angle β is equal to or smaller than ½ of the viewing angle α (β ≦ α / 2) (step S17: YES), the player character 100 to be determined is determined as a pass candidate character. (Step S18).
[0108]
Thereafter, it is determined whether or not all the teammate characters have been selected as judgment targets. If they have not been selected (step S19: NO), the process proceeds to step S15 to select another teammate character as the next judgment target. Then, the same processing is performed. Then, when all of the teammate characters are selected as determination targets and the processes in steps S15 to S18 are performed (step S19: YES), the pass destination character determination unit 54b refers to the area information 79 and extracts these items. A pass destination candidate character located in the area AR having the highest “dominance” in the area AR where the pass destination candidate character is located is selected and determined as a pass destination character (step S20).
[0109]
When the pass destination character is determined, the pass motion control unit 54c controls the motion of the ball keep character 120 to execute the pass motion for the determined pass destination character (step S21).
When the above processing is performed, the NPC control unit 54 ends this processing.
[0110]
[Hardware configuration]
Next, a hardware configuration capable of realizing the home game device 1 will be described.
FIG. 19 is a diagram illustrating an example of a hardware configuration according to the present embodiment. According to the figure, the consumer game device 1 has a CPU 1000, a ROM 1002, a RAM 1004, an information storage medium 1006, a sound generation IC 1008, an image generation IC 1010, and I / O ports 1012, 1014. System buses 1016 are connected to each other so as to be able to input and output data. A control device 1022 is connected to the I / O port 1012, and a communication device 1024 is connected to the I / O port 1014.
[0111]
The CPU 1000 controls the entire home game device 1 according to programs and data stored in the information storage medium 1006, system programs and data stored in the ROM 1002, operation input signals input by the control device 1022, and the like. Perform data processing. The CPU 1000 corresponds to the processing unit 50 in FIG.
[0112]
The ROM 1002, the RAM 1004, and the information storage medium 1006 correspond to the storage unit 70 in FIG. The ROM 1002 stores, in particular, a preset program or data among the system program of the home-use game apparatus 1 and information stored in the storage unit 70 shown in FIG. The RAM 1004 is storage means used as a work area of the CPU 1000, and stores, for example, image data for one frame, given contents of the ROM 1002 and the information storage medium 1006, calculation results of the CPU 1000, and the like. The information storage medium 1006 is realized by an IC memory card, a hard disk unit that can be attached to and detached from the main unit, an MO, and the like.
[0113]
The sound generation IC 1008 is an integrated circuit that generates game sounds such as sound effects and BGM based on information stored in the information storage medium 1006 and the ROM 1002, and the generated game sounds are output by the speaker 1020. The sound generation IC 1008 corresponds to the sound generation unit 59 in FIG. 5, and the speaker 1020 corresponds to the sound output unit 30 in FIG. 5 and the speaker 1302 in FIG.
[0114]
The image generation IC 1010 is an integrated circuit that generates pixel information of a game screen to be displayed on the display device 1018 based on image information from the CPU 1000. The display device 1018 displays a game screen based on the pixel information generated by the image generation IC 1010. The image generation IC 1010 corresponds to the image generation unit 58 in FIG. 5, and the display device 1018 corresponds to the image display unit 20 in FIG. 5 and the display 1300 in FIG.
[0115]
Note that the processing performed by the sound generation IC 1008, the image generation IC 1010, and the like may be executed in software by the CPU 1000 or a general-purpose DSP.
[0116]
The control device 1022 is a device for the player to input various game operations as the game progresses. The control device 1022 corresponds to the operation input unit 10 in FIG. 5 and the game controllers 1202 and 1204 in FIG.
[0117]
The communication device 1024 is a device for exchanging various types of information used inside the home game device 1 with the outside, and is connected to other game devices to transmit / receive given information according to the game program, It is used for transmitting and receiving information such as game programs via a communication line. The communication device 1024 corresponds to the communication unit 40 in FIG. 5 and the communication device 1206 in FIG.
[0118]
Further, the present invention can be similarly applied not only to the home game device 1 shown in FIG. 1 but also to various devices such as an arcade game device, a portable game device, and a large attraction device in which a large number of players participate. .
[0119]
Furthermore, the present invention is not limited to a game executed by a stand-alone device, but can be applied to a game called a network game. As a system configuration for realizing a network game, for example, (1) a personal computer or home game system installed in a home is used as a game terminal, and connected to a server through a wired / wireless communication line such as the Internet network or a dedicated line. (2) A configuration in which a plurality of game terminals are connected by a communication line without using a server, (3) A plurality of game terminals are connected by a communication line, one of which is a server function (4) A configuration in which a plurality of game terminals are physically coupled to form a single system (for example, a game system for business use).
[0120]
[effect]
As described above, according to the first embodiment, when the ball keep character 120 performs the pass action, the field of view 300 of the ball keep character 120 is set on the field FL. Then, the player character 100 (pass destination candidate character) selected from the player characters 100 (pass destination candidate characters) that are located in the visual field 300 and belong to the same team as the ball keep character 120 is passed. The operation of the ball keep character 120 is controlled. Therefore, it is possible to realize a natural control in accordance with the action of the actual soccer player, such as passing a friendly character that is located in the field of view 300 of the ball keep character 120, that is, that will be seen.
[0121]
The viewing angle α of the field of view 300 is determined for each player character 100, and the field of view 300 corresponding to the player character 100 to be the ball keep character 120 is set. For this reason, it is possible to realize the setting of the visual field 300 in accordance with the actual situation such that the range that can be seen for each character is different.
[0122]
[Modification]
In the first embodiment described above, the teammate character currently located in the field of view 300 is extracted as the pass destination candidate character. In addition to this, in the past, the field of view 300 of the ball keep character 120 is used. It is good also as extracting the friend character who was located in the inside as a pass candidate character.
[0123]
In this case, the storage unit 70 further includes in-field character history information 91, which is information on a teammate character that has been located in the field of view 300 in the past, and information on a frame to be extracted when extracting a pass destination candidate character. The target frame information 92 is stored.
[0124]
FIG. 20 is a diagram showing an example of the data configuration of the in-view character history information 91, and shows data about Team A. According to the figure, the in-view character history information 91 includes, for each player character 100, the player ID (91a) and the ally located in the view 300 in the current frame, one frame before, and two frames before. The character (91b) is stored in association with each other. The player ID of the corresponding player character 100 is stored in the teammate character (91b).
[0125]
This visual field character history information 91 is updated every frame. That is, for each player character 100, regardless of whether the player character 100 is a player character / non-player character, the field of view 300 of the player character 100 is set on the field FL, and the same team located in the field of view 300 is assigned to the same team. The player character 100 (friend character) to which it belongs is extracted and stored as a friend character in the current frame.
[0126]
FIG. 21 is a diagram showing an example of the data structure of the target frame information 92, which shows data about the team A. According to the figure, the target frame information 92 stores, for each player character 100, a player ID (92a) and a selection target frame (92b) to be selected in association with each other.
[0127]
Then, when extracting the pass candidate character, the pass candidate character extracting unit 54a refers to the target frame information 92 to determine the selection target frame corresponding to the ball keep character 120, and the in-view character history information With reference to 91, a teammate character located (that has been) in the field of view 300 in the determined selection target frame is extracted as a pass candidate character.
[0128]
For example, when the ball keep character 120 is the player character 100a of team A (assuming the player ID is “A-03”), according to the target frame information 92 shown in FIG. The selection target frames are “current frame” and “one frame before”. Further, according to the in-view character history information 91 shown in FIG. 20, the player IDs of the teammate characters located in the view 300 in the “current frame” of the player character 100 are “A-01”, “A-04”. ”,“ A-05 ”, and“ A-08 ”, and the player IDs of the teammate characters that were located in the field of view 300 in“ 1 frame ago ”are“ A-01 ”,“ A-02 ”, and“ A-02 ” A-04 ". Accordingly, the player characters 100 with the player IDs “A-01”, “A-02”, “A-04”, “A-05”, and “A-08” are extracted as pass destination candidate characters.
[0129]
Thus, by extracting the teammate character that was stored in the field-of-view character history information 91 and was located in the field-of-view 300 several frames ago as a candidate character for the pass destination, It is not limited to this, and it is possible to pass a friend character who was seen a while ago. For this reason, it is possible to realize such an expression that a friend character who has been seen a while ago but is not currently visible is given a pass of the current position.
[0130]
Furthermore, since the target frame for extracting the pass candidate character is different depending on which player character 100 the ball keep character 120 is, there is a player character 100 that can pass a teammate character that is not currently visible. On the other hand, it is possible to realize an expression that the position determination ability of other characters is different, for example, there is a player character 100 that can pass only to a teammate character that is currently visible.
[0131]
In the first embodiment described above, the field of view 300 is set so that the bisector of the fan-shaped center angle matches the body orientation of the ball keep character 120. May be set to coincide with the face orientation of the ball keep character 120, and the body or face orientation may not necessarily coincide with the fan-shaped bisector of the field of view 300. .
[0132]
Furthermore, in the first embodiment described above, the bus destination character is selected and determined from the pass destination candidate characters with reference to the dominance degree. For example, the bus destination character is selected at random regardless of the dominance degree. Alternatively, a character positioned near the front of the ball keep character 120 may be selected.
[0133]
[Second Embodiment]
Next, a second embodiment will be described. In the following description, the same elements as those in the first embodiment described above are denoted by the same reference numerals, and detailed description thereof is omitted.
In the second embodiment, when the target position where the player character 100 of the defensive team should be positioned is determined, the field of view of the player character 100 is taken into consideration.
[0134]
[principle]
FIG. 22 is a diagram for explaining the principle of target position determination in the second embodiment, and shows a partial overhead view of the field FL. Each player character 100 arranged on the field FL is associated with visual field information (specifically, a visual field angle α), as in the first embodiment described above.
[0135]
In the second embodiment, the player character 100 of the defensive team (hereinafter referred to as “defensive team” as appropriate) is the player character 100 of the attacking team (hereinafter referred to as “attack team” as appropriate). The movement operation is controlled so as to go to the target position D determined for each.
[0136]
The attack / defense team is determined as follows. In other words, the team to which the player character 100 (ball keep character 120) that keeps the ball 500 belongs becomes the attack team, and the other team becomes the defensive team. When the ball 500 is not in the keep state (non-keep state), the team to which the immediately preceding ball keep character 120 belongs becomes the attack team. In the figure, since the ball keep character 120 is the player character 100b of the B team, the B team becomes the attack team and the A team becomes the defensive team.
[0137]
The target position D of the player character 100 of the defensive team (hereinafter referred to as “defensive character 130” as appropriate) is determined as a position that satisfies the following two conditions. That is, on the line segment L connecting the position of the player character 100 of the attacking team to be marked (1) (hereinafter referred to as “mark character 140” as appropriate) and the center position G of the goal line on the goal side of the defensive team. (2) A position where both the mark character 140 and the ball 500 are within the field of view.
[0138]
Here, the determination as to whether or not the target position D is a position where both the mark character 140 and the ball 500 are within the field of view is specifically realized as follows. That is, a vector (hereinafter referred to as “ball vector 132” as appropriate) from the target position D to the position of the ball 500 and a vector (hereinafter referred to as “defense vector 134” as appropriate) from the target position D to the position of the mark character 140. The angle θ formed by the calculation is calculated. Then, this angle θ is compared with the viewing angle α of the defensive character 130, and if the following expression (2) is satisfied, the target position D is a position where both the mark character 140 and the ball 500 are within the visual field 300. It is judged that there is.
θ ≦ α (2)
[0139]
[Function configuration]
FIG. 23 is a block diagram illustrating a functional configuration according to the second embodiment. According to the figure, in the second embodiment, the consumer game device 1 includes an operation input unit 10, an image display unit 20, a sound output unit 30, a communication unit 40, a processing unit 60, and a storage. Unit 80. Further, the game calculation unit 61 includes a PC management unit 52, a ball management unit 53, an offense / defense determination unit 62, and a defense character control unit 63.
[0140]
The offense / defense determination unit 62 determines an attack team / defense team. Specifically, referring to the ball keep information 76, the team to which the ball keep character 120 belongs is determined as an attack team, and the other team is determined as a defensive team, and the offense / defense information 85 is updated according to the determination result. . When the ball 500 is not kept by any player character 100 (non-keep state), the team to which the immediately preceding keep character 120 belongs is determined as the attack team.
[0141]
The defensive character control unit 63 controls the player character 100 (the defensive character 130) of the defensive team determined by the offense / defense determining unit 62. The defensive character control unit 63 includes a target position calculation unit 63a and a movement action control unit 63b.
[0142]
The target position calculation unit 63a calculates the target position D of each defense character 130 determined by the offense and defense determination unit 62, and updates the target position information 84 according to the calculation result.
[0143]
The movement action control unit 63b refers to the target position information 84 and controls the movement action so that the defense character 130 moves toward the target position D. However, when the player character is included in the defensive character 130, the movement control of the defensive character 120 as the player character is not performed.
[0144]
The game information 71 stored in the storage unit 80 includes character information 82, character position information 83, target position information 84, player character information 74, ball position information 75, ball keep information 76, Offense and defense information 85 and a defense character control program 92 are included. The character information 82 includes visual field information 72a and mark character information 82a.
[0145]
The mark character information 82a is information of the player character 100 that each player character 100 marks when it becomes a defensive team, and FIG. 24 shows an example of its data configuration.
FIG. 24 is a diagram showing an example of the data structure of the mark character information 82a, and shows data about the team A. According to the figure, the mark character information 82a stores a player ID (821a) and a mark character (822a) in association with each other for each player character 100. In the mark character (822a), the player ID of the character is stored. The mark player information 82a is fixed data that is not changed as the game progresses.
[0146]
The character position information 83 is information on the position of the player character 100, and FIG. 25 shows an example of the data structure.
FIG. 25 is a diagram showing an example of the data structure of the character position information 83, and shows data about Team A. According to the figure, the character position information 83 stores the player ID (83a) and the current position (83b) on the field FL in association with each other for each player character 100.
[0147]
The target position information 84 is information on the target position D of each player character 100 when it becomes a defensive team, and FIG. 26 shows an example of the data structure thereof.
FIG. 26 is a diagram showing an example of the data structure of the target position information 84, and shows data about the A team. According to the figure, the target position information 84 stores a player ID (84a) and a target position (84b) in association with each other for each player character 100.
[0148]
The offense / defense information 85 is information indicating an attack / defense team, and stores the team names of the attack team (85a) and the defense team (85b) as shown in FIG.
[0149]
[Process flow]
FIG. 28 is a flowchart for explaining the flow of processing relating to target position determination in the second embodiment. This process is realized by the defensive character control unit 63 executing a process according to the defensive character control program 92 in the storage unit 80 for each frame. Note that the processing related to the progress of the soccer game can be executed in the same manner as in the conventional soccer game, and thus description thereof is omitted here.
[0150]
According to FIG. 28, first, the movement action control unit 63b refers to the target position information 84 and controls the movement action of the defensive character 130 toward each target position D (step S31). However, when the player character is included in the defensive character 130, the player character is not subjected to the movement control based on the target position D, and is caused to perform an action according to the operation signal input from the operation input unit 10. . Then, a game image in the current frame is generated by the image generation unit 58 and displayed on the image display unit 20.
[0151]
Next, the target position calculation unit 63a calculates the target position D in the next frame for each player character 100 of the defense team, and updates the target position information 84. Specifically, first, one of the defensive characters 130 is selected as the defensive character 130 for which the target position D is set (step S32). Then, with reference to the player character information 74, it is determined whether or not the defensive character 130 to be set is a player character.
[0152]
As a result, if it is not a player character (step S33: NO), the target position calculation unit 63a refers to the target position information 84, and the target position D in the current frame of the defensive character 130 to be set is marked. It is determined whether or not the character 100 (mark character 140) is positioned on a line segment L that connects the position G of the goal line on the ally goal side (step S34).
[0153]
As a result, if it is on the line segment L (step S34: YES), the target position calculation unit 63a then continues to the defensive vector 134 from the target position D to the position of the mark character 140 in the current frame, and the target position. A ball vector 132 from D to the position of the ball 500 is calculated, and an angle θ formed by both vectors is calculated (step S35). Then, the calculated angle θ is compared with the viewing angle α of the defensive character 130 to be set, and it is determined whether or not Expression (2) is satisfied. As a result of the determination, if satisfied, that is, if the angle θ is equal to or smaller than the viewing angle α (θ ≦ α) (step S36: YES), the target position D in the current frame is directly used as the target position D in the next frame. To do.
[0154]
On the other hand, when the target position D in the current frame is not located on the line segment L (step S34: NO), or when the angle θ is larger than the viewing angle α (step S36: NO), the target position calculation unit 63a. Temporarily sets the target position D ′ at the position on the line segment L closest to the position of the defensive character 130 to be set (step S37).
[0155]
Next, a defensive vector 134 ′ from the temporarily set target position D ′ to the position of the mark character 140 and a ball vector 132 ′ from the target position D ′ to the position of the ball 500 are calculated, and an angle formed by both vectors. φ is calculated (step S38). Then, the calculated angle φ and the viewing angle α of the defensive character 130 to be set are compared to determine whether or not Expression (2) is satisfied. As a result of the determination, if satisfied, that is, if the angle φ is less than or equal to the viewing angle α (φ ≦ α) (step S39: YES), the temporarily set target position D ′ is determined as the target position D in the next frame. (Step S40).
[0156]
On the other hand, when the angle φ is larger than the viewing angle α (step S39: NO), at a position on the line segment L that is a predetermined distance l away from the temporarily set target position D ′ toward the goal side of the defensive team, Again, the target position D ′ is provisionally set (step S41). Then, the process proceeds to step S38, and the same processing is repeated until the angle φ becomes equal to or smaller than the viewing angle α.
[0157]
Thus, when the target position D in the next frame is set for the defensive character 130 to be set, it is subsequently determined whether or not all of the defensive characters 130 have been selected as setting targets. As a result of the determination, if it has not been selected (step S42: NO), the process proceeds to step S32, and another defensive character 130 is selected as the next setting target, and the same processing is performed. When the target position D in the next frame is determined for all of the defensive characters 130 (step S42: YES), the defensive character control unit 63 ends this process.
[0158]
[effect]
As described above, according to the second embodiment, when the player character 100 (defense character 130) of the defensive team is controlled, the player character 100 (mark character 140) marked by the attack team and the goal on the goal side of the defensive team The angle θ formed on the line segment L connecting the center position G of the line and the defensive vector 134 directed from the position toward the mark character 140 and the ball vector 132 directed toward the ball 500 is equal to or smaller than the viewing angle α of the defensive character. The target position D is set at the position. Then, the movement of the defensive character 130 is controlled so as to go to the target position D. In other words, the defensive side action that is performed in actual soccer such that both the mark character 140 and the ball 500 are within the field of view 300 and moves toward a position that obstructs the shooting course of the mark character 140 is realized. it can.
[0159]
[Modification]
In the second embodiment described above, when the position satisfying the above two conditions (1) and (2) is not in the field FL, that is, when the target position D is not set in the field FL. The position in the field FL that satisfies only one of the two conditions (1) and (2) may be set as the target position D.
[0160]
[Modification of Embodiment]
The application of the present invention is not limited to the two embodiments described above, and can be appropriately changed without departing from the spirit of the present invention. For example, the following modification is mentioned.
[0161]
(1) Variable viewing angle α
In the first and second embodiments described above, the field-of-view 300 having the field-of-view α stored in the field-of-view information 72a is set, but this is done by changing the field-of-view α according to the game situation. The field of view may be set with the viewing angle α ′ after the change.
[0162]
For example, the viewing angle α can be varied according to the weather and the physical condition of the player character 100. More specifically, the viewing angle α can be varied to reduce the viewing angle α during bad weather such as wind and rain, or the viewing angle α can be reduced as the appearance time in the current game becomes longer. Thus, it is possible to realize such a state that the concentration is reduced due to fatigue.
[0163]
Further, the viewing angle α may be varied by the same amount for all the player characters 100 or may be varied by a different amount for each player character 100. Moreover, it is good also as performing not only about all the player characters but only some player characters 100.
[0164]
(2) radius r of field of view 300
In addition to the viewing angle α, a viewing radius r that is a fan-shaped radius may be added as the viewing field 300 information. In this case, the visual field information 72a stores the visual field angle α and the visual field radius r in association with each other for each player character 100.
[0165]
In the first embodiment, when it is determined whether or not the player character 100 is located within the field of view 300, the pass destination candidate character extraction unit 54a further determines the position of the ball keep character 120 and the determination target. A distance L1 between the player character 100 and the position of the player character 100 is calculated, and the distance L1 is compared with the visual field radius r corresponding to the ball keep character 120. If the distance L1 is equal to or smaller than the visual field radius r (L1 ≦ r), it is determined that the player character 100 is located within the visual field 300.
[0166]
In the second embodiment, when the target position D is set, the target position calculation unit 63 a further determines the target position D (or the temporarily set target position D ′) and the position of the mark character 140. The distance L2 is calculated, and the distance L2 is compared with the visual field radius r corresponding to the defensive character 130. If the distance L2 is equal to or smaller than the visual field radius r2 (L2 ≦ r), the condition (2) as the target position D is satisfied, that is, a position where both the mark character 140 and the ball 500 are within the visual field 300. It is judged that.
[0167]
(3) Applicable game
In the two embodiments described above, the case where the present invention is applied to a soccer game has been described. However, the types of games to which the present invention can be applied are not limited thereto. Specifically, a plurality of player characters such as basketball, hockey, and rugby that can move on a field including a player character (PC) and a non-player character (MPC) that operate in response to a player's operation input include a plurality of player characters. A game in which teams are divided into battles and the ball is placed in the goal area is preferable.
[0168]
Further, in the second embodiment, the ball 500 and the mark character 140 are within the field of view 300 on the line segment L connecting the center position G of the goal line on the goal side of the defensive team and the mark character 140. It has been described that the target position D is set as the position, and control is performed so that the defensive character 130 as the control target character moves toward the target position D. However, according to the game rules, if the controlled character is an area / point / object to be protected, it does not have to be the center position G of the goal line, and may be set as a predetermined defense position. Also, the ball 500 need not be the ball 500 as long as the control target character is a region / point / object to be noted in accordance with the game rules, and may be set as a predetermined position of interest.
[0169]
Specifically, for example, when controlling the movement of a soldier character (assumed to be an NPC) that fights against two enemy characters while protecting the castle, the position of the castle (specifically, the position of the gate and the entrance) Etc.) as the defensive position, the movement of the soldier character may be controlled with one enemy character as the attention character and the position of the other enemy character as the attention position.
[0170]
【The invention's effect】
According to the present invention, the field of view of the ball keep character that keeps the ball is set on the field, and one of the characters belonging to the same team as the ball keep character and located in the field of view is selected. Is done. When the ball keep character is an NPC (non-player character), the operation of the ball keep character is controlled so as to pass the selected character. That is, when the ball keep character makes a pass, natural control according to the action of the actual player, such as making a pass to a character located within the field of view, that is, a character that the ball keep character will be able to see, is performed. realizable.
[0171]
In addition, one attention character is selected from a plurality of characters excluding the control target character, and (1) the position of the attention character centered on the position of the control target character and the attention position set in the game space Falls within a predetermined angle, and (2) the target position is set on a line connecting the position of the target character and the defense position set in the game space. Then, the movement of the control target character is controlled so as to go to this target position. Therefore, for example, in a soccer game, when the control target character is the character of the defensive team, the target character is given to the character marked by the opponent team, the target position is the ball position, and the defense position is given in the goal area. By setting the position, it is possible to realize an action that is performed in actual soccer, such that both the ball and the character to be marked fall within the field of view and move toward a position that blocks the shooting course.
[Brief description of the drawings]
FIG. 1 is an external view of a consumer game device to which the present invention is applied.
FIG. 2 is a diagram showing an example of a game screen.
FIG. 3 is a view for explaining the principle of determination of a pass destination player in the first embodiment.
FIG. 4 is a diagram for explaining a method for determining whether or not a player character is located within the field of view.
FIG. 5 is a diagram showing an area set in a field.
6 is a conceptual diagram illustrating a method for calculating arrival time T. FIG.
FIG. 7 is a conceptual diagram illustrating a method for calculating a degree of dominance.
FIG. 8 is a conceptual diagram illustrating determination of a pass destination character.
FIG. 9 is a block diagram showing a functional configuration in the first embodiment.
FIG. 10 is a diagram showing a data configuration example of visual field information.
FIG. 11 is a diagram showing a data configuration example of character position information.
FIG. 12 is a diagram showing a data configuration example of player character information.
FIG. 13 is a diagram showing a data configuration example of ball position information.
FIG. 14 shows a data configuration example of ball keep information.
FIG. 15 is a diagram showing a data configuration example of pass destination candidate character information.
FIG. 16 is a diagram showing a data configuration example of pass destination character information.
FIG. 17 is a diagram showing a data configuration example of region information.
FIG. 18 is a flowchart for explaining the flow of processing relating to pass destination character determination in the first embodiment;
FIG. 19 is a diagram showing an example of a hardware configuration for realizing a consumer game device to which the present invention is applied.
FIG. 20 is a diagram showing a data configuration example of in-view character history information.
FIG. 21 is a diagram showing a data configuration example of target frame information.
FIG. 22 is a diagram for explaining the principle of target position determination in the second embodiment.
FIG. 23 is a block diagram showing a functional configuration according to the second embodiment.
FIG. 24 is a diagram showing a data configuration example of mark character information.
FIG. 25 is a diagram showing a data configuration example of character position information.
FIG. 26 is a diagram showing a data configuration example of target position information.
FIG. 27 is a diagram showing a data configuration example of offense and defense information.
FIG. 28 is a flowchart for explaining the flow of processing relating to target position determination in the second embodiment;
[Explanation of symbols]
1 Household game device
10 Operation input section
20 Image display
30 sound output section
40 Communication Department
50, 60 processing unit
51, 61 Game calculation unit
52 PC Management Department
53 Ball Management Department
54 NPC controller
54a Pass destination candidate character extraction unit
54b Pass destination character determination unit
54c Path operation control unit
55 Dominance calculator
62 Offense and Defense Judgment Department
63 Defensive Character Control Unit
63a Target position calculation unit
63b Movement control unit
58 Image generator
59 Sound generator
70 storage unit
71, 81 Game information
72, 82 Character information
72a Field of view information
82b Mark character information
73, 83 Character position information
74 Player Character Information
75 Ball position information
76 Ball Keep Information
77 Pass destination candidate character information
78 Pass destination character information
79 Area information
84 Target position information
85 Offense and Defense Information
91 Pass destination character determination program
92 Defensive Character Control Program
FL field
AR area
Q Representative points
100 player characters
100a Team A player character
100b Team B player character
120 Ball Keep Character
130 Defensive Character
140 Mark character
300 fields of view
α Viewing angle
500 Ball object (ball)

Claims (18)

コンピュータに類する装置に、プレーヤの操作入力に応答して動作するPC(プレーヤ・キャラクタ)及びNPC(ノン・プレーヤ・キャラクタ)を含むフィールド上を移動可能な複数のキャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームを実行させるためのゲーム情報であって、
ボールをキープしているボールキープキャラクタを判定する判定手段、
前記フィールド上に、ボールキープキャラクタの視野を設定する視野設定手段、
ボールキープキャラクタと同じチームに属し、且つ、前記視野設定手段によって設定された視野内に位置するキャラクタのうち、一のキャラクタを選択する選択手段、
ボールキープキャラクタがNPCであった場合に、前記一のキャラクタにパスをするようにボールキープキャラクタの動作を制御する動作制御手段、
として前記装置を機能させるためのゲーム情報。
A plurality of characters that can move on the field including a PC (player character) and an NPC (non-player character) that operate in response to a player's operation input are divided into a plurality of teams in a device similar to a computer. Game information for executing a game of putting a ball into the goal area,
Determining means for determining a ball keeping character that is keeping the ball;
Field of view setting means for setting the field of view of the ball keep character on the field,
A selecting means for selecting one character among the characters belonging to the same team as the ball keep character and located in the field of view set by the field of view setting means;
Action control means for controlling the action of the ball keep character so as to pass the one character when the ball keep character is an NPC;
Game information for causing the device to function as
請求項1に記載のゲーム情報であって、
前記視野設定手段が、ボールキープキャラクタの体或いは顔の向きに基づいて視野を設定するように前記装置を機能させるためのゲーム情報。
The game information according to claim 1,
Game information for causing the device to function so that the visual field setting means sets the visual field based on the direction of the body or face of the ball keep character.
請求項1又は2に記載のゲーム情報であって、
前記複数のキャラクタ毎に視野角が予め設定されており、
前記視野設定手段が、前記判定手段によりボールキープキャラクタと判定されたキャラクタに設定されている視野角に応じて視野を設定するように前記装置を機能させるためのゲーム情報。
The game information according to claim 1 or 2,
A viewing angle is preset for each of the plurality of characters,
Game information for causing the device to function so that the visual field setting means sets the visual field according to the visual field angle set for the character determined as the ball-keep character by the determination means.
請求項1〜3の何れか一項に記載のゲーム情報であって、
前記視野設定手段により設定された視野の視野角を可変する視野角可変手段、として前記装置を機能させるためのゲーム情報。
The game information according to any one of claims 1 to 3,
Game information for causing the apparatus to function as viewing angle varying means for varying the viewing angle of the field of view set by the field of view setting means.
請求項1〜4の何れか一項に記載のゲーム情報であって、
所定時間前から現在までにボールキープキャラクタの視野内に位置したキャラクタを更新・記憶しておく記憶手段、として前記装置を機能させるとともに、
前記選択手段が、ボールキープキャラクタと同じチームに属し、且つ前記記憶手段により記憶されているキャラクタのうち、一のキャラクタを選択するように前記装置を機能させるためのゲーム情報。
The game information according to any one of claims 1 to 4,
The device functions as a storage means for updating and storing a character positioned in the field of view of the ball keep character from a predetermined time to the present,
Game information for causing the apparatus to function so that the selection means belongs to the same team as the ball keep character and the character stored in the storage means is selected.
請求項5に記載のゲーム情報であって、
前記記憶手段が、前記所定時間を可変する時間可変手段を有するように前記装置を機能させるためのゲーム情報。
The game information according to claim 5,
Game information for causing the device to function so that the storage means has time variable means for changing the predetermined time.
請求項1〜6の何れか一項に記載のゲーム情報であって、
前記フィールド上に複数の標本地点を設定する地点設定手段、
前記各キャラクタについて、当該キャラクタが現在の移動状況を維持した場合の所定時間後の位置を算出する慣性算出手段、
前記算出された位置を起点として、当該キャラクタが前記設定された標本地点に到達するまでの時間を算出する到達時間算出手段、
前記算出された前記各標本地点までのキャラクタの到達時間に基づいて、前記各チームの勢力に関する領域を認定する領域認定手段、
として前記装置を更に機能させるとともに、
前記選択手段が、更に、前記領域認定手段によって認定された、ボールキープキャラクタのチームの勢力に関する領域を参照して、一のキャラクタを選択するように前記装置を機能させるためのゲーム情報。
The game information according to any one of claims 1 to 6,
Point setting means for setting a plurality of sample points on the field;
For each character, inertia calculation means for calculating a position after a predetermined time when the character maintains the current movement state;
An arrival time calculation means for calculating a time until the character reaches the set sample point, starting from the calculated position;
Area recognition means for certifying an area related to the power of each team based on the calculated arrival time of the character to each sample point;
As the device further functions as
Game information for causing the device to function so as to select one character with reference to the area relating to the power of the team of the ball keep character that is selected by the area recognition means.
請求項7に記載のゲーム情報であって、
前記到達時間算出手段により算出された到達時間を参照して、前記設定された各標本地点について、最も早く到達可能なキャラクタの到達時間が短くなるに従って高くなるように優勢度を算出する優勢度算出手段として前記装置を更に機能させるとともに、
前記領域認定手段が、前記算出された各標本地点の優勢度に基づいて、前記各チームの勢力に関する領域を認定するように前記装置を機能させるためのゲーム情報。
The game information according to claim 7,
Referring to the arrival time calculated by the arrival time calculation means, a dominance calculation for calculating the dominance degree so that the arrival time of the character that can be reached earliest becomes shorter at each of the set sample points. As a means to further function the device,
Game information for causing the device to function so that the region recognition means recognizes a region related to the power of each team based on the calculated dominance of each sample point.
コンピュータに類する装置に、ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタの移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行させるためのゲーム情報であって、
前記ゲーム空間中に着目位置を設定する着目位置設定手段、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタを選択する選択手段、
前記制御対象キャラクタの位置を中心として、前記注目キャラクタの位置と前記着目位置とが所定角度以内に収まる位置を目標位置として設定する目標位置手段、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段、
として前記装置を機能させるためのゲーム情報。
Game information for causing a device similar to a computer to execute a given game by controlling movement of a character to be controlled among a plurality of characters that can move in the game space and generating an image of the game space Because
Position-of-interest setting means for setting a position of interest in the game space;
A selection means for selecting one attention character among the plurality of characters excluding the control target character;
Target position means for setting, as a target position, a position where the position of the target character and the position of interest fall within a predetermined angle with the position of the control target character as the center;
Movement control means for controlling movement of the control target character so as to be directed to the target position;
Game information for causing the device to function as
請求項9に記載のゲーム情報であって、
前記所定角度は、前記制御対象キャラクタに予め設定された視野角であることを特徴とするゲーム情報。
The game information according to claim 9,
The game information, wherein the predetermined angle is a viewing angle preset for the control target character.
請求項9に記載のゲーム情報であって、
前記所定角度を可変する角度可変手段、として前記装置を機能させるためのゲーム情報。
The game information according to claim 9,
Game information for causing the device to function as angle varying means for varying the predetermined angle.
コンピュータに類する装置に、ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタの移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行させるためのゲーム情報であって、
前記ゲーム空間中に防御位置を設定する防御位置設定手段、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタを選択する選択手段、
前記注目キャラクタの位置と前記防御位置とを結ぶ線分上に目標位置を設定する目標位置設定手段、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段、
として前記装置を機能させるためのゲーム情報。
Game information for causing a device similar to a computer to execute a given game by controlling movement of a character to be controlled among a plurality of characters that can move in the game space and generating an image of the game space Because
Defensive position setting means for setting a defensive position in the game space;
A selection means for selecting one attention character among the plurality of characters excluding the control target character;
Target position setting means for setting a target position on a line segment connecting the position of the target character and the defense position;
Movement control means for controlling movement of the control target character so as to be directed to the target position;
Game information for causing the device to function as
請求項9〜11の何れか一項に記載のゲーム情報であって、
前記ゲーム空間中に防御位置を設定する防御位置設定手段、として前記装置を機能させるとともに、
前記目標位置設定手段が、▲1▼前記制御対象キャラクタを中心として、前記注目キャラクタの位置と前記着目位置とが所定角度以内に収まり、且つ、▲2▼前記注目キャラクタの位置と前記防御位置とを結ぶ線分上に、目標位置を設定するように前記装置を機能させるためのゲーム情報。
The game information according to any one of claims 9 to 11,
While making the device function as a defense position setting means for setting a defense position in the game space,
The target position setting means is: (1) the position of the target character and the target position are within a predetermined angle centering on the control target character; and (2) the position of the target character and the defense position Game information for causing the apparatus to function so as to set a target position on a line segment connecting the two.
請求項13に記載のゲーム情報であって、
プレーヤの操作入力に応答して動作するPC(プレーヤ・キャラクタ)及びNPC(ノン・プレーヤ・キャラクタ)を含むフィールド上を移動可能な複数の選手キャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームを前記装置に実行させるとともに、
前記着目位置設定手段が、前記ボールの位置を着目位置に設定するように前記装置を機能させるとともに、
前記防御位置設定手段が、前記ゴール領域内の所与の位置を防御位置に設定するように前記装置を機能させるためのゲーム情報。
The game information according to claim 13,
A plurality of player characters that can move on the field including PC (player character) and NPC (non-player character) that operate in response to the player's operation input are divided into a plurality of teams to play a game and goal the ball Causing the device to execute a game to be placed in the area,
The target position setting means causes the apparatus to function so as to set the position of the ball to the target position,
Game information for causing the device to function so that the defense position setting means sets a given position in the goal area as a defense position.
請求項1〜14の何れか一項に記載のゲーム情報を記憶したコンピュータに類する装置によって読み取り可能な情報記憶媒体。An information storage medium readable by a device similar to a computer storing the game information according to claim 1. プレーヤの操作入力に応答して動作するPC(プレーヤ・キャラクタ)及びNPC(ノン・プレーヤ・キャラクタ)を含むフィールド上を移動可能な複数のキャラクタが複数のチームに分かれて対戦し、ボールをゴール領域に入れるゲームを実行するためのゲーム装置であって、
ボールをキープしているボールキープキャラクタを判定する判定手段と、
前記フィールド上に、ボールキープキャラクタの視野を設定する視野設定手段と、
ボールキープキャラクタと同じチームに属し、且つ、前記視野設定手段によって設定された視野内に位置するキャラクタのうち、一のキャラクタを選択する選択手段と、
ボールキープキャラクタがNPCであった場合に、前記一のキャラクタにパスをするようにボールキープキャラクタの動作を制御する動作制御手段と、
を備えるゲーム装置。
A plurality of characters that can move on the field including a PC (player character) and a NPC (non-player character) that operate in response to the player's operation input are divided into a plurality of teams to play, and the ball is played in the goal area A game device for executing a game to be put in
Determining means for determining a ball keeping character that is keeping the ball;
Field setting means for setting the field of view of the ball keep character on the field;
A selection means for selecting one character among the characters belonging to the same team as the ball keep character and located in the field of view set by the field of view setting means;
Action control means for controlling the action of the ball keep character so as to pass the one character when the ball keep character is an NPC;
A game device comprising:
ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタの移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行するゲーム装置であって、
前記ゲーム空間中に着目位置を設定する着目位置設定手段と、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタを選択する選択手段と、
前記制御対象キャラクタの位置を中心として、前記注目キャラクタの位置と前記着目位置とが所定角度以内に収まる位置を目標位置として設定する目標位置手段、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段と、
を備えるゲーム装置。
A game device that controls a movement of a control target character among a plurality of characters that can move in a game space, and executes a given game by generating an image of the game space,
Focus position setting means for setting a focus position in the game space;
A selection means for selecting one of the plurality of characters excluding the control target character;
Target position means for setting, as a target position, a position where the position of the target character and the position of interest fall within a predetermined angle with the position of the control target character as the center;
Movement control means for controlling the movement of the control target character so as to go to the target position;
A game device comprising:
ゲーム空間を移動可能な複数のキャラクタのうち、制御対象キャラクタの移動を制御するとともに、前記ゲーム空間の画像を生成することにより、所与のゲームを実行するゲーム装置であって、
前記ゲーム空間中に防御位置を設定する防御位置設定手段と、
制御対象キャラクタを除く前記複数のキャラクタのうち、一の注目キャラクタを選択する選択手段と、
前記注目キャラクタの位置と前記防御位置とを結ぶ線分上に目標位置を設定する目標位置設定手段と、
前記目標位置に向かうように、前記制御対象キャラクタの移動を制御する移動制御手段と、
を備えるゲーム装置。
A game device that controls a movement of a control target character among a plurality of characters that can move in a game space, and executes a given game by generating an image of the game space,
Defensive position setting means for setting a defensive position in the game space;
A selection means for selecting one of the plurality of characters excluding the control target character;
Target position setting means for setting a target position on a line segment connecting the position of the target character and the defense position;
Movement control means for controlling the movement of the control target character so as to go to the target position;
A game device comprising:
JP2003128810A 2003-05-07 2003-05-07 GAME PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE Expired - Fee Related JP3533393B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003128810A JP3533393B1 (en) 2003-05-07 2003-05-07 GAME PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003128810A JP3533393B1 (en) 2003-05-07 2003-05-07 GAME PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2003315935A Division JP4074235B2 (en) 2003-09-08 2003-09-08 PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP2003424841A Division JP4025716B2 (en) 2003-12-22 2003-12-22 PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE

Publications (2)

Publication Number Publication Date
JP3533393B1 JP3533393B1 (en) 2004-05-31
JP2004329531A true JP2004329531A (en) 2004-11-25

Family

ID=32463717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003128810A Expired - Fee Related JP3533393B1 (en) 2003-05-07 2003-05-07 GAME PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE

Country Status (1)

Country Link
JP (1) JP3533393B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009057354A1 (en) * 2007-11-02 2009-05-07 Konami Digital Entertainment Co., Ltd. Game machine, and controlling method, program and information storage medium of the game machine
WO2010016324A1 (en) * 2008-08-05 2010-02-11 株式会社コナミデジタルエンタテインメント Game device, method for controlling game device, program, and information storage medium
JP2011142959A (en) * 2010-01-12 2011-07-28 Konami Digital Entertainment Co Ltd Game device, game device control method, and program
US8267779B2 (en) 2005-11-04 2012-09-18 Kabushiki Kaisha Sega Program, storage medium on which program is recorded, and game device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5103544B1 (en) * 2011-06-14 2012-12-19 株式会社コナミデジタルエンタテインメント GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
JP6940168B2 (en) * 2019-03-04 2021-09-22 株式会社コナミデジタルエンタテインメント Game system, game control device, program, and game control method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8267779B2 (en) 2005-11-04 2012-09-18 Kabushiki Kaisha Sega Program, storage medium on which program is recorded, and game device
WO2009057354A1 (en) * 2007-11-02 2009-05-07 Konami Digital Entertainment Co., Ltd. Game machine, and controlling method, program and information storage medium of the game machine
JP2009112405A (en) * 2007-11-02 2009-05-28 Konami Digital Entertainment Co Ltd Game machine, game machine control method and program
KR101050979B1 (en) 2007-11-02 2011-07-21 가부시키가이샤 코나미 데지타루 엔타테인멘토 Game device, control method and information storage medium of game device
US8597094B2 (en) 2007-11-02 2013-12-03 Konami Digital Entertainment Co., Ltd. Game machine, controlling method, program and information storage medium of the game machine for improving operability for a user when a player character of an opponent team holds a moving object
WO2010016324A1 (en) * 2008-08-05 2010-02-11 株式会社コナミデジタルエンタテインメント Game device, method for controlling game device, program, and information storage medium
JP2010035828A (en) * 2008-08-05 2010-02-18 Konami Digital Entertainment Co Ltd Game device, game device control method and program
JP4498447B2 (en) * 2008-08-05 2010-07-07 株式会社コナミデジタルエンタテインメント GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
KR101193434B1 (en) 2008-08-05 2012-10-24 가부시키가이샤 코나미 데지타루 엔타테인멘토 Game device, method for controlling game device, and information storage medium
US8444463B2 (en) 2008-08-05 2013-05-21 Konami Digital Entertainment Co., Ltd. Game device, method for controlling game device, program, and information storage medium
JP2011142959A (en) * 2010-01-12 2011-07-28 Konami Digital Entertainment Co Ltd Game device, game device control method, and program

Also Published As

Publication number Publication date
JP3533393B1 (en) 2004-05-31

Similar Documents

Publication Publication Date Title
JP4057945B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
US7399224B2 (en) Method of game character movement control in game space
JP3865382B2 (en) GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM
JP3927821B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP3910890B2 (en) GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM
JP3747050B1 (en) Program, information storage medium, and image generation system
JP2010029398A (en) Program, information storage medium and image generation system
US8506371B2 (en) Game device, game device control method, program, information storage medium
KR100281837B1 (en) Image processing apparatus and game device having same
US9827495B2 (en) Simulation device, simulation method, program, and information storage medium
JP2006271473A (en) Game system, and server
JP2006255175A (en) Program, information storage medium and game apparatus
JP2004329531A (en) Game program, information storing medium, and game device
JP4025716B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP4074235B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP3944456B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP2008093163A (en) Program, information storage medium and game system
JP2006263321A (en) Program, information storage medium, and image generation system
US20110183756A1 (en) Game device, method for controlling game device, program and information memory medium
JP3920902B2 (en) PROGRAM, INFORMATION STORAGE MEDIUM, AND GAME DEVICE
JP2006230582A (en) Program, information storage medium and game apparatus
JP4097235B2 (en) Image generating apparatus and information storage medium
JP2018068926A (en) Game control device, game system, and program
JPH11244532A (en) Image producing device and information storage medium
JP4159101B2 (en) Image generating apparatus and information storage medium

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040308

R150 Certificate of patent or registration of utility model

Ref document number: 3533393

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080312

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080312

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090312

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100312

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110312

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110312

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120312

Year of fee payment: 8

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120312

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120312

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130312

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140312

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees