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

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

Info

Publication number
JP2008071049A
JP2008071049A JP2006248108A JP2006248108A JP2008071049A JP 2008071049 A JP2008071049 A JP 2008071049A JP 2006248108 A JP2006248108 A JP 2006248108A JP 2006248108 A JP2006248108 A JP 2006248108A JP 2008071049 A JP2008071049 A JP 2008071049A
Authority
JP
Japan
Prior art keywords
operation target
unit
parameter
controller
movement
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.)
Withdrawn
Application number
JP2006248108A
Other languages
Japanese (ja)
Inventor
Kazuya Usui
和也 薄井
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.)
Bandai Namco Entertainment Inc
Original Assignee
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 Bandai Games Inc filed Critical Namco Bandai Games Inc
Priority to JP2006248108A priority Critical patent/JP2008071049A/en
Publication of JP2008071049A publication Critical patent/JP2008071049A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Position Input By Displaying (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To more practically operate an operation object by updating a parameter where the operation of an operator is minutely reflected, and to effectively raise virtual reality. <P>SOLUTION: The position and direction of the operation object are controlled based on information to be changed in response to the movement of a controller. The operation object at the position and in the direction is displayed in a display part. Then, the state parameter of the operation object is updated in response to the position and direction. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

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

従来より、シューティングゲームシステムなどのように、操作対象(自機)を操作して、操作目標(標的)を破壊等するゲームを行う画像生成システムが知られている。このような画像生成システムでは、1発のミサイルが当たったか否か、高い所から落ちたか否かなど、1のアクションで勝敗が決まってしまうと現実感がなく、面白みがないため、受けたダメージに応じて耐久度等のパラメータを更新し、耐久度がなくなると破壊されるように制御するものがある。かかる制御を行う技術として、例えば特開平11−70272号公報に開示される従来技術がある。
特開平11−70272号公報
2. Description of the Related Art Conventionally, an image generation system that performs a game such as a shooting game system by operating an operation target (own device) to destroy an operation target (target) is known. In such an image generation system, if a single missile is hit, whether it falls from a high place, etc., it is not realistic and there is no interest when winning or losing is determined by one action, so damage received Depending on the situation, parameters such as durability are updated, and control is performed so that the device is destroyed when the durability is lost. As a technique for performing such control, for example, there is a conventional technique disclosed in Japanese Patent Laid-Open No. 11-70272.
Japanese Patent Laid-Open No. 11-70272

しかしながら従来の画像生成システムでは、操作ボタンなどの入力有無や操作レバーなどの入力方向を、選択入力することにより操作対象(自機)を操作して、選択入力の結果としてイベントを発生させるか否か決定し、発生したイベントの種類に応じてパラメータを変化させるものであった。従ってパラメータの更新契機、更新量は、発生したイベント種類に応じて一律に決まってしまうものであった。   However, in the conventional image generation system, whether the operation target (own machine) is operated by selectively inputting the input presence / absence of the operation button and the input direction of the operation lever, etc., is an event generated as a result of the selection input? The parameter was changed according to the type of event that occurred. Therefore, the parameter update trigger and update amount are uniformly determined according to the type of event that has occurred.

本発明は、以上のような課題に鑑みてなされたものであり、その目的とするところは、操作者の操作をより詳細に反映したパラメータの更新を行うことにより、より現実に即した操作対象の操作を行わせ、仮想現実感を効果的に高めることができるプログラム、情報記憶媒体及び画像生成システムを提供することにある。   The present invention has been made in view of the problems as described above, and the object of the present invention is to update the parameters reflecting the operation of the operator in more detail, thereby making the operation target more realistic. It is an object of the present invention to provide a program, an information storage medium, and an image generation system capable of effectively enhancing virtual reality.

(1)本発明は、
コントローラの操作に応じた画像を生成するための画像生成システムであって、
前記コントローラの動きに応じて変化する情報を検出する検出部の検出結果に基づいて、前記コントローラの動き情報を取得する情報取得部と、
前記動き情報に基づいて、仮想空間における操作対象の位置、向きを制御する移動処理部と、
前記操作対象の位置、向きに基づいて、表示部に前記操作対象を表示させる操作対象表示制御処理を行う表示制御部と、
前記操作対象の位置、向きに応じて、前記操作対象に設定される状態パラメータを更新するパラメータ更新部と、
を含むことを特徴とする画像生成システムに関係する。また本発明は、上記各部としてコンピュータを機能させるプログラムに関係する。また本発明は、コンピュータ読み取り可能な情報記憶媒体であって、上記各部としてコンピュータを機能させるプログラムを記憶(記録)した情報記憶媒体に関係する。
(1) The present invention
An image generation system for generating an image according to an operation of a controller,
Based on the detection result of the detection unit that detects information that changes according to the movement of the controller, an information acquisition unit that acquires the movement information of the controller;
A movement processing unit that controls the position and orientation of the operation target in the virtual space based on the movement information;
A display control unit that performs an operation target display control process for displaying the operation target on a display unit based on the position and orientation of the operation target;
A parameter update unit that updates state parameters set in the operation target according to the position and orientation of the operation target;
It is related with the image generation system characterized by including. The present invention also relates to a program that causes a computer to function as each of the above-described units. The present invention also relates to a computer-readable information storage medium that stores (records) a program that causes a computer to function as each unit.

本発明では、コントローラの動きに応じて変化する情報から、操作対象の位置、向きが制御されるので、コントローラの動きをそのまま操作対象の位置、向きに反映させることができる。そしてかかる位置、向きにある操作対象を表示部に表示させて、かかる位置、向きに応じて操作対象の状態パラメータを更新する。   In the present invention, since the position and orientation of the operation target are controlled from information that changes according to the movement of the controller, the movement of the controller can be directly reflected in the position and orientation of the operation target. Then, the operation target at the position and orientation is displayed on the display unit, and the state parameter of the operation target is updated according to the position and orientation.

従って本発明によれば、コントローラの動きをより詳細に反映したパラメータの更新を行うことができる。例えば、操作対象の位置が同じでも向きが異なればパラメータの更新態様も異ならせることができる。こうして本発明によれば、コントローラの動き(操作者の操作内容)を操作対象の表示、パラメータの更新(操作結果)に、より現実に即した形で反映せることができ、操作者の仮想現実感を効果的に高めることができる。   Therefore, according to the present invention, it is possible to update the parameter reflecting the movement of the controller in more detail. For example, even if the position of the operation target is the same, the update mode of the parameters can be made different if the directions are different. In this way, according to the present invention, the movement of the controller (operation contents of the operator) can be reflected in the display of the operation target and the update of the parameters (operation result) in a more realistic manner. A feeling can be heightened effectively.

(2)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記状態パラメータの値に応じて、所与のイベントを発生させるイベント発生部を更に含むようにしてもよい。
(2) In the image generation system, program, and information storage medium according to the present invention,
An event generation unit that generates a given event according to the value of the state parameter may be further included.

本発明によれば、パラメータが更新されないようにコントローラを操作させて、所与のイベントが発生しないようにさせたり、パラメータが更新されるようにコントローラを操作させて、所与のイベントが発生するようにさせることができる。従って本発明によれば、コントローラの操作に目的意識や、緊張感を与えることができる。   According to the present invention, the controller is operated so that the parameter is not updated, so that the given event is not generated, or the controller is operated so that the parameter is updated, so that the given event is generated. Can be made to Therefore, according to the present invention, a sense of purpose and a sense of tension can be given to the operation of the controller.

(3)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記パラメータ更新部が、
前記操作対象の位置及び向きの少なくとも一方の変化に応じて前記状態パラメータを更新するようにしてもよい。
(3) In the image generation system, the program, and the information storage medium according to the present invention,
The parameter update unit
The state parameter may be updated according to a change in at least one of the position and orientation of the operation target.

本発明によれば、操作対象の位置、向きの変化タイミングや変化量等に応じて、そのときの操作対象の位置、向きに応じたパラメータの更新を行うことができる。従って本発明によれば、操作対象の位置、向きの変化と、そのときの操作対象の位置、向きとの組み合わせによって、コントローラの動きをより詳細に反映したパラメータの更新を行うことができる。   According to the present invention, it is possible to update parameters according to the position and orientation of the operation target at that time according to the change timing and change amount of the position and orientation of the operation target. Therefore, according to the present invention, it is possible to update the parameter reflecting the movement of the controller in more detail by the combination of the change in the position and orientation of the operation target and the position and orientation of the operation target at that time.

(4)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記仮想空間に複数の領域が設定され、
前記パラメータ更新部が、
前記操作対象と前記仮想空間の各領域との位置関係に応じて前記状態パラメータを更新するようにしてもよい。
(4) In the image generation system, the program, and the information storage medium according to the present invention,
A plurality of areas are set in the virtual space,
The parameter update unit
The state parameter may be updated according to the positional relationship between the operation target and each region of the virtual space.

本発明によれば、操作対象と仮想空間の各領域との位置関係に応じて、そのときの操作対象の位置、向きに応じたパラメータの更新を行うことができる。従って本発明によれば、操作対象と仮想空間の各領域との位置関係を考慮したコントローラの動きを要求することができる。   According to the present invention, it is possible to update parameters according to the position and orientation of the operation target at that time according to the positional relationship between the operation target and each region of the virtual space. Therefore, according to the present invention, it is possible to request the movement of the controller in consideration of the positional relationship between the operation target and each area of the virtual space.

(5)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記操作対象に複数の領域が設定され、
前記パラメータ更新部が、
前記操作対象の各領域と前記仮想空間の各領域との位置関係に応じて、前記操作対象の領域ごとに前記状態パラメータを更新するようにしてもよい。
(5) In the image generation system, the program, and the information storage medium according to the present invention,
A plurality of areas are set for the operation target,
The parameter update unit
The state parameter may be updated for each region to be operated according to a positional relationship between each region to be operated and each region in the virtual space.

本発明によれば、操作対象の各領域と仮想空間の各領域との位置関係に応じて、そのときの操作対象の位置、向きに応じたパラメータの更新を、操作対象の領域ごとに行うことができる。従って本発明によれば、操作者に対して、操作対象の各領域と仮想空間の各領域との位置関係を考慮したより詳細なコントローラの動きを要求することができる。   According to the present invention, in accordance with the positional relationship between each region to be operated and each region in the virtual space, the parameter is updated for each region to be operated according to the position and orientation of the operation target at that time. Can do. Therefore, according to the present invention, it is possible to request the operator for more detailed controller movement in consideration of the positional relationship between each region to be operated and each region in the virtual space.

(6)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記パラメータ更新部が、
前記操作対象が一の領域から他の領域に移動した場合に前記状態パラメータを更新するようにしてもよい。
(6) In the image generation system, the program, and the information storage medium according to the present invention,
The parameter update unit
The state parameter may be updated when the operation target moves from one area to another area.

本発明によれば、操作対象が一の領域から他の領域に移動したことを契機として、そのときの操作対象の位置、向きに応じたパラメータの更新を行うことができる。従って本発明によれば、操作者に対して、操作対象が領域間を移動する際の操作対象の位置、向きを考慮したコントローラの動きを要求することができる。   According to the present invention, it is possible to update parameters according to the position and orientation of the operation target at that time when the operation target moves from one region to another region. Therefore, according to the present invention, it is possible to request the operator to move the controller in consideration of the position and orientation of the operation target when the operation target moves between regions.

(7)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記パラメータ更新部が、
前記操作対象の移動速度に応じて前記状態パラメータを更新するようにしてもよい。
(7) In the image generation system, the program, and the information storage medium according to the present invention,
The parameter update unit
The state parameter may be updated according to the movement speed of the operation target.

本発明によれば、操作対象の移動速度に応じて、そのときの操作対象の位置、向きに応じたパラメータの更新を行うことができる。従って本発明によれば、操作対象の移動速度と、そのときの操作対象の位置、向きとの組み合わせによって、コントローラの動きをより詳細に反映したパラメータの更新を行うことができる。   According to the present invention, parameters can be updated according to the position and orientation of the operation target at that time according to the movement speed of the operation target. Therefore, according to the present invention, it is possible to update the parameter reflecting the movement of the controller in more detail by the combination of the moving speed of the operation target and the position and orientation of the operation target at that time.

(8)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記パラメータ更新部が、
経過時間に応じて前記状態パラメータを更新するようにしてもよい。
(8) In the image generation system, the program, and the information storage medium according to the present invention,
The parameter update unit
The state parameter may be updated according to the elapsed time.

本発明によれば、経過時間に応じて、そのときの操作対象の位置、向きに応じたパラメータの更新を行うことができる。従って本発明によれば、経過時間と、そのときの操作対象の位置、向きとの組み合わせによって、コントローラの動きをより詳細に反映したパラメータの更新を行うことができる。   According to the present invention, it is possible to update parameters according to the position and orientation of the operation target at that time according to the elapsed time. Therefore, according to the present invention, it is possible to update the parameter reflecting the movement of the controller in more detail by the combination of the elapsed time and the position and orientation of the operation target at that time.

(9)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記パラメータ更新部が、
前記仮想空間に設定される所与の向きと前記操作対象の向きとの関係に応じて前記状態パラメータを更新するようにしてもよい。
(9) In the image generation system, the program, and the information storage medium according to the present invention,
The parameter update unit
The state parameter may be updated according to a relationship between a given direction set in the virtual space and the direction of the operation target.

本発明において、「仮想空間に設定される所与の向き」とは、例えば水中における水流の向きや、空中における気流の向き等、種々のパラメータを設定することができる。   In the present invention, “a given direction set in the virtual space” can set various parameters such as the direction of water flow in water and the direction of air flow in the air.

本発明によれば、仮想空間に設定される所与の向きと操作対象の向きとの関係に応じた、より詳細なパラメータの更新を行うことができる。従って本発明によれば、操作者に対して、仮想空間に設定される所与の向きと操作対象の向きとの関係を考慮したコントローラの動きを要求することができる。   According to the present invention, it is possible to update more detailed parameters according to the relationship between a given direction set in the virtual space and the direction of the operation target. Therefore, according to the present invention, it is possible to request the operator to move the controller in consideration of the relationship between a given direction set in the virtual space and the direction of the operation target.

(10)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記表示制御部が、
前記表示部に操作目標を表示させる操作目標表示制御処理を更に行い、
前記パラメータ更新部が、
前記操作目標と前記操作対象とが所定の位置関係にある場合に、前記操作目標に設定された属性パラメータに応じて前記状態パラメータを更新するようにしてもよい。
(10) In the image generation system, the program, and the information storage medium according to the present invention,
The display control unit
Further performing an operation target display control process for displaying an operation target on the display unit,
The parameter update unit
When the operation target and the operation target are in a predetermined positional relationship, the state parameter may be updated according to an attribute parameter set for the operation target.

本発明によれば、操作目標と操作対象との位置関係と、操作目標の属性パラメータとに応じた、より詳細なパラメータの更新を行うことができる。従って本発明によれば、操作者に対して、操作目標と操作対象との位置関係と、操作目標の属性パラメータとを考慮したコントローラの動きを要求することができる。   According to the present invention, it is possible to update more detailed parameters according to the positional relationship between the operation target and the operation target and the attribute parameter of the operation target. Therefore, according to the present invention, it is possible to request the operator to move the controller in consideration of the positional relationship between the operation target and the operation target and the attribute parameter of the operation target.

(11)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記パラメータ更新部が、
前記操作目標と前記操作対象とが所与の位置関係にある場合の経過時間に応じて前記状態パラメータを更新するようにしてもよい。
(11) In the image generation system, the program, and the information storage medium according to the present invention,
The parameter update unit
The state parameter may be updated according to an elapsed time when the operation target and the operation target are in a given positional relationship.

本発明によれば、操作目標と操作対象との位置関係と、操作目標の属性パラメータとに加え、操作目標と操作対象とが所与の位置関係にある場合の経過時間に応じた、より詳細なパラメータの更新を行うことができる。従って本発明によれば、操作者に対して、操作目標と操作対象とが所与の位置関係にある場合の経過時間を更に考慮したコントローラの動きを要求することができる。   According to the present invention, in addition to the positional relationship between the operation target and the operation target and the attribute parameter of the operation target, more detailed according to the elapsed time when the operation target and the operation target have a given positional relationship Parameters can be updated. Therefore, according to the present invention, it is possible to request the operator to move the controller further considering the elapsed time when the operation target and the operation target are in a given positional relationship.

(12)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記コントローラの操作に関する評価を行う評価部を更に含み、
前記表示制御部が、
前記表示部に操作目標を表示させ、前記操作目標と前記操作対象とが所定の位置関係にある場合に、前記操作対象の移動に追従するように前記操作目標を移動させる操作目標表示制御処理を更に行い、
前記評価部が、
前記操作対象の移動に追従するように前記操作目標を移動させて所与の条件を満たした場合に、前記評価を行うようにしてもよい。
(12) In the image generation system, the program, and the information storage medium according to the present invention,
An evaluation unit for performing an evaluation on the operation of the controller;
The display control unit
An operation target display control process for displaying an operation target on the display unit and moving the operation target so as to follow the movement of the operation target when the operation target and the operation target are in a predetermined positional relationship. Do further,
The evaluation unit is
The evaluation may be performed when the operation target is moved so as to follow the movement of the operation target and a given condition is satisfied.

本発明によれば、操作対象の移動に追従するように操作目標を移動させて所与の条件を満たすと評価が行われるが、そのときの操作対象の位置、向きに応じてパラメータの更新が行われる。従って本発明によれば、操作者に対して、操作目標を移動させる際の操作目標と操作対象との位置関係と、操作対象の位置、向きとの関係を考慮したコントローラの動きを要求することができる。   According to the present invention, the evaluation is performed when the operation target is moved so as to follow the movement of the operation target and the given condition is satisfied, but the parameter is updated according to the position and orientation of the operation target at that time. Done. Therefore, according to the present invention, the controller is requested to move the controller in consideration of the positional relationship between the operation target and the operation target when moving the operation target and the relationship between the position and orientation of the operation target. Can do.

(13)また本発明に係る画像生成システム、プログラム及び情報記憶媒体では、
前記仮想空間に複数の領域が設定され、
前記パラメータ更新部が、
前記操作対象が第1の領域に位置する場合に、前記操作対象の位置、向きに応じて前記状態パラメータを第1の値から第2の値に向けて更新し、
前記操作対象が第2の領域に位置する場合に、前記動き情報に基づいて前記状態パラメータを第2の値から第1の値に向けて更新するようにしてもよい。
(13) In the image generation system, the program, and the information storage medium according to the present invention,
A plurality of areas are set in the virtual space,
The parameter update unit
When the operation target is located in the first region, the state parameter is updated from the first value to the second value according to the position and orientation of the operation target,
When the operation target is located in the second region, the state parameter may be updated from the second value toward the first value based on the motion information.

本発明によれば、操作対象が第1の領域に位置する場合には、操作対象の位置、向きに応じて状態パラメータを例えば減少させるように更新し、操作対象が第2の領域に位置する場合には、動き情報に基づいて状態パラメータを例えば増加させるように、第1の領域に位置する場合とは逆に更新する。即ち操作対象が第1の領域に位置する場合と第2の領域に位置する場合とで、パラメータの更新を逆にする。これにより本発明によれば、コントローラの動き(操作者の操作内容)をパラメータの更新(操作結果)に、第1の領域と第2の領域とで異なるように反映させることができる。例えば水中領域に操作対象を移動させると、操作対象が濡れて耐久度が減少し、空中領域で操作対象を振るように操作すると、操作対象が乾いて耐久度が回復するようにしてもよい。   According to the present invention, when the operation target is located in the first area, the state parameter is updated so as to decrease, for example, according to the position and orientation of the operation target, and the operation target is located in the second area. In such a case, the state parameter is updated on the basis of the motion information, for example, so as to increase, contrary to the case where the state parameter is located in the first region. That is, the parameter update is reversed between the case where the operation target is located in the first area and the case where the operation target is located in the second area. Thus, according to the present invention, the movement of the controller (operation contents of the operator) can be reflected in the parameter update (operation result) so as to be different between the first area and the second area. For example, when the operation target is moved to the underwater area, the operation target gets wet and the durability decreases, and when the operation target is shaken in the aerial area, the operation target is dried and the durability may be recovered.

以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必須構成要件であるとは限らない。   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は、本実施形態の画像生成システムを適用したゲームシステム10の概略外観図である。本実施形態のゲームシステム10は、表示画面11にゲーム画像を表示させる表示部12と、ゲーム処理等を行うゲーム機14と、プレーヤPが把持して所定範囲内での位置、向きを任意に変更可能なコントローラ16とを含む。本実施形態のコントローラ16は、コントローラ16の動きに応じて変化する情報を検出する検出部を内蔵しており、コントローラ16自体の位置や向き等の動きに関する情報を取得できるようになっている。なお図1の例では、ゲーム機14とコントローラ16とがケーブルにより接続されているが、ゲーム機14とコントローラ16との間で無線通信により情報を送受信するようにしてもよい。
1. System Overview FIG. 1 is a schematic external view of a game system 10 to which the image generation system of this embodiment is applied. The game system 10 according to this embodiment includes a display unit 12 that displays a game image on a display screen 11, a game machine 14 that performs game processing, and the like, and a position and orientation within a predetermined range that are held by the player P. And a changeable controller 16. The controller 16 of the present embodiment has a built-in detection unit that detects information that changes in accordance with the movement of the controller 16, and can acquire information related to movement such as the position and orientation of the controller 16 itself. In the example of FIG. 1, the game machine 14 and the controller 16 are connected by a cable, but information may be transmitted and received between the game machine 14 and the controller 16 by wireless communication.

本実施形態ではコントローラ16は、その先端にCMOSセンサ等の撮像素子(受光素子)が設けられており、コントローラ16の先端を向けた方向の画像を取得することができる。また本実施形態の表示部12の表示画面11の上方には、2個の赤外線LED等からなる赤外光原18、20が設けられている。そして予め設定された基準位置情報と、撮像素子が取得した2つの赤外光原18、20の位置情報とから、表示画面11上におけるコントローラ16の指示位置の情報が演算できるようになっている。   In the present embodiment, the controller 16 is provided with an imaging element (light receiving element) such as a CMOS sensor at the tip, and can acquire an image in a direction in which the tip of the controller 16 is directed. In addition, infrared light sources 18 and 20 including two infrared LEDs and the like are provided above the display screen 11 of the display unit 12 of the present embodiment. Information on the indicated position of the controller 16 on the display screen 11 can be calculated from preset reference position information and position information of the two infrared light sources 18 and 20 acquired by the image sensor. .

従って図1に示すように、プレーヤPがコントローラ16を把持しながら手を動かしてコントローラ16自体の位置、向きを変化させると、かかる位置、向きの変化に応じて、表示部12に表示される操作対象COの位置、向きを変化させることができる。即ちコントローラ16自体の動きにより、操作対象COを操作することができる。   Therefore, as shown in FIG. 1, when the player P moves the hand while holding the controller 16 to change the position and orientation of the controller 16 itself, the player P is displayed on the display unit 12 in accordance with the change in the position and orientation. The position and orientation of the operation target CO can be changed. That is, the operation target CO can be operated by the movement of the controller 16 itself.

図2は、表示画面11におけるコントローラ16の指示位置の情報を演算する手法を説明するための図である。図2に示す矩形の領域は、CMOSセンサが取得した画像データが格納される画像データ領域PAである。本実施形態ではこの画像データ領域PAには、1/60秒ごとにコントローラ16の位置、向きに応じた画像データが格納される。そして画像データ領域PAに格納された画像データのうち、赤外光原18、20を撮像した領域である赤外光原領域IrA1、IrA2を用いて、表示画面11におけるコントローラ16の指示位置の情報を演算する。本実施形態では、画像データ領域PAの原点Oをコントローラ16が指示する点とし、原点Oと、画像データ領域PAにおける赤外光原領域IrA1、IrA2の位置座標と、画像データ領域PAにおける表示画面11に対応する領域である表示画面領域DpAとの相対的な位置関係から、表示画面11上におけるコントローラ16の指示位置の情報を演算する。   FIG. 2 is a diagram for explaining a method of calculating information on the indicated position of the controller 16 on the display screen 11. A rectangular area shown in FIG. 2 is an image data area PA in which image data acquired by the CMOS sensor is stored. In this embodiment, the image data area PA stores image data corresponding to the position and orientation of the controller 16 every 1/60 seconds. Information on the indicated position of the controller 16 on the display screen 11 using the infrared light source regions IrA1 and IrA2, which are regions where the infrared light sources 18 and 20 are imaged, of the image data stored in the image data region PA. Is calculated. In the present embodiment, the origin 16 of the image data area PA is designated as a point designated by the controller 16, the origin O, the position coordinates of the infrared light original areas IrA1 and IrA2 in the image data area PA, and the display screen in the image data area PA. 11 is calculated from the relative positional relationship with the display screen area DpA, which is an area corresponding to 11, on the display screen 11.

図2の例では、赤外光原領域IrA1、IrA2が、画像データ領域PAの中央よりもやや上方において、画像データ領域PAの基準線L(X軸)に対して時計回りにθ°回転された状態で形成されている。従って図2の例では、原点Oは表示画面領域DpAの右下部の所定位置に対応させることができ、表示画面11上におけるコントローラ16の指示位置の座標を求めることができる。そして、赤外光原領域IrA1、IrA2を結ぶ直線lの基準線Lに対する回転角度θから、表示画面11に対するコントローラ16の指示方向軸回りの回転角度を求めることができる。また、コントローラ16が表示画面11と所定距離にあるときの赤外光原領域IrA1とIrA2との基準距離Dを予め設定しておくことにより、基準距離Dと、図2の例における赤外光原領域IrA1とIrA2との距離dとの比に基づき、図2の例における表示画面11に対するコントローラ16の距離を求めることができる。   In the example of FIG. 2, the infrared light source areas IrA1 and IrA2 are rotated by θ ° clockwise with respect to the reference line L (X axis) of the image data area PA slightly above the center of the image data area PA. It is formed in the state. Accordingly, in the example of FIG. 2, the origin O can correspond to a predetermined position at the lower right of the display screen area DpA, and the coordinates of the indicated position of the controller 16 on the display screen 11 can be obtained. Then, the rotation angle around the indicated direction axis of the controller 16 with respect to the display screen 11 can be obtained from the rotation angle θ with respect to the reference line L of the straight line 1 connecting the infrared light original regions IrA1 and IrA2. Further, by setting in advance a reference distance D between the infrared light source regions IrA1 and IrA2 when the controller 16 is at a predetermined distance from the display screen 11, the reference distance D and the infrared light in the example of FIG. Based on the ratio of the distance d between the original areas IrA1 and IrA2, the distance of the controller 16 relative to the display screen 11 in the example of FIG. 2 can be obtained.

また本実施形態ではコントローラ16は、その内部に加速度センサ等を内蔵している。この加速度センサは、コントローラ16自体の動きに応じてコントローラ16の位置、向きが一定時間にどの位変化したか、コントローラ16自体の動きをコントローラ16にかかる加速度ベクトルとして検出することができる。本実施形態では、ゲーム空間としての仮想3次元空間(ワールド座標系)における3軸(X軸、Y軸、Z軸)それぞれの加速度ベクトルとして検出することができる。   In the present embodiment, the controller 16 has an acceleration sensor or the like built therein. This acceleration sensor can detect how much the position and orientation of the controller 16 have changed in a certain time according to the movement of the controller 16 itself, and can detect the movement of the controller 16 itself as an acceleration vector applied to the controller 16. In this embodiment, it can be detected as an acceleration vector of each of three axes (X axis, Y axis, Z axis) in a virtual three-dimensional space (world coordinate system) as a game space.

従って本実施形態では、コントローラ16自体の動きの大きさ、方向、速度を検出することができる。また本実施形態では、予め設定されたコントローラ16の現実空間における基準位置(例えばコントローラ16の指示方向が表示画面11の中心と、直交する状態でのコントローラ16位置、向き)と、検出した3軸の加速度ベクトルとを比較することにより、表示画面11(基準位置)に対するコントローラ16の位置、向き、及び表示画面11上におけるコントローラ16の指示位置、及び表示画面11に対するコントローラ16の回転角度等を求めることができる。   Therefore, in this embodiment, the magnitude, direction, and speed of the movement of the controller 16 itself can be detected. In the present embodiment, the preset reference position in the real space of the controller 16 (for example, the position and orientation of the controller 16 when the indication direction of the controller 16 is orthogonal to the center of the display screen 11) and the detected three axes Are compared with the acceleration vector, the position and orientation of the controller 16 with respect to the display screen 11 (reference position), the indicated position of the controller 16 on the display screen 11, the rotation angle of the controller 16 with respect to the display screen 11, and the like are obtained. be able to.

こうして本実施形態では、コントローラ16に内蔵されたCMOSセンサ、加速度センサ等により、コントローラ16の動きに応じて変化する情報を検出し、コントローラ16自体の現実空間における位置、指示位置、向きの変化や、コントローラ16自体の動きの大きさ、方向、速度等、コントローラ16自体の動きに関する情報を取得することができる。   Thus, in the present embodiment, information that changes according to the movement of the controller 16 is detected by a CMOS sensor, an acceleration sensor, or the like built in the controller 16, and changes in the position, designated position, orientation of the controller 16 itself in the real space, Information regarding the motion of the controller 16 itself, such as the magnitude, direction, and speed of the motion of the controller 16 itself, can be acquired.

2.ゲーム概略
図3は、本実施形態のゲームシステム10を金魚すくいゲームに適用した例を説明するための図である。図3の例では、表示画面11に、プレーヤがコントローラ16を動かすことにより移動する操作対象としての金魚すくい用のポイオブジェクトPOが表示されている。そして、ポイオブジェクトPOが配置されている空中領域AAに対する水中領域WAには、ポイオブジェクトPOを操作する目標となる操作目標としての複数の金魚オブジェクトKOが表示されている。
2. Game Outline FIG. 3 is a diagram for explaining an example in which the game system 10 of the present embodiment is applied to a goldfish scooping game. In the example of FIG. 3, a goldfish scooping POI object PO as an operation target that moves when the player moves the controller 16 is displayed on the display screen 11. In the underwater area WA with respect to the aerial area AA in which the poi object PO is arranged, a plurality of goldfish objects KO as operation targets that are targets for operating the poi object PO are displayed.

そして本実施形態では、複数の金魚オブジェクトKOから1の目標を定め、コントローラ16を動かすことによりポイオブジェクトPOを空中領域AAから水中領域WAに移動させ、ポイオブジェクトPOのすくい面PSにより金魚オブジェクトKOを捉える。更にポイオブジェクトPOを水中領域WAから空中領域AAに移動させ、金魚オブジェクトKOをすくい上げる。そしてすくい上げた金魚オブジェクトKOを、表示画面11の中央左部に表示されたお椀オブジェクトOOに移動させ、金魚オブジェクトKOを確保する。すると確保した金魚オブジェクトKOの数が、表示画面11の左下部に得点表示PGとして表示される。   In the present embodiment, one target is determined from the plurality of goldfish objects KO, and the controller 16 is moved to move the poi object PO from the aerial area AA to the underwater area WA. The rake face PS of the poi object PO causes the goldfish object KO to move. To capture. Further, the poi object PO is moved from the underwater area WA to the aerial area AA, and the goldfish object KO is scooped up. Then, the scooped goldfish object KO is moved to the bowl object OO displayed at the center left portion of the display screen 11 to secure the goldfish object KO. Then, the number of secured goldfish objects KO is displayed as a score display PG in the lower left part of the display screen 11.

そして本実施形態では、紙でできている現実の金魚すくい用のポイが、水中におけるポイの移動にともなう水の抵抗等に応じて破けてしまうように、コントローラ16の動きに応じたポイオブジェクトPOの位置、向き等に応じて、ポイオブジェクトPOのすくい面PSが破けるイベントを発生させる。そこで本実施形態では、水中領域WAにおけるポイオブジェクトPOの位置、向き等に応じて、ポイオブジェクトPOに設定される状態パラメータとしての耐久度パラメータを更新する。そして耐久度パラメータが初期値から所定の値(例えば0)まで変化すると、すくい面PSが破けてゲーム終了とする。なお、表示画面11の左上部にはゲームの制限時間を表示する制限時間表示TGが表示され、制限時間表示TGが0となった場合もゲーム終了とする。   In this embodiment, the poi object PO corresponding to the movement of the controller 16 is used so that the actual goldfish scooping poi made of paper can be broken according to the resistance of the water accompanying the movement of the poi in the water. Depending on the position, orientation, etc., an event that breaks the rake face PS of the poi object PO is generated. Therefore, in the present embodiment, the durability parameter as the state parameter set in the poi object PO is updated according to the position, orientation, etc. of the poi object PO in the underwater area WA. When the durability parameter changes from the initial value to a predetermined value (for example, 0), the rake face PS is broken and the game ends. Note that a time limit display TG for displaying the time limit of the game is displayed on the upper left portion of the display screen 11, and the game ends when the time limit display TG becomes zero.

このように本実施形態の金魚すくいゲームシステム10では、耐久度パラメータが更新されてすくい面PSが破れないようにコントローラ16を操作し、制限時間内になるべく多くの金魚オブジェクトKOをすくうというゲームを楽しむ。   As described above, in the goldfish scooping game system 10 according to the present embodiment, the controller 16 is operated so that the durability parameter is updated and the scooping surface PS is not broken, and a game of scooping as many goldfish objects KO as possible within the time limit. have fun.

3.構成
次に、図4を用いて本実施形態における画像生成システム(ゲームシステム)の構成について説明する。図4は、本実施形態における画像生成システムの機能ブロック図の一例である。なお、本実施形態の画像生成システムは、図4の構成要素(各部)の一部を省略した構成としてもよい。
3. Configuration Next, the configuration of the image generation system (game system) in the present embodiment will be described with reference to FIG. FIG. 4 is an example of a functional block diagram of the image generation system in the present embodiment. Note that the image generation system of this embodiment may have a configuration in which some of the components (each unit) in FIG. 4 are omitted.

操作部160は、プレーヤが操作データを入力するためのものであり、特に本実施形態では、プレーヤが操作部160を把持して操作部160自体の位置、向きを任意に変更可能なものである。そして操作部160は、操作部160自体の動きに応じて変化する情報を検出する検出部162を内蔵する。従って本実施形態の操作部160は、操作部160自体の動きを操作データとして入力することができる。   The operation unit 160 is for a player to input operation data. Particularly in this embodiment, the player can arbitrarily change the position and orientation of the operation unit 160 by holding the operation unit 160. . The operation unit 160 includes a detection unit 162 that detects information that changes according to the movement of the operation unit 160 itself. Therefore, the operation unit 160 of this embodiment can input the movement of the operation unit 160 itself as operation data.

検出部162は、例えばCMOSセンサやCCDカメラなど、撮像素子(受光素子)により撮像側の基準位置と撮像対象の受光位置との相対関係を取得して、操作部160自体の動きを検出する第1の検出部と、加速度センサや姿勢方位センサやジャイロなど、加速度、角速度、速度により基準位置、基準向き(基準軸)からの位置、向きの変位を検出する第2の検出部とを含む。例えば加速度センサとしては、圧電型や動電式、歪みケージ式等のハードウェアにより実現できる。これにより検出部162は、操作部160自体の動きを連続的な値として検出することができる。   The detection unit 162 detects the movement of the operation unit 160 itself by acquiring the relative relationship between the reference position on the imaging side and the light receiving position of the imaging target using an imaging element (light receiving element) such as a CMOS sensor or a CCD camera. And a second detector that detects a reference position, a position from a reference direction (reference axis), and a displacement of the direction based on acceleration, angular velocity, and speed, such as an acceleration sensor, an orientation sensor, and a gyro. For example, the acceleration sensor can be realized by hardware such as a piezoelectric type, an electrodynamic type, and a strain cage type. Accordingly, the detection unit 162 can detect the movement of the operation unit 160 itself as a continuous value.

また操作部160は、レバー、ボタン、ステアリング、マイク、タッチパネル型ディスプレイなどを備えるようにして、種々の操作データを入力できるようにしてもよい。   The operation unit 160 may include a lever, a button, a steering wheel, a microphone, a touch panel display, and the like so that various operation data can be input.

記憶部170は、処理部100や通信部196などのワーク領域となるもので、その機能はRAM(VRAM)などにより実現できる。そして、本実施形態の記憶部170は、ワーク領域として使用される主記憶部171と、最終的な表示画像等が記憶されるフレームバッファ172と、オブジェクトのモデルデータが記憶されるオブジェクトデータ記憶部173と、各オブジェクトデータ用のテクスチャが記憶されるテクスチャ記憶部174と、オブジェクトの画像の生成処理時にZ値が記憶されるZバッファ176と、を含む。なお、これらの一部を省略する構成としてもよい。   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 (VRAM) or the like. The storage unit 170 of this embodiment includes a main storage unit 171 used as a work area, a frame buffer 172 that stores a final display image, and an object data storage unit that stores model data of an object. 173, a texture storage unit 174 that stores textures for each object data, and a Z buffer 176 that stores Z values during object image generation processing. Note that some of these may be omitted.

特に本実施形態では記憶部170は、ポイオブジェクトPOのすくい面PSの向きに応じた、すくい面PSの耐久度パラメータの減算量を規定する減算量テーブル178を含む。ここで耐久度パラメータとは、すくい面PSが破れるまでの度合いを示すものであり、本実施形態では初期値が100とされ、0となるとすくい面PSが破れ、ゲーム終了となる。そして本実施形態では減算量テーブル178は、複数種類のポイオブジェクトPOそれぞれについて異なる数値のものを用意することができる。即ち操作対象であるポイオブジェクトPOの種類ごとに耐久度パラメータを異ならせて更新することができる。   In particular, in the present embodiment, the storage unit 170 includes a subtraction amount table 178 that defines a subtraction amount of the durability parameter of the rake face PS according to the direction of the rake face PS of the poi object PO. Here, the durability parameter indicates a degree until the rake face PS is broken. In the present embodiment, the initial value is 100. When the rake face PS is 0, the rake face PS is broken and the game ends. In this embodiment, the subtraction amount table 178 can be prepared with different numerical values for each of a plurality of types of poi objects PO. In other words, the durability parameter can be updated for each type of the poi object PO that is the operation target.

情報記憶媒体180(コンピュータにより読み取り可能な媒体)は、プログラムやデータなどを格納するものであり、その機能は、光ディスク(CD、DVD)、光磁気ディスク(MO)、磁気ディスク、ハードディスク、磁気テープ、或いはメモリ(ROM)などにより実現できる。   The information storage medium 180 (computer-readable medium) stores programs, data, and the like, and functions as an optical disk (CD, DVD), magneto-optical disk (MO), magnetic disk, hard disk, and magnetic tape. Alternatively, it can be realized by a memory (ROM).

この情報記憶媒体180には、処理部100において本実施形態の種々の処理を行うためのプログラム(データ)が記憶されている。即ち、この情報記録媒体180には、本実施形態の各部としてコンピュータを機能させるためのプログラム(各部の処理をコンピュータに実行させるためのプログラム)が記憶されている。   The information storage medium 180 stores a program (data) for the processing unit 100 to perform various processes of the present embodiment. That is, the information recording medium 180 stores a program for causing a computer to function as each unit of the present embodiment (a program for causing a computer to execute processing of each unit).

表示部190は、本実施形態により生成された画像を出力するものであり、その機能は、CRT、LCD、タッチパネル型ディスプレイなどにより実現できる。特に本実施形態では、表示部190の表示画面の中や、その周辺に、操作部160と表示部190の表示画面の相対位置を演算するための光源が設けられている。本実施形態ではこの光源は、不可視光を射出する赤外線LEDを用いている。   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, or the like. In particular, in the present embodiment, a light source for calculating the relative positions of the operation unit 160 and the display unit 190 is provided in or around the display screen of the display unit 190. In the present embodiment, this light source uses an infrared LED that emits invisible light.

音出力部192は、本実施形態により生成された音を出力するものであり、その機能は、スピーカ、或いはヘッドフォンなどにより実現できる。   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には、プレーヤの個人データやゲームのセーブデータなどが記憶されるものであり、この携帯型情報記憶装置194としては、メモリカードや携帯型ゲーム装置などがある。   The portable information storage device 194 stores player personal data, game save data, and the like. Examples of the portable information storage device 194 include a memory card and a portable game device.

通信部196は、外部(例えばホスト装置や他の画像生成システム)との間で通信を行うための各種制御を行うものであり、その機能は、各種プロセッサ又は通信用ASICなどのハードウェアや、プログラムなどにより実現できる。   The communication unit 196 performs various controls for communicating with the outside (for example, a host device or other image generation system), and functions thereof are hardware such as various processors or communication ASICs, It can be realized by a program.

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

処理部100(プロセッサ)は、操作部160からの操作データやプログラムなどに基づいて、ゲーム処理、画像生成処理、或いは音生成処理などの処理を行う。ここで、ゲーム処理としては、ゲーム開始条件が満たされた場合にゲームを開始する処理、ゲームを進行させる処理、キャラクタやマップなどのオブジェクトを配置する処理、オブジェクトを表示する処理、ゲーム結果を演算する処理、或いはゲーム終了条件が満たされた場合にゲームを終了する処理などがある。この処理部100は記憶部170をワーク領域として各種処理を行う。処理部100の機能は各種プロセッサ(CPU、DSP等)、ASIC(ゲートアレイ等)などのハードウェアや、プログラムにより実現できる。   The processing unit 100 (processor) performs processing such as game processing, image generation processing, or sound generation processing based on operation data and programs from the operation unit 160. Here, the game process includes a process for starting a game when a game start condition is satisfied, a process for advancing the game, a process for placing an object such as a character or a map, a process for displaying an object, and a game result calculation. Or a process for ending the game when a game end condition is satisfied. 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, DSP, etc.), ASIC (gate array, etc.), and programs.

