JP5220350B2 - Program, information storage medium, and image generation system - Google Patents

Program, information storage medium, and image generation system Download PDF

Info

Publication number
JP5220350B2
JP5220350B2 JP2007156255A JP2007156255A JP5220350B2 JP 5220350 B2 JP5220350 B2 JP 5220350B2 JP 2007156255 A JP2007156255 A JP 2007156255A JP 2007156255 A JP2007156255 A JP 2007156255A JP 5220350 B2 JP5220350 B2 JP 5220350B2
Authority
JP
Japan
Prior art keywords
motion
character
playback
period
unit
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.)
Active
Application number
JP2007156255A
Other languages
Japanese (ja)
Other versions
JP2008307166A (en
Inventor
真 中野
正和 藤井
泰 小野
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
Bandai Namco Entertainment Inc
Original Assignee
Namco Ltd
Namco Bandai Games Inc
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, Namco Bandai Games Inc filed Critical Namco Ltd
Priority to JP2007156255A priority Critical patent/JP5220350B2/en
Publication of JP2008307166A publication Critical patent/JP2008307166A/en
Application granted granted Critical
Publication of JP5220350B2 publication Critical patent/JP5220350B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Description

本発明は、プログラム、情報記憶媒体及び画像生成システムに関する。   The present invention relates to a program, an information storage medium, and an image generation system.

従来より、スポーツ選手を模したキャラクタ等のオブジェクトが配置設定されるオブジェクト空間内(仮想的な3次元空間)において仮想カメラ(所与の視点)から見える画像を生成する画像生成システム(ゲームシステム)が知られており、いわゆる仮想現実を体験できるものとして人気が高い。テニスゲームを楽しむことができる画像生成システムを例にとれば、プレーヤは、ゲームコントローラなどの操作部を用いて自身のキャラクタを操作して、他のプレーヤやコンピュータが操作する相手キャラクタがショットしたボールをラケットで打ち返すことでゲームを楽しむ。   Conventionally, an image generation system (game system) that generates an image viewed from a virtual camera (given viewpoint) in an object space (virtual three-dimensional space) in which an object such as a character imitating a sports player is placed and set Is known and is popular as a place to experience so-called virtual reality. Taking an image generation system capable of enjoying a tennis game as an example, a player operates his / her character using an operation unit such as a game controller, and a ball shot by an opponent character operated by another player or a computer. Enjoy the game by hitting back with a racket.

このようなテニスゲームでは、ボールがキャラクタの場所に飛んできたタイミングで、プレーヤがゲームコントローラの動作指示ボタンを押すことで、ボールを打ち返すという操作インターフェースを採用するのが一般的である。   In such a tennis game, it is common to employ an operation interface in which the player hits the ball by pressing an operation instruction button on the game controller at the timing when the ball flies to the character.

しかしながら、このような操作インターフェースでは、プレーヤがキャラクタの動作指示ボタンを押すタイミングの前においては、どのような種類のショット動作をキャラクタに行わせるのかを、確定できない。即ちプレーヤがショットタイミングの直前に例えばトップスピンやスライスのショット動作の指示ボタンを押した場合に、打ち返したボールの軌道をトップスピンやスライスの軌道にすることはできるが、キャラクタのモーション自体を、トップスピンやスライスのショット動作に応じたモーションにすることは難しかった。   However, with such an operation interface, it is not possible to determine what kind of shot action is to be performed by the character before the player presses the action instruction button of the character. That is, if the player presses the top spin or slice shot operation instruction button immediately before the shot timing, for example, the trajectory of the hit ball can be changed to the top spin or slice trajectory. It was difficult to make the motion according to the topspin or slice shot motion.

以上のような課題を解決するために、本願発明者は、キャラクタによりボール(移動体)がショット(捕捉)されるタイミングに先行して、キャラクタの動作指示を行うことができる先行入力システムを開発している。この先行入力システムによれば、例えばショットタイミングの前に、プレーヤがトップスピンやスライスの動作指示ボタンを押すと、ボールの軌道のみならず、ショットタイミングまでのキャラクタのモーションについても、トップスピンやスライスの動作を忠実に再現したモーションにすることが可能になる。   In order to solve the problems as described above, the present inventor has developed a prior input system capable of instructing a character's movement prior to the timing at which the ball (moving body) is shot (captured) by the character. doing. According to this prior input system, for example, when the player presses the top spin or slice action instruction button before the shot timing, not only the trajectory of the ball but also the motion of the character up to the shot timing, the top spin and slice It becomes possible to make the motion faithfully reproduce the motion.

しかしながら、このような先行入力システムを採用した場合には、プレーヤの先行入力のタイミングに応じてショットタイミングまでの時間が変化してしまい、モーションの再生時間が一定にならないという課題があることが判明した。
特開平8−90638号公報 特開平11−90046号公報
However, when such a prior input system is adopted, it has been found that there is a problem that the time until the shot timing changes depending on the player's prior input timing, and the motion playback time is not constant. did.
JP-A-8-90638 Japanese Patent Laid-Open No. 11-90046

本発明は、以上のような課題に鑑みてなされたものであり、その目的とするところは、先行入力システムに好適なモーション再生処理を実現できるプログラム、情報記憶媒体及び画像生成システムを提供することにある。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a program, an information storage medium, and an image generation system capable of realizing a motion reproduction process suitable for a prior input system. It is in.

本発明は、画像を生成する画像生成システムであって、キャラクタにより移動体がショット又は捕捉されるタイミングに先行して、前記キャラクタの動作を指示する先行入力をプレーヤが行った場合に、入力された先行入力を受け付ける入力受け付け部と、前記キャラクタによりショット又は捕捉される前記移動体の制御処理を行う移動体制御部と、受け付けられた前記先行入力の操作データに基づいて、前記キャラクタの制御処理を行うキャラクタ制御部と、前記キャラクタのモーションデータを記憶するモーションデータ記憶部と、前記モーションデータに基づいて前記キャラクタのモーション再生を行うモーション再生部と、前記キャラクタのモーションの再生速度変更処理を行う再生速度変更部とを含み、前記再生速度変更部は、前記先行入力のタイミングから第1のタイミングまでの期間である第1の期間での第1の再生速度の変更度合いを、前記第1のタイミングから前記キャラクタと前記移動体のヒットイベントが発生するタイミングまでの期間である第2の期間での第2の再生速度の変更度合いに比べて大きくする再生速度変更処理を行う画像生成システムに関係する。   The present invention is an image generation system for generating an image, which is input when a player makes a prior input instructing the action of the character prior to the timing when the moving object is shot or captured by the character. An input receiving unit that receives the preceding input, a moving body control unit that performs control processing of the moving body shot or captured by the character, and the character control process based on the received operation data of the preceding input. A character control unit that performs the motion, a motion data storage unit that stores the motion data of the character, a motion playback unit that plays back the motion of the character based on the motion data, and a process for changing the playback speed of the motion of the character A playback speed change unit, wherein the playback speed change unit The degree of change in the first reproduction speed in the first period, which is the period from the timing of the preceding input to the first timing, is determined from the first timing to the timing when the hit event of the character and the moving object occurs. This is related to an image generation system that performs a reproduction speed change process that is larger than the degree of change in the second reproduction speed in the second period.

本発明では、キャラクタにより移動体がショット又は捕捉されるタイミングに先行して、キャラクタの動作指示のための先行入力をプレーヤが行うと、その先行入力が受け付けられ、先行入力の操作データに基づいてキャラクタの制御処理が行われる。またモーションデータに基づいてキャラクタのモーション再生が行われると共に、モーションの再生速度の変更処理が行われる。この場合に本発明では、モーションの再生期間が、先行入力のタイミングから第1のタイミングまでの期間である第1の期間と、第1のタイミングからヒットイベントの発生タイミングまでの期間である第2の期間に区画される。そしてモーションの再生速度変更処理の際に、第1の期間での第1の再生速度の変更度合いが、第2の期間での第2の再生速度の変更度合いに比べて大きくなる。このようにすれば、ショット動作又は捕捉動作の後半の期間で、再生速度の変更により不自然なモーションが再生されてしまう事態を防止でき、先行入力システムに好適なモーション再生処理を実現できる。   In the present invention, when the player makes a preceding input for instructing the movement of the character prior to the timing when the moving object is shot or captured by the character, the preceding input is accepted and based on the operation data of the preceding input. Character control processing is performed. In addition, the motion of the character is reproduced based on the motion data, and the process for changing the motion reproduction speed is performed. In this case, in the present invention, the motion playback period is a first period from the preceding input timing to the first timing, and a second period from the first timing to the hit event occurrence timing. It is divided into periods. When the motion playback speed change process is performed, the degree of change in the first playback speed in the first period is greater than the degree of change in the second playback speed in the second period. In this way, it is possible to prevent a situation in which an unnatural motion is reproduced due to a change in the reproduction speed in the second half of the shot operation or the capture operation, and it is possible to realize a motion reproduction process suitable for the preceding input system.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記再生速度変更部は、前記ヒットイベントの発生位置であるヒット位置への前記移動体の到達時間と、モーションの再生時間とにより、前記第1の期間での前記第1の再生速度の変更倍率である第1の変更倍率と、前記第2の期間での前記第2の再生速度の変更倍率である第2の変更倍率を設定してもよい。   Further, in the image generation system, the program, and the information storage medium according to the present invention, the playback speed changing unit is configured to determine the arrival time of the moving body at the hit position where the hit event is generated and the playback time of the motion. A first change magnification that is a change magnification of the first reproduction speed in the first period and a second change magnification that is a change magnification of the second reproduction speed in the second period are set. May be.

このようにすれば、例えば移動体の到達時間と再生時間との時間比等に応じた変更倍率の設定処理を実現できる。   In this way, it is possible to realize change magnification setting processing according to, for example, the time ratio between the arrival time of the moving object and the reproduction time.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記再生速度変更部は、前記第2の変更倍率を1倍に設定したときの前記第1の変更倍率を求め、求められた前記第1の変更倍率が第1のしきい値よりも大きい場合には、前記第1の変更倍率を小さくすると共に前記第2の変更倍率を大きくし、求められた前記第1の変更倍率が第2のしきい値よりも小さい場合には、前記第1の変更倍率を大きくすると共に前記第2の変更倍率を小さくしてもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the reproduction speed changing unit obtains the first change magnification when the second change magnification is set to 1 and the obtained change magnification is obtained. When the first change magnification is larger than the first threshold value, the first change magnification is decreased and the second change magnification is increased, and the obtained first change magnification is the first change magnification. If the threshold value is smaller than 2, the first change magnification may be increased and the second change magnification may be decreased.

このようにすれば、第1の変更倍率が大きくなりすぎたり、小さくなりすぎて、不自然なモーション再生が行われてしまう事態を防止できる。   In this way, it is possible to prevent a situation in which the first change magnification becomes too large or too small and unnatural motion reproduction is performed.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記モーションデータ記憶部は、前記第1、第2の期間を区画するフレームを特定するための区画フレームのデータを、各モーションに関連づけて記憶し、前記再生速度変更部は、前記区画フレームのデータに基づいて前記第1のタイミングを特定して、前記再生速度変更処理を行ってもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the motion data storage unit associates the data of the partition frame for specifying the frame that partitions the first and second periods with each motion. And the playback speed changing unit may perform the playback speed changing process by specifying the first timing based on the data of the partition frame.

このようにすれば、各モーション毎に第1のタイミングを異ならせることが可能になり、より適切で多様なモーション再生を実現できる。   In this way, the first timing can be made different for each motion, and more appropriate and diverse motion reproduction can be realized.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記モーションデータ記憶部は、モーションの再生速度が変更される第1のモーションのデータと、モーションの再生速度が変更されない第2のモーションのデータを記憶し、前記再生速度変更部は、前記先行入力による前記キャラクタの動作指示に基づいて前記第1のモーションが選択された場合に、前記再生速度変更処理を行ってもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the motion data storage unit includes the first motion data in which the motion playback speed is changed and the second motion in which the motion playback speed is not changed. The reproduction speed changing unit may perform the reproduction speed changing process when the first motion is selected based on the action instruction of the character by the preceding input.

このようにすれば、再生速度変更処理が必要な第1のモーションと再生速度変更処理が必要ではない第2のモーションをカテゴリ分けして処理できるため、処理を効率化できる。   In this way, the first motion that requires the playback speed change process and the second motion that does not require the playback speed change process can be categorized and processed, so the processing can be made more efficient.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記モーション再生部は、前記先行入力による前記キャラクタの動作指示に基づいて前記第2のモーションが選択された場合に、前記第2のモーションの再生時間を取得し、前記再生時間が、前記ヒットイベントの発生位置であるヒット位置への前記移動体の到達時間よりも長い場合には、前記第2のモーションの途中からモーション再生を行い、前記再生時間が前記到達時間よりも短い場合には、他のモーション再生を行った後に前記第2のモーションの再生を行ってもよい。   Further, in the image generation system, the program, and the information storage medium according to the present invention, the motion playback unit, when the second motion is selected based on the action instruction of the character by the preceding input, When the playback time of the motion is acquired and the playback time is longer than the arrival time of the moving object at the hit position where the hit event occurs, the motion playback is performed from the middle of the second motion. When the reproduction time is shorter than the arrival time, the second motion may be reproduced after performing another motion reproduction.

このようにすれば、第2のモーションが選択された場合に、再生速度の変更処理を行わなくても、到達時間と再生時間の長さの違いを吸収することができるようになる。   In this way, when the second motion is selected, the difference between the arrival time and the length of the reproduction time can be absorbed without performing the reproduction speed changing process.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記モーション再生部は、前記ヒットイベントの発生位置であるヒット位置への前記移動体の到達時間が、前記第2の期間の長さである第2の時間よりも短い場合には、前記再生速度変更処理を行うことなく前記キャラクタのモーションを再生してもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the motion playback unit may determine that the arrival time of the moving body at the hit position where the hit event is generated is the length of the second period. If it is shorter than the second time, the motion of the character may be reproduced without performing the reproduction speed changing process.

このようにすれば、プレーヤの先行入力のタイミングが遅すぎた場合等にも、これに対応することができ、先行入力システムに好適な操作アシストを実現できる。   In this way, it is possible to cope with the case where the timing of the preceding input of the player is too late, and it is possible to realize an operation assist suitable for the preceding input system.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記モーション再生部は、前記到達時間内での前記キャラクタのゲームフィールド上での移動距離が、前記第2の期間での前記キャラクタのモーションでの移動距離よりも短い場合には、前記再生速度変更処理を行うことなく前記キャラクタのモーションを再生してもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the motion reproduction unit has a movement distance of the character on the game field within the arrival time of the character in the second period. If the moving distance is shorter than the movement distance, the motion of the character may be reproduced without performing the reproduction speed changing process.

このようにすれば、無駄な再生速度変更処理を行わなくても済むため、処理を効率化できる。   In this way, it is not necessary to perform a useless reproduction speed changing process, so that the process can be made more efficient.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記第1のタイミングにより設定される前記第2の期間は、前記キャラクタの足を滑らせない期間として設定された期間であってもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the second period set by the first timing may be a period set as a period during which the character's foot is not slid. Good.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記キャラクタと前記移動体とのヒットイベントが発生する位置であるヒット位置を求めるヒット位置演算部を含み(或いはヒット位置演算部としてコンピュータを機能させ)、前記モーション再生部は、前記ヒット位置演算部により求められたヒット位置への前記移動体の到達時間と、前記先行入力の動作指示データとに基づき、モーションデータを選択して再生してもよい。   The image generation system, the program, and the information storage medium according to the present invention include a hit position calculation unit that obtains a hit position that is a position where a hit event occurs between the character and the moving object (or a computer as the hit position calculation unit). The motion playback unit selects and plays back the motion data based on the arrival time of the moving body at the hit position determined by the hit position calculation unit and the operation instruction data of the preceding input. May be.

このようにすれば、到達時間の長さやプレーヤの動作指示に応じた最適なモーションデータの選択が可能になる。   In this way, it is possible to select the optimal motion data according to the length of the arrival time and the operation instruction of the player.

また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、前記再生速度変更部は、選択されたモーションデータの再生時間と、前記移動体の前記到達時間とに基づいて、前記第1の期間での前記第1の再生速度の変更倍率である第1の変更倍率と、前記第2の期間での前記第2の再生速度の変更倍率である第2の変更倍率を設定してもよい。   In the image generation system, the program, and the information storage medium according to the present invention, the playback speed changing unit is configured to perform the first period based on the playback time of the selected motion data and the arrival time of the moving body. A first change magnification that is a change magnification of the first reproduction speed at the second and a second change magnification that is a change magnification of the second reproduction speed in the second period may be set.

このようにすれば、再生時間と到達時間の長さの違いに応じた第1、第2の変更倍率の設定が可能になる。   In this way, it is possible to set the first and second change magnifications according to the difference between the reproduction time and the arrival time.

以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必須構成要件であるとは限らない。   Hereinafter, this embodiment will be described. In addition, this embodiment demonstrated below does not unduly limit the content of this invention described in the claim. In addition, all the configurations described in the present embodiment are not necessarily essential configuration requirements of the present invention.

1.構成
図1に本実施形態の画像生成システム(ゲームシステム)のブロック図の例を示す。なお本実施形態の画像生成システムは図1の構成要素(各部)の一部を省略した構成としてもよい。
1. Configuration FIG. 1 shows an example of a block diagram of an image generation system (game system) of the present embodiment. Note that the image generation system of the present embodiment may have a configuration in which some of the components (each unit) in FIG. 1 are omitted.

操作部160は、プレーヤが操作データを入力するためのものであり、その機能は、方向キー、操作ボタン、アナログスティック、レバー、マイク、或いはタッチパネル型ディスプレイなどにより実現できる。   The operation unit 160 is for a player to input operation data, and the function can be realized by a direction key, operation button, analog stick, lever, microphone, touch panel display, or the like.

記憶部170は、処理部100や通信部196などのワーク領域となるもので、その機能はRAM(DRAM、VRAM)などにより実現できる。この記憶部170は、電源を切るとデータが消えてしまう揮発性のメモリにより構成できるが、補助記憶装置194よりも高速な記憶装置になっている。そしてゲームプログラムや、ゲームプログラムの実行に必要なゲームデータは、この記憶部170に保持される。   The storage unit 170 serves as a work area for the processing unit 100, the communication unit 196, and the like, and its function can be realized by a RAM (DRAM, VRAM) or the like. The storage unit 170 can be configured by a volatile memory that loses data when the power is turned off, but is a storage device that is faster than the auxiliary storage device 194. Then, the game program and game data necessary for executing the game program are held in the storage unit 170.

情報記憶媒体180(コンピュータにより読み取り可能な媒体)は、プログラムやデータなどを格納するものであり、その機能は、光ディスク(CD、DVD)、HDD(ハードディスクドライブ)、或いはメモリ(ROM等)などにより実現できる。処理部100は、情報記憶媒体180に格納されるプログラム(データ)に基づいて本実施形態の種々の処理を行う。即ち情報記憶媒体180には、本実施形態の各部としてコンピュータ(操作部、処理部、記憶部、出力部を備える装置)を機能させるためのプログラム(各部の処理をコンピュータに実行させるためのプログラム)が記憶される。   An information storage medium 180 (a computer-readable medium) stores programs, data, and the like, and functions thereof by an optical disk (CD, DVD), HDD (hard disk drive), memory (ROM, etc.), and the like. realizable. The processing unit 100 performs various processes of the present embodiment based on a program (data) stored in the information storage medium 180. That is, in the information storage medium 180, a program for causing a computer (an apparatus including an operation unit, a processing unit, a storage unit, and an output unit) to function as each unit of the present embodiment (a program for causing the computer to execute processing of each unit). Is memorized.

表示部190は、本実施形態により生成された画像を出力するものであり、その機能は、CRT、LCD、タッチパネル型ディスプレイ、或いはHMD(ヘッドマウントディスプレイ)などにより実現できる。音出力部192は、本実施形態により生成された音を出力するものであり、その機能は、スピーカ、或いはヘッドフォンなどにより実現できる。   The display unit 190 outputs an image generated according to the present embodiment, and its function can be realized by a CRT, LCD, touch panel display, HMD (head mounted display), or the like. The sound output unit 192 outputs the sound generated by the present embodiment, and its function can be realized by a speaker, headphones, or the like.

補助記憶装置194(補助メモリ、2次メモリ)は、記憶部170の容量を補うために使用される記憶装置であり、SDメモリーカード、マルチメディアカードなどのメモリーカードや、HDDなどにより実現できる。この補助記憶装置194は脱着自在になっているが、内蔵されるものであってもよい。この補助記憶装置194は、ゲームの途中結果などのセーブデータや、プレーヤ(ユーザ)の個人的な画像データや音楽データなどを保存するために使用される。   The auxiliary storage device 194 (auxiliary memory, secondary memory) is a storage device used to supplement the capacity of the storage unit 170, and can be realized by a memory card such as an SD memory card or a multimedia card, an HDD, or the like. The auxiliary storage device 194 is detachable, but may be built-in. The auxiliary storage device 194 is used to save save data such as the game midway results, personal image data and music data of the player (user), and the like.

通信部196は、有線や無線のネットワークを介して外部(例えば他の画像生成システム、サーバ、ホスト装置)との間で通信を行うものであり、その機能は、通信用ASIC又は通信用プロセッサなどのハードウェアや、通信用ファームウェアにより実現できる。   The communication unit 196 communicates with the outside (for example, another image generation system, a server, or a host device) via a wired or wireless network, and functions as a communication ASIC, a communication processor, or the like. It can be realized by hardware and communication firmware.

なお本実施形態の各部としてコンピュータを機能させるためのプログラム(データ)は、サーバ(ホスト装置)が有する情報記憶媒体からネットワーク及び通信部196を介して情報記憶媒体180(あるいは記憶部170、補助記憶装置194)に配信してもよい。このようなサーバ(ホスト装置)による情報記憶媒体の使用も本発明の範囲内に含めることができる。   Note that a program (data) for causing a computer to function as each unit of the present embodiment is obtained from an information storage medium of a server (host device) via an information storage medium 180 (or storage unit 170, auxiliary storage) via a network and communication unit 196. May be distributed to the device 194). Use of an information storage medium by such a server (host device) can also be included in the scope of the present invention.

処理部100(プロセッサ)は、操作部160からの操作データやプログラムなどに基づいて、ゲーム処理、画像生成処理、或いは音生成処理などを行う。処理部100は記憶部170をワーク領域として各種処理を行う。この処理部100の機能は、各種プロセッサ(CPU、GPU等)、ASIC(ゲートアレイ等)などのハードウェアや、プログラムにより実現できる。   The processing unit 100 (processor) performs game processing, image generation processing, sound generation processing, and the like based on operation data from the operation unit 160, a program, and the like. The processing unit 100 performs various processes using the storage unit 170 as a work area. The functions of the processing unit 100 can be realized by hardware such as various processors (CPU, GPU, etc.), ASIC (gate array, etc.), and programs.

処理部100は、入力受け付け部102、オブジェクト空間設定部104、ゲーム演算部106、移動体制御部108、キャラクタ制御部110、モーション再生部112、再生速度変更部113、ヒット位置演算部114、判定部116、仮想カメラ制御部118、画像生成部120、音生成部130を含むことができる。なおこれらの一部の構成要素(例えばヒット位置演算部、判定部)を省略する構成としてもよい。   The processing unit 100 includes an input receiving unit 102, an object space setting unit 104, a game calculation unit 106, a moving body control unit 108, a character control unit 110, a motion playback unit 112, a playback speed change unit 113, a hit position calculation unit 114, and a determination. Unit 116, virtual camera control unit 118, image generation unit 120, and sound generation unit 130. In addition, it is good also as a structure which abbreviate | omits these some components (for example, hit position calculating part, determination part).

入力受け付け部(操作データ取得部)102は、プレーヤの操作入力を受け付ける処理を行う。例えばプレーヤによる操作部160の操作をモニタし、プレーヤがキャラクタの動作指示等のために操作部160を操作した場合に、操作部160により入力された動作指示データ(モーション指示データ、方向指示データ)等の操作情報を取得する。   The input receiving unit (operation data acquiring unit) 102 performs processing for receiving an operation input from the player. For example, the operation of the operation unit 160 by the player is monitored, and the operation instruction data (motion instruction data, direction instruction data) input by the operation unit 160 when the player operates the operation unit 160 for a character operation instruction or the like. Operation information such as is acquired.

そして本実施形態では入力受け付け部102は、キャラクタにより移動体(ボール)がショット(打撃、キック)又は捕捉(捕球、キープ)されるタイミングに先行して、キャラクタの動作を指示する先行入力(動作指示データの入力)をプレーヤが行った場合に、入力された先行入力を受け付ける。ここで先行入力は、例えば、少なくとも先行入力が行われたタイミングから移動体がショット又は捕捉されるタイミングまでのキャラクタのモーション(動作)を決めるための入力である。例えばヒット動作(トップスピンやスライスなどのショット動作)を指示する先行入力が行われると、その先行入力の動作指示データにより特定されるモーションが再生されて、ヒットタイミング(ショットタイミング、捕捉タイミング)においてキャラクタが移動体(ボール、プレイ対象物)のヒット動作(ショット動作、捕捉動作)を行う。このようにすれば、先行入力のタイミングから少なくともヒットタイミングまで、その先行入力で特定されるモーション(例えば1つのモーションデータ)を選択して再生できるようになり、リアルで高品質なモーション表現を実現できる。   In this embodiment, the input receiving unit 102 precedes the timing when the moving body (ball) is shot (hit, kick) or captured (catch, keep) by the character. When the player inputs the operation instruction data), the input preceding input is accepted. Here, for example, the preceding input is an input for determining a motion (motion) of the character from at least the timing at which the preceding input is performed to the timing at which the moving object is shot or captured. For example, when a preceding input that instructs a hit operation (shot operation such as top spin or slice) is performed, a motion specified by the operation instruction data of the preceding input is reproduced, and at the hit timing (shot timing, capture timing) The character performs a hit motion (shot motion, capture motion) of the moving body (ball, play object). In this way, it is possible to select and play back the motion (for example, one motion data) specified by the preceding input from the timing of the preceding input to at least the hit timing, thereby realizing a realistic and high-quality motion expression. it can.

オブジェクト空間設定部104は、モデルオブジェクト(キャラクタ、ロボット、車、戦闘機、ボール、ミサイル、弾等)、ゲームフィールド(コート、グラウンド)、壁、建物、樹木、マップ(地形)、コース(道路)などの表示物を表す各種オブジェクト(ポリゴン、自由曲面又はサブディビジョンサーフェイスなどのプリミティブ面で構成されるオブジェクト)をオブジェクト空間に配置設定する処理を行う。即ちワールド座標系でのオブジェクトの位置や回転角度(向き、方向と同義)を決定し、その位置(X、Y、Z)にその回転角度(X、Y、Z軸回りでの回転角度)でオブジェクトを配置する。   The object space setting unit 104 includes model objects (characters, robots, cars, fighters, balls, missiles, bullets, etc.), game fields (court, ground), walls, buildings, trees, maps (terrain), courses (roads). Various kinds of objects (objects composed of primitive surfaces such as polygons, free-form surfaces or subdivision surfaces) representing display objects such as display objects are arranged and set in the object space. In other words, the position and rotation angle of the object in the world coordinate system (synonymous with direction and direction) are determined, and the rotation angle (rotation angle around the X, Y, and Z axes) is determined at that position (X, Y, Z). Arrange objects.

例えば記憶部170の形状データ記憶部171には、キャラクタ等のオブジェクト(モデルオブジェクト)の形状を決めるための形状データ(ポリゴンデータ)が記憶されている。またオブジェクトデータ記憶部172には、図2に示すように、これらのオブジェクトの位置、回転角度、移動速度、移動方向等のデータであるオブジェクトデータがオブジェクト番号に対応づけて記憶される。   For example, the shape data storage unit 171 of the storage unit 170 stores shape data (polygon data) for determining the shape of an object (model object) such as a character. Also, as shown in FIG. 2, the object data storage unit 172 stores object data such as the position, rotation angle, moving speed, moving direction, and the like of these objects in association with the object numbers.

そしてオブジェクト空間設定部104は、これらの形状データやオブジェクトデータを用いて、オブジェクト空間へのオブジェクトの設定(配置)処理を行う。またオブジェクトデータ記憶部172のオブジェクトデータは、移動体制御部108やキャラクタ制御部110での移動制御処理等により順次更新される。   The object space setting unit 104 performs an object setting (arrangement) process in the object space using the shape data and the object data. The object data in the object data storage unit 172 is sequentially updated by a movement control process in the moving body control unit 108 and the character control unit 110.

ゲーム演算部106はゲーム演算処理を行う。ここでゲーム演算としては、ゲーム開始条件が満たされた場合にゲームを開始する処理、ゲームを進行させる処理、ゲーム結果を演算する処理、或いはゲーム終了条件が満たされた場合にゲームを終了する処理などがある。   The game calculation unit 106 performs game calculation processing. Here, as a game calculation, a process for starting a game when a game start condition is satisfied, a process for advancing the game, a process for calculating a game result, or a process for ending a game when a game end condition is satisfied and so on.

移動体制御部(移動体演算部)108は、オブジェクト空間内で移動するボールなどの移動体(プレイ対象物)の制御処理を行う。例えば移動体を移動させたり動作させるための制御処理(演算処理)を行う。即ち、移動体の移動軌道等を決めるためのアルゴリズムや、各種データなどに基づいて、移動体をオブジェクト空間内(ゲーム空間内)で移動させるための処理を行う。例えば移動体の移動情報(位置、回転角度、速度、或いは加速度)や動作情報(パーツオブジェクトの位置、或いは回転角度)を、1フレーム(1/60秒)毎に順次求めるシミュレーション処理を行う。なおフレームは、移動体の移動・動作処理(シミュレーション処理)や画像生成処理を行う時間の単位である。   The moving body control unit (moving body calculation unit) 108 performs control processing of a moving body (play object) such as a ball that moves in the object space. For example, control processing (arithmetic processing) for moving or operating the moving body is performed. That is, processing for moving the moving body in the object space (in the game space) is performed based on an algorithm for determining the moving trajectory of the moving body and various data. For example, a simulation process is performed in which movement information (position, rotation angle, speed, or acceleration) and movement information (part object position or rotation angle) of the moving body are sequentially obtained for each frame (1/60 second). A frame is a unit of time for performing a moving / movement process (simulation process) and an image generation process of a moving object.

キャラクタ制御部(キャラクタ演算部)110は、人間等(例えばスポーツ選手)を模したキャラクタの制御処理を行う。例えばキャラクタを移動させたり動作させるための制御処理を行う。即ち操作部160によりプレーヤが入力した操作データや、キャラクタの移動、動作を決めるためのアルゴリズムや、各種データなどに基づいて、キャラクタをオブジェクト空間内で移動、動作させるための処理を行う。例えば操作データに基づいてキャラクタの移動情報や動作情報を1フレーム毎に順次求めるシミュレーション処理を行う。   The character control unit (character calculation unit) 110 performs control processing of a character imitating a human or the like (for example, a sports player). For example, a control process for moving or moving the character is performed. That is, processing for moving and moving the character in the object space is performed based on operation data input by the player through the operation unit 160, algorithms for determining character movement and motion, and various data. For example, a simulation process for sequentially obtaining character movement information and motion information for each frame based on operation data is performed.

そして本実施形態では、移動体制御部108は、キャラクタによりショット又は捕捉されるボール(プレイ対象物)などの移動体の制御処理(移動制御処理)を行う。またキャラクタ制御部110は、入力受け付け部102により受け付けられた先行入力の操作データに基づいて、キャラクタの制御処理(移動制御処理)を行う。この場合に図3に示すように、制御処理により移動する移動体の軌道データは、軌道データ記憶部175に記憶される。例えばコンピュータや他プレーヤが操作する相手キャラクタが、ボール等の移動体をショット(ヒット)すると、図3に示すように、ショットしたフレームを先頭フレームとした各フレームでの移動体位置(予測位置)が、軌道データとして記憶される。   In this embodiment, the moving body control unit 108 performs control processing (movement control processing) of a moving body such as a ball (play object) shot or captured by the character. Further, the character control unit 110 performs a character control process (movement control process) based on the operation data of the preceding input received by the input receiving unit 102. In this case, as shown in FIG. 3, the trajectory data of the moving body that moves by the control process is stored in the trajectory data storage unit 175. For example, when the opponent character operated by the computer or another player shots (hits) a moving body such as a ball, as shown in FIG. 3, the moving body position (predicted position) in each frame with the shot frame as the first frame is shown. Is stored as orbit data.

モーション再生部112はモーション再生処理を行う。即ちキャラクタにモーション(アニメーション)を行わせるモーション再生処理(モーション処理、モーション生成処理)を行う。このモーション再生処理は、キャラクタのモーションを、モーションデータ記憶部173に記憶されているモーションデータに基づいて再生することなどで実現できる。   The motion playback unit 112 performs motion playback processing. That is, motion reproduction processing (motion processing, motion generation processing) for causing the character to perform motion (animation) is performed. This motion reproduction process can be realized by reproducing the motion of the character based on the motion data stored in the motion data storage unit 173.

例えば図4に示すように、キャラクタ等を表すモデルオブジェクトMOBは、複数のパーツオブジェクト(腰12、胸14、首16、頭18、右上腕20、右前腕22、右手24、左上腕26、左前腕28、左手30、右股32、右すね34、右足36、左股38、左すね40、左足42)により構成されている。そして、これらのパーツオブジェクト(部位)の位置や回転角度(方向)は、スケルトンモデルを構成する骨B0〜B19の位置(関節J0〜J15の位置)や回転角度(親の骨に対する子の骨の相対的な回転角度)により特定される。なお、これらの骨、関節は仮想的なものであり、現実に表示されるオブジェクトではない。   For example, as shown in FIG. 4, a model object MOB representing a character or the like includes a plurality of part objects (waist 12, chest 14, neck 16, head 18, upper right arm 20, right forearm 22, right hand 24, left upper arm 26, left Forearm 28, left hand 30, right crotch 32, right shin 34, right foot 36, left crotch 38, left shin 40, left foot 42). The positions and rotation angles (directions) of these part objects (parts) are the positions of the bones B0 to B19 constituting the skeleton model (positions of the joints J0 to J15) and the rotation angles (the bones of the child relative to the parent bone). Relative rotation angle). Note that these bones and joints are virtual and are not actually displayed objects.

モーションデータ記憶部173には、例えば、これらの骨(パーツオブジェクト、関節)の位置、回転角度がモーションデータとして記憶される。具体的には図5に示すように、親の骨BMPに対する子の骨BMCの、X軸、Y軸、Z軸回りの回転角度α、β、γ等が、モーションデータとして記憶される。   For example, the position and rotation angle of these bones (part objects, joints) are stored in the motion data storage unit 173 as motion data. Specifically, as shown in FIG. 5, the rotation angles α, β, γ, etc. around the X, Y, and Z axes of the child bone BMC with respect to the parent bone BMP are stored as motion data.

なお、モーションデータの構造等は、図4、図5に限定されず、種々の変形実施が可能である。例えば骨の回転角度だけをモーションデータに含ませて、骨の位置(関節の位置)についてはモデルオブジェクトのモデルデータの中に含ませてもよい。また図4の骨B1〜B19以外に、モーション骨によるモデルオブジェクトの変形を補助する補助骨を設けてもよい。   The structure of the motion data is not limited to that shown in FIGS. 4 and 5, and various modifications can be made. For example, only the rotation angle of the bone may be included in the motion data, and the bone position (joint position) may be included in the model data of the model object. In addition to the bones B1 to B19 in FIG. 4, auxiliary bones that assist the deformation of the model object by the motion bones may be provided.