特に、本実施形態の処理部100は、情報取得部108と、オブジェクト空間設定部110と、移動・動作処理部112と、表示制御部113と、パラメータ更新部122と、イベント発生部124と、評価部126と、音生成部130と、を含む。なお、これらの一部を省略する構成としてもよい。   In particular, the processing unit 100 of this embodiment includes an information acquisition unit 108, an object space setting unit 110, a movement / motion processing unit 112, a display control unit 113, a parameter update unit 122, an event generation unit 124, An evaluation unit 126 and a sound generation unit 130 are included. Note that some of these may be omitted.

情報取得部108は、操作部160の動きに応じて変化する情報を検出する検出部162の検出結果に基づいて、操作部160の動き情報を取得する。本実施形態では、操作部160に内蔵された検出部162の検出結果を1/60秒ごとに取得し、操作部160自体の動きに関する情報を演算しこれを取得する。   The information acquisition unit 108 acquires the movement information of the operation unit 160 based on the detection result of the detection unit 162 that detects information that changes according to the movement of the operation unit 160. In the present embodiment, the detection result of the detection unit 162 built in the operation unit 160 is acquired every 1/60 seconds, and information regarding the movement of the operation unit 160 itself is calculated and acquired.

具体的には情報取得部108は、操作部160の先端に設けられたCMOSセンサ(第1の検出部)が検出した画像情報に基づいて、表示部190の表示画面上における操作部160の指示位置の座標、及び、表示部190の表示画面に対する操作部160の回転角度、及び、表示部190の表示画面に対する操作部160の距離を求め、これを取得することができる。   Specifically, the information acquisition unit 108 instructs the operation unit 160 on the display screen of the display unit 190 based on image information detected by a CMOS sensor (first detection unit) provided at the tip of the operation unit 160. The coordinates of the position, the rotation angle of the operation unit 160 with respect to the display screen of the display unit 190, and the distance of the operation unit 160 with respect to the display screen of the display unit 190 can be obtained and obtained.