また、モーションデータ記憶部173に記憶されるモーションデータは、現実世界の人にセンサをつけてモーションキャプチャを行うことで作成できるが、モーションデータを、物理シミュレーション(物理計算を利用したシミュレーション。擬似的な物理計算でもよい)やモーションブレンドなどによりリアルタイムに生成してもよい。また、少ないモーションデータ量でリアルなモーションを再生するために、インバース・キネマティクス等を用いてモーション再生を行ってもよい
図6に本実施形態で使用されるモーションデータのデータ構造の例を示す。モーションファイルには、図4、図5で説明した各モーションのデータ(骨の回転角度等)が格納される。即ち「正面ボール用ショット」、「ステップからの通常ショット」、「小走りからの通常ショット」、「ランニングショット」などの各動作を表現するための各モーションのデータが格納される。また図6に示すようにモーションデータ記憶部173には、区画フレームやショットフレームのデータがモーションに関連づけて記憶される。
In addition, the motion data stored in the motion data storage unit 173 can be created by attaching a sensor to a person in the real world and performing motion capture. However, the motion data is generated by physical simulation (simulation using physical calculation. Or may be generated in real time by motion blending. In addition, in order to reproduce realistic motion with a small amount of motion data, motion reproduction may be performed using inverse kinematics or the like. FIG. 6 shows an example of the data structure of motion data used in this embodiment. . The motion file stores the data of each motion described in FIGS. 4 and 5 (such as the rotation angle of the bone). That is, data of each motion for expressing each operation such as “front ball shot”, “normal shot from step”, “normal shot from small run”, “running shot”, and the like is stored. As shown in FIG. 6, the motion data storage unit 173 stores the data of the section frames and shot frames in association with the motion.

モーションパラメータ記憶部174には、モーション群毎に設定されるモーションパラメータが記憶される。例えば図7に示すように、そのモーション群に含まれるモーションのショットフレームのデータやモーション再生時間(再生フレーム数)のデータが、モーションパラメータとして記憶される。例えばそのモーション群におけるショットフレームや再生時間の最大値や平均値を記憶する。   The motion parameter storage unit 174 stores motion parameters set for each motion group. For example, as shown in FIG. 7, motion shot frame data and motion playback time (number of playback frames) data included in the motion group are stored as motion parameters. For example, the maximum value and average value of shot frames and playback times in the motion group are stored.

そして本実施形態では、モーション再生部112は、キャラクタのショット又は捕捉の準備動作(例えばテイクバック動作、走り動作等)及びその準備動作に続くショット動作又は捕捉動作を再生するためのモーションデータを再生する。また再演算処理により最終的に求められたヒット位置により特定されるモーションデータを選択して再生する。この場合に、ヒット位置への移動体の到達時間(移動時間)と、先行入力の動作指示データなどに基づき、モーションデータを選択することができる。   In this embodiment, the motion reproduction unit 112 reproduces motion data for reproducing a shot or capture preparation operation (for example, takeback operation, running operation, etc.) of a character and a shot operation or capture operation following the preparation operation. To do. In addition, the motion data specified by the hit position finally obtained by the recalculation process is selected and reproduced. In this case, the motion data can be selected based on the arrival time (movement time) of the moving body at the hit position and the operation instruction data of the preceding input.

再生速度変更部113は、キャラクタのモーションの再生速度の変更処理を行う。具体的には先行入力のタイミングから第1のタイミング(足滑り防止開始タイミング)までの期間である第1の期間での第1の再生速度の変更度合い(変更の程度、変更倍率)を、第1のタイミングから、キャラクタと移動体とのヒットイベントが発生するタイミングまでの期間である第2の期間(足滑り防止期間)での第2の再生速度の変更度合いに比べて大きくする。例えばヒットイベント(ショットイベント、捕捉イベント)の発生位置であるヒット位置(ショット位置、捕捉位置)への移動体の到達時間(移動時間、移動距離)と、モーションの再生時間(再生フレーム数)とに基づいて、第1の再生速度の変更倍率である第1の変更倍率と、第2の再生速度の変更倍率である第2の変更倍率を設定する。更に具体的には、第2の変更倍率を1倍に設定したときの第1の変更倍率を求める。そして求められた第1の変更倍率が第1のしきい値(第1の倍率)よりも大きい場合には、第1の変更倍率を小さくすると共に第2の変更倍率を大きくする。一方、求められた第1の変更倍率が第2のしきい値(第2の倍率)よりも小さい場合には、第1の変更倍率を大きくすると共に第2の変更倍率を小さくする。   The reproduction speed changing unit 113 performs a process for changing the reproduction speed of the character motion. Specifically, the degree of change (degree of change, change magnification) of the first playback speed in the first period, which is the period from the timing of the preceding input to the first timing (foot slip prevention start timing), It is made larger than the degree of change in the second reproduction speed in the second period (foot slip prevention period), which is the period from the timing 1 to the timing when the hit event between the character and the moving object occurs. For example, the arrival time (movement time, movement distance) of the moving object to the hit position (shot position, capture position), which is the generation position of the hit event (shot event, capture event), and the motion playback time (number of playback frames) Based on the above, a first change magnification that is a change rate of the first reproduction speed and a second change magnification that is a change magnification of the second reproduction speed are set. More specifically, the first change magnification when the second change magnification is set to 1 is obtained. When the obtained first change magnification is larger than the first threshold value (first magnification), the first change magnification is reduced and the second change magnification is increased. On the other hand, when the obtained first change magnification is smaller than the second threshold value (second magnification), the first change magnification is increased and the second change magnification is decreased.

また図6に示すようにモーションデータ記憶部173には、各モーションに関連づけて区画フレームのデータが記憶される。この区画フレームのデータは、第1、第2の期間を区画するフレームを特定するためのデータである。具体的には、キャラクタの足を滑らせたくない期間を特定するためのデータである。そして再生速度変更部113は、この区画フレームのデータに基づいて第1のタイミング(足滑り防止開始期間)を特定して、再生速度変更処理を行う。   Also, as shown in FIG. 6, the motion data storage unit 173 stores the data of the partition frames in association with each motion. The data of the partition frame is data for specifying a frame that partitions the first and second periods. Specifically, it is data for specifying a period during which it is not desired to slide the character's feet. Then, the playback speed changing unit 113 specifies the first timing (foot slip prevention start period) based on the data of the divided frames, and performs playback speed changing processing.

ヒット位置演算部114は、キャラクタ(例えばキャラクタが持つラケット、バット等)と移動体(ボール等)とのヒットイベントが発生する位置(場所)であるヒット位置(ショット位置、捕捉位置)を求める処理を行う。例えばキャラクタが移動体をショットするショット位置や、キャラクタが移動体を捕捉する捕捉位置を求める。即ち、キャラクタと移動体とのヒットチェック処理を行い、ヒットイベントが発生した時の移動体の位置等を、ヒット位置として求める。そして求められたヒット位置のデータはヒット位置記憶部176に記憶される。   The hit position calculation unit 114 obtains a hit position (shot position, capture position) that is a position (location) where a hit event occurs between a character (for example, a racket or a bat possessed by the character) and a moving object (such as a ball). I do. For example, a shot position where the character shots the moving body and a capture position where the character captures the moving body are obtained. That is, the hit check process between the character and the moving object is performed, and the position of the moving object when the hit event occurs is obtained as the hit position. The obtained hit position data is stored in the hit position storage unit 176.

判定部116は、ヒット位置演算部114により求められたヒット位置が、キャラクタによる移動体のショット条件又は捕捉条件を満たす位置(ショット又は捕捉が成功する位置)であるか否かを判定する処理を行う。具体的には、キャラクタとヒット位置の間に障害物(例えば壁、他のキャラクタ)が存在した場合や、ヒット位置での移動体の第2の座標(例えばY座標)が所与の座標範囲内(例えば高さ範囲内)にない場合や、ヒット位置への移動体の到達時間内にキャラクタがヒット位置に到達できないと判断された場合などに、ヒット位置はショット条件や捕捉条件を満たす位置ではないと判定する。   The determination unit 116 performs a process of determining whether or not the hit position obtained by the hit position calculation unit 114 is a position that satisfies the shot condition or the capture condition of the moving object by the character (the position where the shot or capture is successful). Do. Specifically, when an obstacle (for example, a wall or another character) exists between the character and the hit position, or the second coordinate (for example, Y coordinate) of the moving object at the hit position is a given coordinate range. The hit position is a position that satisfies the shot condition or capture condition when it is not within the height range (for example, within the height range), or when it is determined that the character cannot reach the hit position within the arrival time of the moving object to the hit position. It is determined that it is not.

そしてヒット位置演算部114は、ヒット位置がショット条件又は捕捉条件を満たす位置ではなかった場合には、ヒット位置の再演算処理を行い、例えばヒット位置を移動する。この場合に、ヒット位置を移動する処理を、ヒット位置がショット条件又は捕捉条件を満たす位置になるまで繰り返す。例えばヒット位置を移動し、移動後のヒット位置が、ショット条件又は捕捉条件を満たす位置か否かを再度判定する。そしてこれらの条件を満たすようになるまで、移動処理や再判定処理を繰り返す。即ち、ヒット位置がショット条件又は捕捉条件を満たす位置になるまで、移動体の軌道上においてヒット位置を移動する。   If the hit position is not a position that satisfies the shot condition or the capture condition, the hit position calculation unit 114 performs a hit position recalculation process, and moves the hit position, for example. In this case, the process of moving the hit position is repeated until the hit position reaches a position that satisfies the shot condition or the capture condition. For example, the hit position is moved, and it is determined again whether the hit position after the movement is a position that satisfies the shot condition or the capture condition. The movement process and the re-determination process are repeated until these conditions are satisfied. That is, the hit position is moved on the trajectory of the moving body until the hit position becomes a position that satisfies the shot condition or the capture condition.

具体的にはヒット位置演算部114は、ヒット位置から、先行入力のタイミングでの移動体の位置へと向かう方向を、第1の方向とした場合に、ヒット位置を第1の方向側に移動する処理を行う。例えば移動体の軌道上でヒット位置を第1の方向側に移動する。或いは、移動体の座標が所与の座標範囲内に入るように、移動体の軌道上においてヒット位置を移動する。或いはヒット位置を、到達時間内にキャラクタが到達できる位置に移動する。   Specifically, the hit position calculation unit 114 moves the hit position to the first direction side when the direction from the hit position to the position of the moving body at the timing of the preceding input is the first direction. Perform the process. For example, the hit position is moved in the first direction on the trajectory of the moving body. Alternatively, the hit position is moved on the trajectory of the moving body so that the coordinates of the moving body fall within a given coordinate range. Alternatively, the hit position is moved to a position where the character can reach within the arrival time.

仮想カメラ制御部118は、オブジェクト空間内の所与(任意)の視点から見える画像を生成するための仮想カメラ(視点)の制御処理を行う。具体的には、仮想カメラの位置(X、Y、Z)又は回転角度(X、Y、Z軸回りでの回転角度)を制御する処理(視点位置、視線方向あるいは画角を制御する処理)を行う。   The virtual camera control unit 118 performs a virtual camera (viewpoint) control process for generating an image that can be seen from a given (arbitrary) viewpoint in the object space. Specifically, processing for controlling the position (X, Y, Z) or rotation angle (rotation angle about the X, Y, Z axis) of the virtual camera (processing for controlling the viewpoint position, the line-of-sight direction or the angle of view) I do.

例えば仮想カメラによりキャラクタを後方から撮影する場合には、キャラクタの位置又は回転の変化に仮想カメラが追従するように、仮想カメラの位置又は回転角度(仮想カメラの向き)を制御する。この場合には、キャラクタ制御部110で得られたキャラクタの位置、回転角度又は速度などの情報に基づいて、仮想カメラを制御できる。或いは、仮想カメラを、予め決められた回転角度で回転させたり、予め決められた移動経路で移動させる制御を行ってもよい。この場合には、仮想カメラの位置(移動経路)又は回転角度を特定するための仮想カメラデータに基づいて仮想カメラを制御する。   For example, when a character is photographed from behind using a virtual camera, the position or rotation angle (the direction of the virtual camera) of the virtual camera is controlled so that the virtual camera follows changes in the position or rotation of the character. In this case, the virtual camera can be controlled based on information such as the character position, rotation angle, or speed obtained by the character control unit 110. Alternatively, the virtual camera may be controlled to rotate at a predetermined rotation angle or to move along a predetermined movement path. In this case, the virtual camera is controlled based on the virtual camera data for specifying the position (movement path) or rotation angle of the virtual camera.

画像生成部120は、処理部100で行われる種々の処理(ゲーム処理)の結果に基づいて描画処理を行い、これにより画像を生成し、描画バッファ177に書き込んで、表示部190に出力する。いわゆる3次元ゲーム画像を生成する場合には、まずモデル(オブジェクト)の各頂点の頂点データ(頂点の位置座標、テクスチャ座標、色データ、法線ベクトル或いはα値等)を含むモデルデータが入力され、入力されたモデルデータに含まれる頂点データに基づいて、頂点処理(頂点シェーダによるシェーディング)が行われる。なお頂点処理を行うに際して、必要に応じてポリゴンを再分割するための頂点生成処理(テッセレーション、曲面分割、ポリゴン分割)を行うようにしてもよい。   The image generation unit 120 performs drawing processing based on the results of various processing (game processing) performed by the processing unit 100, thereby generating an image, writing the image in the drawing buffer 177, and outputting the image to the display unit 190. When generating a so-called three-dimensional game image, model data including vertex data (vertex position coordinates, texture coordinates, color data, normal vector, α value, etc.) of each vertex of the model (object) is first input. Based on the vertex data included in the input model data, vertex processing (shading by a vertex shader) is performed. When performing the vertex processing, vertex generation processing (tessellation, curved surface division, polygon division) for re-dividing the polygon may be performed as necessary.

音生成部130は、処理部100で行われる種々の処理の結果に基づいて音処理を行い、BGM、効果音、又は音声などのゲーム音を生成し、音出力部192に出力する。   The sound generation unit 130 performs sound processing based on the results of various processes performed by the processing unit 100, generates game sounds such as BGM, sound effects, or sounds, and outputs the game sounds to the sound output unit 192.

なお、本実施形態の画像生成システムは、1人のプレーヤのみがプレイできるシングルプレーヤモード専用のシステムにしてもよいし、複数のプレーヤがプレイできるマルチプレーヤモードも備えるシステムにしてもよい。また複数のプレーヤがプレイする場合に、これらの複数のプレーヤに提供するゲーム画像やゲーム音を、1つの端末を用いて生成してもよいし、ネットワーク(伝送ライン、通信回線)などで接続された複数の端末(ゲーム機、携帯電話)を用いて分散処理により生成してもよい。   Note that the image generation system of the present embodiment may be a system dedicated to the single player mode in which only one player can play, or may be a system having a multiplayer mode in which a plurality of players can play. Further, when a plurality of players play, game images and game sounds to be provided to the plurality of players may be generated using one terminal, or connected via a network (transmission line, communication line) or the like. Alternatively, it may be generated by distributed processing using a plurality of terminals (game machine, mobile phone).

2.本実施形態の手法
次に本実施形態の手法の具体例について説明する。なお以下では、テニスゲームに本実施形態の手法を適用した場合について主に説明するが、本実施形態はこれに限定されず、例えばサッカー、アメリカンフットボール、野球などの様々なスポーツゲームやそれ以外のゲームにも適用できる。
2. Next, a specific example of the method of this embodiment will be described. In the following, the case where the method of the present embodiment is applied to a tennis game will be mainly described. However, the present embodiment is not limited to this, for example, various sports games such as soccer, American football, baseball, and the like. It can also be applied to games.

2.1 先行入力
本実施形態の手法を適用したテニスゲームでは、図8に示すように、プレーヤが操作するキャラクタCHとコンピュータや他プレーヤが操作する相手キャラクタCCとが、オブジェクト空間(仮想3次元空間)に設定されたコート上でボールBLを打ち合って対戦する。例えば図8のオブジェクト空間のワールド座標系では、平面方向にX軸、Z軸(広義には第1、第3の座標軸)が設定され、高さ方向にY軸(広義には第2の座標軸)が設定され、コート(ネット)の中心に原点に設定されている。そしてキャラクタCHは、プレーヤにより入力された操作データに基づいてX、Z平面のコート上で移動して、相手キャラクタCCが打ったボールBLを打ち返す。
2.1 Prior Input In the tennis game to which the method of the present embodiment is applied, as shown in FIG. 8, a character CH operated by a player and an opponent character CC operated by a computer or another player are in an object space (virtual three-dimensional On the court set in (Space), hit the ball BL and play. For example, in the world coordinate system of the object space of FIG. 8, the X axis and Z axis (first and third coordinate axes in a broad sense) are set in the plane direction, and the Y axis (second coordinate axis in the broad sense) is set in the height direction. ) Is set, and the origin is set at the center of the coat (net). The character CH moves on the X and Z plane courts based on the operation data input by the player, and hits the ball BL hit by the opponent character CC.

具体的には図9(A)に示すようにプレーヤは、相手キャラクタCCがボールBLをショットした後、キャラクタCHの動作を指示する先行入力を行う。即ちキャラクタCHによりボールBL(広義には移動体)がショット(又は捕捉)されるタイミングに先行して、キャラクタCHの動作を指示する先行入力を行う。具体的には、キャラクタCHの移動方向を方向指示キー50(ジョイスティック、方向指示部)で指示すると共に、キャラクタCHのショットの種類を指示する操作ボタン61を押す。ここでは、操作ボタン61、62、63、64は、各々、トップスピン、スライス、フラット、ロブのショットを指示するボタンになっており、キャラクタCHは、指示されたショットに応じたモーションを行う。そして図9(A)ではトップスピンを指示する操作ボタン61が押されているため、トップスピン用のモーションデータが再生されることになる。   Specifically, as shown in FIG. 9A, after the opponent character CC shots the ball BL, the player performs a prior input instructing the action of the character CH. That is, prior to the timing when the character BL shots (or captures) the ball BL (moving body in a broad sense), a prior input is performed to instruct the movement of the character CH. Specifically, the direction of movement of the character CH is instructed with the direction instruction key 50 (joystick, direction instructing unit), and the operation button 61 for instructing the type of shot of the character CH is pressed. Here, the operation buttons 61, 62, 63, and 64 are buttons for instructing top spin, slice, flat, and lob shots, respectively, and the character CH performs a motion according to the instructed shot. In FIG. 9A, since the operation button 61 for instructing the top spin is pressed, the top spin motion data is reproduced.

なお方向指示キー50と操作ボタン61の操作は必ずしも同時である必要はなく、例えば操作ボタン61を操作した後に方向指示キー50を操作したり、方向指示キー50を操作した後に操作ボタン61を操作してもよい。   The operation of the direction instruction key 50 and the operation button 61 is not necessarily performed simultaneously. For example, the operation of the direction instruction key 50 is performed after the operation button 61 is operated, or the operation button 61 is operated after the direction instruction key 50 is operated. May be.

以上のような先行入力が行われると、図9(B)に示すように、キャラクタCH(キャラクタのラケット)とボールBL(移動体)とのヒットイベント(ショットイベント)が発生する位置であるヒット位置HP(ショット位置、捕捉位置)が求められる。即ちキャラクタCHによりボールBLがショット(ヒット)されると予測される位置(場所)がヒット位置HPとして求められる。例えば、先行入力のタイミングでのキャラクタCHの位置及び移動方向により特定される軌道RCと、ボールBLの軌道RBとの交点を求めることで、ヒット位置HPが求められる。   When the preceding input as described above is performed, as shown in FIG. 9B, a hit that is a position where a hit event (shot event) between the character CH (character racket) and the ball BL (moving body) occurs. A position HP (shot position, capture position) is obtained. That is, the position (location) where the ball BL is predicted to be shot (hit) by the character CH is obtained as the hit position HP. For example, the hit position HP is obtained by obtaining the intersection of the trajectory RC specified by the position and moving direction of the character CH at the timing of the preceding input and the trajectory RB of the ball BL.

具体的には、ボールBLの軌道RBは、相手キャラクタCCがボールBLを打った時点で計算され、計算された軌道は図3に示すように軌道データとして軌道データ記憶部175に記憶される。ヒット位置HPは、図3の軌道データに含まれる複数のボール位置(各フレームでの移動体位置)のデータのうち、軌道RC、RBの交点に対応するボール位置(交点に最も近いボール位置)のデータを選択することで、取得できる。   Specifically, the trajectory RB of the ball BL is calculated when the opponent character CC hits the ball BL, and the calculated trajectory is stored in the trajectory data storage unit 175 as trajectory data as shown in FIG. The hit position HP is a ball position corresponding to the intersection of the trajectories RC and RB (ball position closest to the intersection) among the data of a plurality of ball positions (moving body positions in each frame) included in the trajectory data of FIG. It can be acquired by selecting the data.

またこの時に、ボールBLのヒット位置HPへの到達時間trも取得される。具体的には、到達時間trは、図3の軌道データにおいてヒット位置HPにボールBLが到達するまでのフレーム数として取得できる。   At this time, the arrival time tr of the ball BL at the hit position HP is also acquired. Specifically, the arrival time tr can be acquired as the number of frames until the ball BL reaches the hit position HP in the trajectory data of FIG.

そして図9(C)に示すように、求められた到達時間tr(到達フレーム数)と、図9(A)での動作指示データとに基づき、モーション(モーションデータ)を選択し、選択されたモーションを再生することで、キャラクタCHのショット動作を表現する。   Then, as shown in FIG. 9C, a motion (motion data) is selected based on the obtained arrival time tr (number of arrival frames) and the operation instruction data in FIG. 9A. By reproducing the motion, the shot motion of the character CH is expressed.

例えば図6に示すように、各ショットのモーションとして再生時間(再生フレーム数)が異なる複数のモーションを用意しておく。そして図9(A)でトップスピンが選択された場合には、トップスピン用に用意された複数のモーションの中から、到達時間trに応じた長さの再生時間のモーションを選択する。例えば到達時間trが短ければ、再生時間が短いモーションを選択し、到達時間trが長ければ、再生時間が長いモーションを選択する。またモーション再生速度の変更処理を行うことで、到達時間trと再生時間の長さを一致させるための微調整を行う。   For example, as shown in FIG. 6, a plurality of motions having different playback times (number of playback frames) are prepared as the motion of each shot. When the top spin is selected in FIG. 9A, a motion with a playback time having a length corresponding to the arrival time tr is selected from a plurality of motions prepared for the top spin. For example, if the arrival time tr is short, a motion with a short reproduction time is selected, and if the arrival time tr is long, a motion with a long reproduction time is selected. Further, by performing a process of changing the motion playback speed, fine adjustment is performed to make the arrival time tr and the length of the playback time coincide.

そして図9(D)に示すように、キャラクタCHとボールBLのヒットイベント(ショットイベント)が発生した場合には、そのときにプレーヤが方向指示キー50で指示している方向にボールBLが打ち返される。なお図9(D)では、ヒットイベントの発生タイミング(ショットタイミング)と、プレーヤが操作ボタン61を離すタイミングとの一致の度合いが高いほど、ボールBLの速度が増したり、相手コート内の厳しい場所にボールBLが飛ぶようになる。即ち、図9(A)で操作ボタン61を押した後、そのまま押し続け、キャラクタCHの近くにボールBLが来た時に、タイミング良く操作ボタン61を離すことで、いわゆる溜め打ち動作が実現され、強くて正確なショットが相手コートに打ち返される。   As shown in FIG. 9D, when a hit event (shot event) between the character CH and the ball BL occurs, the ball BL strikes back in the direction indicated by the player with the direction key 50 at that time. It is. In FIG. 9D, the higher the degree of coincidence between the occurrence timing of the hit event (shot timing) and the timing at which the player releases the operation button 61, the higher the speed of the ball BL or the more severe in the opponent's court. The ball BL starts to fly. That is, after the operation button 61 is pressed in FIG. 9A, the operation button 61 is continuously pressed, and when the ball BL comes close to the character CH, the operation button 61 is released in a timely manner so that a so-called sump operation is realized. A strong and accurate shot is returned to the opponent's court.

図9(A)〜図9(D)の先行入力システムの手法によれば、先行入力により指示されたモーションが切れ目なく再生されるため、選手のモーション、ボールの挙動、カメラアングル等をリアルに表現できる。即ち各ショット毎に用意された多彩で高品質なモーションを再生でき、プレーヤは、多彩なショットを使い分けてゲームを楽しむことができるようになる。   According to the method of the prior input system shown in FIGS. 9A to 9D, since the motion instructed by the prior input is reproduced without interruption, the motion of the player, the behavior of the ball, the camera angle, etc. are realistic. Can express. In other words, various high-quality motions prepared for each shot can be reproduced, and the player can enjoy the game by using various shots.

例えば比較例の手法として、準備動作であるテイクバック動作の開始条件が満たされると、キャラクタが自動的にテイクバック動作を開始し、その後にプレーヤがショットを指示する操作ボタンを押すと、キャラクタがボールをショットするという手法が考えられる。この手法では、テイクバックモーション(準備動作モーション)を再生した後、ショット動作が指示されると、ショットモーションを再生する。即ちテイクバックモーションとショットモーションを別々のモーションデータとして記憶して再生する。従ってテイクバックモーションとショットモーションが滑らかに繋がらなくなる場合があり、リアルで滑らかなモーション表現を実現できないおそれがある。   For example, as a method of the comparative example, when the start condition of the take-back operation, which is a preparation operation, is satisfied, the character automatically starts the take-back operation, and then when the player presses an operation button for instructing a shot, A method of hitting a ball can be considered. In this method, after a take back motion (preparation operation motion) is reproduced, when a shot operation is instructed, the shot motion is reproduced. That is, take back motion and shot motion are stored and reproduced as separate motion data. Therefore, the take back motion and the shot motion may not be smoothly connected, and there is a possibility that a real and smooth motion expression cannot be realized.

この点、本実施形態の先行入力システムによれば、テイクバック動作(準備動作)及びショット動作(捕捉動作)が1つのモーションデータの再生により実現される。従ってテイクバック動作とショット動作(フォロー動作)が滑らかに繋がるようになり、よりリアルなモーション表現を実現できる。   In this regard, according to the preceding input system of the present embodiment, the takeback operation (preparation operation) and the shot operation (capture operation) are realized by reproducing one motion data. Accordingly, the take-back operation and the shot operation (follow operation) are smoothly connected, and a more realistic motion expression can be realized.

例えば比較例の手法では、ヒット位置においてボールが高ければ、通常のテイクバックモーションの再生後に高いボール用のショットモーションが再生され、ヒット位置においてボールが低ければ、通常のテイクバックモーションの再生後に低いボール用のショットモーションが再生されるようになる。即ち、ボールが高くても低くても、テイクバック動作については同じモーションが再生されるため、リアルなモーション表現を実現できない。   For example, in the method of the comparative example, if the ball is high at the hit position, a shot motion for a high ball is played after the normal takeback motion is reproduced. If the ball is low at the hit position, the shot is low after the normal takeback motion is reproduced. The shot motion for the ball will be played. That is, even if the ball is high or low, since the same motion is reproduced for the takeback operation, a realistic motion expression cannot be realized.

これに対して本実施形態の先行入力システムによれば、先行入力を行った時点で、ヒット位置でのボールの高さ等を予測し、高いボール用のテイクバック動作及びショット動作が一体となったモーションを選択して再生したり、低いボール用のテイクバック動作及びショット動作が一体となったモーションを選択して再生できる。従って、不自然さの少ないリアルなモーション表現を実現できる。   On the other hand, according to the preceding input system of the present embodiment, when the preceding input is performed, the height of the ball at the hit position is predicted, and the takeback operation and the shot operation for a high ball are integrated. Can be selected and reproduced, or a motion in which a take-back operation and a shot operation for a low ball are integrated can be selected and reproduced. Accordingly, it is possible to realize a realistic motion expression with less unnaturalness.

2.2 再生速度の変更
さて、以上のような先行入力システムを採用した場合、プレーヤの先行入力のタイミングに応じてボールの到達時間が変化してしまう。そして、このような到達時間の変化の全てに対応できるように多数のモーションデータを用意しようとすると、モーションデータ記憶部173の記憶容量を圧迫してしまうという課題がある。
2.2 Change of reproduction speed When the preceding input system as described above is adopted, the arrival time of the ball changes depending on the timing of the preceding input by the player. Then, if a large number of motion data is prepared so as to be able to cope with all such changes in arrival time, there is a problem that the storage capacity of the motion data storage unit 173 is compressed.

このような課題を解決するために、本実施形態ではボールの到達時間(キャラクタの移動距離)の長さに応じてモーションの再生速度を変更する手法を採用している。即ちボールの到達時間よりもキャラクタのモーションの再生時間の方が長ければ、モーションの早送り再生を行い、短ければスロー再生を行う。このようにすれば、プレーヤの先行入力のタイミングに応じてボールの到達時間が変動しても、比較的少ないデータ量のモーションデータでこれに対応できるようになる。   In order to solve such a problem, the present embodiment employs a method of changing the motion reproduction speed in accordance with the length of the ball arrival time (character movement distance). That is, if the character motion playback time is longer than the ball arrival time, the motion fast-forward playback is performed, and if the character motion playback time is shorter, the slow motion playback is performed. In this way, even if the arrival time of the ball fluctuates in accordance with the player's prior input timing, it becomes possible to handle this with a relatively small amount of motion data.

しかしながら、このような再生速度の変更処理を行うとキャラクタの足が滑って見える現象が生じることが判明した。即ちモーションデータにおいて想定されているキャラクタの移動距離と、コート等のゲームフィールド上でのキャラクタの実際の移動距離とが異なると、足が滑って見えるようになってしまう。特に本実施形態の先行入力システムは、キャラクタのショット動作を、従来のシステムに比べて再生時間が長い1つのモーションデータを用いて再生することで、スムーズで高品質なモーション表現を実現している。従って、このような足滑り現象が目立ってしまうと、スムーズで高品質なモーション表現を実現した意味が損なわれてしまうという課題がある。   However, it has been found that when the reproduction speed changing process is performed, a phenomenon in which the character's feet appear to slide is caused. That is, if the moving distance of the character assumed in the motion data is different from the actual moving distance of the character on the game field such as a court, the foot will appear to slip. In particular, the preceding input system of this embodiment realizes smooth and high-quality motion expression by reproducing a character's shot motion using one motion data having a longer playback time than the conventional system. . Therefore, if such a foot slip phenomenon becomes conspicuous, there is a problem that the meaning of realizing a smooth and high-quality motion expression is impaired.

このような課題を解決するために、本実施形態では、キャラクタのモーションの再生期間を第1、第2の期間に区画し、第1、第2の期間での再生速度を変更度合い(変更倍率)を異ならせる手法を採用している。   In order to solve such a problem, in this embodiment, the character motion playback period is divided into first and second periods, and the playback speeds in the first and second periods are changed (change magnification). ) Is adopted.

具体的には図10(A)に示すように、モーション再生期間を、先行入力のタイミングから第1のタイミングTM1までの期間である第1の期間T1と、第1のタイミングTM1からキャラクタとボールのヒットイベントが発生するタイミングまでの期間である第2の期間T2に区画する。そして第1の期間T1での第1の再生速度RS1の変更度合いを、第2の期間T2での第2の再生速度RS2の変更度合いに比べて大きくする。即ち、ボールの到達時間とモーション再生時間とが一致しないため再生速度を変更しなければならない場合には、期間T1の方の再生速度を期間T2に比べて大きく変更する。そして、期間T1の方で再生速度の変更分の多くを吸収して、再生速度の変更の影響が期間T2の方になるべく及ばないようにする。   Specifically, as shown in FIG. 10A, the motion playback period is divided into a first period T1, which is a period from the timing of the preceding input to the first timing TM1, and from the first timing TM1 to the character and the ball. This is divided into a second period T2, which is a period until the timing of occurrence of the hit event. Then, the degree of change in the first reproduction speed RS1 in the first period T1 is set larger than the degree of change in the second reproduction speed RS2 in the second period T2. That is, when the playback speed has to be changed because the ball arrival time does not match the motion playback time, the playback speed in the period T1 is largely changed compared to the period T2. Then, much of the change in the reproduction speed is absorbed in the period T1, so that the influence of the change in the reproduction speed is as small as possible in the period T2.

例えば図11(A)〜図11(D)に先行入力におけるプレーヤの操作手順の例を示し、図12(A)〜図14(B)に本実施形態により生成されるゲーム画像の例を示す。   For example, FIG. 11 (A) to FIG. 11 (D) show examples of the player's operation procedure in the prior input, and FIG. 12 (A) to FIG. 14 (B) show examples of game images generated by this embodiment. .

図12(A)のゲーム画像に示すように相手キャラクタCCがボールBLをショットすると、図11(A)に示すように、プレーヤは、方向指示キー50とトップスピンショットの操作ボタン61を操作して、キャラクタCHの動作指示の先行入力を行う。   When the opponent character CC shots the ball BL as shown in the game image of FIG. 12A, the player operates the direction instruction key 50 and the top spin shot operation button 61 as shown in FIG. 11A. The character CH operation instruction is input in advance.

すると、図11(B)に示すように、前半の期間T1では再生速度RS1でモーション再生が行われる。即ち図12(A)のゲーム画像から図13(A)のゲーム画像に至るショット動作の前半期間T1では、キャラクタのモーションの再生速度がRS1に設定される。   Then, as shown in FIG. 11B, motion playback is performed at the playback speed RS1 in the first half period T1. That is, in the first half period T1 of the shot motion from the game image of FIG. 12A to the game image of FIG. 13A, the character motion playback speed is set to RS1.

一方、図11(C)に示すように、後半の期間T2では再生速度RS2でモーション再生が行われる。即ち図13(A)のゲーム画像から図14(B)のゲーム画像に至るショット動作の後半期間T2では、キャラクタのモーション再生速度がRS2に設定される。そして図11(D)に示すようにボールBLのヒットイベント(ショットイベント)が発生すると、図14(B)のゲーム画像に示すように、ヒットされたボールBLが相手キャラクタCCのコート内に打ち返される。   On the other hand, as shown in FIG. 11C, motion playback is performed at the playback speed RS2 in the latter half period T2. That is, in the second half period T2 of the shot operation from the game image of FIG. 13A to the game image of FIG. 14B, the motion playback speed of the character is set to RS2. When a hit event (shot event) of the ball BL occurs as shown in FIG. 11D, the hit ball BL strikes back in the court of the opponent character CC as shown in the game image of FIG. It is.

例えば図10(A)、図10(B)に示すタイミングTM1は、足滑り防止の開始タイミングとして例えばモーション毎に設定されるタイミングである。即ち図12(A)から図13(A)に至るショット動作の前半期間においてキャラクタCHの足滑り現象が生じても、それほど目立たない。しかしながら、図13(A)から図14(B)に至るショット動作の後半期間において足滑り現象が生じると、プレーヤに気づかれてしまい、仮想現実感を低下させるおそれがある。   For example, the timing TM1 shown in FIGS. 10A and 10B is a timing set for each motion, for example, as a start timing for preventing foot slip. That is, even if the foot slip phenomenon of the character CH occurs in the first half period of the shot motion from FIG. 12 (A) to FIG. 13 (A), it is not so noticeable. However, if a foot slip phenomenon occurs in the second half of the shot operation from FIG. 13A to FIG. 14B, the player will notice that there is a risk that the virtual reality will be reduced.