また情報取得部108は、操作部160に内蔵された加速度センサ(第2の検出部)が検出した3軸(X軸、Y軸、Z軸)方向の加速度ベクトルに基づいて、操作部160自体の動きの大きさ、方向、速度を取得することができる。また表示部190の表示画面(基準位置、基準向き)に対する操作部160の位置、向き、及び、表示部190の表示画面上における操作部160の指示位置、及び、表示部190の表示画面(基準角度)に対する操作部160の回転角度等を求め、これを取得することができる。   The information acquisition unit 108 also operates the operation unit 160 itself based on the acceleration vectors in the three-axis (X-axis, Y-axis, and Z-axis) directions detected by the acceleration sensor (second detection unit) built in the operation unit 160. The magnitude, direction, and speed of movement can be acquired. Further, the position and orientation of the operation unit 160 with respect to the display screen (reference position and reference orientation) of the display unit 190, the indicated position of the operation unit 160 on the display screen of the display unit 190, and the display screen (reference) of the display unit 190 The rotation angle of the operation unit 160 with respect to (angle) can be obtained and obtained.

オブジェクト空間設定部110は、操作対象オブジェクト(金魚すくい用のポイオブジェクトPO)、操作目標オブジェクト(金魚オブジェクトKO)などの移動体オブジェクトやキャラクタオブジェクト、建物、樹木、柱、壁、マップ(地形)などの表示物を表す各種オブジェクト(ポリゴン、自由曲面又はサブディビジョンサーフェスなどのプリミティブ面で構成されるオブジェクト)をオブジェクト空間に配置設定する処理を行う。即ち、オブジェクト空間設定部110は、ワールド座標系でのオブジェクト(モデルオブジェクト)の位置や回転角度(向き、方向と同義)を決定し、その位置(X、Y、Z)にその回転角度(X、Y、Z軸回りでの回転角度)でオブジェクトを配置する。   The object space setting unit 110 includes moving objects such as operation target objects (poi objects PO for goldfish scooping), operation target objects (goldfish objects KO), character objects, buildings, trees, pillars, walls, maps (terrain), and the like. Various objects (objects composed of primitive surfaces such as polygons, free-form surfaces, or subdivision surfaces) representing the display objects are arranged and set in the object space. That is, the object space setting unit 110 determines the position and rotation angle (synonymous with orientation and direction) of an object (model object) in the world coordinate system, and the rotation angle (X, Y, Z) is determined at that position (X, Y, Z). , Rotation angle around Y, Z axis).