即ち、一般的に、ショット動作の前半期間ではキャラクタCHの移動速度が速いため、足が滑っていてもそれほど目立たない。一方、ショット動作の後半期間ではキャラクタCHの移動速度が遅くなるため、足が滑ると目立ってしまい、プレーヤに気づかれてしまう。   That is, generally, since the moving speed of the character CH is high in the first half of the shot motion, it is not so noticeable even if the foot slips. On the other hand, since the moving speed of the character CH becomes slow in the second half of the shot motion, it becomes noticeable when the foot slips and is noticed by the player.

そこで、この場合には例えば図13(A)のタイミングが足滑り防止開始タイミングTM1に設定される。そして足滑り防止期間T2では、なるべく足滑りが目立たないように、期間T1に比べて再生速度の変更を最小限に抑える。このようにすることで、モーション再生速度の変更処理を行った場合に、足滑りの発生により画像の品質が低下してしまう事態を防止できる。   Therefore, in this case, for example, the timing of FIG. 13A is set to the foot slip prevention start timing TM1. In the foot slip prevention period T2, the change in the reproduction speed is minimized as compared with the period T1 so that the foot slip is as inconspicuous as possible. In this way, when the motion playback speed changing process is performed, it is possible to prevent a situation in which the image quality is degraded due to the occurrence of foot slip.

具体的には図15や図6に示すように、モーションデータ記憶部173では、期間T1、T2を区間するフレームを特定するための区画フレームのデータが、各モーションに関連づけて記憶されている。例えば図15では、モーション1(モーションファイル1)に関連づけられた区画フレームDF1により、モーション1のタイミングTM1が特定され、モーション2(モーションファイル2)に関連づけられた区画フレームDF2により、モーション2のタイミングTM1が特定される。また例えば図6の「正面ボール用ショット1」では、区画フレームである32フレームが、足滑り防止開始フレームに設定される。そして32フレームから、ショットタイミングのフレームである41フレームまでは、足滑り防止期間に設定され、再生速度の変更が最小限に抑えられる。同様に、図6の「ステップからの通常ショット1」では、15フレームが足滑り防止開始フレームに設定される。そして15フレームからショットフレームである24フレームまでが、足滑り防止期間に設定され、再生速度の変更が最小限に抑えられる。   Specifically, as shown in FIGS. 15 and 6, the motion data storage unit 173 stores partition frame data for specifying frames that divide the periods T <b> 1 and T <b> 2 in association with each motion. For example, in FIG. 15, the timing TM1 of motion 1 is specified by the segment frame DF1 associated with motion 1 (motion file 1), and the timing of motion 2 is identified by the segment frame DF2 associated with motion 2 (motion file 2). TM1 is specified. For example, in “front ball shot 1” in FIG. 6, 32 frames, which are division frames, are set as foot slip prevention start frames. The frames from 32 frames to 41 frames, which are shot timing frames, are set in the foot slip prevention period, and the change in the reproduction speed is minimized. Similarly, in “normal shot 1 from step” in FIG. 6, 15 frames are set as a foot slip prevention start frame. From the 15th frame to the 24th frame, which is a shot frame, is set as a foot slip prevention period, and the change in the playback speed is minimized.

この場合に、図10(B)に示すように、ヒット位置へのボール(移動体)の到達時間trと、モーションの再生時間tmとにより、期間T1での再生速度RS1の変更倍率である第1の変更倍率m1が設定され、期間T2での再生速度RS2の変更倍率である第2の変更倍率m2が設定される。即ち再生時間tmの方が到達時間trよりも長い場合には、早送り再生が必要になるため、変更倍率m1、m2を1以上の値に設定して、モーション再生速度を速くする。一方、再生時間tmの方が到達時間trよりも短い場合には、スロー再生が必要になるため、変更倍率m1、m2を1以下の値に設定して、モーション再生速度を遅くする。   In this case, as shown in FIG. 10B, the change rate of the reproduction speed RS1 in the period T1 is calculated based on the arrival time tr of the ball (moving body) at the hit position and the motion reproduction time tm. A change magnification m1 of 1 is set, and a second change magnification m2 that is a change magnification of the reproduction speed RS2 in the period T2 is set. That is, when the playback time tm is longer than the arrival time tr, fast-forward playback is required, so the change magnifications m1 and m2 are set to a value of 1 or more to increase the motion playback speed. On the other hand, when the playback time tm is shorter than the arrival time tr, slow playback is required, so the change magnifications m1 and m2 are set to a value of 1 or less to slow down the motion playback speed.

具体的には図16(A)、図16(B)に示すように、期間T2での再生速度の変更倍率m2を1倍に設定したときの期間T1での再生速度の変更倍率m1を求める。   Specifically, as shown in FIGS. 16A and 16B, the reproduction speed change magnification m1 in the period T1 when the reproduction speed change magnification m2 in the period T2 is set to 1 is obtained. .

例えば図16(A)では、再生時間tmの方が到達時間trよりも長いため、早送り再生が必要になっている。従ってこの場合には、期間T1での再生速度RS1の変更倍率m1を1よりも大きな値に設定して、早送りによる再生速度の変更分を、期間T1側だけで吸収し、期間T2側には及ばないようにする。このようにすれば、タイミングTM1以降の期間T2では再生速度が変更されないようになるため、早送りによる足滑り現象の発生を防止できる。   For example, in FIG. 16A, since the playback time tm is longer than the arrival time tr, fast-forward playback is required. Therefore, in this case, the change rate m1 of the reproduction speed RS1 in the period T1 is set to a value larger than 1, and the change in the reproduction speed due to fast-forwarding is absorbed only in the period T1 side, Do not reach. In this way, the playback speed is not changed in the period T2 after the timing TM1, so that it is possible to prevent the occurrence of a foot slip phenomenon due to fast-forwarding.

一方、図16(B)では、再生時間tmの方が到達時間trより短いため、スロー再生が必要になっている。従ってこの場合には、変更倍率m1を1よりも小さな値に設定して、スロー再生による再生速度の変更分を、期間T1側だけで吸収し、期間T2側には及ばないようにする。これにより、スロー再生による足滑り現象の発生を防止できる。   On the other hand, in FIG. 16B, since the playback time tm is shorter than the arrival time tr, slow playback is required. Therefore, in this case, the change magnification m1 is set to a value smaller than 1 so that the change in the reproduction speed due to the slow reproduction is absorbed only on the period T1 side and not on the period T2 side. As a result, the occurrence of a foot slip phenomenon due to slow playback can be prevented.

このように図16(A)、図16(B)では、期間T2での変更倍率m2を1倍のままにしながら、期間T1での変更倍率m1だけを変更している。このようにすれば、プレーヤにとって目立つ期間である期間T2での足滑り現象は防止できるが、変更倍率m1を大きくしすぎたり、小さくしすぎると、期間T1とT2の間の再生速度の差が目立ってしまい、プレーヤが不自然さを感じるおそれがある。   In this way, in FIGS. 16A and 16B, only the change magnification m1 in the period T1 is changed while the change magnification m2 in the period T2 is kept at 1. In this way, the foot slip phenomenon in the period T2, which is a conspicuous period for the player, can be prevented, but if the change magnification m1 is made too large or too small, the difference in the reproduction speed between the periods T1 and T2 will be caused. It may stand out and the player may feel unnatural.

そこで本実施形態では図17(A)に示すように、変更倍率m2を1倍に設定したときの変更倍率m1が、第1のしきい値mthよりも大きいか否かを判断する。そして大きい場合(m1>mth)には、変更倍率m1を小さくすると共に変更倍率m2を大きくする。即ち、m2が1倍の時の期間T1での変更倍率をm1とした場合に、期間T1での変更倍率をm1’<m1に設定し、期間T2での変更倍率をm2’>m2=1に設定する。   Therefore, in this embodiment, as shown in FIG. 17A, it is determined whether or not the change magnification m1 when the change magnification m2 is set to 1 is larger than the first threshold value mth. If it is large (m1> mth), the change magnification m1 is decreased and the change magnification m2 is increased. That is, when the change magnification in the period T1 when m2 is 1 is m1, the change magnification in the period T1 is set to m1 ′ <m1, and the change magnification in the period T2 is m2 ′> m2 = 1. Set to.

なお、この場合にm1’>m2’の関係が成り立つようにする。即ち変更倍率m2を1倍に設定したときの変更倍率m1が、例えばm1=1.4というように大きくなりすぎたとする。この場合には、例えばm1’=1.3(<m1=1.4)に設定すると共にm2’=1.1(>m2=1)に設定するというように、再生速度の変更分を、期間T1側のみならず期間T2側にも分担させて、再生速度を平均化する。   In this case, the relationship of m1 ′> m2 ′ is established. That is, it is assumed that the change magnification m1 when the change magnification m2 is set to 1 is too large, for example, m1 = 1.4. In this case, for example, the change in the playback speed is set such that m1 ′ = 1.3 (<m1 = 1.4) and m2 ′ = 1.1 (> m2 = 1). The reproduction speed is averaged not only for the period T1 but also for the period T2.

また図17(B)に示すように、変更倍率m2を1倍に設定したときの変更倍率m1が、第2のしきい値mtlよりも小さい場合には、変更倍率m1の方を大きくすると共に変更倍率m2の方を小さくする。即ちm2=1の時の期間T1での変更倍率をm1とした場合に、期間T1での変更倍率をm1’>m1に設定し、期間T2での変更倍率をm2’<m2=1に設定する。   As shown in FIG. 17B, when the change magnification m1 when the change magnification m2 is set to 1 is smaller than the second threshold value mtl, the change magnification m1 is increased. The change magnification m2 is reduced. That is, when the change magnification in the period T1 when m2 = 1 is m1, the change magnification in the period T1 is set to m1 ′> m1, and the change magnification in the period T2 is set to m2 ′ <m2 = 1. To do.

なお、この場合にm1’<m2’の関係が成り立つようにする。即ち変更倍率m2を1倍に設定したときの変更倍率m1が、例えばm1=0.6というように小さくなりすぎたとする。この場合には、例えばm1’=0.7(>m1=0.6)に設定すると共にm2’=0.9(<m2=1)に設定するというように、再生速度の変更分を、期間T1側のみならず期間T2側にも分担させて、再生速度を平均化する。   In this case, the relationship of m1 ′ <m2 ′ is established. That is, it is assumed that the change magnification m1 when the change magnification m2 is set to 1 is too small, for example, m1 = 0.6. In this case, for example, the change in the playback speed is set such that m1 ′ = 0.7 (> m1 = 0.6) and m2 ′ = 0.9 (<m2 = 1). The reproduction speed is averaged not only for the period T1 but also for the period T2.

図17(A)、図17(B)に示す手法によれば、期間T2での足滑りの度合いを小さくできると共に、期間T1とT2での再生速度の差が大きくなって目立ってしまう事態も防止できる。   According to the method shown in FIG. 17A and FIG. 17B, the degree of foot slip in the period T2 can be reduced, and the difference between the reproduction speeds in the periods T1 and T2 increases and becomes noticeable. Can be prevented.

2.3 再生速度変更処理の具体例
次に、図18、図19のフローチャートを用いて本実施形態に再生速度変更処理の具体例について説明する。
2.3 Specific Example of Reproduction Speed Change Process Next, a specific example of the reproduction speed change process will be described in the present embodiment with reference to the flowcharts of FIGS. 18 and 19.

まずヒット位置(ショット位置)までのボールの到達時間trを求める(ステップS21)。そして先行入力の動作指示データ、到達時間tr等に基づいてモーションを選択する(ステップS22)。例えば先行入力によりトップスピン動作が指示された場合には、複数のトップスピンモーションの中から、その再生時間tmの長さが到達時間trの長さに近いモーションを選択する。   First, the arrival time tr of the ball to the hit position (shot position) is obtained (step S21). Then, a motion is selected based on the operation instruction data of the preceding input, the arrival time tr, etc. (step S22). For example, when a top spin operation is instructed by a prior input, a motion whose playback time tm is close to the arrival time tr is selected from a plurality of top spin motions.

次に、選択されたモーションは、再生速度を変更するモーション(第1のモーション)か否かを判断する(ステップS23)。例えば「スマッシュ」、「空振り」、「瞬時に打ち返すボレー」、「前方へ移動しながらのショット」などのモーション(第2のモーション)については、本実施形態では再生速度の変更処理を行わない。これらのモーションでは、再生速度の変更の必要性自体がなかったり、再生速度を変更すると不自然になるからである。   Next, it is determined whether or not the selected motion is a motion for changing the playback speed (first motion) (step S23). For example, for the motion (second motion) such as “smash”, “missing”, “volley that returns instantly”, and “shot while moving forward”, the playback speed is not changed in this embodiment. This is because in these motions, there is no need to change the playback speed itself, or it becomes unnatural if the playback speed is changed.

例えば図20(A)、図20(B)にスマッシュモーションのゲーム画像の例を示す。図20(A)、図20(B)では、キャラクタCHが、高めに浮いたボールBLを相手キャラクタCCのコート内にスマッシュしている。このようなスマッシュにおいてモーションの再生速度を変更してしまうと、スマッシュのスピード感が損なわれるなどの不自然な事態が生じる。また、スマッシュではキャラクタCHの移動距離も短いため、足が滑って見える問題も生じない。また、空振りや瞬時に打ち返すボレーなどのモーションにおいては、再生速度の変更の必要性や意味がない。そこでこれらのモーション(第2のモーション)については、予め図18のステップS23で分類分けして、本実施形態の再生速度変更処理を行わないようにする。このようにすることで、これらのモーションでは無駄な再生速度変更処理が行われないようになり、処理を効率化できる。   For example, FIG. 20A and FIG. 20B show examples of smash motion game images. In FIGS. 20A and 20B, the character CH is smashing the ball BL that floats higher into the court of the opponent character CC. If the motion playback speed is changed in such a smash, an unnatural situation such as a loss of smash speed will occur. In addition, since the moving distance of the character CH is short in the smash, there is no problem that the foot looks slippery. In addition, there is no need or meaning for changing the playback speed in motion such as idling or volleying that returns instantly. Therefore, these motions (second motion) are classified in advance in step S23 of FIG. 18 so that the reproduction speed changing process of this embodiment is not performed. By doing so, useless playback speed change processing is not performed in these motions, and the processing can be made more efficient.

図18のステップS23において、選択されたモーションが再生速度を変更しないモーション(第2のモーション)であると判断された場合には、そのモーションの再生時間tmを取得する(ステップS24)。即ち、各モーションに関連づけて記憶される再生フレーム数(総フレーム数)を、再生時間tmとして取得する。そして再生時間tmがボールの到達時間trよりも長いか否かを判断する(ステップS25)。   If it is determined in step S23 of FIG. 18 that the selected motion is a motion that does not change the playback speed (second motion), the playback time tm of the motion is acquired (step S24). That is, the number of playback frames (total number of frames) stored in association with each motion is acquired as the playback time tm. Then, it is determined whether or not the reproduction time tm is longer than the ball arrival time tr (step S25).

そしてtm>trである場合には、モーションを途中から再生する(ステップS26)。即ちモーションの前半部分を再生せずに、後半部分だけを再生する。なおこの場合に、途中再生前にキャラクタが行っていたモーションと、途中再生モーション(途中再生を開始するフレームのモーション)とのモーションブレンド処理を行い、モーションが滑らかに変化するように見えるようにする。   If tm> tr, the motion is reproduced from the middle (step S26). That is, only the latter half part is reproduced without reproducing the first half part of the motion. In this case, the motion blending process of the motion that the character was performing before the midway playback and the midway playback motion (the motion of the frame that starts the midway playback) is performed so that the motion appears to change smoothly. .

一方、tm>trではない場合には、待機モーションなどの他のモーション再生を行った後に、モーションを再生する(ステップS27)。即ち、構えのモーションや普通に走っているモーションなどの他のモーションの再生を取りあえず行っておいて、残りの再生時間が到達時間trに一致したと判断された場合に、ステップS22で選択されたモーションの再生を開始する。   On the other hand, if tm> tr is not satisfied, the motion is reproduced after performing another motion reproduction such as a standby motion (step S27). In other words, when other motions such as a ready motion and a normal running motion are being played back for the time being, and it is determined that the remaining playback time matches the arrival time tr, it is selected in step S22. Starts motion playback.

このように本実施形態では、モーションデータ記憶部173は、モーションの再生速度が変更される第1のモーションと、モーションの再生速度が変更されない第2のモーション(例えばスマッシュ、空振り、ボレー)のデータを記憶する。そして再生速度変更部113は、図18のステップS23や図19の処理に示すように、先行入力によるキャラクタの動作指示により第1のモーション(第1のモーション群)が選択された場合に、再生速度変更処理を行う。   As described above, in the present embodiment, the motion data storage unit 173 stores the data of the first motion whose motion playback speed is changed and the second motion (for example, smash, idling, volley) whose motion playback speed is not changed. Remember. Then, as shown in step S23 of FIG. 18 and the processing of FIG. 19, the reproduction speed changing unit 113 reproduces the reproduction when the first motion (first motion group) is selected by the character movement instruction by the prior input. Perform speed change processing.

一方、ステップS23、S24に示すように、モーション再生部112は、先行入力によるキャラクタの動作指示により第2のモーション(第2のモーション群)が選択された場合には、第2のモーションの再生時間を取得する。そしてステップS25、S26に示すように、再生時間tmが、ヒット位置へのボールの到達時間trよりも長い場合には、第2のモーションの途中からモーション再生を開始する。一方、再生時間tmが到達時間trよりも短い場合には、待機モーション等の他のモーション再生を行った後に第2のモーションの再生を開始する。   On the other hand, as shown in steps S23 and S24, the motion reproducing unit 112 reproduces the second motion when the second motion (second motion group) is selected by the action instruction of the character by the preceding input. Get time. Then, as shown in steps S25 and S26, when the reproduction time tm is longer than the arrival time tr of the ball at the hit position, the motion reproduction is started from the middle of the second motion. On the other hand, when the reproduction time tm is shorter than the arrival time tr, reproduction of the second motion is started after performing other motion reproduction such as standby motion.

このようにすれば、再生速度変更処理が必要な第1のモーションと再生速度変更処理が必要ではない第2のモーションをカテゴリ分けして処理することができるため、処理の効率化を図れる。   In this way, the first motion that requires the playback speed change process and the second motion that does not require the playback speed change process can be categorized and processed, so that the processing efficiency can be improved.

図18のステップS23において、選択されたモーションが再生速度変更処理が必要なモーションであると判断された場合には、そのモーション(第1のモーション)の再生時間tmを取得する(ステップS31)。また、ショット前の足滑り防止期間T2の長さである第2の時間t2を取得する(ステップS32)。即ち図10(A)等の期間T2の長さ(フレーム数)を取得する。これは例えば図3の軌道データのフレーム数から求めることができる。   If it is determined in step S23 of FIG. 18 that the selected motion is a motion that requires a playback speed change process, the playback time tm of the motion (first motion) is acquired (step S31). Also, a second time t2 that is the length of the foot slip prevention period T2 before the shot is acquired (step S32). That is, the length (number of frames) of the period T2 shown in FIG. This can be obtained, for example, from the number of frames of the trajectory data in FIG.

次に、tr<t2か否かを判断する(ステップS33)。そしてtr<t2である場合には、ショットのインパクトに合わせて、そのままモーションを再生する(ステップS42)。即ち再生速度の変更処理を行うことなくモーションを再生する。   Next, it is determined whether tr <t2 (step S33). If tr <t2, the motion is reproduced as it is in accordance with the impact of the shot (step S42). That is, the motion is reproduced without performing the reproduction speed changing process.

一方、tr<t2ではない場合には、到達時間tr内でのキャラクタCHのゲームフィールド上(コート)での移動距離LCHを取得する(ステップS34)。また足滑り防止期間T2におけるキャラクタCHのモーションでの移動距離L2を取得する(ステップS35)。これら移動距離LCH、L2は、例えば到達時間tr、時間t2や、キャラクタCHの移動速度や、モーションパラメータ(再生時間)などに基づいて求めることができる。   On the other hand, if tr <t2, the movement distance LCH of the character CH on the game field (court) within the arrival time tr is acquired (step S34). Further, the movement distance L2 in the motion of the character CH in the foot slip prevention period T2 is acquired (step S35). These movement distances LCH and L2 can be obtained based on, for example, the arrival time tr and time t2, the movement speed of the character CH, motion parameters (reproduction time), and the like.

次に、LCH<L2か否かを判断する(ステップS36)。そしてLCH<L2である場合には、ショットのインパクトに合わせて、そのままモーションを再生する(ステップS42)。   Next, it is determined whether LCH <L2 (step S36). If LCH <L2, the motion is reproduced as it is in accordance with the impact of the shot (step S42).

一方、LCH<L2ではない場合には、図16(A)、図16(B)で説明したように、期間T2での再生速度の変更倍率m2を1倍に設定した場合の、期間T1での再生速度の変更倍率m1を求める(ステップS37)。   On the other hand, if LCH <L2 is not satisfied, as described in FIGS. 16A and 16B, the period T1 when the reproduction speed change magnification m2 in the period T2 is set to 1 is used. The reproduction speed change magnification m1 is obtained (step S37).

次に、m1>mthか否かを判断する(ステップS38)。即ち、変更倍率m1により設定される期間T1でのモーション再生速度RS1が速すぎないか否かを判断する。そしてm1>mthである場合には、図17(A)で説明したように、変更倍率m1を小さくする(遅くする)と共に、変更倍率m2を大きくして(速くして)、全体の再生速度を平均化する(ステップS39)。   Next, it is determined whether m1> mth (step S38). That is, it is determined whether or not the motion playback speed RS1 in the period T1 set by the change magnification m1 is too fast. When m1> mth, as described with reference to FIG. 17A, the change magnification m1 is decreased (slowed) and the change magnification m2 is increased (accelerated), so that the overall reproduction speed is increased. Are averaged (step S39).

次に、m1<mtlか否かを判断する(ステップS40)。即ち、変更倍率m1により設定される期間T1でのモーション再生速度RS1が遅すぎないか否かを判断する。そしてm1<mtlである場合には、図17(B)で説明したように、変更倍率m1を大きくする(速くする)と共に、変更倍率m2を小さくして(遅くして)、全体の再生速度を平均化する(ステップS41)。   Next, it is determined whether m1 <mtl (step S40). That is, it is determined whether or not the motion playback speed RS1 in the period T1 set by the change magnification m1 is too slow. If m1 <mtl, as described in FIG. 17B, the change magnification m1 is increased (fastened) and the change magnification m2 is reduced (slowed), so that the entire reproduction speed is increased. Are averaged (step S41).

図19のステップS31、S32、S33、S42に示すように本実施形態では、モーション再生部112は、ヒット位置へのボール(移動体)の到達時間trが、期間T2の長さである第2の時間t2よりも短い場合には、再生速度の変更処理を行うことなくキャラクタCHのモーションを再生している。   As shown in steps S31, S32, S33, and S42 of FIG. 19, in the present embodiment, the motion reproducing unit 112 determines that the arrival time tr of the ball (moving body) at the hit position is the length of the period T2. When the time is shorter than the time t2, the motion of the character CH is reproduced without changing the reproduction speed.

例えば図21(A)では、プレーヤは方向指示キー50及び操作ボタン61を操作して先行入力を行っている。ところが、この図21(A)の先行入力のタイミングでは、ボールBLは既にヒット位置HPに接近しており、ボールBLがヒット位置HPに到達するまでの時間trは非常に短くなっている。   For example, in FIG. 21A, the player performs a prior input by operating the direction instruction key 50 and the operation button 61. However, at the timing of the preceding input in FIG. 21A, the ball BL has already approached the hit position HP, and the time tr until the ball BL reaches the hit position HP is very short.

即ち、プレーヤは、ボールBLがヒット位置に到達する直前に先行入力を行っており、図21(B)に示すように、足滑り防止期間T2の長さである時間t2よりも、到達時間trの方が短くなっている。このような場合にはモーションの再生速度変更処理を行っても意味がなく、取りあえずのモーションを直ぐに再生する必要がある。   That is, the player makes a prior input immediately before the ball BL reaches the hit position, and as shown in FIG. 21B, the arrival time tr is longer than the time t2, which is the length of the foot slip prevention period T2. Is shorter. In such a case, it is meaningless to change the playback speed of the motion, and it is necessary to immediately play back the motion.

そこで、このような場合には、例えば複数のモーションのうち最も再生時間が短いモーションを選択し、モーションの再生速度の変更処理を行うことなく、ショットのインパクトに合わせてそのままモーションを再生する。即ち、モーションの前半部分を再生せずに、到達時間trの長さに相当するモーションの後半部分だけを再生して、モーションのショットタイミングとヒット位置HPへのボールBLの到達タイミングだけを合致させる。   Therefore, in such a case, for example, the motion having the shortest reproduction time is selected from the plurality of motions, and the motion is reproduced as it is in accordance with the impact of the shot without performing the change processing of the motion reproduction speed. That is, without reproducing the first half of the motion, only the second half of the motion corresponding to the length of the arrival time tr is reproduced, and only the shot timing of the motion and the arrival timing of the ball BL at the hit position HP are matched. .

このようにすれば、プレーヤの操作が未熟で、先行入力のタイミングが遅すぎた場合にも、これに対応することができ、先行入力システムに好適な操作アシストを実現できる。   In this way, even when the player's operation is immature and the timing of the preceding input is too late, this can be dealt with, and operation assist suitable for the preceding input system can be realized.

また図19のステップS34、S35、S36に示すように本実施形態では、モーション再生部112は、到達時間tr内でのキャラクタCHのゲームフィールド上での移動距離LCHが、期間T2でのキャラクタCHのモーションでの移動距離L2よりも短い場合には、再生速度変更処理を行うことなくキャラクタCHのモーションを再生している。   As shown in steps S34, S35, and S36 of FIG. 19, in this embodiment, the motion reproducing unit 112 determines that the movement distance LCH of the character CH on the game field within the arrival time tr is the character CH in the period T2. When the movement distance L2 is shorter than the movement distance L2, the motion of the character CH is reproduced without performing the reproduction speed changing process.

例えば図22(A)では、プレーヤの先行入力が遅れたため、ヒット位置HPまでのキャラクタCHのゲームフィールド上での移動距離LCHが短くなっている。この移動距離LCHは、例えば先行入力を行った時点でのキャラクタCHの位置からヒット位置HPまでの距離に相当する。   For example, in FIG. 22A, since the player's prior input is delayed, the movement distance LCH of the character CH up to the hit position HP on the game field is short. This moving distance LCH corresponds to, for example, the distance from the position of the character CH to the hit position HP at the time when the preceding input is performed.

一方、キャラクタCHの各モーションには、モーションを再生した際のキャラクタCHの移動距離が想定されており、図22(B)の移動距離L2は、足滑り防止期間T2におけるキャラクタCHのモーションでの移動距離に相当する。   On the other hand, the movement distance of the character CH when the motion is reproduced is assumed for each motion of the character CH, and the movement distance L2 in FIG. 22B is the motion of the character CH in the foot slip prevention period T2. It corresponds to the moving distance.

例えば足滑り防止期間T2でのモーションの移動距離L2が3mであり、ゲームフィールド上でのキャラクタのCHの実際の移動距離LCHが2mであったとする。この場合には、期間T2でのモーションの移動距離L2の方が実際の移動距離LCHよりも長いため、モーション再生速度の変更したとしても、足の滑り現象を防止できない。   For example, it is assumed that the moving distance L2 of the motion in the foot slip prevention period T2 is 3 m and the actual moving distance LCH of the character CH on the game field is 2 m. In this case, since the movement distance L2 of the motion in the period T2 is longer than the actual movement distance LCH, even if the motion reproduction speed is changed, the foot slip phenomenon cannot be prevented.

そこで本実施形態では、LCH<L2である場合には、モーションの再生速度の変更処理を行うことなく、そのままモーションを再生するようにしている。このようにすれば、無駄な再生速度変更処理を行わなくても済むため、処理を効率化できる。   Therefore, in this embodiment, when LCH <L2, the motion is reproduced as it is without changing the motion reproduction speed. In this way, it is not necessary to perform a useless reproduction speed changing process, so that the process can be made more efficient.

また本実施形態では図18のステップS21や図23(A)に示すように、プレーヤが先行入力を行うと、ボールBLのショット位置であるヒット位置HPを求め、ヒット位置HPへのボールBLの到達時間trを取得する。そして、取得された到達時間trと、先行入力の動作指示データ(例えばトップスピンやスライスを指示するデータ)とに基づいて、再生すべきモーションを選択し、図19のステップS31に示すように、選択されたモーションの再生時間tmを取得する。   In this embodiment, as shown in step S21 of FIG. 18 and FIG. 23A, when the player makes a prior input, the hit position HP that is the shot position of the ball BL is obtained, and the ball BL to the hit position HP is obtained. The arrival time tr is acquired. Then, based on the acquired arrival time tr and the operation instruction data (for example, data for instructing top spin or slice) of the preceding input, a motion to be reproduced is selected, and as shown in step S31 in FIG. The playback time tm of the selected motion is acquired.

例えば先行入力システムにおいては、プレーヤの先行入力のタイミングに応じて、到達時間trの長さが変化する。即ち先行入力のタイミングが早ければ、到達時間trは長くなり、遅ければtrは短くなる。この場合に、このような到達時間trの全ての変化に対応したモーションを用意すると、モーションデータの量が大きくなって、記憶容量を圧迫する。   For example, in the advance input system, the length of the arrival time tr changes according to the advance input timing of the player. That is, the arrival time tr becomes longer if the preceding input timing is earlier, and tr becomes shorter if the preceding input timing is earlier. In this case, if a motion corresponding to all the changes in the arrival time tr is prepared, the amount of motion data increases and the storage capacity is compressed.

この点、本実施形態では、ある程度の数のモーションだけを用意して、これらのモーションの中から、その再生時間の長さが到達時間の長さに近いモーションを選択する。具体的には図7に示すように、モーション群毎に設定された再生時間パラメータと、到達時間に基づいて、モーションを選択する。そして再生時間の長さと到達時間の長さの違いについては、再生速度の変更処理により調整する。このようにすることで、それほど大きくないデータ量のモーションデータを用いて、先行入力システムに好適な多彩なモーション表現を実現できる。   In this regard, in the present embodiment, only a certain number of motions are prepared, and a motion whose playback time is close to the arrival time is selected from these motions. Specifically, as shown in FIG. 7, a motion is selected based on the playback time parameter set for each motion group and the arrival time. The difference between the length of the reproduction time and the length of the arrival time is adjusted by a reproduction speed changing process. By doing so, it is possible to realize a variety of motion expressions suitable for the prior input system using motion data with a data amount that is not so large.

また本実施形態では、図19のステップS37〜S41や図23(B)に示すように、取得された到達時間trと再生時間tmに基づいて、期間T1、T2での変更倍率m1、m2を設定する。例えば到達時間trの方がモーションの再生時間tmよりも短い場合には、モーションの早送り再生が行われるように、変更倍率m1、m2を1以上の倍率に設定する。一方、到達時間trの方がモーションの再生時間tmよりも長い場合には、モーションのスロー再生が行われるように、変更倍率m1、m2を1以下の倍率に設定する。   In this embodiment, as shown in steps S37 to S41 in FIG. 19 and FIG. 23B, the change magnifications m1 and m2 in the periods T1 and T2 are set based on the acquired arrival time tr and playback time tm. Set. For example, when the arrival time tr is shorter than the motion playback time tm, the change magnifications m1 and m2 are set to 1 or more so that the fast-forward playback of the motion is performed. On the other hand, when the arrival time tr is longer than the motion reproduction time tm, the change magnifications m1 and m2 are set to 1 or less so that the slow motion reproduction is performed.

この際に本実施形態では、図19のステップS37〜S41に示すように、期間T1での再生速度の変更度合いが、期間T2での再生速度の変更度合いに比べて大きくなるように、再生速度の変更処理が行われる。このようにすることで、図24(A)〜図26(B)のゲーム画像に示すように、足の滑りが防止されたモーションの再生に成功している。   At this time, in this embodiment, as shown in steps S37 to S41 in FIG. 19, the reproduction speed is changed so that the degree of change in the reproduction speed in the period T1 is larger than the degree of change in the reproduction speed in the period T2. The change process is performed. By doing in this way, as shown in the game image of FIG. 24 (A)-FIG. 26 (B), the reproduction | regeneration of the motion by which the slip of the foot was prevented was succeeded.

即ち、例えば図24(B)が足滑り防止開始期間のタイミングTM1に設定され、図24(B)から図26(B)に至る一連のモーションにおいて、キャラクタCHの足の滑りが防止されたリアルなモーションが再生される。   That is, for example, FIG. 24B is set to the timing TM1 of the foot slip prevention start period, and in the series of motion from FIG. 24B to FIG. Motion is played.

また図19のステップS38〜S41に示すように、本実施形態によれば、変更倍率m1が大きくなりすぎたり、小さくなりすぎる事態も防止される。従って、期間T1でのモーションと期間T2でのモーションが自然に繋がるようになり、図24(A)〜図26(B)に示すように、足の滑りを防止しながらも自然でスムーズなモーション表現を実現できる。   Further, as shown in steps S38 to S41 in FIG. 19, according to the present embodiment, a situation in which the change magnification m1 becomes too large or too small is prevented. Therefore, the motion in the period T1 and the motion in the period T2 come to be naturally connected, and as shown in FIGS. 24A to 26B, the natural and smooth motion while preventing the slipping of the foot. Expression can be realized.

2.4 ヒット位置の演算処理
次にヒット位置の演算処理の具体例について説明する。例えば図9(A)〜図9(D)に示すような先行入力システムを採用した場合に、図9(B)において予測されたヒット位置HPが適正な位置ではないと、不都合が生じるという課題がある。図27に、このような課題を解決できるヒット位置演算処理のフローチャートを示す。
2.4 Hit Position Calculation Processing Next, a specific example of hit position calculation processing will be described. For example, when a prior input system as shown in FIGS. 9A to 9D is employed, there is a problem that inconvenience occurs if the hit position HP predicted in FIG. 9B is not an appropriate position. There is. FIG. 27 shows a flowchart of hit position calculation processing that can solve such a problem.

まず、プレーヤによる先行入力(ショット操作)が行われたか否かを判断する(ステップS1)。例えば図9(A)において方向指示キー50と操作ボタン61(又は62〜64)の両方の操作が行われた場合に、先行入力が行われたと判断できる。そして、受け付けられた先行入力の操作情報を取得する(ステップS2)。例えば方向指示キー50及び操作ボタン61からの動作指示データ(方向指示データ、ショット指示データ)が取得される。   First, it is determined whether or not a prior input (shot operation) has been performed by the player (step S1). For example, in FIG. 9A, when both the direction instruction key 50 and the operation button 61 (or 62 to 64) are operated, it can be determined that the preceding input has been performed. And the operation information of the received prior input is acquired (step S2). For example, operation instruction data (direction instruction data, shot instruction data) from the direction instruction key 50 and the operation button 61 is acquired.

次に、取得された操作情報(動作指示データ)に基づきキャラクタCHの位置、移動方向を取得する(ステップS3)。例えば先行入力が行われたタイミングでのキャラクタCHの位置、移動方向が取得される。この場合に移動方向は、方向指示キー50の方向指示データ等に基づき求める。   Next, the position and moving direction of the character CH are acquired based on the acquired operation information (motion instruction data) (step S3). For example, the position and moving direction of the character CH at the timing when the preceding input is performed are acquired. In this case, the movement direction is obtained based on the direction instruction data of the direction instruction key 50 or the like.