移動・動作処理部112は、操作対象オブジェクトや操作目標オブジェクトなどの移動体オブジェクトの移動・動作演算(移動・動作シミュレーション)を行う。即ち、この移動・動作処理部112は、操作部160によりプレーヤが入力した操作データ、設定されたパラメータや属性又はプログラム(移動・動作アルゴリズム)や各種データ(モーションデータ)などに基づいて、移動体オブジェクトをオブジェクト空間内で移動させ、又は、移動体オブジェクトの動作(モーション、アニメーション)を制御するための処理を行う。   The movement / motion processing unit 112 performs a movement / motion calculation (movement / motion simulation) of a moving object such as an operation target object or an operation target object. That is, the movement / motion processing unit 112 is based on the operation data input by the player through the operation unit 160, the set parameters and attributes, the program (movement / motion algorithm), various data (motion data), and the like. A process for moving the object in the object space or controlling the motion (motion, animation) of the moving object is performed.

具体的には、本実施形態の移動・動作処理部112は、オブジェクトの移動情報(位置、回転角度、速度、或いは加速度)や動作情報(各パーツオブジェクトの位置、或いは回転角度)を、1フレーム(例えば1/60秒)毎に順次求めるシミュレーション処理を行う。ここでフレームとは、オブジェクトの移動・動作処理(シミュレーション処理)や画像生成処理を行う時間の単位である。そして、本実施形態では、フレームレートは毎フレーム固定としてもよいし、処理負荷に応じて可変としてもよい。   Specifically, the movement / motion processing unit 112 according to the present embodiment stores object movement information (position, rotation angle, speed, or acceleration) and movement information (position or rotation angle of each part object) for one frame. A simulation process is sequentially obtained every (for example, 1/60 seconds). Here, the frame is a unit of time for performing object movement / motion processing (simulation processing) and image generation processing. In this embodiment, the frame rate may be fixed every frame or may be variable according to the processing load.

特に、本実施形態の移動・動作処理部112は、操作部160の動き情報に基づいて、オブジェクト空間(仮想空間)における操作対象オブジェクトの位置、向きを制御する。具体的には移動・動作処理部112は、操作部160自体の連続的な動きに関する情報に基づいて、操作対象オブジェクトが操作部160自体の動きに連動した動きをするように、操作対象オブジェクトの位置、向きを制御する。   In particular, the movement / motion processing unit 112 of the present embodiment controls the position and orientation of the operation target object in the object space (virtual space) based on the motion information of the operation unit 160. Specifically, the movement / motion processing unit 112 determines the operation target object so that the operation target object moves in conjunction with the movement of the operation unit 160 itself based on the information on the continuous movement of the operation unit 160 itself. Control position and orientation.

表示制御部113は、移動・動作処理部112が求めた操作対象オブジェクトの位置、向きに基づいて、表示部190に操作対象オブジェクトを表示させる操作対象表示制御処理と、表示部190に操作目標オブジェクトを表示させる操作目標表示制御処理とを行う。また表示制御部113は、操作目標表示制御処理として、操作目標オブジェクトと操作対象オブジェクトとが所定の位置関係にある場合に、操作対象オブジェクトの移動に追従するように操作目標オブジェクトを移動させる処理を行う。そしてより詳細には表示制御部113は、仮想カメラ制御部114と描画部120とを含む。   The display control unit 113 performs an operation target display control process for displaying the operation target object on the display unit 190 based on the position and orientation of the operation target object obtained by the movement / motion processing unit 112, and the operation target object on the display unit 190. The operation target display control process for displaying is performed. The display control unit 113 performs a process of moving the operation target object so as to follow the movement of the operation target object when the operation target object and the operation target object are in a predetermined positional relationship as the operation target display control process. Do. More specifically, the display control unit 113 includes a virtual camera control unit 114 and a drawing unit 120.

仮想カメラ制御部114は、オブジェクト空間内の所与(任意)の視点から見える画像を生成するための仮想カメラ(視点)の制御処理を行う。具体的には、仮想カメラの位置(X、Y、Z)又は回転角度(X、Y、Z軸回りでの回転角度)を制御する処理(視点位置や視線方向を制御する処理)を行う。なお本実施形態では、仮想カメラは固定とされている。   The virtual camera control unit 114 performs a virtual camera (viewpoint) control process for generating an image viewed from a given (arbitrary) viewpoint in the object space. Specifically, a process for controlling the position (X, Y, Z) or the rotation angle (rotation angle about the X, Y, Z axes) of the virtual camera (process for controlling the viewpoint position and the line-of-sight direction) is performed. In the present embodiment, the virtual camera is fixed.

例えば仮想カメラにより移動体オブジェクトを追従して撮影する場合には、オブジェクトの位置又は回転の変化に仮想カメラが追従するように、仮想カメラの位置又は回転角度(仮想カメラの向き)を制御する。この場合には、移動・動作処理部112で得られたオブジェクトの位置、回転角度又は速度などの情報に基づいて、仮想カメラを制御できる。或いは、仮想カメラを、予め決められた回転角度で回転させたり、予め決められた移動経路で移動させる制御を行ってもよい。この場合には、仮想カメラの位置(移動経路)又は回転角度を特定するための仮想カメラデータに基づいて仮想カメラを制御する。なお、仮想カメラ(視点)が複数存在する場合には、それぞれの仮想カメラについて上記の制御処理が行われる。   For example, when shooting a moving object following 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 a change in the position or rotation of the object. In this case, the virtual camera can be controlled based on information such as the position, rotation angle, or speed of the object obtained by the movement / motion processing unit 112. 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. When there are a plurality of virtual cameras (viewpoints), the above control process is performed for each virtual camera.

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

また、頂点処理では、頂点の移動処理や、座標変換(ワールド座標変換、カメラ座標変換)、クリッピング処理、透視変換、あるいは光源処理等のジオメトリ処理が行われ、その処理結果に基づいて、オブジェクトを構成する頂点群について与えられた頂点データを変更(更新、調整)する。そして、頂点処理後の頂点データに基づいてラスタライズ(走査変換)が行われ、ポリゴン(プリミティブ)の面とピクセルとが対応づけられる。そしてラスタライズに続いて、画像を構成するピクセル(表示画面を構成するフラグメント)を描画するピクセル処理(フラグメント処理)が行われる。   In the vertex processing, geometric processing such as vertex movement processing, coordinate transformation (world coordinate transformation, camera coordinate transformation), clipping processing, perspective transformation, or light source processing is performed. The given vertex data is changed (updated or adjusted) for the vertex group to be configured. Then, rasterization (scan conversion) is performed based on the vertex data after the vertex processing, and the surface of the polygon (primitive) is associated with the pixel. Subsequent to rasterization, pixel processing (fragment processing) for drawing pixels constituting an image (fragments constituting a display screen) is performed.

ピクセル処理では、テクスチャの読出し(テクスチャマッピング)、色データの設定/変更、半透明合成、アンチエイリアス等の各種処理を行って、画像を構成するピクセルの最終的な描画色を決定し、透視変換されたオブジェクトの描画色をフレームバッファ174(ピクセル単位で画像情報を記憶できるバッファ。VRAM、レンダリングターゲット)に出力(描画)する。すなわち、ピクセル処理では、画像情報(色、法線、輝度、α値等)をピクセル単位で設定あるいは変更するパーピクセル処理を行う。   In pixel processing, various processes such as texture reading (texture mapping), color data setting / changing, translucent composition, anti-aliasing, etc. are performed to determine the final drawing color of the pixels that make up the image, and perspective transformation is performed. The drawing color of the object is output (drawn) to the frame buffer 174 (buffer that can store image information in units of pixels; VRAM, rendering target). That is, in pixel processing, per-pixel processing for setting or changing image information (color, normal, luminance, α value, etc.) in units of pixels is performed.

これにより、オブジェクト空間内に設定された仮想カメラ(所与の視点)から見える画像が生成される。なお、仮想カメラ(視点)が複数存在する場合には、それぞれの仮想カメラから見える画像を分割画像として1画面に表示できるように画像を生成することができる。   Thereby, an image that can be seen from the virtual camera (given viewpoint) set in the object space is generated. Note that when there are a plurality of virtual cameras (viewpoints), an image can be generated so that an image seen from each virtual camera can be displayed as a divided image on one screen.

なお、描画部120が行う頂点処理やピクセル処理は、シェーディング言語によって記述されたシェーダプログラムによって、ポリゴン(プリミティブ)の描画処理をプログラム可能にするハードウェア、いわゆるプログラマブルシェーダ(頂点シェーダやピクセルシェーダ)により実現されてもよい。プログラマブルシェーダでは、頂点単位の処理やピクセル単位の処理がプログラム可能になることで描画処理内容の自由度が高く、ハードウェアによる固定的な描画処理に比べて表現力を大幅に向上させることができる。   Note that the vertex processing and pixel processing performed by the drawing unit 120 are performed by hardware that enables the polygon (primitive) drawing processing to be programmed by a shader program written in a shading language, so-called programmable shaders (vertex shaders and pixel shaders). It may be realized. Programmable shaders can be programmed with vertex-level processing and pixel-level processing, so that the degree of freedom of rendering processing is high, and the expressive power can be greatly improved compared to fixed rendering processing by hardware. .

そして、描画部120は、オブジェクトを描画する際に、ジオメトリ処理、テクスチャマッピング、隠面消去処理、αブレンディング等を行う。   The drawing unit 120 performs geometry processing, texture mapping, hidden surface removal processing, α blending, and the like when drawing an object.

ジオメトリ処理では、オブジェクトに対して、座標変換、クリッピング処理、透視投影変換、或いは光源計算等の処理を行う。そして、ジオメトリ処理後(透視投影変換後)のオブジェクトデータ(オブジェクトの頂点の位置座標、テクスチャ座標、色データ(輝度データ)、法線ベクトル、或いはα値等)を記憶部170に記憶する。   In the geometry processing, processing such as coordinate conversion, clipping processing, perspective projection conversion, or light source calculation is performed on the object. Then, object data (positional coordinates of object vertices, texture coordinates, color data (luminance data), normal vector, α value, etc.) after geometry processing (after perspective projection conversion) is stored in the storage unit 170.

テクスチャマッピングでは、記憶部170のテクスチャ記憶部174に記憶されるテクスチャ(テクセル値)をオブジェクトにマッピングする処理を行う。具体的には、オブジェクトの頂点に設定(付与)されるテクスチャ座標等を用いて記憶部170のテクスチャ記憶部174からテクスチャ(色(RGB)、α値などの表面プロパティ)を読み出し、2次元の画像であるテクスチャをオブジェクトにマッピングする。この場合に、ピクセルとテクセルとを対応づける処理や、テクセルの補間としてバイリニア補間などを行う。   In texture mapping, a process of mapping a texture (texel value) stored in the texture storage unit 174 of the storage unit 170 to an object is performed. Specifically, the texture (surface properties such as color (RGB) and α value) is read from the texture storage unit 174 of the storage unit 170 using the texture coordinates set (applied) to the vertex of the object. Map an image texture to an object. In this case, processing for associating pixels with texels, bilinear interpolation or the like is performed as texel interpolation.