次にボールBLの軌道を取得する(ステップS4)。具体的には図3の軌道データを読み出す。そして図9(B)に示すように、キャラクタCHの軌道とボールBLの軌道によりヒット位置HP(ショット位置)を求める(ステップS5)。例えばボールBLの軌道データの中から、ヒット位置HPに対応するボール位置(軌道ポイント)を選択する。即ち先行入力のタイミングにおいて既に計算されている軌道データのボール位置(移動体位置)の中から、交点に対応するボール位置(交点に最も近いボール位置)を選択することで、ヒット位置HPを求める。   Next, the trajectory of the ball BL is acquired (step S4). Specifically, the trajectory data in FIG. 3 is read. Then, as shown in FIG. 9B, a hit position HP (shot position) is obtained from the trajectory of the character CH and the trajectory of the ball BL (step S5). For example, the ball position (orbit point) corresponding to the hit position HP is selected from the trajectory data of the ball BL. That is, the hit position HP is obtained by selecting the ball position corresponding to the intersection (the ball position closest to the intersection) from the ball positions (moving body positions) of the trajectory data already calculated at the timing of the prior input. .

次にヒット位置HPとキャラクタCHの間に障害物が無いか否かを判定する(ステップS6)。そして障害物が無い場合には、ヒット位置HPでのボールBLの高さが適正な高さ範囲内か否かを判断する(ステップS7)。そして適正な高さ範囲内である場合には、キャラクタCHがボールBLの到達時間tr内にヒット位置HP(ショット位置)に到達しているか否かを判断する(ステップS8)。   Next, it is determined whether or not there is an obstacle between the hit position HP and the character CH (step S6). If there is no obstacle, it is determined whether or not the height of the ball BL at the hit position HP is within an appropriate height range (step S7). If it is within the appropriate height range, it is determined whether or not the character CH has reached the hit position HP (shot position) within the arrival time tr of the ball BL (step S8).

そしてステップS6、S7、S8に示す各ショット条件(捕捉条件)の判定が「NO」であった場合には、求めたヒット位置の前後で最適なヒット位置を求める再演算処理を行う(ステップS9)。即ちヒット位置の再演算処理を行ってヒット位置を移動する。そして、ヒット条件の判定処理及びヒット位置の移動処理であるステップS6〜S9の処理を、ヒット位置がショット条件(捕捉条件)を満たす位置になるまで繰り返す。   If the determination of each shot condition (capture condition) shown in steps S6, S7, and S8 is “NO”, a recalculation process for obtaining an optimum hit position before and after the obtained hit position is performed (step S9). ). That is, the hit position is recalculated to move the hit position. Then, the process of steps S6 to S9, which is a hit condition determination process and a hit position movement process, is repeated until the hit position reaches a position that satisfies the shot condition (capture condition).

一方、ステップS6、S7、S8の各ショット条件の判定が全て「YES」であった場合には、先行入力の動作指示データと、最終的に求められたヒット位置等に基づきモーションデータを選択し(ステップS10)、選択されたモーションデータを再生する(ステップS11)。具体的には、例えば最終的に求められたヒット位置HPに基づきボールBLの到達時間trを求める。そしてプレーヤが先行入力により選択したショットのモーションの中から、到達時間tr内に再生することが可能なモーションを選択する。例えば到達時間trとモーションの再生時間の比較処理を行って、最適なモーションを選択し、必要であればモーションの再生速度の変更処理を行う。   On the other hand, when all the shot conditions in steps S6, S7, and S8 are “YES”, the motion data is selected based on the operation instruction data of the preceding input and the finally obtained hit position. (Step S10), the selected motion data is reproduced (Step S11). Specifically, for example, the arrival time tr of the ball BL is obtained based on the finally obtained hit position HP. Then, the motion that can be reproduced within the arrival time tr is selected from the shot motions selected by the player according to the preceding input. For example, a comparison process between the arrival time tr and the motion playback time is performed to select an optimal motion, and a motion playback speed changing process is performed if necessary.

図27のステップS6、S7、S8に示すように、本実施形態では、ヒット位置が、キャラクタによる移動体のショット条件(捕捉条件)を満たす位置であるか否かを判定する。そしてステップS9に示すように、ヒット位置がショット条件(捕捉条件)を満たす位置ではなかった場合には、ヒット位置の再演算処理を行う。その後、ステップS6に戻って、再演算処理後のヒット位置がショット条件を満たすか否かを再度判断し、ショット条件が満たされるまで処理を繰り返す。即ち、ヒット位置を移動する処理を、ヒット位置がショット条件を満たす位置になるまで繰り返す。つまり、ショット条件が満たされるまで、ボールの軌道上においてヒット位置を移動する。   As shown in steps S6, S7, and S8 of FIG. 27, in this embodiment, it is determined whether or not the hit position is a position that satisfies the shot condition (capture condition) of the moving object by the character. As shown in step S9, when the hit position is not a position satisfying the shot condition (capture condition), the hit position recalculation process is performed. Thereafter, returning to step S6, it is determined again whether or not the hit position after the recalculation process satisfies the shot condition, and the process is repeated until the shot condition is satisfied. That is, the process of moving the hit position is repeated until the hit position reaches a position that satisfies the shot condition. That is, the hit position is moved on the ball trajectory until the shot condition is satisfied.

このように、最終的なヒット位置を繰り返し処理により求めれば、プレーヤの先行入力により求められた初期のヒット位置を、少しずつ移動して最終的なヒット位置を取得できるようになる。従って、先行入力についてのプレーヤの意思をある程度反映させたヒット位置の再演算処理(補正処理)を実現できる。また再演算処理においてボールの軌道上でヒット位置を移動するようにすれば、再演算処理により得られたヒット位置が、キャラクタとボールのヒットイベント(ショットイベント)が発生する場所として保証できるようになる。   As described above, if the final hit position is obtained by repeated processing, the initial hit position obtained by the player's prior input can be moved little by little to obtain the final hit position. Therefore, hit position recalculation processing (correction processing) that reflects the player's intention about the prior input to some extent can be realized. In addition, if the hit position is moved on the trajectory of the ball in the recalculation process, the hit position obtained by the recalculation process can be guaranteed as a place where the hit event (shot event) of the character and the ball occurs. Become.

そしてヒット位置がショット条件を満たす位置になったと判断すると、ステップS10、S11に示すように、最終的に得られたヒット位置等に基づいてモーションデータを選択して再生する。   If it is determined that the hit position is a position that satisfies the shot condition, motion data is selected and reproduced based on the finally obtained hit position and the like as shown in steps S10 and S11.

このようにすれば、図9(B)で予測したヒット位置HPが、ショット条件を満たす位置ではなかった場合に、このヒット位置を修正し、適正なヒット位置でキャラクタCHがボールBLをショットできるようになる。即ち先行入力システムでは、予測されたヒット位置HPがボールBLのショットに適さない位置になってしまう場合があるが、本実施形態の手法によれば、このような場合にもボールBLの適正なショットが可能になる。従って先行入力システムに好適なショット処理を実現でき、リアルで高品質なモーション再生と、適正なショット処理とを両立できる。   In this way, when the hit position HP predicted in FIG. 9B is not a position that satisfies the shot condition, the hit position is corrected, and the character CH can shot the ball BL at an appropriate hit position. It becomes like this. That is, in the prior input system, the predicted hit position HP may become a position that is not suitable for the shot of the ball BL. However, according to the method of the present embodiment, the appropriateness of the ball BL is also appropriate in such a case. Shot becomes possible. Therefore, it is possible to realize shot processing suitable for the prior input system, and to realize both real and high-quality motion reproduction and appropriate shot processing.

3.ハードウェア構成
図28(A)に本実施形態を実現できるハードウェアの構成例を示す。
3. Hardware Configuration FIG. 28A shows a hardware configuration example capable of realizing the present embodiment.

CPU900(メインプロセッサ)は、複数のCPUコア1、CPUコア2、CPUコア3を含むマルチコアプロセッサである。またCPU900は図示しないキャッシュメモリを含む。CPUコア1、2、3の各々にはベクタ演算器等が設けられている。そしてCPUコア1、2、3の各々は、例えば2つのH/Wスレッド処理をコンテクストスイッチをすることなしに並列実行でき、マルチスレッド機能がハードウェアでサポートされている。そして3つのCPUコア1、2、3の合計で、6つのH/Wスレッド処理を並列実行できる。   The CPU 900 (main processor) is a multi-core processor including a plurality of CPU cores 1, CPU cores 2, and CPU cores 3. The CPU 900 includes a cache memory (not shown). Each of the CPU cores 1, 2, and 3 is provided with a vector calculator and the like. Each of the CPU cores 1, 2, and 3 can execute, for example, two H / W thread processes in parallel without performing a context switch, and a multi-thread function is supported by hardware. A total of three CPU cores 1, 2, and 3 can execute six H / W thread processes in parallel.

GPU910(描画プロセッサ)は、頂点処理やピクセル処理を行って、描画(レンダリング)処理を実現する。具体的には、シェーダプログラムに従って、頂点データの作成・変更やピクセル(フラグメント)の描画色の決定を行う。1フレーム分の画像がVRAM920(フレームバッファ)に書き込まれると、その画像はビデオ出力を介してTVなどのディスプレイに表示される。なおメインメモリ930はCPU900やGPU910のワークメモリとして機能する。またGPU910では、複数の頂点スレッド、複数のピクセルスレッドが並列実行され、描画処理のマルチスレッド機能がハードウェアでサポートされている。またGPU910にはハードウェアのテッセレータも備えられている。またGPU910は、頂点シェーダとピクセルシェーダとがハードウェア的に区別されていないユニファイド・シェーダ・タイプとなっている。   The GPU 910 (drawing processor) performs vertex processing and pixel processing to realize drawing (rendering) processing. Specifically, according to the shader program, the vertex data is created / changed and the drawing color of the pixel (fragment) is determined. When an image for one frame is written into the VRAM 920 (frame buffer), the image is displayed on a display such as a TV via a video output. The main memory 930 functions as a work memory for the CPU 900 and the GPU 910. Further, in the GPU 910, a plurality of vertex threads and a plurality of pixel threads are executed in parallel, and a multi-thread function of drawing processing is supported by hardware. The GPU 910 is also provided with a hardware tessellator. The GPU 910 is a unified shader type in which the vertex shader and the pixel shader are not distinguished in terms of hardware.

ブリッジ回路940(サウスブリッジ)は、システム内部の情報流通を制御する回路であり、USBコントローラ(シリアルインターフェース)、ネットワークの通信コントローラ、IDEコントローラ、或いはDMAコントローラなどのコントローラを内蔵する。そしてこのブリッジ回路940により、ゲームコントローラ942、メモリーカード944、HDD946、DVDドライブ948との間のインターフェース機能が実現される。   The bridge circuit 940 (south bridge) is a circuit that controls the flow of information inside the system, and incorporates a controller such as a USB controller (serial interface), a network communication controller, an IDE controller, or a DMA controller. The bridge circuit 940 implements an interface function among the game controller 942, the memory card 944, the HDD 946, and the DVD drive 948.

なお本実施形態を実現できるハードウェア構成は図28(A)に限定されず、例えば図28(B)のような構成であってもよい。   Note that the hardware configuration capable of realizing the present embodiment is not limited to FIG. 28A, and may be, for example, a configuration as shown in FIG.

図28(B)ではCPU902が、プロセッサエレメントPPと8つのプロセッサエレメントPE1〜PE8を含む。プロセッサエレメントPPは汎用的なプロセッサコアであり、プロセッサエレメントPE1〜PE8は比較的シンプルな構成のプロセッサコアである。そしてプロセッサエレメントPPとプロセッサエレメントPE1〜PE8のアーキテクチャは異なっており、プロセッサエレメントPE1〜PE8は、複数のデータに対して1命令で同じ処理を同時にできるSIMD型のプロセッサコアとなっている。これによりストリーミング処理などのマルチメディア処理を効率的に実行できる。プロセッサエレメントPPは、2つのH/Wスレッド処理を並列実行でき、プロセッサエレメントPE1〜PE8の各々は、1つのH/Wスレッド処理を実行できる。従って、CPU902では、合計で10個のH/Wスレッド処理の並列実行が可能になる。   In FIG. 28B, the CPU 902 includes a processor element PP and eight processor elements PE1 to PE8. The processor element PP is a general-purpose processor core, and the processor elements PE1 to PE8 are processor cores having a relatively simple configuration. The architectures of the processor element PP and the processor elements PE1 to PE8 are different, and the processor elements PE1 to PE8 are SIMD type processor cores that can simultaneously perform the same processing on a plurality of data with one instruction. Thereby, multimedia processing such as streaming processing can be executed efficiently. The processor element PP can execute two H / W thread processes in parallel, and each of the processor elements PE1 to PE8 can execute one H / W thread process. Therefore, the CPU 902 can execute a total of 10 H / W thread processes in parallel.

図28(B)では、GPU912とCPU902の連携が密になっており、GPU912は、CPU902側のメインメモリ930に直接にレンダリング処理を行うことができる。また例えばCPU902がジオメトリ処理を行って、頂点データを転送したり、GPU912からCPU902にデータを戻すことも容易にできる。またCPU902が、レンダリングのプリプロセッシング処理やポストプロセッシング処理を行うことも容易であり、テッセレーション(平面分割)やドットフィルをCPU902が実行できる。例えば抽象度の高い処理はCPU902が行い、抽象度が低い細かな処理はGPU912が行うというような役割分担が可能である。   In FIG. 28B, the GPU 912 and the CPU 902 are closely linked, and the GPU 912 can perform the rendering process directly on the main memory 930 on the CPU 902 side. Further, for example, the CPU 902 can perform geometry processing to transfer vertex data, or easily return data from the GPU 912 to the CPU 902. It is also easy for the CPU 902 to perform rendering pre-processing and post-processing, and the CPU 902 can execute tessellation (plane division) and dot fill. For example, the CPU 902 can perform a process with a high level of abstraction, and the GPU 912 can perform a detailed process with a low level of abstraction.

なお本実施形態の各部の処理をハードウェアとプログラムにより実現する場合には、情報記憶媒体には、ハードウェア(コンピュータ)を本実施形態の各部として機能させるためのプログラムが格納される。より具体的には、上記プログラムが、ハードウェアであるプロセッサ(CPU、GPU)に処理を指示すると共に、必要であればデータを渡す。そして、プロセッサは、その指示と渡されたデータとに基づいて本発明の各部の処理を実現する。   When the processing of each unit of the present embodiment is realized by hardware and a program, a program for causing the hardware (computer) to function as each unit of the present embodiment is stored in the information storage medium. More specifically, the program instructs a processor (CPU, GPU), which is hardware, to pass data if necessary. And a processor implement | achieves the process of each part of this invention based on the instruction | indication and the passed data.

なお、上記のように本実施形態について詳細に説明したが、本発明の新規事項および効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。従って、このような変形例はすべて本発明の範囲に含まれるものとする。例えば、明細書又は図面において、少なくとも一度、より広義または同義な異なる用語(移動体、第1、第2、第3の座標等)と共に記載された用語(ボール、X、Y、Z座標等)は、明細書又は図面のいかなる箇所においても、その異なる用語に置き換えることができる。   Although the present embodiment has been described in detail as described above, it will be easily understood by those skilled in the art that many modifications can be made without departing from the novel matters and effects of the present invention. Accordingly, all such modifications are intended to be included in the scope of the present invention. For example, in the specification or drawings, terms (ball, X, Y, Z coordinates, etc.) described at least once together with different terms (moving body, first, second, third coordinates, etc.) having a broader meaning or the same meaning May be replaced by the different terms anywhere in the specification or drawings.

また、先行入力処理、モーション再生処理、再生速度の変更処理、ヒット位置の演算処理等も本実施形態で説明したものに限定されず、これらと均等な手法も本発明の範囲に含まれる。また本発明はテニスゲーム以外の種々のゲームに適用できる。また本発明は、業務用ゲームシステム、家庭用ゲームシステム、多数のプレイヤが参加する大型アトラクションシステム、シミュレータ、マルチメディア端末、ゲーム画像を生成するシステムボード、携帯電話等の種々の画像生成システムに適用できる。   Further, the prior input process, the motion reproduction process, the reproduction speed change process, the hit position calculation process, and the like are not limited to those described in the present embodiment, and techniques equivalent to these are also included in the scope of the present invention. The present invention can be applied to various games other than tennis games. Further, the present invention is applied to various image generation systems such as a business game system, a home game system, a large attraction system in which a large number of players participate, a simulator, a multimedia terminal, a system board for generating game images, and a mobile phone. it can.