隠面消去処理では、描画ピクセルのZ値(奥行き情報)が格納されるZバッファ(奥行きバッファ)を用いたZバッファ法(奥行き比較法、Zテスト)による隠面消去処理を行う。すなわち、オブジェクトのプリミティブに対応する描画ピクセルを描画する際に、Zバッファに格納されるZ値を参照するとともに、当該参照されたZバッファのZ値と、プリミティブの描画ピクセルでのZ値とを比較し、描画ピクセルでのZ値が、仮想カメラから見て手前側となるZ値(例えば小さなZ値)である場合には、その描画ピクセルの描画処理を行うとともにZバッファのZ値を新たなZ値に更新する。   In the hidden surface removal processing, hidden surface removal processing is performed by a Z buffer method (depth comparison method, Z test) using a Z buffer (depth buffer) in which the Z value (depth information) of the drawing pixel is stored. That is, when drawing the drawing pixel corresponding to the primitive of the object, the Z value stored in the Z buffer is referred to, and the Z value of the referenced Z buffer and the Z value at the drawing pixel of the primitive are obtained. In comparison, if the Z value at the drawing pixel is a Z value (for example, a small Z value) that is on the near side when viewed from the virtual camera, the drawing pixel is drawn and the Z value in the Z buffer is updated. Update to the correct Z value.

αブレンディング(α合成)では、描画部120は、α値(A値)に基づく半透明合成処理(通常αブレンディング、加算αブレンディング又は減算αブレンディング等)を行う。なお、α値は、各ピクセル(テクセル、ドット)に関連づけて記憶できる情報であり、例えば色情報以外のプラスアルファの情報である。α値は、マスク情報、半透明度(透明度、不透明度と等価)、バンプ情報などとして使用できる。   In α blending (α synthesis), the rendering unit 120 performs translucent synthesis processing (normal α blending, addition α blending, subtraction α blending, or the like) based on an α value (A value). The α value is information that can be stored in association with each pixel (texel, dot), for example, plus alpha information other than color information. The α value can be used as mask information, translucency (equivalent to transparency and opacity), bump information, and the like.

パラメータ更新部122は、操作対象オブジェクトの位置、向きに応じて、操作対象オブジェクトに設定される耐久度パラメータを更新する。具体的にはパラメータ更新部122は、図5(A)に示すような減算量テーブル178を参照し、初期値100から0まで耐久度パラメータを減算する。図5(A)の例では、図5(B)に示すように、すくい面PSの法線方向(すくい面PSの向き)と、ポイオブジェクトPOの水中領域WAにおける移動方向とがなす角γが0°に近いほど、即ちすくい面PSが水の抵抗を大きく受けると考えられる場合ほど、耐久度パラメータの減算量が大きくなるように減算する。即ち水中領域WAにおいて、すくい面PSの法線方向に沿ってポイオブジェクトPOを移動させると、すぐに値が0になるように耐久度パラメータを減算し、一方、ポイオブジェクトPOの移動方向とすくい面PSの法線方向とがなす角が大きくなるにつれ、すぐには値が0になりにくいように耐久度パラメータを減算する。   The parameter update unit 122 updates the durability parameter set for the operation target object according to the position and orientation of the operation target object. Specifically, the parameter update unit 122 refers to the subtraction amount table 178 as shown in FIG. 5A and subtracts the durability parameter from the initial value 100 to 0. In the example of FIG. 5A, as shown in FIG. 5B, the angle γ formed by the normal direction of the rake face PS (the direction of the rake face PS) and the movement direction of the poi object PO in the underwater area WA. Is subtracted so that the amount of subtraction of the durability parameter is larger as the angle is closer to 0 °, that is, when the rake face PS is considered to receive a greater resistance to water. That is, in the underwater area WA, when the poi object PO is moved along the normal direction of the rake face PS, the durability parameter is subtracted so that the value immediately becomes 0, while the poi object PO is moved in the moving direction. As the angle formed by the normal direction of the surface PS increases, the durability parameter is subtracted so that the value does not easily become zero immediately.

またパラメータ更新部122は、操作対象オブジェクトの位置及び向きの少なくとも一方の変化に応じて耐久度パラメータを更新するようにしてもよい。例えば操作対象オブジェクトの位置の変化量(移動量)、向きの変化量が所定値を超えたタイミングで、耐久度パラメータを更新する。   The parameter updating unit 122 may update the durability parameter according to a change in at least one of the position and orientation of the operation target object. For example, the durability parameter is updated at a timing when the change amount (movement amount) and the change amount of the direction of the operation target object exceed a predetermined value.

またパラメータ更新部122は、操作対象と、オブジェクト空間に設定された各領域との位置関係に応じて耐久度パラメータを更新する。例えば、操作対象オブジェクトが一の領域から他の領域に移動した場合に耐久度パラメータを更新するようにしてもよい。具体的には本実施形態では、空中領域AAにあった操作対象オブジェクトが水中領域WAに接触したときに耐久度パラメータを更新するようにしてもよいし、水中領域WAにあった操作対象オブジェクトが空中領域AAに接触したときに耐久度パラメータを更新するようにしてもよい。即ち操作対象オブジェクトの入水時や出水時に耐久度パラメータを更新する。   The parameter update unit 122 also updates the durability parameter according to the positional relationship between the operation target and each region set in the object space. For example, the durability parameter may be updated when the operation target object moves from one region to another region. Specifically, in the present embodiment, the durability parameter may be updated when the operation target object in the aerial area AA comes into contact with the underwater area WA, or the operation target object in the underwater area WA is updated. The durability parameter may be updated when the aerial area AA is touched. That is, the durability parameter is updated when the operation target object enters or exits.

またパラメータ更新部122は、操作対象オブジェクトの各領域と、オブジェクト空間の各領域との位置関係に応じて、操作対象オブジェクトの領域ごとに耐久度パラメータを更新する。例えば図6に示すように、ポイオブジェクトPOのすくい面PSに左領域LA、中領域CA、右領域RAの3つの領域が設定されている場合には、左領域LAのみが水中領域WAに接触すると左領域LAのみについて耐久度パラメータを更新する。   The parameter updating unit 122 updates the durability parameter for each region of the operation target object according to the positional relationship between each region of the operation target object and each region of the object space. For example, as shown in FIG. 6, when three areas of the left area LA, the middle area CA, and the right area RA are set on the rake face PS of the poi object PO, only the left area LA contacts the underwater area WA. Then, the durability parameter is updated only for the left region LA.

またパラメータ更新部122は、操作対象オブジェクトの移動速度に応じて耐久度パラメータを更新するようにしてもよい。この場合には検出部162の検出情報に基づいて、操作部160の所定期間における移動量から、操作部160の動き情報として移動速度情報を求め、かかる移動速度情報を操作対象オブジェクトの移動速度として用いることができる。そして、移動速度が速いほど耐久度パラメータの減算量が大きくなるようにする。   The parameter updating unit 122 may update the durability parameter according to the moving speed of the operation target object. In this case, based on the detection information of the detection unit 162, the movement speed information is obtained as the movement information of the operation unit 160 from the movement amount of the operation unit 160 in a predetermined period, and the movement speed information is used as the movement speed of the operation target object. Can be used. The subtraction amount of the durability parameter is increased as the moving speed is faster.

またパラメータ更新部122は、経過時間に応じて耐久度パラメータを更新するようにしてもよい。例えば操作対象オブジェクトが水中領域WAに接触してから(入水から)水中領域WAと接触しなくなるまで(出水まで)の経過時間に応じて一定量の耐久度パラメータを減算するようにしてもよい。   The parameter updating unit 122 may update the durability parameter according to the elapsed time. For example, a certain amount of durability parameter may be subtracted in accordance with the elapsed time from when the operation target object comes into contact with the underwater area WA (from entering water) until it no longer comes into contact with the underwater area WA (until water discharge).

またパラメータ更新部122は、水中領域WAに設定される水流の向きと操作対象オブジェクトの向きとの関係に応じて耐久度パラメータを更新するようにしてもよい。この場合には、水中領域WAにおけるすくい面PSの法線方向(すくい面PSの向き)と、水中領域WAに設定される水流の向きとがなす角が0°に近いほど、耐久度パラメータの減算量が大きくなるように減算する。なお、ポイオブジェクトPOの水中領域WAにおける移動方向をも加味して耐久度パラメータを更新してもよい。例えば移動方向と、水流の向きとが同方向である場合には、耐久度パラメータの減算量が減少するようにしてもよい。   The parameter updating unit 122 may update the durability parameter according to the relationship between the direction of the water flow set in the underwater area WA and the direction of the operation target object. In this case, as the angle between the normal direction of the rake face PS in the underwater area WA (the direction of the rake face PS) and the direction of the water flow set in the underwater area WA is closer to 0 °, the durability parameter Subtraction is performed so that the subtraction amount increases. The durability parameter may be updated in consideration of the moving direction of the poi object PO in the underwater area WA. For example, when the moving direction and the direction of the water flow are the same direction, the subtraction amount of the durability parameter may be decreased.

またパラメータ更新部122は、操作目標オブジェクト(例えば金魚オブジェクトKO)と操作対象オブジェクト(例えばポイオブジェクトPO)とが所定の位置関係にある場合に、操作目標オブジェクトに設定された属性パラメータに応じて耐久度パラメータを更新する。例えば、ポイオブジェクトPOにより金魚オブジェクトKOを捉えた場合に、金魚オブジェクトKOに設定された重量パラメータや暴れパラメータ等に応じて、耐久度パラメータを更新する。またパラメータ更新部122は、例えば、ポイオブジェクトPOにより金魚オブジェクトKOを捉えた場合の経過時間に応じて耐久度パラメータを更新するようにしてもよい。なお、操作目標オブジェクトと操作対象オブジェクトとが所定の位置関係にある場合には、水中領域WAと空中領域AAのいずれの領域においても耐久度パラメータを更新するようにしてもよい。   In addition, the parameter updating unit 122 determines whether the operation target object (for example, the goldfish object KO) and the operation target object (for example, the poy object PO) have a predetermined positional relationship according to the attribute parameter set for the operation target object. Update the degree parameter. For example, when the goldfish object KO is captured by the poi object PO, the durability parameter is updated according to the weight parameter, the rampage parameter, or the like set for the goldfish object KO. The parameter updating unit 122 may update the durability parameter according to the elapsed time when the goldfish object KO is captured by the poi object PO, for example. If the operation target object and the operation target object are in a predetermined positional relationship, the durability parameter may be updated in any of the underwater area WA and the aerial area AA.

またパラメータ更新部122は、操作対象オブジェクトが第1の領域に位置する場合に、操作対象の位置、向きに応じて耐久度パラメータを第1の値から第2の値に向けて更新し、操作対象オブジェクトが第2の領域に位置する場合に、動き情報に基づいて耐久度パラメータを第2の値から第1の値に向けて更新するようにしてもよい。例えば、ポイオブジェクトPOが水中領域WAに位置する場合には、ポイオブジェクトPOの移動に応じて耐久度パラメータを減算し、一方、ポイオブジェクトPOが空中領域AAに位置する場合には、ポイオブジェクトPOの移動に応じてポイオブジェクトPOが乾いて耐久度が回復するように、耐久度パラメータを加算するようにしてもよい。これにより例えば、ポイオブジェクトPOが水中領域WAに位置する場合には、ポイオブジェクトPOのすくい面PSが破れないように(パラメータが減算されないように)慎重な操作を行わせ、対してポイオブジェクトPOが空中領域AAに位置する場合には、ポイオブジェクトPOのすくい面PSが乾くように(パラメータが加算されるように)激しい操作を行わせるようにしてもよい。   The parameter updating unit 122 updates the durability parameter from the first value to the second value according to the position and orientation of the operation target when the operation target object is located in the first region. When the target object is located in the second region, the durability parameter may be updated from the second value toward the first value based on the motion information. For example, when the poi object PO is located in the underwater area WA, the durability parameter is subtracted according to the movement of the poi object PO. On the other hand, when the poi object PO is located in the aerial area AA, the poi object PO The durability parameter may be added so that the poi object PO is dried and the durability is recovered in accordance with the movement of. Thus, for example, when the poi object PO is located in the underwater area WA, a careful operation is performed so that the rake face PS of the poi object PO is not broken (a parameter is not subtracted), and the poi object PO When the position is in the aerial area AA, a violent operation may be performed so that the rake face PS of the poi object PO is dried (a parameter is added).

こうして耐久度パラメータが更新されると、上述の表示制御部113が、耐久度パラメータの更新に応じて、ポイオブジェクトPOのすくい面PSの色を変化させる。例えば耐久度パラメータが減少するにつれ、すくい面PSの色や透明度が薄くなるようにしてもよい。   When the durability parameter is updated in this way, the above-described display control unit 113 changes the color of the rake face PS of the poi object PO in accordance with the update of the durability parameter. For example, the color and transparency of the rake face PS may become lighter as the durability parameter decreases.

イベント発生部124は、耐久度パラメータの値に応じて、所与のイベントを発生させる。具体的には本実施形態ではイベント発生部124は、耐久度パラメータが更新されて0になった場合に、ポイオブジェクトPOのすくい面PSが破れるイベントを発生させる。即ち表示制御部113が、ポイオブジェクトPOのすくい面PSが破れる表示制御処理を行い、ポイオブジェクトPOにより金魚オブジェクトKOがすくえないようにする。ここで図6に示すように、すくい面PSに複数の領域が設定されている場合には、領域ごとにイベントを発生させる処理を行う。そして、すくい面PS全てについて耐久度パラメータが0になった場合には、ゲームを終了させる処理を行う。   The event generation unit 124 generates a given event according to the value of the durability parameter. Specifically, in the present embodiment, the event generation unit 124 generates an event in which the rake face PS of the poi object PO is broken when the durability parameter is updated to zero. That is, the display control unit 113 performs a display control process in which the rake face PS of the poi object PO is broken, and prevents the goldfish object KO from being scooped by the poi object PO. Here, as shown in FIG. 6, when a plurality of areas are set on the rake face PS, a process for generating an event for each area is performed. Then, when the durability parameter becomes 0 for all the rake faces PS, processing for ending the game is performed.