本実施形態の画像生成システムのブロック図の例。The example of the block diagram of the image generation system of this embodiment. キャラクタやボールのオブジェクトデータの例。Examples of character and ball object data. ボールの軌道データの例。Example of ball trajectory data. モデルオブジェクト、スケルトン構造の例。Example of model object and skeleton structure. 骨の親子関係の説明図。Explanatory drawing of parent-child relationship of bone. キャラクタのモーションデータの例。An example of character motion data. モーションパラメータの例。Examples of motion parameters. テニスゲームにおけるオブジェクト空間の設定例。An example of setting an object space in a tennis game. 図9(A)〜図9(D)は先行入力システムの説明図。FIG. 9A to FIG. 9D are explanatory diagrams of a prior input system. 図10(A)、図10(B)は本実施形態のモーション再生速度変更手法の説明図。FIG. 10A and FIG. 10B are explanatory diagrams of the motion reproduction speed changing method of the present embodiment. 図11(A)〜図11(D)は本実施形態のモーション再生速度変更手法の説明図。FIG. 11A to FIG. 11D are explanatory diagrams of the motion reproduction speed changing method of the present embodiment. 図12(A)、図12(B)は本実施形態により生成されるゲーム画像例。12A and 12B show examples of game images generated by this embodiment. 図13(A)、図13(B)は本実施形態により生成されるゲーム画像例。FIG. 13A and FIG. 13B are examples of game images generated by this embodiment. 図14(A)、図14(B)は本実施形態により生成されるゲーム画像例。FIG. 14A and FIG. 14B are game image examples generated according to the present embodiment. 区画フレームデータを用いる手法の説明図。Explanatory drawing of the method using division frame data. 図16(A)、図16(B)はモーションの再生速度変更処理の具体例の説明図。FIG. 16A and FIG. 16B are explanatory diagrams of specific examples of motion playback speed change processing. 図17(A)、図17(B)はモーションの再生速度変更処理の具体例の説明図。FIG. 17A and FIG. 17B are explanatory diagrams of a specific example of motion playback speed change processing. 本実施形態のモーション再生速度変更処理を説明するフローチャート。The flowchart explaining the motion reproduction speed change process of this embodiment. 本実施形態のモーション再生速度変更処理を説明するフローチャート。The flowchart explaining the motion reproduction speed change process of this embodiment. 図20(A)、図20(B)は本実施形態により生成されるゲーム画像例。20A and 20B show examples of game images generated by this embodiment. 図21(A)、図21(B)はモーションの再生速度変更処理を行うことなくモーションを再生する手法の説明図。FIG. 21A and FIG. 21B are explanatory diagrams of a technique for playing back a motion without performing a motion playback speed change process. 図22(A)、図22(B)はモーションの再生速度変更処理を行うことなくモーションを再生する手法の説明図。22A and 22B are explanatory diagrams of a technique for reproducing a motion without performing a motion reproduction speed changing process. 図23(A)、図23(B)は到達時間と再生時間に基づき変更倍率を設定する手法の説明図。FIGS. 23A and 23B are explanatory diagrams of a method for setting the change magnification based on the arrival time and the reproduction time. 図24(A)、図24(B)は本実施形態により生成されるゲーム画像例。24A and 24B show examples of game images generated by this embodiment. 図25(A)、図25(B)は本実施形態により生成されるゲーム画像例。FIG. 25A and FIG. 25B are game image examples generated according to the present embodiment. 図26(A)、図26(B)は本実施形態により生成されるゲーム画像例。FIG. 26 (A) and FIG. 26 (B) are examples of game images generated by this embodiment. 本実施形態のヒット位置演算処理を説明するフローチャート。The flowchart explaining the hit position calculation process of this embodiment. 図28(A)、図28(B)はハードウェア構成例。FIG. 28A and FIG. 28B are hardware configuration examples.

符号の説明Explanation of symbols

100 処理部、102 入力受け付け部、104 オブジェクト空間設定部、
106 ゲーム演算部、108 移動体制御部、110 キャラクタ制御部、
112 モーション再生部、113 再生速度変更部、114 ヒット位置演算部、
116 判定部、118 仮想カメラ制御部、120 画像生成部、130 音生成部、
160 操作部、170 記憶部、171 形状データ記憶部、
172 オブジェクトデータ記憶部、173 モーションデータ記憶部、
174 モーションパラメータ記憶部、175 軌道データ記憶部、
176 ヒット位置記憶部、177 描画バッファ、180 情報記憶媒体、
190 表示部、192 音出力部、194 補助記憶装置、196 通信部
100 processing unit, 102 input receiving unit, 104 object space setting unit,
106 game calculation unit, 108 moving body control unit, 110 character control unit,
112 motion playback unit, 113 playback speed change unit, 114 hit position calculation unit,
116 determination unit, 118 virtual camera control unit, 120 image generation unit, 130 sound generation unit,
160 operation unit, 170 storage unit, 171 shape data storage unit,
172 Object data storage unit, 173 Motion data storage unit,
174 Motion parameter storage unit, 175 orbit data storage unit,
176 hit position storage unit, 177 drawing buffer, 180 information storage medium,
190 Display unit, 192 Sound output unit, 194 Auxiliary storage device, 196 Communication unit

Claims (13)

キャラクタにより移動体がショット又は捕捉されるタイミングに先行して、前記キャラクタの動作を指示する先行入力をプレーヤが行った場合に、入力された先行入力を受け付ける入力受け付け部と、
前記キャラクタによりショット又は捕捉される前記移動体の制御処理を行う移動体制御部と、
受け付けられた前記先行入力の操作データに基づいて、前記キャラクタの制御処理を行うキャラクタ制御部と、
前記キャラクタのモーションデータを記憶するモーションデータ記憶部と、
前記モーションデータに基づいて前記キャラクタのモーション再生を行うモーション再生部と、
前記キャラクタのモーションの再生速度変更処理を行う再生速度変更部として、
コンピュータを機能させ、
前記再生速度変更部は、
前記先行入力のタイミングから第1のタイミングまでの期間である第1の期間での第1の再生速度の変更度合いを、前記第1のタイミングから前記キャラクタと前記移動体のヒットイベントが発生するタイミングまでの期間である第2の期間での第2の再生速度の変更度合いに比べて大きくする再生速度変更処理を行うことを特徴とするプログラム。
An input receiving unit that receives an input prior input when a player performs prior input instructing the movement of the character prior to the timing at which the moving object is shot or captured by the character;
A moving body control unit that performs control processing of the moving body shot or captured by the character;
A character control unit that performs control processing of the character based on the received operation data of the preceding input;
A motion data storage unit for storing the motion data of the character;
A motion playback unit that performs motion playback of the character based on the motion data;
As a playback speed changing unit for performing the playback speed changing process of the motion of the character,
Make the computer work,
The playback speed changing unit
The degree of change in the first reproduction speed in the first period, which is the period from the preceding input timing to the first timing, is the timing at which the hit event between the character and the moving object occurs from the first timing. A program characterized by performing a reproduction speed changing process that is larger than the degree of change of the second reproduction speed in the second period, which is a period up to.
請求項1において、
前記再生速度変更部は、
前記ヒットイベントの発生位置であるヒット位置への前記移動体の到達時間と、モーションの再生時間とにより、前記第1の期間での前記第1の再生速度の変更倍率である第1の変更倍率と、前記第2の期間での前記第2の再生速度の変更倍率である第2の変更倍率を設定することを特徴とするプログラム。
In claim 1,
The playback speed changing unit
A first change magnification that is a change magnification of the first reproduction speed in the first period based on the arrival time of the moving body at the hit position where the hit event is generated and the reproduction time of the motion And a second change magnification which is a change magnification of the second reproduction speed in the second period.
請求項2において、
前記再生速度変更部は、
前記第2の変更倍率を1倍に設定したときの前記第1の変更倍率を求め、求められた前記第1の変更倍率が第1のしきい値よりも大きい場合には、前記第1の変更倍率を小さくすると共に前記第2の変更倍率を大きくし、求められた前記第1の変更倍率が第2のしきい値よりも小さい場合には、前記第1の変更倍率を大きくすると共に前記第2の変更倍率を小さくすることを特徴とするプログラム。
In claim 2,
The playback speed changing unit
The first change magnification when the second change magnification is set to 1 is obtained, and when the obtained first change magnification is larger than a first threshold value, the first change magnification is calculated. When the change magnification is decreased and the second change magnification is increased, and the obtained first change magnification is smaller than a second threshold value, the first change magnification is increased and the first change magnification is increased. A program for reducing the second change magnification.
請求項1乃至3のいずれかにおいて、
前記モーションデータ記憶部は、
前記第1、第2の期間を区画するフレームを特定するための区画フレームのデータを、各モーションに関連づけて記憶し、
前記再生速度変更部は、
前記区画フレームのデータに基づいて前記第1のタイミングを特定して、前記再生速度変更処理を行うことを特徴とするプログラム。
In any one of Claims 1 thru | or 3,
The motion data storage unit
Storing partition frame data for identifying a frame partitioning the first and second periods in association with each motion;
The playback speed changing unit
A program for specifying the first timing based on data of the partition frame and performing the reproduction speed changing process.
請求項1乃至4のいずれかにおいて、
前記モーションデータ記憶部は、
モーションの再生速度が変更される第1のモーションのデータと、モーションの再生速度が変更されない第2のモーションのデータを記憶し、
前記再生速度変更部は、
前記先行入力による前記キャラクタの動作指示に基づいて前記第1のモーションが選択された場合に、前記再生速度変更処理を行うことを特徴とするプログラム。
In any one of Claims 1 thru | or 4,
The motion data storage unit
Storing data of the first motion in which the playback speed of the motion is changed and data of the second motion in which the playback speed of the motion is not changed,
The playback speed changing unit
A program for performing the reproduction speed changing process when the first motion is selected based on an action instruction of the character by the preceding input.
請求項5において、
前記モーション再生部は、
前記先行入力による前記キャラクタの動作指示に基づいて前記第2のモーションが選択された場合に、前記第2のモーションの再生時間を取得し、前記再生時間が、前記ヒットイベントの発生位置であるヒット位置への前記移動体の到達時間よりも長い場合には、前記第2のモーションの途中からモーション再生を行い、前記再生時間が前記到達時間よりも短い場合には、他のモーション再生を行った後に前記第2のモーションの再生を行うことを特徴とするプログラム。
In claim 5,
The motion playback unit
When the second motion is selected based on the action instruction of the character by the preceding input, the playback time of the second motion is acquired, and the playback time is a hit position where the hit event is generated When it is longer than the arrival time of the moving object to the position, motion playback is performed from the middle of the second motion, and when the playback time is shorter than the arrival time, another motion playback is performed. A program for playing back the second motion later.
請求項1乃至6のいずれかにおいて、
前記モーション再生部は、
前記ヒットイベントの発生位置であるヒット位置への前記移動体の到達時間が、前記第2の期間の長さである第2の時間よりも短い場合には、前記再生速度変更処理を行うことなく前記キャラクタのモーションを再生することを特徴とするプログラム。
In any one of Claims 1 thru | or 6.
The motion playback unit
If the arrival time of the moving object at the hit position where the hit event is generated is shorter than the second time which is the length of the second period, the playback speed changing process is not performed. A program for reproducing the motion of the character.
請求項7において、
前記モーション再生部は、
前記到達時間内での前記キャラクタのゲームフィールド上での移動距離が、前記第2の期間での前記キャラクタのモーションでの移動距離よりも短い場合には、前記再生速度変更処理を行うことなく前記キャラクタのモーションを再生することを特徴とするプログラム。
In claim 7,
The motion playback unit
If the moving distance of the character within the arrival time on the game field is shorter than the moving distance of the character in the second period, the playback speed changing process is not performed. A program characterized by reproducing the motion of a character.
請求項1乃至8のいずれかにおいて、
前記第1のタイミングにより設定される前記第2の期間は、前記キャラクタの足を滑らせない期間として設定された期間であることを特徴とするプログラム。
In any one of Claims 1 thru | or 8.
The program according to claim 1, wherein the second period set by the first timing is a period set as a period during which the character's foot is not slid.
請求項1乃至9のいずれかにおいて、
前記キャラクタと前記移動体とのヒットイベントが発生する位置であるヒット位置を求めるヒット位置演算部として、
コンピュータを機能させ、
前記モーション再生部は、
前記ヒット位置演算部により求められたヒット位置への前記移動体の到達時間と、前記先行入力の動作指示データとに基づき、モーションデータを選択して再生することを特徴とするプログラム。
In any one of Claims 1 thru | or 9,
As a hit position calculation unit for obtaining a hit position that is a position where a hit event occurs between the character and the moving body,
Make the computer work,
The motion playback unit
A program for selecting and reproducing motion data based on the arrival time of the moving body at the hit position determined by the hit position calculation unit and the operation instruction data of the preceding input.
請求項10において、
前記再生速度変更部は、
選択されたモーションデータの再生時間と、前記移動体の前記到達時間とに基づいて、前記第1の期間での前記第1の再生速度の変更倍率である第1の変更倍率と、前記第2の期間での前記第2の再生速度の変更倍率である第2の変更倍率を設定することを特徴とするプログラム。
In claim 10,
The playback speed changing unit
Based on the reproduction time of the selected motion data and the arrival time of the moving body, a first change magnification which is a change magnification of the first reproduction speed in the first period, and the second A program for setting a second change magnification which is a change magnification of the second reproduction speed in the period of time.
コンピュータ読み取り可能な情報記憶媒体であって、請求項1乃至11のいずれかに記載のプログラムを記憶したことを特徴とする情報記憶媒体。   A computer-readable information storage medium, wherein the program according to any one of claims 1 to 11 is stored. 画像を生成する画像生成システムであって、
キャラクタにより移動体がショット又は捕捉されるタイミングに先行して、前記キャラクタの動作を指示する先行入力をプレーヤが行った場合に、入力された先行入力を受け付ける入力受け付け部と、
前記キャラクタによりショット又は捕捉される前記移動体の制御処理を行う移動体制御部と、
受け付けられた前記先行入力の操作データに基づいて、前記キャラクタの制御処理を行うキャラクタ制御部と、
前記キャラクタのモーションデータを記憶するモーションデータ記憶部と、
前記モーションデータに基づいて前記キャラクタのモーション再生を行うモーション再生部と、
前記キャラクタのモーションの再生速度変更処理を行う再生速度変更部と、
を含み、
前記再生速度変更部は、
前記先行入力のタイミングから第1のタイミングまでの期間である第1の期間での第1の再生速度の変更度合いを、前記第1のタイミングから前記キャラクタと前記移動体のヒットイベントが発生するタイミングまでの期間である第2の期間での第2の再生速度の変更度合いに比べて大きくする再生速度変更処理を行うことを特徴とする画像生成システム。
An image generation system for generating an image,
An input receiving unit that receives an input prior input when a player performs prior input instructing the movement of the character prior to the timing at which the moving object is shot or captured by the character;
A moving body control unit that performs control processing of the moving body shot or captured by the character;
A character control unit that performs control processing of the character based on the received operation data of the preceding input;
A motion data storage unit for storing the motion data of the character;
A motion playback unit that performs motion playback of the character based on the motion data;
A playback speed changing unit for performing a playback speed changing process of the motion of the character;
Including
The playback speed changing unit
The degree of change in the first reproduction speed in the first period, which is the period from the preceding input timing to the first timing, is the timing at which the hit event between the character and the moving object occurs from the first timing. An image generation system characterized by performing a reproduction speed changing process that is larger than the degree of change of the second reproduction speed in the second period, which is a period up to.
JP2007156255A 2007-06-13 2007-06-13 Program, information storage medium, and image generation system Active JP5220350B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007156255A JP5220350B2 (en) 2007-06-13 2007-06-13 Program, information storage medium, and image generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007156255A JP5220350B2 (en) 2007-06-13 2007-06-13 Program, information storage medium, and image generation system

Publications (2)

Publication Number Publication Date
JP2008307166A JP2008307166A (en) 2008-12-25
JP5220350B2 true JP5220350B2 (en) 2013-06-26

Family

ID=40235331

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007156255A Active JP5220350B2 (en) 2007-06-13 2007-06-13 Program, information storage medium, and image generation system

Country Status (1)

Country Link
JP (1) JP5220350B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5941202B1 (en) * 2015-08-20 2016-06-29 株式会社コロプラ Interface program and computer

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100164954A1 (en) * 2008-12-31 2010-07-01 Sathe Rahul P Tessellator Whose Tessellation Time Grows Linearly with the Amount of Tessellation
JP2010237882A (en) 2009-03-30 2010-10-21 Namco Bandai Games Inc Program, information storage medium, and image generation system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3594400B2 (en) * 1996-03-19 2004-11-24 株式会社ナムコ Game device
JP3753350B2 (en) * 1997-09-17 2006-03-08 株式会社ナムコ Information storage medium and image generation apparatus
JP3606370B2 (en) * 2000-06-14 2005-01-05 株式会社ナムコ GAME DEVICE AND INFORMATION STORAGE MEDIUM
JP4801854B2 (en) * 2001-08-03 2011-10-26 株式会社バンダイナムコゲームス Program, information storage medium, and game device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5941202B1 (en) * 2015-08-20 2016-06-29 株式会社コロプラ Interface program and computer
JP2017038801A (en) * 2015-08-20 2017-02-23 株式会社コロプラ Interface program and computer
WO2017030021A1 (en) * 2015-08-20 2017-02-23 株式会社コロプラ Interface program and computer

Also Published As

Publication number Publication date
JP2008307166A (en) 2008-12-25

Similar Documents

Publication Publication Date Title
US6947046B2 (en) Image generation method, program, and information storage medium
US20100245365A1 (en) Image generation system, image generation method, and computer program product
JP2003126548A (en) Game device and game system
JP2009000383A (en) Program, information recording medium and image generating system
JP2003044219A (en) Image generation system, its program, and information storage medium
JP5103509B2 (en) GAME CONTROL DEVICE, GAME CONTROL PROGRAM, AND GAME CONTROL METHOD
US20060199626A1 (en) In-game shot aiming indicator
US20120108303A1 (en) Game device, game control method and recording medium
JP4962978B2 (en) GAME IMAGE DISPLAY CONTROL PROGRAM, GAME DEVICE, AND GAME IMAGE DISPLAY CONTROL METHOD
JP2012101025A (en) Program, information storage medium, game device, and server system
US20160220906A1 (en) Simulation device, simulation method, program, and information storage medium
JP3699415B2 (en) Character training program, character training method, and video game apparatus
JP5220350B2 (en) Program, information storage medium, and image generation system
JP4129651B2 (en) Image processing apparatus, game apparatus, image processing method, and recording medium
JP5220349B2 (en) Program, information storage medium, and image generation system
JP4320352B2 (en) GAME DEVICE, GAME CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING THE SAME
JP3686070B2 (en) Program, information storage medium, and image generation system
JP4097236B2 (en) Image generating apparatus and information storage medium
JP2010233752A (en) Program, information storage medium, and image generation system
JP2010088562A (en) Game program, match-up game apparatus, and match-up game control method
JP2003067773A (en) Image generation system, program and information storage medium
JP2010233751A (en) Program, information storage medium, and image generation system
JP2003205173A (en) Character operation program, character operation method and video game device
JP4975720B2 (en) GAME PROGRAM, GAME CONTROL METHOD, AND GAME DEVICE
JP2002200348A (en) Control method for baseball game, storage medium, and game device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100521

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130205

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130306

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

Free format text: PAYMENT UNTIL: 20160315

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5220350

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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