評価部126は、操作部160の操作に関する評価を行う。特に、操作対象であるポイオブジェクトPOの移動に追従するように、操作目標である金魚オブジェクトKOを移動させて、お椀オブジェクトOOの中に入れると、ゲーム条件を満たしたとして評価を行う。具体的には本実施形態では、確保した金魚オブジェクトKOの数を得点表示PGとして表示したり、「うまい!」などの表示を行うなどして、操作者の操作を評価する処理を行う。   The evaluation unit 126 performs evaluation related to the operation of the operation unit 160. In particular, if the goldfish object KO, which is the operation target, is moved so as to follow the movement of the poi object PO, which is the operation target, and is placed in the bowl object OO, the game condition is evaluated. Specifically, in the present embodiment, the number of reserved goldfish objects KO is displayed as a score display PG, or “delicious!” Or the like is displayed to perform processing for evaluating the operation of the operator.

音生成部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人のプレーヤのみがプレイできるシングルプレーヤモード専用のシステムにしてもよいし、複数のプレーヤがプレイできるマルチプレーヤモードも備えるシステムにしてもよい。   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.

また、複数のプレーヤがプレイする場合に、これらの複数のプレーヤに提供するゲーム画像やゲーム音を、1つの端末を用いて生成してもよいし、ネットワーク(伝送ライン、通信回線)などで接続された複数の端末(ゲーム機、携帯電話)を用いて分散処理により生成してもよい。   In addition, when a plurality of players play, game images and game sounds provided to the plurality of players may be generated using one terminal, or connected via a network (transmission line, communication line), etc. It may be generated by distributed processing using a plurality of terminals (game machine, mobile phone).

4.処理の詳細
次に本実施形態の処理の一例の詳細についてフローチャート図を用いて説明する。
4). Details of Processing Next, details of an example of processing according to the present embodiment will be described with reference to a flowchart.

4−1.パラメータ更新処理
図7は、本実施形態の耐久度パラメータの更新処理の一例の詳細を示すフローチャート図である。図7に示すように、まずプレーヤがコントローラ16を動かすことにより動き情報が入力された場合に(ステップS10のY)、動き情報に基づいて、ポイオブジェクトPOの位置、向きを制御する(ステップS12)。
4-1. Parameter Update Process FIG. 7 is a flowchart showing details of an example of the durability parameter update process of the present embodiment. As shown in FIG. 7, first, when motion information is input by moving the controller 16 by the player (Y in step S10), the position and orientation of the poi object PO are controlled based on the motion information (step S12). ).

図8(A)、(B)は、コントローラ16の動きに応じたポイオブジェクトPOの動きを説明するための概念図であって、コントローラ16が移動する実空間RSとポイオブジェクトPOが移動するオブジェクト空間OSとを真横から見たものである。図8(A)に示すように本実施形態では、プレーヤがコントローラ16を表示部12の表示画面11に近づけると、コントローラ16の移動量に応じて空中領域AAにあるポイオブジェクトPOが水中領域WAに向けて移動する。即ちポイオブジェクトPOが、オブジェクト空間OS内でZ軸奥方向に移動する。一方、コントローラ16を表示部12の表示画面11から遠ざけると、コントローラ16の移動量に応じてポイオブジェクトPOが空中領域AAに向けて移動する。即ちポイオブジェクトPOが、オブジェクト空間OS内でZ軸手前方向に移動する。即ち、表示画面11に対するコントローラ16の距離情報に基づいて、ポイオブジェクトPOを移動させる。   FIGS. 8A and 8B are conceptual diagrams for explaining the movement of the poi object PO in accordance with the movement of the controller 16, and the real space RS in which the controller 16 moves and the object in which the poi object PO moves. The space OS is seen from the side. As shown in FIG. 8A, in this embodiment, when the player brings the controller 16 close to the display screen 11 of the display unit 12, the poi object PO in the aerial area AA is changed to the underwater area WA according to the movement amount of the controller 16. Move towards That is, the poi object PO moves in the Z axis depth direction in the object space OS. On the other hand, when the controller 16 is moved away from the display screen 11 of the display unit 12, the poi object PO moves toward the aerial area AA according to the movement amount of the controller 16. That is, the poi object PO moves in the front direction of the Z axis in the object space OS. That is, the poi object PO is moved based on the distance information of the controller 16 with respect to the display screen 11.

また図8(B)に示すように、プレーヤがコントローラ16を表示部12の表示画面11に対して上下方向に移動させると、コントローラ16の移動量に応じてポイオブジェクトPOがY軸上下方向に移動する。また、プレーヤがコントローラ16を表示部12の表示画面11に対して左右方向(図中では手前奥方向)に移動させると、コントローラ16の移動量に応じてポイオブジェクトPOがX軸左右方向(図中では手前奥方向)に移動する。即ち、表示画面11上におけるコントローラ16の指示位置情報に基づいて、ポイオブジェクトPOを移動させる。なお本実施形態ではポイオブジェクトPOは、空中領域AA、水中領域WAのいずれにおいても、上下左右方向に移動させることができる。   Further, as shown in FIG. 8B, when the player moves the controller 16 in the vertical direction with respect to the display screen 11 of the display unit 12, the poi object PO moves in the vertical direction on the Y axis according to the movement amount of the controller 16. Moving. Further, when the player moves the controller 16 in the left-right direction (the front-rear direction in the figure) with respect to the display screen 11 of the display unit 12, the poi object PO moves in the left-right direction of the X-axis (see FIG. Move inward (backward direction). That is, the poi object PO is moved based on the indicated position information of the controller 16 on the display screen 11. In the present embodiment, the poi object PO can be moved vertically and horizontally in both the aerial area AA and the underwater area WA.

また本実施形態では、図8(B)に示すようにコントローラ16を表示画面11に対して平行移動させなくとも、図9(A)に示すようにコントローラ16の指示方向(コントローラ16の向き)を上下左右させることにより、コントローラ16の向きの変化量に応じてポイオブジェクトPOがX軸、Y軸方向それぞれに移動するようにしてもよい。即ち、表示画面11上におけるコントローラ16の指示位置に応じてポイオブジェクトPOを移動させるようにしてもよい。   Further, in the present embodiment, as shown in FIG. 9B, the controller 16 does not move in parallel with the display screen 11 as shown in FIG. May be moved in the X-axis and Y-axis directions in accordance with the amount of change in the direction of the controller 16. That is, the poi object PO may be moved according to the position indicated by the controller 16 on the display screen 11.

なお図9(B)に示すように、コントローラ16の指示方向(コントローラ16の向き)を上下左右させることにより、コントローラ16の向きの変化量に応じてポイオブジェクトPOの向きを変化させるようにしてもよい。例えばコントローラ16の指示方向(コントローラ16の向き)を上下させることにより、ポイオブジェクトPOのX軸回りの回転角度を変化させるようにし、コントローラ16の指示方向(コントローラ16の向き)を左右させることにより、ポイオブジェクトPOのZ軸回りの回転角度を変化させるようにしてもよい。   As shown in FIG. 9B, the direction of the poi object PO is changed in accordance with the amount of change in the direction of the controller 16 by moving the indicated direction (the direction of the controller 16) of the controller 16 up, down, left and right. Also good. For example, by moving the pointing direction of the controller 16 (the direction of the controller 16) up and down, the rotation angle of the poi object PO around the X axis is changed, and by changing the pointing direction of the controller 16 (the direction of the controller 16). The rotation angle around the Z axis of the poi object PO may be changed.

また本実施形態では図10に示すように、コントローラ16を指示方向に沿う軸回りに回転させることにより、コントローラ16の回転角度の変化量に応じてポイオブジェクトPOのY軸回りの回転角度を変化させる。   In this embodiment, as shown in FIG. 10, the rotation angle of the poi object PO around the Y axis changes according to the amount of change in the rotation angle of the controller 16 by rotating the controller 16 around the axis along the indicated direction. Let

そして本実施形態では、このようなコントローラ16自体の位置、向き、回転角度、指示位置等の組み合わせに応じて、ポイオブジェクトPOの位置、向きを制御する。従って、コントローラ16自体の動きに応じて、ポイオブジェクトPOのすくい面PSの法線方向(すくい面PSの向き)と、ポイオブジェクトPOの移動方向、移動量、移動速度等を、種々の状態に変化させることができる。なお、コントローラ16自体の位置、向き、回転角度、指示位置等を取得するセンサは、CMOSセンサ(第1の検出部)としてもよいし、加速度センサ(第2の検出部)としてもよい。またそれらの任意の組合せとしてもよい。   In this embodiment, the position and orientation of the poi object PO are controlled in accordance with such a combination of the position, orientation, rotation angle, instruction position, and the like of the controller 16 itself. Therefore, depending on the movement of the controller 16 itself, the normal direction of the rake face PS of the poi object PO (the direction of the rake face PS), the movement direction, the movement amount, the movement speed, etc. of the poi object PO are set in various states. Can be changed. The sensor that acquires the position, orientation, rotation angle, designated position, and the like of the controller 16 itself may be a CMOS sensor (first detection unit) or an acceleration sensor (second detection unit). Moreover, it is good also as those arbitrary combinations.

こうしてポイオブジェクトPOの位置、向きを制御すると(図7のステップS12)、ポイオブジェクトPOが存在する位置が水中である場合には(ステップS14のY)、ポイオブジェクトPOの移動に伴う耐久度パラメータの更新を行う。本実施形態では、ポイオブジェクトPOを移動させたときのポイオブジェクトPOのすくい面PSの法線方向(すくい面PSの向き)と、ポイオブジェクトPOの移動方向とがなす角に応じて、耐久度パラメータを減算する処理を行う。一方、ポイオブジェクトPOが存在する位置が水中でない場合には(ステップS14のN)、移動に伴う耐久度パラメータの更新を行わずにステップS10〜ステップS14の処理を繰り返す。   When the position and orientation of the poi object PO are controlled in this way (step S12 in FIG. 7), if the position where the poi object PO exists is underwater (Y in step S14), the durability parameter associated with the movement of the poi object PO. Update. In the present embodiment, the durability depends on the angle formed by the normal direction of the rake face PS (the direction of the rake face PS) of the poi object PO and the movement direction of the poi object PO when the poi object PO is moved. Process to subtract parameters. On the other hand, when the position where the poi object PO exists is not underwater (N of step S14), the process of step S10-step S14 is repeated without updating the durability parameter accompanying a movement.

そして移動に伴う耐久度パラメータの更新により耐久度パラメータが0になった場合には(ステップS18のY)、すくい面PSが破けるイベントを発生させ(ステップS26)、ゲーム終了となる。一方、耐久度パラメータが0にならない場合には(ステップS18のN)、金魚オブジェクトKOとすくい面PSとが接触しているか判定し、接触している場合には(ステップS20のY)、接触した金魚オブジェクトKOに設定されている属性パラメータに応じてポイオブジェクトPOの耐久度パラメータを減算する処理を行う(ステップS22)。一方、金魚オブジェクトKOと接触していない場合には(ステップS20のN)、接触に伴う耐久度パラメータの更新を行わずにステップS10〜ステップS20の処理を繰り返す。   If the durability parameter becomes 0 due to the update of the durability parameter accompanying the movement (Y in step S18), an event that breaks the rake face PS is generated (step S26), and the game ends. On the other hand, if the durability parameter does not become 0 (N in step S18), it is determined whether the goldfish object KO and the rake face PS are in contact. If they are in contact (Y in step S20), the contact is determined. A process of subtracting the durability parameter of the poi object PO according to the attribute parameter set for the goldfish object KO is performed (step S22). On the other hand, when it is not in contact with the goldfish object KO (N in step S20), the processes in steps S10 to S20 are repeated without updating the durability parameter associated with the contact.

そして接触に伴う耐久度パラメータの更新により耐久度パラメータが0になった場合には(ステップS24のY)、すくい面PSが破けるイベントを発生させ(ステップS26)、ゲーム終了となる。一方、耐久度パラメータが0にならない場合には(ステップS24のN)、ステップS10に戻り、ゲーム終了条件を満たすまで上記処理を繰り返す。   If the durability parameter becomes 0 due to the update of the durability parameter associated with the contact (Y in step S24), an event that breaks the rake face PS is generated (step S26), and the game ends. On the other hand, if the durability parameter does not become 0 (N in step S24), the process returns to step S10 and the above process is repeated until the game end condition is satisfied.

4−2.すくい処理
図11は、本実施形態のポイオブジェクトPOにより金魚オブジェクトKOをすくう際のすくい処理の一例の詳細を示すフローチャート図である。図11に示すように、まずポイオブジェクトPOのすくい面PSの上面が、金魚オブジェクトKOと接触しているか、即ち金魚オブジェクトKOがすくい面PSの上に載っているか否か判断する(ステップS40)。ここで接触している場合(ステップS40のY)であって、プレーヤがコントローラ16を動かすことにより動き情報が入力された場合には(ステップS42のY)、耐久度パラメータが0か否か判断する(ステップS44)。
4-2. Rake Process FIG. 11 is a flowchart showing details of an example of a scoop process when scooping a goldfish object KO with the poi object PO of this embodiment. As shown in FIG. 11, first, it is determined whether the upper surface of the rake face PS of the poi object PO is in contact with the goldfish object KO, that is, whether the goldfish object KO is placed on the rake face PS (step S40). . If contact is made (Y in step S40) and movement information is input by the player moving the controller 16 (Y in step S42), it is determined whether the durability parameter is 0 or not. (Step S44).

ここで耐久度パラメータが0でない場合には(ステップS44のN)、接触している金魚オブジェクトKOの中心点CPがすくい面PSの中にあるか否か判断する(ステップS46)。ここで図12(A)に示すように、接触している金魚オブジェクトKOの中心点CPがすくい面PSの中にある場合には(ステップS46のY)、そのときのすくい面PSの水面に対する角度が41°以下(水平に近い)か否か、即ち金魚オブジェクトKOをすくえる範囲の角度であるか判断する(ステップS48)。ここで図12(A)に示すように、すくい面PSの水面に対する角度が41°以下である(水平に近い)場合には(ステップS48のY)、コントローラ16の動き情報に応じて、ポイオブジェクトPOの移動に追従するように金魚オブジェクトKOを移動させる(ステップS50)。即ち、図12(A)のように水中領域WAにあったポイオブジェクトPOと金魚オブジェクトKOとを、図12(B)のように空中領域AAに移動させ、ポイオブジェクトPOにより金魚オブジェクトKOがすくいあげられるようにする。   If the durability parameter is not 0 (N in step S44), it is determined whether or not the center point CP of the goldfish object KO that is in contact is within the rake face PS (step S46). Here, as shown in FIG. 12A, when the center point CP of the goldfish object KO that is in contact is within the rake face PS (Y in step S46), the rake face PS at that time is relative to the water surface. It is determined whether or not the angle is 41 ° or less (close to horizontal), that is, whether the angle is within a range where the goldfish object KO is scooped (step S48). Here, as shown in FIG. 12 (A), when the angle of the rake face PS with respect to the water surface is 41 ° or less (close to the horizontal) (Y in step S48), according to the motion information of the controller 16, the poi The goldfish object KO is moved so as to follow the movement of the object PO (step S50). That is, the poi object PO and the goldfish object KO that were in the underwater area WA as shown in FIG. 12 (A) are moved to the aerial area AA as shown in FIG. 12 (B), and the goldfish object KO is scooped up by the poi object PO. To be able to.

一方、動き情報が入力された場合(ステップS42のY)であっても、耐久度パラメータが0である場合(ステップS44のY)、又は図13(A)に示すように、金魚オブジェクトKOの中心点CPがすくい面PSの中にない場合(ステップS46のN)、又は図13(B)に示すように、すくい面PSの水面に対する角度が41°以下でない(水平から離れる)場合(ステップS48のN)には、金魚オブジェクトKOがポイオブジェクトPOから逃げる処理を行う(ステップS52)。   On the other hand, even if motion information is input (Y in step S42), if the durability parameter is 0 (Y in step S44), or as shown in FIG. When the center point CP is not in the rake face PS (N in step S46), or as shown in FIG. 13B, the angle of the rake face PS with respect to the water surface is not less than 41 ° (away from the horizontal) (step) In N of S48, a process for the goldfish object KO to escape from the poi object PO is performed (step S52).

そしてステップS50において、ポイオブジェクトPOと金魚オブジェクトKOとを移動させた結果、ポイオブジェクトPOと金魚オブジェクトKOとが、図12(C)に示すようにお椀オブジェクトOO付近の空中領域AAである所定の位置に移動したか否か判断する(ステップS54)。ここで所定の位置に移動した場合には(ステップS54のY)、すくい面PSの水面に対する角度が41°以上(水平から離れる)に操作されたか否か、即ち金魚オブジェクトKOをお椀オブジェクトOOの中に落とすことができる範囲の角度に操作されたか判断する(ステップS56)。ここで角度が41°以上(水平から離れる)に操作された場合には(ステップS56のY)、ポイオブジェクトPOに追従させていた金魚オブジェクトKOを、図12(C)に示すようにお椀オブジェクトOOの中に落としてこれを確保する(ステップS58)。   In step S50, as a result of moving the poi object PO and the goldfish object KO, the poi object PO and the goldfish object KO are predetermined aerial areas AA in the vicinity of the bowl object OO as shown in FIG. It is determined whether or not it has moved to a position (step S54). If it has moved to a predetermined position (Y in step S54), it is determined whether or not the angle of the rake face PS with respect to the water surface is 41 ° or more (away from the horizontal), that is, the goldfish object KO is moved to the bowl object OO. It is determined whether the angle has been operated within a range that can be lowered (step S56). Here, when the angle is operated to be 41 ° or more (away from the horizontal) (Y in step S56), the goldfish object KO that has been following the poi object PO is changed to the bowl object as shown in FIG. This is dropped into the OO and secured (step S58).

すると表示画面11に、確保した金魚オブジェクトKOの数を得点表示PGとして表示したり、「うまい!」などの表示を行うなどして、操作者の操作を評価する処理を行う。そして本実施形態では、ポイオブジェクトPOのすくい面PSが破れるまで、即ち耐久度パラメータが0になるまで、上記各処理を繰返し、金魚すくいゲームを楽しむことができる。なお、ポイオブジェクトPOが空中領域AAに位置する場合であっても、ポイオブジェクトPOに金魚オブジェクトKOが載っている場合には、耐久度パラメータを更新するようにしてもよい。   Then, a process for evaluating the operation of the operator is performed by displaying the number of secured goldfish objects KO on the display screen 11 as a score display PG or displaying “Delicious!”. In this embodiment, the above-described processes are repeated until the rake face PS of the poi object PO is broken, that is, until the durability parameter becomes 0, and a goldfish rake game can be enjoyed. Even when the poi object PO is located in the aerial area AA, when the goldfish object KO is placed on the poi object PO, the durability parameter may be updated.

このように本実施形態では、ポイオブジェクトPOのすくい面PSの向き(法線方向)とポイオブジェクトPOの移動方向とがなす角が直角に近いほど、即ち移動方向に対してすくい面PSの向き(法線方向)が寝ているほど、耐久度パラメータが更新されにくい(プレーヤに有利となる)。しかし、金魚オブジェクトKOを捉えてすくい上げる際には、すくい面PSの向き(法線方向)と水面(基準面)の向き(法線方向)とがなす角が直角に近づけると、金魚オブジェクトKOが逃げてしまう(プレーヤに不利となる)。従ってプレーヤは、すくい面PSの向き(法線方向)と、ポイオブジェクトPOの移動方向と、水面との関係を考慮して、なるべく耐久度パラメータが更新されないように、かつ、すくい面PSに載せた金魚オブジェクトKOが逃げないように、適切にコントローラ16の位置、向きを操作することにより、適切にポイオブジェクトPOを移動させ、耐久度パラメータが0となってすくい面PSが破れるまで、なるべく多くの金魚オブジェクトを獲得するというゲームを楽しむ。   As described above, in this embodiment, the angle formed by the direction (normal direction) of the rake face PS of the poi object PO and the movement direction of the poi object PO is closer to the right angle, that is, the direction of the rake face PS with respect to the movement direction. As the (normal direction) lies, the durability parameter is less likely to be updated (advantageous to the player). However, when scooping up and picking up the goldfish object KO, if the angle formed by the direction of the rake face PS (normal direction) and the direction of the water surface (reference plane) (normal direction) approaches a right angle, the goldfish object KO Run away (disadvantageous to the player). Therefore, the player puts the durability parameter on the rake face PS as much as possible in consideration of the relationship between the direction (normal direction) of the rake face PS, the movement direction of the poi object PO, and the water surface. By appropriately operating the position and orientation of the controller 16 so that the goldfish object KO does not escape, the poy object PO is moved appropriately, until the durability parameter becomes 0 and the rake face PS is broken as much as possible. Enjoy the game of winning goldfish objects.

そして本実施形態によれば、コントローラ16の動きをより詳細に反映した耐久度パラメータの更新を行うことができる。例えば、水中領域WAにおいてポイオブジェクトPOを移動させる距離が同じでも、そのときのすくい面PSの向きが異なれば耐久度パラメータの更新態様も異ならせることができる。このように本実施形態によれば、コントローラ16の動き(プレーヤの操作内容)をポイオブジェクトPOの表示、耐久度パラメータの更新(操作結果)に、より現実に即した形で反映せることができ、プレーヤの仮想現実感を効果的に高めることができる。   According to the present embodiment, the durability parameter that reflects the movement of the controller 16 in more detail can be updated. For example, even if the distance by which the poi object PO is moved in the underwater area WA is the same, if the direction of the rake face PS at that time is different, the manner of updating the durability parameter can be made different. As described above, according to the present embodiment, the movement of the controller 16 (player operation details) can be reflected in the display of the POI object PO and the durability parameter update (operation result) in a more realistic manner. The virtual reality of the player can be effectively enhanced.

5.ハードウェア構成
図14に本実施形態を実現できるハードウェア構成の例を示す。メインプロセッサ900は、CD982(情報記憶媒体)に格納されたプログラム、通信インターフェース990を介してダウンロードされたプログラム、或いはROM950に格納されたプログラムなどに基づき動作し、ゲーム処理、画像処理、音処理などを実行する。コプロセッサ902は、メインプロセッサ900の処理を補助するものであり、マトリクス演算(ベクトル演算)を高速に実行する。例えばオブジェクトを移動させたり動作(モーション)させる物理シミュレーションに、マトリクス演算処理が必要な場合には、メインプロセッサ900上で動作するプログラムが、その処理をコプロセッサ902に指示(依頼)する。
5. Hardware Configuration FIG. 14 shows an example of a hardware configuration capable of realizing this embodiment. The main processor 900 operates based on a program stored in a CD 982 (information storage medium), a program downloaded via the communication interface 990, a program stored in the ROM 950, or the like, and includes game processing, image processing, sound processing, and the like. Execute. The coprocessor 902 assists the processing of the main processor 900, and executes matrix operation (vector operation) at high speed. For example, when a matrix calculation process is required for a physical simulation for moving or moving an object, a program operating on the main processor 900 instructs (requests) the process to the coprocessor 902.

ジオメトリプロセッサ904は、メインプロセッサ900上で動作するプログラムからの指示に基づいて、座標変換、透視変換、光源計算、曲面生成などのジオメトリ処理を行うものであり、マトリクス演算を高速に実行する。データ伸張プロセッサ906は、圧縮された画像データや音データのデコード処理を行ったり、メインプロセッサ900のデコード処理をアクセレートする。これにより、オープニング画面やゲーム画面において、MPEG方式等で圧縮された動画像を表示できる。   The geometry processor 904 performs geometry processing such as coordinate conversion, perspective conversion, light source calculation, and curved surface generation based on an instruction from a program operating on the main processor 900, and executes matrix calculation at high speed. The data decompression processor 906 performs decoding processing of compressed image data and sound data, and accelerates the decoding processing of the main processor 900. Thereby, a moving image compressed by the MPEG method or the like can be displayed on the opening screen or the game screen.

描画プロセッサ910は、ポリゴンや曲面などのプリミティブ面で構成されるオブジェクトの描画(レンダリング)処理を実行する。オブジェクトの描画の際には、メインプロセッサ900は、DMAコントローラ970を利用して、描画データを描画プロセッサ910に渡すと共に、必要であればテクスチャ記憶部924にテクスチャを転送する。すると描画プロセッサ910は、描画データやテクスチャに基づいて、Zバッファなどを利用した隠面消去を行いながら、オブジェクトをフレームバッファ922に描画する。また描画プロセッサ910は、αブレンディング(半透明処理)、デプスキューイング、ミップマッピング、フォグ処理、バイリニア・フィルタリング、トライリニア・フィルタリング、アンチエリアシング、シェーディング処理なども行う。1フレーム分の画像がフレームバッファ922に書き込まれるとその画像はディスプレイ912に表示される。   The drawing processor 910 executes drawing (rendering) processing of an object composed of primitive surfaces such as polygons and curved surfaces. When drawing an object, the main processor 900 uses the DMA controller 970 to pass the drawing data to the drawing processor 910 and, if necessary, transfers the texture to the texture storage unit 924. Then, the drawing processor 910 draws the object in the frame buffer 922 while performing hidden surface removal using a Z buffer or the like based on the drawing data and texture. The drawing processor 910 also performs α blending (translucent processing), depth cueing, mip mapping, fog processing, bilinear filtering, trilinear filtering, anti-aliasing, shading processing, and the like. When an image for one frame is written in the frame buffer 922, the image is displayed on the display 912.

サウンドプロセッサ930は、多チャンネルのADPCM音源などを内蔵し、BGM、効果音、音声などのゲーム音を生成し、スピーカ932を介して出力する。ゲームコントローラ942やメモリカード944からのデータはシリアルインターフェース940を介して入力される。   The sound processor 930 includes a multi-channel ADPCM sound source and the like, generates game sounds such as BGM, sound effects, and sounds, and outputs them through the speaker 932. Data from the game controller 942 and the memory card 944 is input via the serial interface 940.

ROM950にはシステムプログラムなどが格納される。業務用ゲームシステムの場合にはROM950が情報記憶媒体として機能し、ROM950に各種プログラムが格納される。なおROM950の代わりにハードディスクを利用してもよい。RAM960は各種プロセッサの作業領域となる。DMAコントローラ970は、プロセッサ、メモリ間でのDMA転送を制御する。DVDドライブ980は、プログラム、画像データ、或いは音データなどが格納されるDVD982にアクセスする。通信インターフェース990はネットワーク(通信回線、高速シリアルバス)を介して外部との間でデータ転送を行う。   The ROM 950 stores system programs and the like. In the case of an arcade game system, the ROM 950 functions as an information storage medium, and various programs are stored in the ROM 950. A hard disk may be used instead of the ROM 950. The RAM 960 is a work area for various processors. The DMA controller 970 controls DMA transfer between the processor and the memory. The DVD drive 980 accesses a DVD 982 in which programs, image data, sound data, and the like are stored. The communication interface 990 performs data transfer with the outside via a network (communication line, high-speed serial bus).

なお本実施形態の各部(各手段)の処理は、その全てをハードウェアのみにより実現してもよいし、情報記憶媒体に格納されるプログラムや通信インターフェースを介して配信されるプログラムにより実現してもよい。或いは、ハードウェアとプログラムの両方により実現してもよい。   The processing of each unit (each unit) in this embodiment may be realized entirely by hardware, or may be realized by a program stored in an information storage medium or a program distributed via a communication interface. Also good. Alternatively, it may be realized by both hardware and a program.

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

なお本発明は、上記実施形態で説明したものに限らず、種々の変形実施が可能である。例えば、明細書又は図面中の記載において広義や同義な用語として引用された用語は、明細書又は図面中の他の記載においても広義や同義な用語に置き換えることができる。   The present invention is not limited to the one described in the above embodiment, and various modifications can be made. For example, terms cited as broad or synonymous terms in the description in the specification or drawings can be replaced by broad or synonymous terms in other descriptions in the specification or drawings.

また本発明は種々の画像生成システムに適用できる。上述の実施形態では、本発明を金魚すくいゲームシステムに適用した場合を例に挙げて説明したが、本発明は、操作対象の位置、向きに応じて、操作対象の状態が変化する画像を生成する種々の画像生成システムにも適用することができる。   The present invention can be applied to various image generation systems. In the above-described embodiment, the case where the present invention is applied to the goldfish scooping game system has been described as an example. However, the present invention generates an image in which the state of the operation target changes according to the position and orientation of the operation target. The present invention can also be applied to various image generation systems.

また上記の実施形態では、状態パラメータとしての耐久度パラメータが減少されることにより、プレーヤにとって不利な状態となる例を挙げて説明したが、状態パラメータが増加されることによりプレーヤにとって不利な状態となるようにしてもよい。また、上記の実施形態では、状態パラメータとしての耐久度パラメータが更新されないようにすることが、プレーヤにとって有利な状態となる例を挙げて説明したが、状態パラメータが更新されることがプレーヤにとって有利な状態となるようにしてもよい。即ち状態パラメータの更新については、ゲーム内容に応じて種々に設定することができる。   In the above-described embodiment, an example has been described in which the durability parameter as the state parameter is decreased, which is disadvantageous for the player. However, the state parameter is increased to be disadvantageous for the player. It may be made to become. Further, in the above-described embodiment, an example in which it is advantageous for the player not to update the durability parameter as the state parameter has been described. However, it is advantageous for the player that the state parameter is updated. You may make it become a state. That is, the state parameter can be updated variously according to the game content.

また本発明は、業務用ゲームシステム、家庭用ゲームシステム、多数のプレーヤが参加する大型アトラクションシステム、シミュレータ、マルチメディア端末、ゲーム画像を生成するシステムボード、携帯電話等の種々の画像生成システムに適用できる。   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 a game image, and a mobile phone. it can.

本実施形態のシステムの概略外観の一例を示す図。The figure which shows an example of the schematic external appearance of the system of this embodiment. 本実施形態の指示位置の情報を演算する手法の一例を説明するための図。The figure for demonstrating an example of the method of calculating the information of the instruction | indication position of this embodiment. 本実施形態で生成される画像の一例を示す図。The figure which shows an example of the image produced | generated by this embodiment. 本実施形態の機能ブロックの一例を示す図。The figure which shows an example of the functional block of this embodiment. 図5(A)は、本実施形態のテーブルデータの一例を説明するための図であり、図5(B)は、本実施形態のパラメータ更新を説明するための図。FIG. 5A is a diagram for explaining an example of table data of the present embodiment, and FIG. 5B is a diagram for explaining parameter updating of the present embodiment. 本実施形態のパラメータ更新を説明するための図。The figure for demonstrating the parameter update of this embodiment. 本実施形態の処理の流れの一例を示すフローチャート図。The flowchart figure which shows an example of the flow of a process of this embodiment. 図8(A)、(B)は、本実施形態の操作部と操作対象の動きを説明するための図。FIGS. 8A and 8B are diagrams for explaining the movement of the operation unit and the operation target according to the present embodiment. 図9(A)、(B)は、本実施形態の操作部と操作対象の動きを説明するための図。FIGS. 9A and 9B are diagrams for explaining the movement of the operation unit and the operation target according to the present embodiment. 図10は、本実施形態の操作部と操作対象の動きを説明するための図。FIG. 10 is a diagram for explaining the movement of the operation unit and the operation target according to the present embodiment. 本実施形態の処理の流れの一例を示すフローチャート図。The flowchart figure which shows an example of the flow of a process of this embodiment. 本実施形態の操作対象と操作目標の関係を説明するための図。The figure for demonstrating the relationship between the operation target and operation target of this embodiment. 本実施形態の操作対象と操作目標の関係を説明するための図。The figure for demonstrating the relationship between the operation target and operation target of this embodiment. 本実施形態を実現できるハードウェアの構成の一例を示す図。The figure which shows an example of the structure of the hardware which can implement | achieve this embodiment.

符号の説明Explanation of symbols

P プレーヤ、CO 操作対象、PA 画像データ領域、
IrA1・IrA2 赤外光原領域、DpA 表示画面領域、
PO ポイオブジェクト、PS すくい面、KO 金魚オブジェクト、
AA 空中領域、WA 水中領域、
100 処理部、108 情報取得部、110 オブジェクト空間設定部、
112 移動・動作処理部、113 表示制御部、114 仮想カメラ制御部、
120 描画部、122 パラメータ更新部、124 イベント発生部、126 評価部、160 操作部、162 検出部、170 記憶部、190 表示部
P player, CO operation target, PA image data area,
IrA1 / IrA2 infrared light source area, DpA display screen area,
PO poi object, PS rake face, KO goldfish object,
AA aerial area, WA underwater area,
100 processing unit, 108 information acquisition unit, 110 object space setting unit,
112 movement / motion processing unit, 113 display control unit, 114 virtual camera control unit,
120 drawing unit, 122 parameter update unit, 124 event generation unit, 126 evaluation unit, 160 operation unit, 162 detection unit, 170 storage unit, 190 display unit

Claims (15)

コントローラの操作に応じた画像を生成するためのプログラムであって、
前記コントローラの動きに応じて変化する情報を検出する検出部の検出結果に基づいて、前記コントローラの動き情報を取得する情報取得部と、
前記動き情報に基づいて、仮想空間における操作対象の位置、向きを制御する移動処理部と、
前記操作対象の位置、向きに基づいて、表示部に前記操作対象を表示させる操作対象表示制御処理を行う表示制御部と、
前記操作対象の位置、向きに応じて、前記操作対象に設定される状態パラメータを更新するパラメータ更新部としてコンピュータを機能させることを特徴とするプログラム。
A program for generating an image according to the operation of the controller,
Based on the detection result of the detection unit that detects information that changes according to the movement of the controller, an information acquisition unit that acquires the movement information of the controller;
A movement processing unit that controls the position and orientation of the operation target in the virtual space based on the movement information;
A display control unit that performs an operation target display control process for displaying the operation target on a display unit based on the position and orientation of the operation target;
A program that causes a computer to function as a parameter update unit that updates a state parameter set to the operation target according to the position and orientation of the operation target.
請求項1において、
前記状態パラメータの値に応じて、所与のイベントを発生させるイベント発生部としてコンピュータを更に機能させることを特徴とするプログラム。
In claim 1,
A program that further causes a computer to function as an event generation unit that generates a given event according to a value of the state parameter.
請求項1、2のいずれかにおいて、
前記パラメータ更新部が、
前記操作対象の位置及び向きの少なくとも一方の変化に応じて前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 1, 2.
The parameter update unit
A program for updating the state parameter according to a change in at least one of a position and an orientation of the operation target.
請求項1〜3のいずれかにおいて、
前記仮想空間に複数の領域が設定され、
前記パラメータ更新部が、
前記操作対象と前記仮想空間の各領域との位置関係に応じて前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 1-3,
A plurality of areas are set in the virtual space,
The parameter update unit
The state parameter is updated according to a positional relationship between the operation target and each area of the virtual space.
請求項4において、
前記操作対象に複数の領域が設定され、
前記パラメータ更新部が、
前記操作対象の各領域と前記仮想空間の各領域との位置関係に応じて、前記操作対象の領域ごとに前記状態パラメータを更新することを特徴とするプログラム。
In claim 4,
A plurality of areas are set for the operation target,
The parameter update unit
The state parameter is updated for each region to be operated according to a positional relationship between each region to be operated and each region in the virtual space.
請求項4、5のいずれかにおいて、
前記パラメータ更新部が、
前記操作対象が一の領域から他の領域に移動した場合に前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 4 and 5,
The parameter update unit
The program that updates the state parameter when the operation target moves from one area to another area.
請求項1〜6のいずれかにおいて、
前記パラメータ更新部が、
前記操作対象の移動速度に応じて前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 1-6,
The parameter update unit
A program for updating the state parameter according to a moving speed of the operation target.
請求項1〜7のいずれかにおいて、
前記パラメータ更新部が、
経過時間に応じて前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 1-7,
The parameter update unit
A program for updating the state parameter according to an elapsed time.
請求項1〜8のいずれかにおいて、
前記パラメータ更新部が、
前記仮想空間に設定される所与の向きと前記操作対象の向きとの関係に応じて前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 1-8,
The parameter update unit
A program for updating the state parameter according to a relationship between a given direction set in the virtual space and a direction of the operation target.
請求項1〜9のいずれかにおいて、
前記表示制御部が、
前記表示部に操作目標を表示させる操作目標表示制御処理を更に行い、
前記パラメータ更新部が、
前記操作目標と前記操作対象とが所定の位置関係にある場合に、前記操作目標に設定された属性パラメータに応じて前記状態パラメータを更新することを特徴とするプログラム。
In any one of Claims 1-9,
The display control unit
Further performing an operation target display control process for displaying an operation target on the display unit,
The parameter update unit
A program for updating the state parameter according to an attribute parameter set in the operation target when the operation target and the operation target are in a predetermined positional relationship.
請求項10において、
前記パラメータ更新部が、
前記操作目標と前記操作対象とが所与の位置関係にある場合の経過時間に応じて前記状態パラメータを更新することを特徴とするプログラム。
In claim 10,
The parameter update unit
A program that updates the state parameter according to an elapsed time when the operation target and the operation target are in a given positional relationship.
請求項1〜11のいずれかにおいて、
前記コントローラの操作に関する評価を行う評価部としてコンピュータを更に機能させ、
前記表示制御部が、
前記表示部に操作目標を表示させ、前記操作目標と前記操作対象とが所定の位置関係にある場合に、前記操作対象の移動に追従するように前記操作目標を移動させる操作目標表示制御処理を更に行い、
前記評価部が、
前記操作対象の移動に追従するように前記操作目標を移動させて所与の条件を満たした場合に、前記評価を行うことを特徴とするプログラム。
In any one of Claims 1-11,
Causing the computer to further function as an evaluation unit for performing an evaluation on the operation of the controller;
The display control unit
An operation target display control process for displaying an operation target on the display unit and moving the operation target so as to follow the movement of the operation target when the operation target and the operation target are in a predetermined positional relationship. Do further,
The evaluation unit is
The program for performing the evaluation when the operation target is moved so as to follow the movement of the operation target and a given condition is satisfied.
請求項1〜12のいずれかにおいて、
前記仮想空間に複数の領域が設定され、
前記パラメータ更新部が、
前記操作対象が第1の領域に位置する場合に、前記操作対象の位置、向きに応じて前記状態パラメータを第1の値から第2の値に向けて更新し、
前記操作対象が第2の領域に位置する場合に、前記動き情報に基づいて前記状態パラメータを第2の値から第1の値に向けて更新することを特徴とするプログラム。
In any one of Claims 1-12,
A plurality of areas are set in the virtual space,
The parameter update unit
When the operation target is located in the first region, the state parameter is updated from the first value to the second value according to the position and orientation of the operation target,
A program for updating the state parameter from a second value toward a first value based on the motion information when the operation target is located in a second region.
コンピュータ読み取り可能な情報記憶媒体であって、請求項1〜13のいずれかのプログラムを記憶したことを特徴とする情報記憶媒体。   A computer-readable information storage medium, wherein the program according to any one of claims 1 to 13 is stored. コントローラの操作に応じた画像を生成するための画像生成システムであって、
前記コントローラの動きに応じて変化する情報を検出する検出部の検出結果に基づいて、前記コントローラの動き情報を取得する情報取得部と、
前記動き情報に基づいて、仮想空間における操作対象の位置、向きを制御する移動処理部と、
前記操作対象の位置、向きに基づいて、表示部に前記操作対象を表示させる操作対象表示制御処理を行う表示制御部と、
前記操作対象の位置、向きに応じて、前記操作対象に設定される状態パラメータを更新するパラメータ更新部と、
を含むことを特徴とする画像生成システム。
An image generation system for generating an image according to an operation of a controller,
Based on the detection result of the detection unit that detects information that changes according to the movement of the controller, an information acquisition unit that acquires the movement information of the controller;
A movement processing unit that controls the position and orientation of the operation target in the virtual space based on the movement information;
A display control unit that performs an operation target display control process for displaying the operation target on a display unit based on the position and orientation of the operation target;
A parameter update unit that updates state parameters set in the operation target according to the position and orientation of the operation target;
An image generation system comprising:
JP2006248108A 2006-09-13 2006-09-13 Program, information storage medium, and image generation system Withdrawn JP2008071049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006248108A JP2008071049A (en) 2006-09-13 2006-09-13 Program, information storage medium, and image generation system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006248108A JP2008071049A (en) 2006-09-13 2006-09-13 Program, information storage medium, and image generation system

Publications (1)

Publication Number Publication Date
JP2008071049A true JP2008071049A (en) 2008-03-27

Family

ID=39292589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006248108A Withdrawn JP2008071049A (en) 2006-09-13 2006-09-13 Program, information storage medium, and image generation system

Country Status (1)

Country Link
JP (1) JP2008071049A (en)

Similar Documents

Publication Publication Date Title
US8882593B2 (en) Game processing system, game processing method, game processing apparatus, and computer-readable storage medium having game processing program stored therein
JP6643775B2 (en) Game machine, game system and program
JP2007300974A (en) Program, information storage medium and image generation system
JP2009237680A (en) Program, information storage medium, and image generation system
JP2006285509A (en) Program, information storage medium, and image generation system
JP2008225985A (en) Image recognition system
JP2011101752A (en) Program, information storage medium, and image generating device
JP2011053838A (en) Program, information storage medium, and image generation device
US8662976B2 (en) Game processing system, game processing method, game processing apparatus, and computer-readable storage medium having game processing program stored therein
JP4804122B2 (en) Program, texture data structure, information storage medium, and image generation system
JP4305903B2 (en) Image generation system, program, and information storage medium
JP4776017B2 (en) Program, information storage medium, and image generation system
JP4806608B2 (en) Program, information storage medium, and image generation system
JP2007164557A (en) Program, information recording medium and image generation system
JP2011053737A (en) Program, information storage medium and image generation device
JP2009213559A (en) Game apparatus
JP4749198B2 (en) Program, information storage medium, and image generation system
JP2009129167A (en) Program, information storage medium, and image generation system
JP2008067853A (en) Program, information storage medium and image generation system
JP4651436B2 (en) Program, information storage medium, and image generation system
JP2009075739A (en) Program, information storage medium and image generation system
JP4266121B2 (en) Image generation system, program, and information storage medium
JP4528008B2 (en) Program, information storage medium, and image generation system
JP2007272388A (en) Program, information storage medium and image generation system
JP2011215724A (en) Program, information storage medium, and image generation system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20091201