JP2008307409A - Information processor and information processing program - Google Patents

Information processor and information processing program Download PDF

Info

Publication number
JP2008307409A
JP2008307409A JP2008248392A JP2008248392A JP2008307409A JP 2008307409 A JP2008307409 A JP 2008307409A JP 2008248392 A JP2008248392 A JP 2008248392A JP 2008248392 A JP2008248392 A JP 2008248392A JP 2008307409 A JP2008307409 A JP 2008307409A
Authority
JP
Japan
Prior art keywords
pause
game
input data
state
controller
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.)
Pending
Application number
JP2008248392A
Other languages
Japanese (ja)
Inventor
Keizo Ota
敬三 太田
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.)
Nintendo Co Ltd
Original Assignee
Nintendo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nintendo Co Ltd filed Critical Nintendo Co Ltd
Priority to JP2008248392A priority Critical patent/JP2008307409A/en
Publication of JP2008307409A publication Critical patent/JP2008307409A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor and an information processing program capable of improving the operability when canceling a pause. <P>SOLUTION: This information processor changes according to the state of an input device and sequentially acquires input data for use in a predetermined processing. This processor also stores the input data acquired at a timing when the predetermined process is suspended. After starting the receiving of the cancellation of the pause, this information processor sequentially compares the present input data with the stored input data. The pause is canceled and the predetermined process is restarted in response to that the content of the present input data becomes closer to the content of the input data stored in the storage means than the predetermined criterion. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、情報処理装置および情報処理プログラムに関し、より特定的には、入力装置自体を動かすことによって入力操作を行う情報処理装置および情報処理プログラムに関する。   The present invention relates to an information processing apparatus and an information processing program, and more specifically to an information processing apparatus and an information processing program that perform an input operation by moving the input apparatus itself.

従来、コントローラ等の入力装置自体を動かすことによってゲーム操作を行うゲーム装置およびゲームプログラムが考えられている。例えば、非特許文献1には、入力装置とゲーム装置とが一体となった携帯型のゲーム装置において、加速度センサによってゲーム装置自体の傾きを算出し、当該傾きに基づいてキャラクタの転がる方向を決定することが開示されている。このように、入力装置(上記例ではゲーム装置)自体を動かしてゲーム操作をプレイヤに行わせることによって、単にボタンを押下することによるゲーム操作にはない面白みのあるゲーム操作をプレイヤに提供することができる。
「コロコロカービィ取扱説明書」任天堂株式会社、2000年8月23日、p.10−11
2. Description of the Related Art Conventionally, game devices and game programs that perform game operations by moving an input device itself such as a controller have been considered. For example, in Non-Patent Document 1, in a portable game device in which an input device and a game device are integrated, the inclination of the game device itself is calculated by an acceleration sensor, and the direction in which the character rolls is determined based on the inclination. Is disclosed. Thus, by providing the player with an interesting game operation that is not a game operation by simply pressing a button, by moving the input device (game device in the above example) itself and causing the player to perform a game operation. Can do.
“Korokoro Kirby Instruction Manual” Nintendo Co., Ltd., August 23, 2000, p. 10-11

上記従来のゲーム装置において、プレイヤはゲーム中において、ゲーム装置に設けられた所定のボタンを押下することによってゲーム進行を一時停止する(ポーズする)ことができるとともに、一時停止状態を解除してゲーム進行を再開することができる。ここで、入力装置は任意の傾きで保持可能であるので、ポーズした時とポーズを解除した時とで入力装置の傾きの状態が一致しないのが通常である。このようにポーズの前後で入力装置の傾きの状態が一致しない場合、ポーズの前後でゲーム操作が急に変わるので、ポーズ解除後にプレイヤが予期しないゲーム操作が行われてしまうおそれがある。その結果、ポーズ解除後においてプレイヤがミスしてしまう可能性が高く、プレイヤはゲームの操作性が悪いと感じるおそれがある。   In the conventional game device, the player can pause (pause) the progress of the game by pressing a predetermined button provided on the game device during the game, and cancel the pause state to play the game. You can resume progress. Here, since the input device can be held at an arbitrary inclination, it is normal that the inclination state of the input device does not match when paused and when the pause is released. In this way, when the tilt state of the input device does not match before and after the pose, the game operation suddenly changes before and after the pose, so that the player may perform an unexpected game operation after releasing the pose. As a result, there is a high possibility that the player will make a mistake after the pause is released, and the player may feel that the operability of the game is poor.

それ故、本発明の目的は、ポーズを解除した時における操作性を改善することができる情報処理装置および情報処理プログラムを提供することである。   Therefore, an object of the present invention is to provide an information processing apparatus and an information processing program that can improve operability when a pause is released.

本発明は、上記の課題を解決するために、以下の構成を採用した。なお、本欄における括弧内の参照符号および補足説明等は、本発明の理解を助けるために後述する実施形態との対応関係を示したものであって、本発明を何ら限定するものではない。   The present invention employs the following configuration in order to solve the above problems. Note that the reference numerals in parentheses and supplementary explanations in this section show the correspondence with the embodiments described later in order to help understanding of the present invention, and do not limit the present invention.

第1の発明は、入力装置(コントローラ7)の位置および姿勢の少なくとも一方に関する状態(後述する第1実施例では、コントローラ7の長手方向を軸とした回転に関する傾き。後述する第2実施例では、コントローラ7の指示位置。)に基づいて所定の処理(ステップS12またはステップS42)を行う情報処理装置(3)である。情報処理装置は、入力データ取得手段(ステップS3またはS42を実行するCPU10等。以下、この欄においてはステップ番号のみを記載する。)と、一時停止手段(S14またはS44)と、記憶手段(S15またはS46)と、解除受付手段(S22、S62、またはS67)と、第1比較手段(S32またはS53)と、解除手段(S34またはS54)を備える。入力データ取得手段は、入力装置の状態に応じて変化し、所定の処理に用いられる入力データ(加速度データ621または第1カーソル位置データ637)を逐次取得する。一時停止手段は、所定の処理を一時停止させる。記憶手段は、所定の処理が一時停止されるタイミングにおいて取得される入力データを記憶する。解除受付手段は、所定の処理が一時停止している状態において、一時停止の解除の受付を開始する。第1比較手段は、一時停止の解除の受付が開始された後、入力データ取得手段によって逐次取得される現在の入力データと記憶手段に記憶された入力データとを逐次比較する。解除手段は、現在の入力データの内容が記憶手段に記憶された入力データの内容に所定の基準(後述する第1実施例では、加速度の方向の差分を示す所定値。後述する第2実施例では、2つのカーソルの距離を示す所定値。)よりも近くなったことに応じて、一時停止を解除して所定の処理を再開する。なお、第1の発明において、入力データ取得手段は、例えば入力装置から出力されたデータを入力データとして取得してもよいし、入力装置から出力されたデータに所定の演算を行うことによって入力データを取得してもよい。   The first aspect of the invention relates to a state relating to at least one of the position and orientation of the input device (controller 7) (in the first embodiment to be described later, an inclination related to rotation about the longitudinal direction of the controller 7. In the second embodiment to be described later. , The information processing device (3) that performs a predetermined process (step S12 or step S42) based on the designated position of the controller 7. The information processing apparatus includes input data acquisition means (CPU 10 or the like that executes step S3 or S42; hereinafter, only step numbers will be described in this column), temporary stop means (S14 or S44), and storage means (S15). Or S46), a release receiving means (S22, S62, or S67), a first comparing means (S32 or S53), and a releasing means (S34 or S54). The input data acquisition unit sequentially changes the input data (acceleration data 621 or first cursor position data 637) used for a predetermined process, depending on the state of the input device. The temporary stop means temporarily stops a predetermined process. The storage means stores input data acquired at a timing when a predetermined process is temporarily stopped. The release accepting unit starts accepting the release of the pause in a state where the predetermined process is paused. The first comparison unit sequentially compares the current input data sequentially acquired by the input data acquisition unit and the input data stored in the storage unit after acceptance of the cancellation of the temporary stop is started. The canceling means uses a predetermined reference for the content of the input data stored in the storage means for the content of the current input data (in the first embodiment described later, a predetermined value indicating a difference in the direction of acceleration. Second embodiment described later. Then, in response to being closer than a predetermined value indicating the distance between the two cursors), the temporary stop is canceled and the predetermined processing is resumed. In the first invention, the input data acquisition means may acquire, for example, data output from the input device as input data, or input data by performing a predetermined operation on the data output from the input device. May be obtained.

第2の発明においては、情報処理装置は、画像表示手段(S36またはS55)をさらに備えていてもよい。画像表示手段は、一時停止の解除の受付が開始された後、記憶手段に記憶された入力データの内容を表す画像(第2モデル54、第1カーソル55、板状オブジェクト71、または基準カーソル78)と現在の入力データの内容を表す画像(第1モデル53、第2カーソル56、案内用オブジェクト75、または案内用カーソル77)とを逐次表示装置に表示させる。   In the second invention, the information processing apparatus may further include image display means (S36 or S55). After the acceptance of the cancellation of the pause is started, the image display means displays an image (the second model 54, the first cursor 55, the plate-like object 71, or the reference cursor 78) representing the contents of the input data stored in the storage means. ) And an image (the first model 53, the second cursor 56, the guidance object 75, or the guidance cursor 77) representing the contents of the current input data are sequentially displayed on the display device.

第3の発明においては、入力装置は、所定の撮像対象を撮像するための撮像手段(撮像素子40)を備えていてもよい。このとき、情報処理装置は、撮像手段によって撮像される撮像画像における撮像対象の位置に関する座標(マーカ座標)を算出する座標算出手段(画像処理回路41)をさらに備える。入力データ取得手段は、座標を示すデータ、または、それから算出される入力装置の位置もしくは姿勢に対応するデータ(第1カーソル位置データ637)を入力データとして取得する。   In the third invention, the input device may include an imaging means (imaging element 40) for imaging a predetermined imaging target. At this time, the information processing apparatus further includes coordinate calculation means (image processing circuit 41) that calculates coordinates (marker coordinates) related to the position of the imaging target in the captured image captured by the imaging means. The input data acquisition means acquires data indicating coordinates or data (first cursor position data 637) corresponding to the position or orientation of the input device calculated therefrom as input data.

第4の発明においては、入力装置は、加速度センサ(37)を備えていてもよい。このとき、入力データ取得手段は、加速度センサからの出力を示すデータ(加速度データ621)またはそれから算出される入力装置の姿勢に対応するデータを入力データとして取得する。   In the fourth invention, the input device may include an acceleration sensor (37). At this time, the input data acquisition unit acquires data indicating the output from the acceleration sensor (acceleration data 621) or data corresponding to the attitude of the input device calculated therefrom as input data.

第5の発明においては、入力装置は、入力装置の位置または姿勢に関する状態を示すデータ(加速度データ621またはマーカ座標データ623)を出力してもよい。このとき、入力データ取得手段は、入力装置から出力されるデータを入力データとして取得する。   In the fifth invention, the input device may output data (acceleration data 621 or marker coordinate data 623) indicating a state related to the position or orientation of the input device. At this time, the input data acquisition means acquires data output from the input device as input data.

第6の発明においては、入力装置は、入力装置の位置または姿勢に関する状態を示すデータを出力してもよい。このとき、入力データ取得手段は、入力装置から出力されるデータに基づいて、仮想のゲーム空間に登場するオブジェクトを制御するためのデータ(第1カーソル位置データ637)を入力データとして算出して取得する。   In the sixth invention, the input device may output data indicating a state related to the position or posture of the input device. At this time, the input data acquisition means calculates and acquires data (first cursor position data 637) for controlling an object appearing in the virtual game space as input data based on data output from the input device. To do.

第7の発明においては、解除受付手段は、プレイヤによる指示(解除受付ボタンの押下)があったことに応じて一時停止状態の解除の受付を開始してもよい。   In the seventh invention, the release accepting unit may start accepting the release of the paused state in response to an instruction from the player (pressing of the release accepting button).

第8の発明においては、入力装置は操作スイッチ(解除受付ボタン)を備えていてもよい。このとき、解除受付手段は、操作スイッチが操作されたことに応じて一時停止の解除の受付を開始する。   In the eighth invention, the input device may include an operation switch (release acceptance button). At this time, the release accepting unit starts accepting the cancellation of the pause in response to the operation switch being operated.

第9の発明においては、解除受付手段は、所定の処理が一時停止させられてから所定時間が経過したことに応じて(ステップS61の判定結果が肯定の場合)一時停止の解除の受付を開始してもよい。   In the ninth invention, the release accepting means starts accepting the cancellation of the pause in response to the elapse of a predetermined time after the predetermined process is paused (when the determination result in step S61 is affirmative). May be.

第10の発明においては、解除受付手段は、第2比較手段(S66)と、開始実行手段(S67)とを含んでいてもよい。第2比較手段は、所定の処理が一時停止させられた後、入力データ取得手段によって逐次取得される現在の入力データと記憶手段に記憶された入力データとを比較する。開始実行手段は、現在の入力データの内容が記憶手段に記憶された入力データの内容に所定の基準よりも相違したことに応じて一時停止の解除の受付を開始する。   In the tenth invention, the release acceptance means may include second comparison means (S66) and start execution means (S67). The second comparison unit compares the current input data sequentially acquired by the input data acquisition unit with the input data stored in the storage unit after a predetermined process is temporarily stopped. The start execution means starts accepting the suspension cancellation in response to the fact that the content of the current input data differs from the content of the input data stored in the storage means from a predetermined reference.

また、本発明は、上記発明における機能を情報処理装置のコンピュータに実行させるための情報処理プログラムの形態で提供されてもよい。   In addition, the present invention may be provided in the form of an information processing program for causing a computer of the information processing apparatus to execute the functions in the above invention.

第1の発明によれば、所定の処理が一時停止(ポーズ)される場合、記憶手段は、入力データを記憶する。入力データは、入力装置の状態を反映したものであるので、記憶手段によって、ポーズ操作時(所定の処理が一時停止された時点)における入力装置の状態を記憶することができる。そして、解除手段は、現在の入力装置の状態とポーズ操作時における入力装置の状態とが近くなったことに応じて一時停止を解除する。これによって、一時停止が解除されてゲームが再開される際に、入力装置の状態を一時停止が行われる前とほぼ同じ状態にすることができる。したがって、第1の発明によれば、一時停止の前後においてゲーム操作が変わってしまうことに起因するプレイヤのミスを防止することができ、操作性を向上することができる。   According to the first invention, when the predetermined process is paused (paused), the storage means stores the input data. Since the input data reflects the state of the input device, the storage device can store the state of the input device at the time of the pause operation (when the predetermined process is temporarily stopped). The canceling unit cancels the pause in response to the current state of the input device becoming close to the state of the input device during the pause operation. Thus, when the pause is released and the game is resumed, the state of the input device can be made substantially the same as before the pause is performed. Therefore, according to the first aspect of the invention, it is possible to prevent a player's mistake due to a change in the game operation before and after the pause, and to improve the operability.

第2の発明によれば、プレイヤは、現在の入力装置の状態とポーズ操作時における入力装置の状態とを画像で確認することができるので、一時停止を解除する操作が容易になる。   According to the second aspect, since the player can confirm the current state of the input device and the state of the input device at the time of the pause operation with an image, the operation for releasing the pause is facilitated.

第3の発明によれば、撮像手段によって撮像される撮像画像を用いて、入力装置の位置や姿勢を容易に算出することができる。   According to the third aspect, the position and orientation of the input device can be easily calculated using the captured image captured by the imaging unit.

第4の発明によれば、加速度センサによって検出される加速度を用いて、入力装置の姿勢を容易に算出することができる。   According to the fourth aspect, the attitude of the input device can be easily calculated using the acceleration detected by the acceleration sensor.

第5および第6の発明によれば、入力装置から出力されるデータ、または、それに基づいて得られるデータを入力データとして記憶するので、入力装置の状態を正確に記憶することができる。   According to the fifth and sixth inventions, data output from the input device or data obtained based on the data is stored as input data, so that the state of the input device can be stored accurately.

第7の発明によれば、プレイヤが意図しないにもかかわらずゲームが再開されてしまうことを防止することができる。   According to the seventh aspect, it is possible to prevent the game from being restarted even though the player does not intend.

第8の発明によれば、プレイヤは、入力装置の位置または姿勢を変化させる操作とは別の操作によって、解除の受付を開始するための指示を行うことができるので、当該指示の操作が容易になる。   According to the eighth aspect of the invention, the player can issue an instruction for starting acceptance of the release by an operation different from the operation for changing the position or orientation of the input device. become.

第9および第10の発明によれば、プレイヤは解除の受付を開始するための操作を行う必要がないので、プレイヤの操作を簡易化することができる。   According to the ninth and tenth aspects of the invention, the player does not need to perform an operation for starting acceptance of cancellation, and therefore the player's operation can be simplified.

(ゲームシステムの構成)
図1を参照して、本発明の一実施形態に係るゲーム装置を含むゲームシステム1について説明する。なお、図1は、当該ゲームシステム1を説明するための外観図である。以下、据置型のゲーム装置を一例にして、本発明のゲーム装置について説明する。
(Game system configuration)
A game system 1 including a game device according to an embodiment of the present invention will be described with reference to FIG. FIG. 1 is an external view for explaining the game system 1. Hereinafter, the game apparatus of the present invention will be described by taking a stationary game apparatus as an example.

図1において、ゲームシステム1は、家庭用テレビジョン受像機等のスピーカを備えたディスプレイ(以下、モニタと記載する)2に、接続コードを介して接続される据置型ゲーム装置(以下、単にゲーム装置と記載する)3および当該ゲーム装置3に操作データを与えるコントローラ7によって構成される。また、モニタ2の周辺(図では画面の上側)には、2つのマーカ8aおよび8bが設置される。マーカ8aおよび8bは、具体的には赤外LEDであり、それぞれモニタ2の前方に向かって赤外光を出力する。ゲーム装置3は、接続端子を介して受信ユニット6が接続される。受信ユニット6は、コントローラ7から無線送信される操作データを受信し、コントローラ7とゲーム装置3とは無線通信によって接続される。なお、他の実施形態においてはコントローラ7とゲーム装置3とは有線で接続されてもよい。また、ゲーム装置3には、当該ゲーム装置3に対して交換可能に用いられる情報記憶媒体の一例である光ディスク4が脱着される。ゲーム装置3の上部主面には、当該ゲーム装置3の電源ON/OFFスイッチ、ゲーム処理のリセットスイッチ、およびゲーム装置3上部の蓋を開くOPENスイッチが設けられている。ここで、プレイヤがOPENスイッチを押下することによって上記蓋が開き、光ディスク4の脱着が可能となる。   In FIG. 1, a game system 1 is a stationary game apparatus (hereinafter simply referred to as a game) connected to a display (hereinafter referred to as a monitor) 2 having a speaker such as a home television receiver via a connection cord. 3) and a controller 7 for giving operation data to the game apparatus 3. Also, two markers 8a and 8b are installed around the monitor 2 (upper side of the screen in the figure). The markers 8a and 8b are specifically infrared LEDs, and output infrared light toward the front of the monitor 2, respectively. The game apparatus 3 is connected to the receiving unit 6 via a connection terminal. The receiving unit 6 receives operation data wirelessly transmitted from the controller 7, and the controller 7 and the game apparatus 3 are connected by wireless communication. In other embodiments, the controller 7 and the game apparatus 3 may be connected by wire. Further, an optical disk 4 that is an example of an information storage medium that can be used interchangeably with the game apparatus 3 is attached to and detached from the game apparatus 3. The upper main surface of the game apparatus 3 is provided with a power ON / OFF switch of the game apparatus 3, a reset switch for game processing, and an OPEN switch for opening the lid on the upper part of the game apparatus 3. Here, when the player presses the OPEN switch, the lid is opened, and the optical disk 4 can be attached and detached.

また、ゲーム装置3には、セーブデータ等を固定的に記憶するバックアップメモリ等を搭載する外部メモリカード5が必要に応じて着脱自在に装着される。ゲーム装置3は、光ディスク4に記憶されたゲームプログラムなどを実行することによって、その結果をゲーム画像としてモニタ2に表示する。さらに、ゲーム装置3は、外部メモリカード5に記憶されたセーブデータを用いて、過去に実行されたゲーム状態を再現して、ゲーム画像をモニタ2に表示することもできる。そして、ゲーム装置3のプレイヤは、モニタ2に表示されたゲーム画像を見ながら、コントローラ7を操作することによって、ゲーム進行を楽しむことができる。   Further, an external memory card 5 equipped with a backup memory or the like for storing save data or the like in a fixed manner is detachably attached to the game apparatus 3 as necessary. The game apparatus 3 displays a result as a game image on the monitor 2 by executing a game program or the like stored on the optical disc 4. Furthermore, the game apparatus 3 can reproduce the game state executed in the past by using the save data stored in the external memory card 5 and display the game image on the monitor 2. Then, the player of the game apparatus 3 can enjoy the progress of the game by operating the controller 7 while viewing the game image displayed on the monitor 2.

コントローラ7は、その内部に備える通信部36(後述)から受信ユニット6が接続されたゲーム装置3へ、例えばBluetooth(ブルートゥース)(登録商標)の技術を用いて操作データを無線送信する。コントローラ7は、複数の操作ボタンからなる操作部が設けられている。また、後述により明らかとなるが、コントローラ7は、少なくとも直交2軸方向の加速度を検出する加速度センサ37(後述)を備えている。加速度センサ37によって検出された加速度を示すデータは上記操作データの一部としてゲーム装置3へ送信される。ゲーム装置3は、当該加速度を示すデータに所定の演算を行うことによりコントローラ7の傾き(姿勢)を算出し、当該傾きに応じた処理を適宜実行する。また、コントローラ7は、当該コントローラ7から見た画像を撮像するための撮像情報演算部35(後述)を備えている。撮像情報演算部35は、モニタ2の周辺に配置された各マーカ8aおよび8bを撮像対象として、各マーカ8aおよび8bの画像を撮像する。ゲーム装置3は、この画像に基づいた演算処理によってコントローラ7の位置および姿勢に応じた処理を実行する。   The controller 7 wirelessly transmits operation data from a communication unit 36 (described later) provided therein to the game apparatus 3 to which the receiving unit 6 is connected, using, for example, Bluetooth (registered trademark) technology. The controller 7 is provided with an operation unit including a plurality of operation buttons. As will be apparent from the description below, the controller 7 includes an acceleration sensor 37 (described later) that detects acceleration in at least two orthogonal axes. Data indicating the acceleration detected by the acceleration sensor 37 is transmitted to the game apparatus 3 as part of the operation data. The game apparatus 3 calculates a tilt (attitude) of the controller 7 by performing a predetermined calculation on the data indicating the acceleration, and appropriately executes a process corresponding to the tilt. The controller 7 includes an imaging information calculation unit 35 (described later) for capturing an image viewed from the controller 7. The imaging information calculation unit 35 captures images of the markers 8a and 8b using the markers 8a and 8b arranged around the monitor 2 as imaging targets. The game apparatus 3 performs a process according to the position and orientation of the controller 7 by a calculation process based on this image.

次に、図2を参照して、ゲーム装置3の構成について説明する。なお、図2は、ゲーム装置3の機能ブロック図である。   Next, the configuration of the game apparatus 3 will be described with reference to FIG. FIG. 2 is a functional block diagram of the game apparatus 3.

図2において、ゲーム装置3は、各種プログラムを実行する例えばリスク(RISC)CPU(セントラルプロセッシングユニット)10を備える。CPU10は、図示しないブートROMに記憶された起動プログラムを実行し、メインメモリ13等のメモリの初期化等を行った後、光ディスク4に記憶されているゲームプログラムを実行し、そのゲームプログラムに応じたゲーム処理等を行うものである。CPU10には、メモリコントローラ11を介して、GPU(Graphics Processing Unit)12、メインメモリ13、DSP(Digital Signal Processor)14、およびARAM(Audio RAM)15が接続される。また、メモリコントローラ11には、所定のバスを介して、コントローラI/F(インターフェース)16、ビデオI/F17、外部メモリI/F18、オーディオI/F19、およびディスクI/F21が接続され、それぞれ受信ユニット6、モニタ2、外部メモリカード5、スピーカ22、およびディスクドライブ20が接続されている。   In FIG. 2, the game apparatus 3 includes, for example, a risk (RISC) CPU (Central Processing Unit) 10 that executes various programs. The CPU 10 executes a boot program stored in a boot ROM (not shown), initializes a memory such as the main memory 13, and executes a game program stored in the optical disc 4, and according to the game program. Game processing and the like. A GPU (Graphics Processing Unit) 12, a main memory 13, a DSP (Digital Signal Processor) 14, and an ARAM (Audio RAM) 15 are connected to the CPU 10 via a memory controller 11. Further, a controller I / F (interface) 16, a video I / F 17, an external memory I / F 18, an audio I / F 19, and a disk I / F 21 are connected to the memory controller 11 via a predetermined bus. The receiving unit 6, the monitor 2, the external memory card 5, the speaker 22, and the disk drive 20 are connected.

GPU12は、CPU10の命令に基づいて画像処理を行うものあり、例えば、3Dグラフィックスの表示に必要な計算処理を行う半導体チップで構成される。GPU12は、図示しない画像処理専用のメモリやメインメモリ13の一部の記憶領域を用いて画像処理を行う。GPU12は、これらを用いてモニタ2に表示すべきゲーム画像データやムービー映像を生成し、適宜メモリコントローラ11およびビデオI/F17を介してモニタ2に出力する。   The GPU 12 performs image processing based on a command from the CPU 10, and is configured of a semiconductor chip that performs calculation processing necessary for displaying 3D graphics, for example. The GPU 12 performs image processing using a memory dedicated to image processing (not shown) and a partial storage area of the main memory 13. The GPU 12 generates game image data and movie video to be displayed on the monitor 2 using these, and outputs them to the monitor 2 through the memory controller 11 and the video I / F 17 as appropriate.

メインメモリ13は、CPU10で使用される記憶領域であって、CPU10の処理に必要なゲームプログラム等を適宜記憶する。例えば、メインメモリ13は、CPU10によって光ディスク4から読み出されたゲームプログラムや各種データ等を記憶する。このメインメモリ13に記憶されたゲームプログラムや各種データ等がCPU10によって実行される。   The main memory 13 is a storage area used by the CPU 10 and appropriately stores game programs and the like necessary for the processing of the CPU 10. For example, the main memory 13 stores a game program read from the optical disc 4 by the CPU 10 and various data. The game program and various data stored in the main memory 13 are executed by the CPU 10.

DSP14は、ゲームプログラム実行時にCPU10において生成されるサウンドデータ等を処理するものであり、そのサウンドデータ等を記憶するためのARAM15が接続される。ARAM15は、DSP14が所定の処理(例えば、先読みしておいたゲームプログラムやサウンドデータの記憶)を行う際に用いられる。DSP14は、ARAM15に記憶されたサウンドデータを読み出し、メモリコントローラ11およびオーディオI/F19を介してモニタ2に備えるスピーカ22に出力させる。   The DSP 14 processes sound data generated in the CPU 10 when the game program is executed, and is connected to an ARAM 15 for storing the sound data. The ARAM 15 is used when the DSP 14 performs a predetermined process (for example, storing a pre-read game program or sound data). The DSP 14 reads the sound data stored in the ARAM 15 and outputs the sound data to the speaker 22 provided in the monitor 2 via the memory controller 11 and the audio I / F 19.

メモリコントローラ11は、データ転送を統括的に制御するものであり、上述した各種I/Fが接続される。コントローラI/F16は、例えば4つのコントローラI/Fで構成され、それらが有するコネクタを介して嵌合可能な外部機器とゲーム装置3とを通信可能に接続する。例えば、受信ユニット6は、上記コネクタと嵌合し、コントローラI/F16を介してゲーム装置3と接続される。上述したように受信ユニット6は、コントローラ7からの操作データを受信し、コントローラI/F16を介して当該操作データをCPU10へ出力する。なお、他の実施形態においては、ゲーム装置3は、受信ユニット6に代えて、コントローラ7から送信されてくる操作データを受信する受信モジュールをその内部に設ける構成としてもよい。この場合、受信モジュールが受信した送信データは、所定のバスを介してCPU10に出力される。ビデオI/F17には、モニタ2が接続される。外部メモリI/F18には、外部メモリカード5が接続され、その外部メモリカード5に設けられたバックアップメモリ等とアクセス可能となる。オーディオI/F19にはモニタ2に内蔵されるスピーカ22が接続され、DSP14がARAM15から読み出したサウンドデータやディスクドライブ20から直接出力されるサウンドデータをスピーカ22から出力可能に接続される。ディスクI/F21には、ディスクドライブ20が接続される。ディスクドライブ20は、所定の読み出し位置に配置された光ディスク4に記憶されたデータを読み出し、ゲーム装置3のバスやオーディオI/F19に出力する。   The memory controller 11 comprehensively controls data transfer and is connected to the various I / Fs described above. The controller I / F 16 includes, for example, four controller I / Fs, and connects the external device and the game apparatus 3 that can be fitted to each other via a connector included in the controller I / F so as to communicate with each other. For example, the receiving unit 6 is engaged with the connector and connected to the game apparatus 3 via the controller I / F 16. As described above, the receiving unit 6 receives operation data from the controller 7 and outputs the operation data to the CPU 10 via the controller I / F 16. In another embodiment, the game apparatus 3 may have a configuration in which a reception module that receives operation data transmitted from the controller 7 is provided instead of the reception unit 6. In this case, the transmission data received by the receiving module is output to the CPU 10 via a predetermined bus. A monitor 2 is connected to the video I / F 17. The external memory I / F 18 is connected to the external memory card 5 and can access a backup memory or the like provided in the external memory card 5. A speaker 22 built in the monitor 2 is connected to the audio I / F 19 so that sound data read by the DSP 14 from the ARAM 15 and sound data directly output from the disk drive 20 can be output from the speaker 22. A disk drive 20 is connected to the disk I / F 21. The disk drive 20 reads data stored on the optical disk 4 arranged at a predetermined reading position, and outputs it to the bus of the game apparatus 3 and the audio I / F 19.

次に、図3A〜図8を参照して、コントローラ7について説明する。図3A〜図4は、コントローラ7の外観構成を示す斜視図である。図3Aは、コントローラ7の上面後方から見た斜視図であり、図3Bは、コントローラ7を下面後方から見た斜視図である。図4は、コントローラ7を前方から見た図である。   Next, the controller 7 will be described with reference to FIGS. 3A to 8. 3A to 4 are perspective views showing an external configuration of the controller 7. FIG. FIG. 3A is a perspective view of the controller 7 as viewed from the upper rear side, and FIG. 3B is a perspective view of the controller 7 as viewed from the lower rear side. FIG. 4 is a view of the controller 7 as viewed from the front.

図3A〜図4において、コントローラ7は、例えばプラスチック成型によって形成されたハウジング31を有している。ハウジング31は、その前後方向(図3に示すZ軸方向)を長手方向とした略直方体形状を有しており、全体として大人や子供の片手で把持可能な大きさである。プレイヤは、コントローラ7を用いることによって、それに設けられたボタンを押下すること、コントローラ7自体の傾き(重力方向に対する角度)を変えること、および、コントローラ7自体の位置や向きを変えることによってゲーム操作を行うことができる。例えば、プレイヤは、コントローラ7の傾きを変化させることによって、ゲーム空間に登場する操作対象(後述するキャラクタ51等)に対する操作を行うことができる。また、例えば、プレイヤは、長手方向を軸としてコントローラ7を回転させたり、コントローラ7によって指し示される画面上の位置を変えたりする操作によって、操作対象に対する操作を行うことができる。ここで、「コントローラ7によって指し示される画面上の位置」とは、理想的には、コントローラ7の前端部から上記長手方向に延ばした直線とモニタ2の画面とが交わる位置であるが、厳密に当該位置である必要はなく、その周辺の位置をゲーム装置3によって算出することができればよい。以下では、コントローラ7によって指し示される画面上の位置を「コントローラ7の指示位置」と呼ぶ。また、コントローラ7(ハウジング31)の長手方向を、「コントローラ7の指示方向」と呼ぶことがある。   3A to 4, the controller 7 includes a housing 31 formed by plastic molding, for example. The housing 31 has a substantially rectangular parallelepiped shape whose longitudinal direction is the front-rear direction (the Z-axis direction shown in FIG. 3), and is a size that can be gripped with one hand of an adult or a child as a whole. The player operates the game by pressing a button provided on the controller 7, changing the tilt (angle with respect to the direction of gravity) of the controller 7 itself, and changing the position and orientation of the controller 7 itself. It can be performed. For example, the player can perform an operation on an operation target (such as a character 51 described later) appearing in the game space by changing the tilt of the controller 7. Further, for example, the player can perform an operation on the operation target by an operation of rotating the controller 7 about the longitudinal direction or changing a position on the screen indicated by the controller 7. Here, the “position on the screen indicated by the controller 7” is ideally a position where the straight line extending in the longitudinal direction from the front end of the controller 7 and the screen of the monitor 2 intersect. It is not necessary to be the position, and it is only necessary that the surrounding position can be calculated by the game apparatus 3. Hereinafter, the position on the screen pointed to by the controller 7 is referred to as a “designated position of the controller 7”. Further, the longitudinal direction of the controller 7 (housing 31) may be referred to as “instruction direction of the controller 7”.

ハウジング31には、複数の操作ボタンが設けられる。ハウジング31の上面には、十字キー32a、Xボタン32b、Yボタン32c、Bボタン32d、セレクトスイッチ32e、メニュースイッチ32f、およびスタートスイッチ32gが設けられる。一方、ハウジング31の下面には凹部が形成されており、当該凹部の後面側傾斜面にはAボタン32iが設けられる。これらの各ボタン(スイッチ)は、ゲーム装置3が実行するゲームプログラムに応じてそれぞれの機能が割り当てられるが、本発明の説明とは直接関連しないため詳細な説明を省略する。また、ハウジング31の上面には、遠隔からゲーム装置3本体の電源をオン/オフするための電源スイッチ32hが設けられる。   The housing 31 is provided with a plurality of operation buttons. On the upper surface of the housing 31, a cross key 32a, an X button 32b, a Y button 32c, a B button 32d, a select switch 32e, a menu switch 32f, and a start switch 32g are provided. On the other hand, a recess is formed on the lower surface of the housing 31, and an A button 32i is provided on the rear inclined surface of the recess. Each of these buttons (switches) is assigned a function according to a game program executed by the game apparatus 3, but detailed description thereof is omitted because it is not directly related to the description of the present invention. In addition, a power switch 32h for turning on / off the power source of the game apparatus 3 from a remote location is provided on the upper surface of the housing 31.

また、コントローラ7は撮像情報演算部35(図5B)を有しており、図4に示すように、ハウジング31前面には撮像情報演算部35の光入射口35aが設けられる。一方、ハウジング31の後面にはコネクタ33が設けられている。コネクタ33は、例えば32ピンのエッジコネクタであり、コントローラ7に他の機器を接続するために利用される。また、ハウジング31上面の後面側には複数のLED34が設けられる。ここで、コントローラ7には、他のコントローラ7と区別するためにコントローラ種別(番号)が付与される。LED34は、コントローラ7に現在設定されている上記コントローラ種別をプレイヤに通知するために用いられる。具体的には、コントローラ7からゲーム装置3へ操作データを送信する際、上記コントローラ種別に応じて複数のLED34のいずれか1つが点灯する。   The controller 7 has an imaging information calculation unit 35 (FIG. 5B). As shown in FIG. 4, a light incident port 35 a of the imaging information calculation unit 35 is provided on the front surface of the housing 31. On the other hand, a connector 33 is provided on the rear surface of the housing 31. The connector 33 is a 32-pin edge connector, for example, and is used to connect another device to the controller 7. A plurality of LEDs 34 are provided on the rear surface side of the upper surface of the housing 31. Here, a controller type (number) is assigned to the controller 7 in order to distinguish it from other controllers 7. The LED 34 is used to notify the player of the controller type currently set in the controller 7. Specifically, when operating data is transmitted from the controller 7 to the game apparatus 3, any one of the plurality of LEDs 34 is turned on according to the controller type.

次に、図5Aおよび図5Bを参照して、コントローラ7の内部構造について説明する。図5Aおよび図5Bは、コントローラ7の内部構造を示す図である。なお、図5Aは、コントローラ7の上筐体(ハウジング31の一部)を外した状態を示す斜視図である。図5Bは、コントローラ7の下筐体(ハウジング31の一部)を外した状態を示す斜視図である。図5Bに示す基板300は、図5Aに示す基板300の裏面から見た斜視図となっている。   Next, the internal structure of the controller 7 will be described with reference to FIGS. 5A and 5B. 5A and 5B are diagrams showing the internal structure of the controller 7. FIG. 5A is a perspective view showing a state in which the upper housing (a part of the housing 31) of the controller 7 is removed. FIG. 5B is a perspective view showing a state where the lower casing (a part of the housing 31) of the controller 7 is removed. The substrate 300 shown in FIG. 5B is a perspective view seen from the back surface of the substrate 300 shown in FIG. 5A.

図5Aにおいて、ハウジング31の内部には基板300が固設されており、当該基板300の上主面上に操作ボタン32a〜32h、加速度センサ37、LED34、水晶振動子46、無線モジュール44、およびアンテナ45等が設けられる。そして、これらは、基板300等に形成された配線(図示せず)によってマイクロコンピュータ(Micro Computer:マイコン)42(図6参照)に接続される。また、無線モジュール44およびアンテナ45によって、コントローラ7がワイヤレスコントローラとして機能する。なお、水晶振動子46は、後述するマイコン42の基本クロックを生成する。   5A, a substrate 300 is fixed inside the housing 31, and operation buttons 32a to 32h, an acceleration sensor 37, an LED 34, a crystal resonator 46, a wireless module 44, and a wireless module 44 are provided on the upper main surface of the substrate 300. An antenna 45 and the like are provided. These are connected to a microcomputer (microcomputer) 42 (see FIG. 6) by wiring (not shown) formed on the substrate 300 or the like. Further, the controller 7 functions as a wireless controller by the wireless module 44 and the antenna 45. The crystal unit 46 generates a basic clock for the microcomputer 42 described later.

一方、図5Bにおいて、基板300の下主面上の前端縁に撮像情報演算部35が設けられる。撮像情報演算部35は、コントローラ7の前方から順に赤外線フィルタ38、レンズ39、撮像素子40、および画像処理回路41によって構成されおり、それぞれ基板300の下主面に取り付けられる。また、基板300の下主面上の後端縁にコネクタ33が取り付けられる。そして、撮像情報演算部35の後方であって基板300の下主面上にAボタン32iが取り付けられていて、それよりさらに後方に、電池47が収容される。電池47とコネクタ33との間の基板300の下主面上には、バイブレータ48が取り付けられる。このバイブレータ48は、例えば振動モータやソレノイドであってよい。バイブレータ48が作動することによってコントローラ7に振動が発生するので、それを把持しているプレイヤの手にその振動が伝達され、いわゆる振動対応ゲームを実現することができる。   On the other hand, in FIG. 5B, the imaging information calculation unit 35 is provided at the front edge on the lower main surface of the substrate 300. The imaging information calculation unit 35 includes an infrared filter 38, a lens 39, an imaging element 40, and an image processing circuit 41 in order from the front of the controller 7, and is attached to the lower main surface of the substrate 300. The connector 33 is attached to the rear edge on the lower main surface of the substrate 300. The A button 32i is attached to the lower main surface of the substrate 300 behind the imaging information calculation unit 35, and the battery 47 is accommodated further rearward. A vibrator 48 is attached on the lower main surface of the substrate 300 between the battery 47 and the connector 33. The vibrator 48 may be, for example, a vibration motor or a solenoid. Since the vibration is generated in the controller 7 by the operation of the vibrator 48, the vibration is transmitted to the hand of the player holding the vibrator 48, and a so-called vibration-compatible game can be realized.

なお、図3A〜図5Bに示したコントローラ7の形状や、各操作ボタンの形状、数および設置位置等は単なる一例に過ぎず、他の形状、数、および設置位置であっても、本発明を実現することができることは言うまでもない。また、コントローラ7における撮像情報演算部35の位置(撮像情報演算部35の光入射口35a)は、ハウジング31の前面でなくてもよく、ハウジング31の外部から光を取り入れることができれば他の面に設けられてもかまわない。このとき、上記「コントローラ7の指示方向」は、光入射口に垂直な方向、すなわち、撮像素子40の撮像方向となる。   It should be noted that the shape of the controller 7 shown in FIGS. 3A to 5B, the shape, number, and installation position of each operation button are merely examples, and the present invention may be applied to other shapes, numbers, and installation positions. It goes without saying that can be realized. Further, the position of the imaging information calculation unit 35 in the controller 7 (the light incident port 35a of the imaging information calculation unit 35) does not have to be the front surface of the housing 31, and other surfaces can be used as long as light can be taken in from the outside of the housing 31. May be provided. At this time, the “instruction direction of the controller 7” is a direction perpendicular to the light incident port, that is, an imaging direction of the imaging element 40.

図6は、コントローラ7の構成を示すブロック図である。コントローラ7は、上述した加速度センサ37をその内部に備えている。加速度センサ37は、コントローラ7の加速度(重力加速度を含む)を検出する、すなわち、コントローラ7に加わる力(重力を含む)を検出する。以下、図7および図8を用いて、加速度の検出について詳細に説明する。   FIG. 6 is a block diagram showing the configuration of the controller 7. The controller 7 includes the acceleration sensor 37 described above. The acceleration sensor 37 detects the acceleration (including gravitational acceleration) of the controller 7, that is, detects the force (including gravity) applied to the controller 7. Hereinafter, acceleration detection will be described in detail with reference to FIGS. 7 and 8.

図7および図8は、コントローラ7の傾きと加速度センサの出力との関係を示す図である。なお、図7および図8に示すX’Y’Z’座標系は、コントローラ7を基準とした直交座標系であり、コントローラ7の回転に対応して回転し、コントローラ7の移動に対応して原点が移動する座標系である。ここでは、コントローラ7を基準とした上方向をY’軸正方向とし、前方向をZ’軸正方向とし、後側から前側を向いたときの左方向をX’軸正方向とする。   7 and 8 are diagrams showing the relationship between the inclination of the controller 7 and the output of the acceleration sensor. Note that the X′Y′Z ′ coordinate system shown in FIGS. 7 and 8 is an orthogonal coordinate system based on the controller 7, and rotates in accordance with the rotation of the controller 7 and corresponds to the movement of the controller 7. A coordinate system in which the origin moves. Here, the upward direction with reference to the controller 7 is defined as the Y′-axis positive direction, the forward direction is defined as the Z′-axis positive direction, and the left direction when viewed from the rear side toward the front side is defined as the X′-axis positive direction.

図7および図8に示すように、加速度センサ37は、コントローラ7を基準とした上下方向(図7に示すY’軸方向)、左右方向(図7に示すX’軸方向)および前後方向(図7に示すZ’軸方向)の3軸方向に関してそれぞれ加速度を検出する。加速度センサ37は、各軸に沿った直線方向に関する加速度を検出するものであるため、加速度センサからの出力は各軸ごとの加速度値を表す。したがって、検出された加速度は、コントローラ7を基準に設定されるX’Y’Z’座標系(図7および図8参照)における3次元のベクトルとして表される。   As shown in FIGS. 7 and 8, the acceleration sensor 37 has a vertical direction (Y′-axis direction shown in FIG. 7), a horizontal direction (X′-axis direction shown in FIG. 7), and a front-back direction (with reference to the controller 7). The acceleration is detected in each of the three axial directions (Z′-axis direction shown in FIG. 7). Since the acceleration sensor 37 detects acceleration in the linear direction along each axis, the output from the acceleration sensor represents an acceleration value for each axis. Therefore, the detected acceleration is represented as a three-dimensional vector in the X′Y′Z ′ coordinate system (see FIGS. 7 and 8) set with reference to the controller 7.

図7は、重力加速度(図7に示すベクトルVa)がコントローラ7を基準とした下方向を向く状態を示している。なお、図7および図8では、コントローラ7は静止状態にあるものとする。図7に示す状態では、加速度センサ37によって検出される加速度の値(以下「加速度ベクトル」と呼ぶ)Vaは、Y’軸負方向を向く。このとき、加速度ベクトルVaは、Y’座標値のみが0でない値をとり、X’座標値およびZ’座標値は0となる。一方、図8は、図7に示す状態から、Z’軸を中心として回転させるようにコントローラ7を傾けた状態を示している。図8に示す状態では、加速度ベクトルVaの向きは図7に示す状態から変化し、X’座標値およびY’座標値が0でない値となり、Z’軸を中心として回転させているのでz座標値は0となる。図7および図8に示したように、加速度センサ37は、コントローラ7を基準とした3軸方向を各成分とする加速度の値を検出することができる。そして、マイコン42やCPU10などのコンピュータを利用したソフトウェア処理によって、検出した加速度の値を3軸方向の各成分からなる加速度ベクトルとして扱って演算を行うことによりコントローラ7の傾きを算出することができる。   FIG. 7 shows a state in which the gravitational acceleration (vector Va shown in FIG. 7) is directed downward with the controller 7 as a reference. 7 and 8, the controller 7 is assumed to be stationary. In the state shown in FIG. 7, the acceleration value (hereinafter referred to as “acceleration vector”) Va detected by the acceleration sensor 37 is in the negative Y′-axis direction. At this time, the acceleration vector Va takes a value in which only the Y ′ coordinate value is not 0, and the X ′ coordinate value and the Z ′ coordinate value are 0. On the other hand, FIG. 8 shows a state where the controller 7 is tilted so as to rotate around the Z ′ axis from the state shown in FIG. 7. In the state shown in FIG. 8, the direction of the acceleration vector Va changes from the state shown in FIG. 7, the X ′ coordinate value and the Y ′ coordinate value are non-zero values, and the Z coordinate is rotated because the rotation is performed about the Z ′ axis. The value is 0. As shown in FIG. 7 and FIG. 8, the acceleration sensor 37 can detect acceleration values having components in the three-axis directions with reference to the controller 7. Then, the inclination of the controller 7 can be calculated by performing a calculation by treating the detected acceleration value as an acceleration vector composed of components in three axes by software processing using a computer such as the microcomputer 42 or the CPU 10. .

加速度センサ37が検出した加速度を示すデータ(加速度データ)は、マイコン42へ出力される。なお、本実施形態では、加速度センサ37は、逐次(具体的には1フレーム時間毎)に加速度に応じた値を出力する。ゲーム装置3は、この値を加速度ベクトルとして扱いかつ所定の演算によりコントローラ7の傾き(姿勢)を算出し、当該傾きに応じたゲーム処理を実行する。   Data (acceleration data) indicating the acceleration detected by the acceleration sensor 37 is output to the microcomputer 42. In the present embodiment, the acceleration sensor 37 outputs a value corresponding to the acceleration sequentially (specifically, every frame time). The game apparatus 3 treats this value as an acceleration vector, calculates the inclination (attitude) of the controller 7 by a predetermined calculation, and executes a game process corresponding to the inclination.

また、本実施形態においては、コントローラ7が静止している状態で加速度センサ37によって検出される加速度の大きさ、すなわち、加速度センサ37によって検出される加速度が重力加速度のみを表すときの当該加速度の大きさを、1と表す。例えば、図7に示す状態において検出される加速度ベクトルVaの各成分の値は、(X’,Y’,Z’)=(0,1,0)となる。   In the present embodiment, the magnitude of the acceleration detected by the acceleration sensor 37 while the controller 7 is stationary, that is, the acceleration when the acceleration detected by the acceleration sensor 37 represents only the gravitational acceleration. The size is represented as 1. For example, the value of each component of the acceleration vector Va detected in the state shown in FIG. 7 is (X ′, Y ′, Z ′) = (0, 1, 0).

なお、加速度センサ37は、典型的には静電容量式の加速度センサが用いられるが、コントローラ7の傾きを算出することができるものであればよく、他の方式の加速度センサやジャイロスコープを用いることができる。しかしながら、加速度センサは各軸に沿った直線方向の加速度をそれぞれ検出するものであるのに対して、ジャイロスコープは回転に伴う角速度を検出するものである。つまり、加速度センサに代えてジャイロスコープを採用する場合には、上記のように検出される信号の性質が異なるため、両者を簡単に置き換えることはできない。そこで、加速度センサの代わりにジャイロスコープを用いて傾きを算出する場合には、大幅な変更を行う。具体的には、検出開始の状態において傾きの値を初期化する。そして、当該ジャイロスコープから出力される角速度のデータを積分する。さらに、積分結果を用いて、初期化された傾きの値からの傾きの変化量を算出する。この場合、算出される傾きは、角度で表されることになる。   The acceleration sensor 37 is typically a capacitance type acceleration sensor. However, any acceleration sensor 37 or any other type of acceleration sensor or gyroscope may be used as long as the inclination of the controller 7 can be calculated. be able to. However, the acceleration sensor detects acceleration in the linear direction along each axis, whereas the gyroscope detects angular velocity associated with rotation. In other words, when a gyroscope is employed instead of the acceleration sensor, the nature of the signal detected as described above is different, and thus both cannot be easily replaced. Therefore, when the inclination is calculated using a gyroscope instead of the acceleration sensor, a significant change is made. Specifically, the inclination value is initialized in the detection start state. Then, the angular velocity data output from the gyroscope is integrated. Further, using the integration result, the change amount of the slope from the initialized slope value is calculated. In this case, the calculated inclination is represented by an angle.

なお、既に説明したように、加速度センサによって傾きを算出する場合には、重力加速度のそれぞれの軸に関する成分の値を、所定の基準と比較することによって傾きを算出する。したがって、算出される傾きはベクトルで表すことが可能であり、初期化を行わずとも絶対的な方向を検出することが可能である点で、加速度センサを用いる場合とジャイロスコープを用いる場合とで異なる。また、傾きとして算出される値の性質も上記のように角度であるかベクトルであるかの違いがあるので、加速度センサからジャイロスコープへの置き換えを行う際には当該傾きのデータに対しても所定の変換を行う必要がある。   As described above, when the inclination is calculated by the acceleration sensor, the inclination is calculated by comparing the value of the component relating to each axis of the gravitational acceleration with a predetermined reference. Therefore, the calculated inclination can be expressed as a vector, and it is possible to detect the absolute direction without performing initialization. In the case of using an acceleration sensor and the case of using a gyroscope. Different. In addition, since the property of the value calculated as the tilt also differs depending on whether it is an angle or a vector as described above, when replacing the acceleration sensor with the gyroscope, the data of the tilt is also used. It is necessary to perform a predetermined conversion.

図6の説明に戻り、コントローラ7は、加速度センサ37の他に、操作部32(各操作ボタン)、撮像情報演算部35、および通信部36を備えている。   Returning to the description of FIG. 6, in addition to the acceleration sensor 37, the controller 7 includes an operation unit 32 (each operation button), an imaging information calculation unit 35, and a communication unit 36.

撮像情報演算部35は、撮像手段が撮像した画像データを解析してその中で輝度が高い場所を判別してその場所の重心位置やサイズなどを算出するためのシステムである。撮像情報演算部35は、例えば最大200フレーム/秒程度のサンプリング周期を有するので、比較的高速なコントローラ7の動きでも追跡して解析することができる。   The imaging information calculation unit 35 is a system for analyzing the image data captured by the imaging unit, determining a location where the luminance is high in the image data, and calculating the position of the center of gravity and the size of the location. Since the imaging information calculation unit 35 has a sampling period of, for example, about 200 frames / second at the maximum, it can track and analyze even a relatively fast movement of the controller 7.

具体的には、撮像情報演算部35は、赤外線フィルタ38、レンズ39、撮像素子40、および画像処理回路41を含んでいる。赤外線フィルタ38は、コントローラ7の前方から入射する光から赤外線のみを通過させる。ここで、モニタ2の表示画面近傍に配置されるマーカ8aおよび8bは、モニタ2の前方に向かって赤外光を出力する赤外LEDである。したがって、赤外線フィルタ38を設けることによってマーカ8aおよび8bの画像をより正確に撮像することができる。レンズ39は、赤外線フィルタ38を透過した赤外線を集光して撮像素子40へ入射させる。撮像素子40は、例えばCMOSセンサやあるいはCCDのような固体撮像素子であり、レンズ39が集光した赤外線を撮像する。したがって、撮像素子40は、赤外線フィルタ38を通過した赤外線だけを撮像して画像データを生成する。以下では、撮像素子40によって撮像された画像を撮像画像と呼ぶ。撮像素子40によって生成された画像データは、画像処理回路41で処理される。画像処理回路41は、撮像画像内における撮像対象(マーカ8aおよび8b)の位置を算出する。以下、図9を用いて撮像対象の位置の算出方法を説明する。   Specifically, the imaging information calculation unit 35 includes an infrared filter 38, a lens 39, an imaging element 40, and an image processing circuit 41. The infrared filter 38 allows only infrared light to pass from light incident from the front of the controller 7. Here, the markers 8 a and 8 b arranged in the vicinity of the display screen of the monitor 2 are infrared LEDs that output infrared light toward the front of the monitor 2. Therefore, by providing the infrared filter 38, the images of the markers 8a and 8b can be taken more accurately. The lens 39 collects the infrared light transmitted through the infrared filter 38 and makes it incident on the image sensor 40. The image sensor 40 is a solid-state image sensor such as a CMOS sensor or a CCD, for example, and images the infrared rays collected by the lens 39. Accordingly, the image sensor 40 captures only the infrared light that has passed through the infrared filter 38 and generates image data. Hereinafter, an image captured by the image sensor 40 is referred to as a captured image. Image data generated by the image sensor 40 is processed by the image processing circuit 41. The image processing circuit 41 calculates the position of the imaging target (markers 8a and 8b) in the captured image. Hereinafter, a method of calculating the position of the imaging target will be described with reference to FIG.

図9は、撮像画像の一例を示す図である。図9に示す撮像画像A1においては、マーカ8aの画像8a’およびマーカ8bの画像8b’が左右に並んでいる。撮像画像が入力されると、まず、画像処理回路41は、撮像画像内において所定条件に合致する領域の位置を示す座標を当該領域毎に算出する。ここで、所定条件とは、撮像対象の画像(対象画像)を特定するための条件であり、所定条件の具体的な内容は、輝度が所定値以上の領域(高輝度領域)であり、かつ、領域の大きさが所定範囲内の大きさであることである。なお、所定条件は撮像対象を特定するための条件であればよく、他の実施形態においては、画像の色に関する条件を含んでいてもよい。   FIG. 9 is a diagram illustrating an example of a captured image. In the captured image A1 shown in FIG. 9, the image 8a 'of the marker 8a and the image 8b' of the marker 8b are arranged side by side. When a captured image is input, first, the image processing circuit 41 calculates, for each region, coordinates indicating the position of a region that matches a predetermined condition in the captured image. Here, the predetermined condition is a condition for specifying an image (target image) to be imaged, and the specific content of the predetermined condition is an area having a luminance equal to or higher than a predetermined value (high luminance area), and The size of the region is within a predetermined range. The predetermined condition may be a condition for specifying an imaging target, and in other embodiments, may include a condition related to the color of the image.

対象画像の位置を算出する際、まず、画像処理回路41は、撮像画像の領域から上記高輝度領域を対象画像の候補として特定する。撮像画像の画像データにおいて対象画像は高輝度領域として現れるからである。次に、画像処理回路41は、特定された高輝度領域の大きさに基づいて、その高輝度領域が対象画像であるか否かを判定する判定処理を行う。撮像画像には、対象画像である2つのマーカ8aおよび8bの画像8a’および8b’の他、窓からの太陽光や部屋の蛍光灯の光によって対象画像以外の画像が含まれている場合がある。この場合、マーカ8aおよび8bの画像8a’および8b’以外の画像も高輝度領域として現れてしまう。上記の判定処理は、対象画像であるマーカ8aおよび8bの画像8a’および8b’とそれ以外の画像とを区別し、対象画像を正確に特定するための処理である。具体的には、当該判定処理においては、特定された高輝度領域が、予め定められた所定範囲内の大きさであるか否かが判定される。そして、高輝度領域が所定範囲内の大きさである場合、当該高輝度領域は対象画像を表すと判定され、高輝度領域が所定範囲内の大きさでない場合、当該高輝度領域は対象画像以外の画像を表すと判定される。   When calculating the position of the target image, first, the image processing circuit 41 specifies the high-intensity region as a target image candidate from the captured image region. This is because the target image appears as a high luminance area in the image data of the captured image. Next, the image processing circuit 41 performs determination processing for determining whether or not the high luminance area is a target image based on the size of the specified high luminance area. In addition to the images 8a ′ and 8b ′ of the two markers 8a and 8b that are target images, the captured image may include images other than the target image due to sunlight from a window or light from a fluorescent lamp in a room. is there. In this case, images other than the images 8a 'and 8b' of the markers 8a and 8b also appear as high luminance areas. The above determination process is a process for distinguishing the images 8a 'and 8b' of the markers 8a and 8b, which are target images, from the other images, and accurately specifying the target image. Specifically, in the determination process, it is determined whether or not the specified high luminance area has a size within a predetermined range. If the high brightness area is a size within the predetermined range, the high brightness area is determined to represent the target image. If the high brightness area is not a size within the predetermined range, the high brightness area is other than the target image. It is determined that the image is represented.

さらに、上記の判定処理の結果、対象画像を表すと判定された高輝度領域について、画像処理回路41は当該高輝度領域の位置を算出する。具体的には、当該高輝度領域の重心位置を算出する。なお、重心位置は撮像素子40の解像度よりも詳細なスケールで算出することが可能である。ここでは、撮像素子40によって撮像された撮像画像の解像度が126×96であるとし、重心位置は1024×768のスケールで算出されるものとする。つまり、重心位置の座標は、(0,0)から(1024,768)までの整数値で表現される。なお、撮像画像における位置は、図9に示すように、撮像画像の左上を原点とし、下向きをy軸正方向とし、右向きをx軸正方向とする座標系(xy座標系)で表現されるものとする。   Furthermore, as a result of the above determination processing, the image processing circuit 41 calculates the position of the high luminance region for the high luminance region determined to represent the target image. Specifically, the barycentric position of the high brightness area is calculated. Note that the position of the center of gravity can be calculated on a more detailed scale than the resolution of the image sensor 40. Here, it is assumed that the resolution of the captured image captured by the image sensor 40 is 126 × 96, and the position of the center of gravity is calculated on a scale of 1024 × 768. That is, the coordinates of the barycentric position are expressed by integer values from (0, 0) to (1024, 768). As shown in FIG. 9, the position in the captured image is expressed in a coordinate system (xy coordinate system) in which the upper left of the captured image is the origin, the downward direction is the y-axis positive direction, and the right direction is the x-axis positive direction. Shall.

以上のようにして、画像処理回路41は、撮像画像内において所定条件に合致する領域の位置を示す座標を当該領域毎に算出する。なお、以下では、画像処理回路41によって算出される座標をマーカ座標と呼ぶことがある。マーカ座標は、撮像画像に対応する平面上の位置を表すための座標系において撮像対象の位置を示す座標である。画像処理回路41は、マーカ座標を通信部36のマイコン42へ出力する。マーカ座標のデータは、マイコン42によって操作データとしてゲーム装置3に送信される。マーカ座標はコントローラ7自体の向きや位置に対応して変化するので、ゲーム装置3は当該座標値を用いてコントローラ7の向きや位置を算出することができる。なお、本実施形態では、撮像画像からマーカ座標を算出する処理までをコントローラ7の画像処理回路41および/またはマイコン42で行ったが、例えば撮像画像をゲーム装置3に送り、以降の処理と同等の処理をゲーム装置3のCPU10等で行わせることもできる。   As described above, the image processing circuit 41 calculates the coordinates indicating the position of the region that matches the predetermined condition in the captured image for each region. Hereinafter, the coordinates calculated by the image processing circuit 41 may be referred to as marker coordinates. The marker coordinates are coordinates indicating the position of the imaging target in the coordinate system for representing the position on the plane corresponding to the captured image. The image processing circuit 41 outputs the marker coordinates to the microcomputer 42 of the communication unit 36. The marker coordinate data is transmitted to the game apparatus 3 as operation data by the microcomputer 42. Since the marker coordinates change corresponding to the orientation and position of the controller 7 itself, the game apparatus 3 can calculate the orientation and position of the controller 7 using the coordinate values. In the present embodiment, the process from the captured image to the process of calculating the marker coordinates is performed by the image processing circuit 41 and / or the microcomputer 42 of the controller 7. However, for example, the captured image is sent to the game apparatus 3 and is equivalent to the subsequent processes. This processing can also be performed by the CPU 10 of the game apparatus 3 or the like.

操作部32は、上述した十字キー32a等の各操作ボタン32a〜32iに相当し、各操作ボタン32a〜32iに対する入力状態(各操作ボタン32a〜32iが押下されたか否か)を示すデータを通信部36のマイコン42へ出力する。   The operation unit 32 corresponds to each operation button 32a to 32i such as the cross key 32a described above, and communicates data indicating an input state (whether or not each operation button 32a to 32i is pressed) to each operation button 32a to 32i. The data is output to the microcomputer 42 of the unit 36.

通信部36は、マイコン42、メモリ43、無線モジュール44、およびアンテナ45を含んでいる。マイコン42は、処理の際にメモリ43を記憶領域として用いながら、マイコン42が取得したデータを無線送信する無線モジュール44を制御する。   The communication unit 36 includes a microcomputer 42, a memory 43, a wireless module 44, and an antenna 45. The microcomputer 42 controls the wireless module 44 that wirelessly transmits data acquired by the microcomputer 42 while using the memory 43 as a storage area during processing.

操作部32、加速度センサ37、および撮像情報演算部35からマイコン42へ出力されたデータは、一時的にメモリ43に格納される。ここで、通信部36から受信ユニット6への無線送信は所定の周期毎に行われるが、ゲームの処理は1/60秒を単位として(1フレーム時間として)行われることが一般的であるので、この時間以下の周期で送信を行うことが好ましい。マイコン42は、受信ユニット6への送信タイミングが到来すると、メモリ43に格納されているデータを操作データとして無線モジュール44へ出力する。無線モジュール44は、例えばBluetooth(ブルートゥース)(登録商標)の技術を用いて、所定周波数の搬送波を操作データで変調し、その微弱電波信号をアンテナ45から放射する。つまり、操作データは、無線モジュール44で微弱電波信号に変調されてコントローラ7から送信される。微弱電波信号はゲーム装置3側の受信ユニット6で受信される。受信された微弱電波信号について復調や復号を行うことによって、ゲーム装置3は操作データを取得することができる。そして、ゲーム装置3のCPU10は、取得した操作データとゲームプログラムとに基づいて、ゲーム処理を行う。   Data output from the operation unit 32, the acceleration sensor 37, and the imaging information calculation unit 35 to the microcomputer 42 is temporarily stored in the memory 43. Here, the wireless transmission from the communication unit 36 to the receiving unit 6 is performed at predetermined intervals, but the game processing is generally performed in units of 1/60 seconds (one frame time). It is preferable to perform transmission at a period equal to or shorter than this time. When the transmission timing to the receiving unit 6 arrives, the microcomputer 42 outputs the data stored in the memory 43 to the wireless module 44 as operation data. The wireless module 44 modulates a carrier wave of a predetermined frequency with operation data using, for example, Bluetooth (registered trademark) technology, and radiates a weak radio signal from the antenna 45. That is, the operation data is modulated by the wireless module 44 into a weak radio signal and transmitted from the controller 7. The weak radio signal is received by the receiving unit 6 on the game apparatus 3 side. By demodulating and decoding the received weak radio signal, the game apparatus 3 can acquire operation data. And CPU10 of the game device 3 performs a game process based on the acquired operation data and a game program.

上記コントローラ7を用いることによって、プレイヤは、各操作ボタンを押下する従来の一般的なゲーム操作に加えて、コントローラ7の傾きを変化させたり、コントローラ7自身の位置を動かしたり、コントローラ7を回転させたりするというゲーム操作を行うことができる。以下、上記コントローラ7を用いたゲーム操作について説明する。   By using the controller 7, the player can change the inclination of the controller 7, move the position of the controller 7, or rotate the controller 7 in addition to the conventional general game operation of pressing each operation button. It is possible to perform game operations such as Hereinafter, game operations using the controller 7 will be described.

図10は、コントローラ7を用いてゲーム操作するときの状態を概説する図解図である。図10に示すように、ゲームシステム1でコントローラ7を用いてゲームをプレイする際、プレイヤは、一方の手でコントローラ7を把持する。ここで、マーカ8aおよび8bは、モニタ2の画面の横方向と平行に、画面の上側に配置されている。なお、他の実施形態においては、マーカ8aおよび8bの配置位置ならびに2つのマーカ8aおよび8bを配置する向きは任意であり、例えば、マーカ8aおよび8bが画面の下側に配置されてもよいし、2つのマーカ8aおよび8bが画面の縦方向に沿って配置されてもよい。プレイヤは、コントローラ7の前面(撮像情報演算部35が撮像する光の入射口側)がマーカ8aおよび8bの方向を向く状態でコントローラ7を把持する。この状態で、プレイヤは、コントローラ7の傾きを変化させたり、コントローラ7が指し示す画面上の位置(指示位置)を変更したり、コントローラ7と各マーカ8aおよび8bとの距離を変更したりすることによってゲーム操作を行う。   FIG. 10 is an illustrative view outlining a state when a game operation is performed using the controller 7. As shown in FIG. 10, when playing a game using the controller 7 in the game system 1, the player holds the controller 7 with one hand. Here, the markers 8 a and 8 b are arranged on the upper side of the screen in parallel with the horizontal direction of the screen of the monitor 2. In another embodiment, the arrangement positions of the markers 8a and 8b and the direction in which the two markers 8a and 8b are arranged are arbitrary. For example, the markers 8a and 8b may be arranged on the lower side of the screen. Two markers 8a and 8b may be arranged along the vertical direction of the screen. The player holds the controller 7 in a state in which the front surface of the controller 7 (the light entrance side of the light imaged by the imaging information calculation unit 35) faces the direction of the markers 8a and 8b. In this state, the player changes the inclination of the controller 7, changes the position (instructed position) on the screen pointed to by the controller 7, or changes the distance between the controller 7 and each of the markers 8a and 8b. The game operation is performed by.

(第1実施例)
以下、上述したゲームシステム1を用いて行われるゲームの具体例について説明する。まず、第1実施例として、加速度センサ37の出力(加速度ベクトル)を用いてゲーム操作が行われるゲームについて説明する。なお、第1実施例では、撮像情報演算部35から出力されるデータはゲーム操作に用いられないので、コントローラ7は撮像情報演算部35を備えていない構成であってもよい。このとき、モニタ2の画面周辺に設置されるマーカ8aおよび8bは不要である。また、第1実施例では、コントローラ7のZ’軸周りの回転に関するコントローラ7の傾きを算出するので、加速度センサ37は、図7に示す3軸方向の加速度のうち、X’軸方向およびY’軸方向の2軸方向の加速度を少なくとも検知することができればよい。
(First embodiment)
Hereinafter, a specific example of a game performed using the above-described game system 1 will be described. First, a game in which a game operation is performed using the output (acceleration vector) of the acceleration sensor 37 will be described as a first embodiment. In the first embodiment, since the data output from the imaging information calculation unit 35 is not used for game operation, the controller 7 may not include the imaging information calculation unit 35. At this time, the markers 8a and 8b installed around the screen of the monitor 2 are unnecessary. In the first embodiment, since the inclination of the controller 7 with respect to the rotation of the controller 7 around the Z ′ axis is calculated, the acceleration sensor 37 includes the X ′ axis direction and the Y ′ axis among the accelerations in the three axis directions shown in FIG. 'It suffices to be able to detect at least the acceleration in two axial directions.

図11は、第1実施例におけるゲーム画像の例を示す図である。第1実施例におけるゲームは、仮想の3次元ゲーム空間(2次元でもよい)に配置されるキャラクタ51を回転させて(図11に示す矢印参照)遊ぶゲームである。第1実施例では、ゲーム装置3は、コントローラ7のZ’軸周りの回転に基づいてキャラクタ51を3次元ゲーム空間の所定の軸周りに回転させる。すなわち、モニタ2の画面に表示されるキャラクタ51の傾きをコントローラ7のX’軸方向およびY’軸方向の傾きに基づいて決定する。本明細書では、通常のゲーム処理(第1実施例では、コントローラ7を傾ける操作に基づいてキャラクタ51を回転させる処理)が行われているゲーム状態を、「非ポーズ状態」と呼ぶ。なお、以下に示す第1実施例の説明においては、「コントローラ7のX’軸方向およびY’軸方向の傾き」を単に「コントローラ7の傾き」と記載することがある。   FIG. 11 is a diagram illustrating an example of a game image in the first embodiment. The game in the first embodiment is a game that is played by rotating a character 51 (see an arrow shown in FIG. 11) arranged in a virtual three-dimensional game space (may be two-dimensional). In the first embodiment, the game apparatus 3 rotates the character 51 around a predetermined axis in the three-dimensional game space based on the rotation of the controller 7 around the Z ′ axis. That is, the inclination of the character 51 displayed on the screen of the monitor 2 is determined based on the inclination of the controller 7 in the X′-axis direction and the Y′-axis direction. In this specification, a game state in which a normal game process (in the first embodiment, a process of rotating the character 51 based on an operation of tilting the controller 7) is referred to as a “non-pause state”. In the following description of the first embodiment, “the inclination of the controller 7 in the X′-axis direction and the Y′-axis direction” may be simply referred to as “the inclination of the controller 7”.

非ポーズ状態において、ポーズボタン(一時停止を指示するためのボタン。例えばスタートスイッチ32g)をプレイヤが押下する操作(ポーズ操作)が行われると、ゲーム装置3はゲーム処理を一時停止し、ゲーム状態を非ポーズ状態からポーズ状態へ移行させる。ポーズ状態とは、ゲーム処理が一時停止されている状態であって、かつ、一時停止を解除するための操作の受け付けが開始されていない状態である。図12は、ポーズ状態におけるゲーム画像の例を示す図である。ポーズ状態においては、ゲーム処理が一時停止されてゲーム処理は実行されないので、キャラクタ51は回転しない。ポーズ状態においては、ポーズ画像52がモニタ2の画面に表示される。ポーズ画像52は、ゲーム処理が一時停止中であることをプレイヤに通知するための画像である。   In the non-pause state, when an operation (pause operation) in which the player presses a pause button (a button for instructing a pause. For example, the start switch 32g) is performed, the game apparatus 3 pauses the game process, and the game state Is shifted from the non-pause state to the pause state. The pause state is a state in which the game process is paused and acceptance of an operation for canceling the pause is not started. FIG. 12 is a diagram illustrating an example of a game image in a pause state. In the paused state, the game process is paused and the game process is not executed, so the character 51 does not rotate. In the pause state, a pause image 52 is displayed on the screen of the monitor 2. The pause image 52 is an image for notifying the player that the game process is paused.

ポーズ状態において、所定のボタン(例えばセレクトスイッチ32e)をプレイヤが押下すると、ゲーム装置3は、ゲーム状態をポーズ状態から解除受付状態へ移行させる。解除受付状態は、ゲーム処理が一時停止されている状態であって、かつ、一時停止を解除するための操作の受け付けが開始されている状態である。つまり、上記所定のボタンは、ゲーム状態をポーズ状態から解除受付状態へ移行させる指示を行うためのボタンである。以下では、上記所定のボタンを解除受付ボタンと呼ぶ。プレイヤは、ポーズ状態からゲームを再開したい場合、まず解除受付ボタンを押下して、一時停止の解除を受け付け可能な状態にする。図13は、解除受付状態におけるゲーム画像の例を示す図である。解除受付状態において、ゲーム装置3は、コントローラ7を模した2つのモデル53および54をモニタ2の画面に表示させる。第1モデル53は、現在のコントローラ7の状態を表す。すなわち、解除受付状態においてプレイヤがコントローラ7の傾きを変化させると、ゲーム装置3は当該傾きに合わせて第1モデル53の傾きを変化させる。一方、第2モデル54は、ゲーム処理が一時停止された時点のコントローラ7の状態を表す。   When the player presses a predetermined button (for example, the select switch 32e) in the pause state, the game apparatus 3 shifts the game state from the pause state to the release acceptance state. The release acceptance state is a state in which the game process is paused and an acceptance of an operation for releasing the pause is started. That is, the predetermined button is a button for giving an instruction to shift the game state from the pause state to the release acceptance state. Hereinafter, the predetermined button is referred to as a release acceptance button. When the player wants to resume the game from the paused state, the player first presses the release acceptance button so that the suspension can be accepted. FIG. 13 is a diagram illustrating an example of the game image in the release acceptance state. In the release acceptance state, the game apparatus 3 displays two models 53 and 54 simulating the controller 7 on the screen of the monitor 2. The first model 53 represents the current state of the controller 7. That is, when the player changes the inclination of the controller 7 in the release acceptance state, the game apparatus 3 changes the inclination of the first model 53 in accordance with the inclination. On the other hand, the second model 54 represents the state of the controller 7 when the game process is temporarily stopped.

解除受付状態においてゲーム装置3は、現在のコントローラ7の傾きがポーズ操作時(ゲーム処理が一時停止された時点)の傾きに一致するか否かを判定する。なお、第1実施例では、ゲーム装置3は、現在の傾きとポーズ操作時の傾きとが完全に一致しなくても、2つの傾きが所定の基準よりも近いと判断される場合には当該2つの傾きが一致したと判定する。判定の結果、一致すると判定される場合、ゲーム装置3は一時停止を解除する。したがって、ゲームを再開したいプレイヤは、コントローラ7の傾きがポーズ操作時の傾きに一致するように、コントローラ7を操作する。上述のように、解除受付状態においては各モデル53および54が表示されているので、プレイヤは、各モデル53および54を見ながら、第1モデル53の傾きが第2モデル54の傾きに一致するようにコントローラ7を操作すればよい。   In the release acceptance state, the game apparatus 3 determines whether or not the current inclination of the controller 7 matches the inclination at the time of the pause operation (when the game process is paused). In the first embodiment, the game apparatus 3 determines that the two inclinations are closer than a predetermined reference even if the current inclination and the inclination at the time of the pose operation do not completely match. It is determined that the two slopes match. As a result of the determination, when it is determined that they match, the game apparatus 3 releases the pause. Therefore, the player who wants to resume the game operates the controller 7 so that the inclination of the controller 7 matches the inclination at the time of the pause operation. As described above, since the models 53 and 54 are displayed in the release acceptance state, the player observes the models 53 and 54 and the inclination of the first model 53 matches the inclination of the second model 54. The controller 7 may be operated as described above.

図14は、一時停止が解除される時のゲーム画像の例を示す図である。図14に示すように、一時停止が解除される時点では、第1モデル53の傾きと第2モデル54の傾きとはほぼ一致している。また、一時停止が解除されると、ポーズ画像52ならびに各モデル53および54は消去される(画面に表示されなくなる)。なお、図14では、画面から削除される様子を点線で示している。以上のように一時停止が解除されることによって、ゲーム状態は解除受付状態から非ポーズ状態へ移行し、ゲーム処理が再開される。すなわち、ゲーム装置3は、コントローラ7を傾ける操作に基づいてキャラクタ51を回転させるゲーム処理を再開する。   FIG. 14 is a diagram illustrating an example of the game image when the pause is released. As shown in FIG. 14, when the temporary stop is released, the inclination of the first model 53 and the inclination of the second model 54 are substantially the same. When the pause is released, the pose image 52 and the models 53 and 54 are deleted (not displayed on the screen). In FIG. 14, the state of being deleted from the screen is indicated by a dotted line. By releasing the pause as described above, the game state shifts from the release acceptance state to the non-pause state, and the game process is resumed. That is, the game apparatus 3 resumes the game process for rotating the character 51 based on the operation of tilting the controller 7.

以上のように、第1実施例によれば、ポーズ操作によってゲーム処理が一時停止された場合、コントローラ7の状態がポーズ操作時の状態に近くなったことを条件としてゲーム処理が再開される。これによれば、ゲーム処理が再開される時点におけるコントローラ7の状態は、ポーズ操作時の状態とほぼ同じ状態となる。したがって、一時停止を解除した時点における操作とポーズ時の操作とが全く異なることを防止することができるので、一時停止の前後において操作が変わってしまうことを防止することができる。例えば、図11〜図14に示す例で言えば、一時停止の直前には下方向を向いていたキャラクタ51が、一時停止の解除時に急に(プレイヤが予期していない方向である)上方向を向くことを防止することができる。シビアな操作が要求されるゲーム(図27参照)では、一時停止の前後でコントローラ7の状態をほぼ同じに保つことは特に有効である。   As described above, according to the first embodiment, when the game process is temporarily stopped by the pause operation, the game process is resumed on condition that the state of the controller 7 is close to the state at the pause operation. According to this, the state of the controller 7 when the game process is resumed is substantially the same as the state at the time of the pause operation. Therefore, it is possible to prevent the operation at the time of releasing the pause from being completely different from the operation at the time of the pause, so that the operation can be prevented from changing before and after the pause. For example, in the example shown in FIGS. 11 to 14, the character 51 that turned downward immediately before the temporary stop suddenly moves upward (which is a direction that the player does not expect) when the temporary stop is released. Can be prevented. In a game that requires severe operations (see FIG. 27), it is particularly effective to keep the state of the controller 7 substantially the same before and after the pause.

また、第1実施例によれば、ポーズ状態において一時停止を直接解除することは禁止されており、解除受付ボタンを押下することによってゲーム状態を解除受付状態へ移行するようにし、解除受付状態においてのみ一時停止の解除を可能としている。これによれば、プレイヤが意図しないにもかかわらずゲームが再開されてしまうことを防止することができる。具体的には、プレイヤはゲームを再開する意図がないにもかかわらず、コントローラ7の傾きがポーズ操作時の傾きと偶然一致してしまった結果、ゲームが再開されてしまうことを防止することができる。   Further, according to the first embodiment, it is prohibited to directly release the pause in the pause state, and the game state is shifted to the release acceptance state by pressing the release acceptance button. Only the suspension can be released. According to this, it is possible to prevent the game from being resumed although the player does not intend. Specifically, even though the player does not intend to resume the game, the game can be prevented from being resumed as a result of accidentally matching the inclination of the controller 7 with the inclination during the pause operation. it can.

次に、第1実施例においてゲーム装置3で実行されるプログラム処理について説明する。まず、ゲーム処理において用いられる主なデータについて図15を用いて説明する。図15は、ゲーム装置3のメインメモリ13に記憶される主なデータを示す図である。図15に示すように、メインメモリ13には、ゲームプログラム61、操作データ62、およびポーズ処理用データ63等が記憶される。なお、メインメモリ13には、図15に示すデータの他、ゲームに登場するキャラクタ51の画像データや、キャラクタ51の各種パラメータを示すデータ等、ゲーム処理に必要なデータが記憶される。   Next, program processing executed by the game apparatus 3 in the first embodiment will be described. First, main data used in the game process will be described with reference to FIG. FIG. 15 is a diagram showing main data stored in the main memory 13 of the game apparatus 3. As shown in FIG. 15, the main memory 13 stores a game program 61, operation data 62, pose processing data 63, and the like. In addition to the data shown in FIG. 15, the main memory 13 stores data necessary for the game process, such as image data of the character 51 appearing in the game and data indicating various parameters of the character 51.

ゲームプログラム61は、ゲーム装置3に電源が投入された後の適宜のタイミングで光ディスク4からその一部または全部が読み込まれてメインメモリ13に記憶される。ゲームプログラム61には、コントローラ7の傾きに応じてキャラクタ51を回転させるゲーム処理等の実行に必要なプログラムが含まれている。   A part or all of the game program 61 is read from the optical disc 4 and stored in the main memory 13 at an appropriate timing after the game apparatus 3 is turned on. The game program 61 includes a program necessary for executing a game process for rotating the character 51 according to the inclination of the controller 7.

操作データ62は、コントローラ7からゲーム装置3へ送信されてきて、メインメモリ13に記憶される。操作データ62には、加速度データ621および操作ボタンデータ622が含まれる。加速度データ621は、加速度センサ37によって検出された加速度を示すデータである。ここでは、加速度データ621は、図7に示すX’Y’Z’の3軸の方向に関する加速度ベクトルを示すデータである。また、操作ボタンデータ622は、各操作ボタン32a〜32iに対する入力状態(各操作ボタン32a〜32iが押下されたか否か)を示すデータである。   The operation data 62 is transmitted from the controller 7 to the game apparatus 3 and stored in the main memory 13. The operation data 62 includes acceleration data 621 and operation button data 622. The acceleration data 621 is data indicating the acceleration detected by the acceleration sensor 37. Here, the acceleration data 621 is data indicating an acceleration vector related to the directions of the three axes X′Y′Z ′ shown in FIG. The operation button data 622 is data indicating an input state (whether each operation button 32a to 32i is pressed) with respect to each operation button 32a to 32i.

ポーズ処理用データ63は、後述するゲーム処理において、ゲーム処理を一時停止したり一時停止を解除したりする際に用いられるデータである。ポーズ処理用データ63には、ゲーム状態データ631、キャラクタ方向データ632、ポーズ時状態データ633、しきい値データ634、第1モデルデータ635、および第2モデルデータ636が含まれる。   The pause process data 63 is data used when the game process is paused or the pause is canceled in the game process described later. The pose processing data 63 includes game state data 631, character direction data 632, pause state data 633, threshold data 634, first model data 635, and second model data 636.

ゲーム状態データ631は、現在のゲーム状態を示すデータである。上述したように、本実施例では、ゲーム状態には「ポーズ状態」、「非ポーズ状態」、および「解除受付状態」という3つの状態がある。ゲーム状態データ631は、「ポーズ状態」、「非ポーズ状態」、および「解除受付状態」のいずれかを示す。   The game state data 631 is data indicating the current game state. As described above, in the present embodiment, there are three game states: “pause state”, “non-pause state”, and “release acceptance state”. The game state data 631 indicates one of “pause state”, “non-pause state”, and “cancel acceptance state”.

キャラクタ方向データ632は、プレイヤによって操作されるキャラクタ51の(ゲーム空間における)方向を示す。キャラクタ方向データ632は、具体的には、3次元ゲーム空間内の方向を示す3次元のベクトルのデータである。   The character direction data 632 indicates the direction (in the game space) of the character 51 operated by the player. The character direction data 632 is specifically three-dimensional vector data indicating the direction in the three-dimensional game space.

ポーズ時状態データ633は、ゲーム処理が一時停止させられるタイミングにおけるコントローラ7の状態を示す。第1実施例において、コントローラ7の状態とは、コントローラ7の傾きに関する状態を指す。したがって、ポーズ時状態データ633は、ゲーム処理が一時停止させられた時点の加速度ベクトルを示す。   The pause state data 633 indicates the state of the controller 7 at the timing when the game process is paused. In the first embodiment, the state of the controller 7 refers to a state relating to the tilt of the controller 7. Therefore, the pause state data 633 indicates an acceleration vector at the time when the game process is paused.

しきい値データ634は、上記解除受付状態において行われる判定処理、すなわち、現在のコントローラ7の傾きがポーズ操作時の傾きに一致するか否かの判定処理において用いられるしきい値を示す。このしきい値は、ゲームプログラム61において予め定められた固定値であってもよいし、プレイヤの指示やその他の条件に基づいて可変に定められる値であってもよい。   The threshold value data 634 indicates a threshold value used in the determination process performed in the release acceptance state, that is, the determination process of whether or not the current inclination of the controller 7 matches the inclination during the pause operation. This threshold value may be a fixed value determined in advance in the game program 61, or may be a value that is variably determined based on an instruction from the player or other conditions.

第1モデルデータ635は、上記第1モデルの方向を示すデータである。また、第2モデルデータ636は、上記第1モデルの方向を示すデータである。各モデルデータ635および636は、キャラクタ方向データ632と同様、3次元ゲーム空間内の方向を示す3次元のベクトルのデータである。   The first model data 635 is data indicating the direction of the first model. The second model data 636 is data indicating the direction of the first model. Each model data 635 and 636 is data of a three-dimensional vector indicating a direction in the three-dimensional game space, like the character direction data 632.

次に、ゲーム装置3において行われる処理の詳細を、図16〜図19を用いて説明する。図16は、ゲーム装置3において実行される処理の流れを示すメインフローチャートである。ゲーム装置3の電源が投入されると、ゲーム装置3のCPU10は、図示しないブートROMに記憶されている起動プログラムを実行し、これによってメインメモリ13等の各ユニットが初期化される。そして、光ディスク4に記憶されたゲームプログラムがメインメモリ13に読み込まれ、CPU10によって当該ゲームプログラムの実行が開始される。図16に示すフローチャートは、以上の処理が完了した後に行われる処理を示すフローチャートである。なお、図16に示すフローチャートにおいては、ゲーム装置3において実行される処理のうち、ゲームを一時停止する処理および一時停止を解除する処理について詳細に示し、本願発明と直接関連しない他の処理については詳細な説明を省略する。   Next, details of processing performed in the game apparatus 3 will be described with reference to FIGS. FIG. 16 is a main flowchart showing a flow of processing executed in the game apparatus 3. When the power of the game apparatus 3 is turned on, the CPU 10 of the game apparatus 3 executes a startup program stored in a boot ROM (not shown), whereby each unit such as the main memory 13 is initialized. Then, the game program stored in the optical disc 4 is read into the main memory 13 and the CPU 10 starts executing the game program. The flowchart shown in FIG. 16 is a flowchart showing a process performed after the above process is completed. In the flowchart shown in FIG. 16, among the processes executed in the game apparatus 3, the process for pausing the game and the process for releasing the pause are shown in detail, and other processes not directly related to the present invention are described. Detailed description is omitted.

まず、ステップS1において、以降の処理において用いられるデータの初期化処理が実行される。具体的には、非ポーズ状態を示すデータがゲーム状態データ631としてメインメモリ13に記憶される。また、ゲームプログラム61において予め定められた値を示すデータがしきい値データ634としてメインメモリ13に記憶される。   First, in step S1, data initialization processing used in the subsequent processing is executed. Specifically, data indicating a non-pause state is stored in the main memory 13 as game state data 631. Data indicating a predetermined value in the game program 61 is stored in the main memory 13 as threshold data 634.

続くステップS2において、ゲーム空間が構築されてモニタ2に表示される。CPU10は、例えば3次元のゲーム空間を構築し、さらに、ゲーム空間に登場するキャラクタ51を所定の初期位置に配置する。以上のように構築されたゲーム空間を表すゲーム画像が生成され、生成されたゲーム画像がモニタ2に表示される。以降、ステップS3〜S9の処理ループが1フレーム毎に繰り返されることによって、ゲームが進行していく。   In the subsequent step S2, a game space is constructed and displayed on the monitor 2. For example, the CPU 10 constructs a three-dimensional game space, and further arranges the character 51 appearing in the game space at a predetermined initial position. A game image representing the game space constructed as described above is generated, and the generated game image is displayed on the monitor 2. Subsequently, the game progresses by repeating the processing loop of steps S3 to S9 for each frame.

ステップS3において、CPU10は、コントローラ7から操作データを取得する。すなわち、コントローラ7は所定時間間隔(例えば、1フレーム時間間隔)で操作データをゲーム装置3へ送信してくるので、CPU10は、送信されてきた操作データをメインメモリ13に記憶する。この操作データには、少なくとも上記加速度データおよび操作ボタンデータが含まれている。CPU10は、加速度データおよび操作ボタンデータをメインメモリ13に記憶する。なお、本実施例においてステップS2の処理は1フレーム時間毎に実行されるので、ゲーム装置3は、加速度データおよび操作ボタンデータを逐次取得することができる。   In step S <b> 3, the CPU 10 acquires operation data from the controller 7. That is, since the controller 7 transmits the operation data to the game apparatus 3 at a predetermined time interval (for example, one frame time interval), the CPU 10 stores the transmitted operation data in the main memory 13. This operation data includes at least the acceleration data and operation button data. The CPU 10 stores acceleration data and operation button data in the main memory 13. In the present embodiment, since the process of step S2 is executed every frame time, the game apparatus 3 can sequentially acquire acceleration data and operation button data.

続くステップS4において、CPU10は、現在のゲーム状態が解除受付状態であるか否かを判定する。ステップS4の判定は、メインメモリ13に記憶されているゲーム状態データ631を参照することによって行われる。具体的には、ゲーム状態データ631が解除受付状態を示す場合、ステップS4の判定結果は肯定となり、ゲーム状態データ631が解除受付状態以外の状態を示す場合、ステップS4の判定結果は否定となる。ステップS4の判定結果が肯定の場合、後述するステップS8の処理が実行される。一方、ステップS4の判定結果が否定の場合、ステップS5の処理が実行される。   In subsequent step S4, CPU 10 determines whether or not the current game state is a release acceptance state. The determination in step S4 is performed by referring to the game state data 631 stored in the main memory 13. Specifically, when the game state data 631 indicates a release acceptance state, the determination result of step S4 is affirmative, and when the game state data 631 indicates a state other than the release acceptance state, the determination result of step S4 is negative. . If the determination result of step S4 is affirmative, the process of step S8 described later is executed. On the other hand, when the determination result of step S4 is negative, the process of step S5 is executed.

ステップS5において、CPU10は、現在のゲーム状態がポーズ状態であるか否かを判定する。ステップS5の判定は、メインメモリ13に記憶されているゲーム状態データ631を参照することによって行われる。具体的には、ゲーム状態データ631がポーズ状態を示す場合、ステップS5の判定結果は肯定となり、ゲーム状態データ631がポーズ状態以外の状態を示す場合、ステップS5の判定結果は否定となる。ステップS5の判定結果が肯定の場合、後述するステップS7の処理が実行される。一方、ステップS5の判定結果が否定の場合、ステップS6の処理が実行される。なお、ゲームが開始されてからポーズボタンが押下されていない状態では、ステップS4およびS5の判定結果は否定となるので、ステップS6の処理が実行される。   In step S5, the CPU 10 determines whether or not the current game state is a pause state. The determination in step S5 is performed by referring to the game state data 631 stored in the main memory 13. Specifically, when the game state data 631 indicates a pause state, the determination result of step S5 is affirmative, and when the game state data 631 indicates a state other than the pause state, the determination result of step S5 is negative. If the determination result of step S5 is affirmative, the process of step S7 described later is executed. On the other hand, when the determination result of step S5 is negative, the process of step S6 is executed. Note that, in a state where the pause button has not been pressed since the game was started, the determination results of steps S4 and S5 are negative, so the process of step S6 is executed.

ステップS6においては、非ポーズ状態処理が実行される。非ポーズ状態処理は、通常のゲーム処理(本実施例では、コントローラ7を傾ける操作に基づいてキャラクタ51を回転させる処理)を実行するための処理である。以下、図17を参照して非ポーズ状態処理の詳細について説明する。   In step S6, non-pause state processing is executed. The non-pause state process is a process for executing a normal game process (in this embodiment, a process of rotating the character 51 based on an operation of tilting the controller 7). Details of the non-pause state process will be described below with reference to FIG.

図17は、図16に示す非ポーズ状態処理(ステップS6)の詳細を示すフローチャートである。非ポーズ状態処理においては、まずステップS11において、CPU10はポーズボタン(第1実施例では、スタートスイッチ32g)が押下されたか否かを判定する。ステップS11の判定は、メインメモリ13に記憶されている操作ボタンデータ622を参照することによって行われる。すなわち、操作ボタンデータ622が、スタートスイッチ32gが押下されたことを示す場合、ステップS11の判定結果は肯定となり、操作ボタンデータ622が、スタートスイッチ32gが押下されていないことを示す場合、ステップS11の判定結果は否定となる。ステップS11の判定結果が肯定の場合、後述するステップS14の処理が実行される。一方、ステップS11の判定結果が否定の場合、ステップS12の処理が実行される。   FIG. 17 is a flowchart showing details of the non-pause state process (step S6) shown in FIG. In the non-pause state process, first, in step S11, the CPU 10 determines whether or not the pause button (start switch 32g in the first embodiment) has been pressed. The determination in step S11 is performed by referring to the operation button data 622 stored in the main memory 13. That is, if the operation button data 622 indicates that the start switch 32g is pressed, the determination result in step S11 is affirmative, and if the operation button data 622 indicates that the start switch 32g is not pressed, step S11. The determination result is negative. If the determination result of step S11 is affirmative, the process of step S14 described later is executed. On the other hand, when the determination result of step S11 is negative, the process of step S12 is executed.

以上のように、非ポーズ状態が継続する場合、ステップS11の判定結果が否定となるのでステップS12およびS13の処理が実行される。一方、非ポーズ状態においてポーズボタンが押下された場合、ステップS11の判定結果が肯定となるのでステップS14〜S16の処理が実行される。   As described above, when the non-pause state continues, the determination result of step S11 is negative, so the processes of steps S12 and S13 are executed. On the other hand, when the pause button is pressed in the non-pause state, the determination result of step S11 is affirmative, so the processing of steps S14 to S16 is executed.

ステップS12においては、ゲームを進行させるためのゲーム処理が実行される。第1実施例では、コントローラ7を傾ける操作に基づいてキャラクタ51を回転させる処理が実行される。具体的には、CPU10は、メインメモリ13に記憶されている加速度データ621により示される加速度ベクトルの方向に基づいて、ゲーム空間におけるキャラクタ51の方向を決定する。キャラクタ51の方向の算出方法はどのようなものであってもよい。例えば、加速度ベクトルの方向と一対一に対応するようにキャラクタ51の方向を決定するようにしてもよい。また例えば、加速度ベクトルの変化量(今回のフレームにおける加速度ベクトルと前回のフレームにおける加速度ベクトルとの差分)に基づいてキャラクタ51を回転させる角度を決定するようにしてもよい。決定されたキャラクタ51の方向を示すデータは、キャラクタ方向データ632としてメインメモリ13に記憶される。   In step S12, game processing for advancing the game is executed. In the first embodiment, a process of rotating the character 51 based on an operation of tilting the controller 7 is executed. Specifically, the CPU 10 determines the direction of the character 51 in the game space based on the direction of the acceleration vector indicated by the acceleration data 621 stored in the main memory 13. Any method for calculating the direction of the character 51 may be used. For example, the direction of the character 51 may be determined so as to correspond one-to-one with the direction of the acceleration vector. Further, for example, the angle at which the character 51 is rotated may be determined based on the change amount of the acceleration vector (the difference between the acceleration vector in the current frame and the acceleration vector in the previous frame). Data indicating the determined direction of the character 51 is stored in the main memory 13 as character direction data 632.

続くステップS13においては、CPU10は、ステップS12の処理結果に従ってゲーム画像を生成してモニタ2に表示させる(図11)。すなわち、ステップS12で決定された方向を向くキャラクタ51の画像がモニタ2に表示される。ステップS13の処理が終了するとCPU10は非ポーズ状態処理を終了する。   In the subsequent step S13, the CPU 10 generates a game image in accordance with the processing result in step S12 and displays it on the monitor 2 (FIG. 11). That is, an image of the character 51 facing the direction determined in step S12 is displayed on the monitor 2. When the process of step S13 ends, the CPU 10 ends the non-pause state process.

一方、ステップS14においては、ゲーム状態がポーズ状態に設定される。具体的には、CPU10は、メインメモリ13に記憶されているゲーム状態データ631の内容を、ポーズ状態を示すデータに書き換える。これによって、次のフレーム処理(ステップS3〜S9の処理)においては、ステップS4の判定結果が否定となるとともにステップS5の判定結果が肯定となるので、ステップS7の処理が実行される。したがって、ステップS12およびS13のゲーム処理が実行されないので、上記ステップS14によってゲーム処理が一時停止されたこととなる。   On the other hand, in step S14, the game state is set to a pause state. Specifically, the CPU 10 rewrites the contents of the game state data 631 stored in the main memory 13 to data indicating the pause state. As a result, in the next frame processing (steps S3 to S9), the determination result of step S4 is negative and the determination result of step S5 is affirmative, so the processing of step S7 is executed. Therefore, since the game process of steps S12 and S13 is not executed, the game process is temporarily stopped by step S14.

続くステップS15において、コントローラ7の状態(第1実施例では、コントローラ7の傾きの状態)が記憶される。第1実施例では、CPU10は、現在の加速度ベクトルを示すデータ、すなわち、ステップS3で取得された加速度データ621をポーズ時状態データ633としてメインメモリ13に記憶する。なお、ステップS15で記憶されるデータは、コントローラ7の傾きに関する状態を示すものであればどのようなものであってもよい。例えば、ステップS15において、ステップS12と同様の方法で、キャラクタ51の方向を示すデータを算出し、算出されたデータをポーズ時状態データ633としてメインメモリ13に記憶するようにしてもよい。また、例えば、加速度ベクトルからキャラクタ方向データを算出するまでの過程において算出される中間データをポーズ時状態データ633としてメインメモリ13に記憶するようにしてもよい。   In subsequent step S15, the state of the controller 7 (in the first embodiment, the state of the inclination of the controller 7) is stored. In the first embodiment, the CPU 10 stores data indicating the current acceleration vector, that is, the acceleration data 621 acquired in step S <b> 3 in the main memory 13 as the pause state data 633. The data stored in step S15 may be any data as long as it indicates a state related to the tilt of the controller 7. For example, in step S15, data indicating the direction of the character 51 may be calculated by the same method as in step S12, and the calculated data may be stored in the main memory 13 as pause state data 633. Further, for example, intermediate data calculated in the process from the acceleration vector to the calculation of the character direction data may be stored in the main memory 13 as the pause state data 633.

続くステップS16において、CPU10は、一時停止中のゲーム画像をモニタ2に表示させる。具体的には、ゲーム処理が一時停止された時点のゲーム画像にポーズ画像52を重ねた画像をモニタ2に表示させる(図12参照)。なお、ゲーム処理が一時停止された時点のゲーム画像とは、前回のフレーム処理のステップS13で表示されるゲーム画像のことである。ステップS16の処理が終了するとCPU10は非ポーズ状態処理を終了する。   In subsequent step S <b> 16, the CPU 10 causes the monitor 2 to display the temporarily stopped game image. Specifically, an image obtained by superimposing the pause image 52 on the game image at the time when the game process is paused is displayed on the monitor 2 (see FIG. 12). It should be noted that the game image at the time when the game process is paused is the game image displayed in step S13 of the previous frame process. When the process of step S16 ends, the CPU 10 ends the non-pause state process.

以上に説明したように、非ポーズ状態(図11)においてプレイヤがポーズボタンを押下すると、ゲーム装置3はゲーム状態をポーズ状態へ移行させ(ステップS14)、一時停止中のゲーム画像をモニタ2に表示させる(ステップS16、図12参照)。このとき、ゲーム装置3は、ゲーム処理が一時停止させられるタイミングにおけるコントローラの傾きに関する状態を記憶する(ステップS15)。   As described above, when the player presses the pause button in the non-pause state (FIG. 11), the game apparatus 3 shifts the game state to the pause state (step S14), and the paused game image is displayed on the monitor 2. It is displayed (see step S16, FIG. 12). At this time, the game apparatus 3 stores a state relating to the inclination of the controller at the timing when the game process is temporarily stopped (step S15).

次に、ポーズ状態における処理について説明する。図18は、図16に示すポーズ状態処理(ステップS7)の詳細を示すフローチャートである。ポーズ状態処理においては、まずステップS21において、CPU10は解除受付ボタン(本実施例では、セレクトスイッチ32e)が押下されたか否かを判定する。ステップS21の判定は、メインメモリ13に記憶されている操作ボタンデータ622を参照することによって行われる。すなわち、操作ボタンデータ622が、セレクトスイッチ32eが押下されたことを示す場合、ステップS21の判定結果は肯定となり、操作ボタンデータ622が、セレクトスイッチ32eが押下されていないことを示す場合、ステップS21の判定結果は否定となる。ステップS21の判定結果が肯定の場合、後述するステップS22の処理が実行される。一方、ステップS21の判定結果が否定の場合、ステップS22の処理がスキップされてステップS23の処理が実行される。   Next, processing in the pause state will be described. FIG. 18 is a flowchart showing details of the pause state process (step S7) shown in FIG. In the pause state process, first, in step S21, the CPU 10 determines whether or not a release acceptance button (in this embodiment, the select switch 32e) has been pressed. The determination in step S21 is performed by referring to the operation button data 622 stored in the main memory 13. That is, if the operation button data 622 indicates that the select switch 32e has been pressed, the determination result in step S21 is affirmative, and if the operation button data 622 indicates that the select switch 32e has not been pressed, step S21. The determination result is negative. If the determination result of step S21 is affirmative, the process of step S22 described later is executed. On the other hand, when the determination result of step S21 is negative, the process of step S22 is skipped and the process of step S23 is executed.

なお、第1実施例においては、解除受付ボタンは、ポーズボタン(スタートスイッチ32g)とは異なるセレクトスイッチ32eであるとしたが、他の実施例においては、解除受付ボタンとポーズボタンとを同じボタンとしてもよい。   In the first embodiment, the release acceptance button is a select switch 32e different from the pause button (start switch 32g). However, in other embodiments, the release acceptance button and the pause button are the same button. It is good.

ステップS22においては、ゲーム状態が解除受付状態に設定される。具体的には、CPU10は、メインメモリ13に記憶されているゲーム状態データ631の内容を、解除受付状態を示すデータに書き換える。これによって、次のフレーム処理(ステップS3〜S9の処理)においてはステップS4の判定結果が肯定となるのでステップS8の処理が実行されることとなる。   In step S22, the game state is set to a release acceptance state. Specifically, the CPU 10 rewrites the contents of the game state data 631 stored in the main memory 13 to data indicating the release acceptance state. As a result, in the next frame processing (steps S3 to S9), the determination result of step S4 is affirmative, so the processing of step S8 is executed.

ステップS23においては、CPU10は、一時停止中のゲーム画像をモニタ2に表示させる。具体的には、ゲーム処理が一時停止された時点のゲーム画像にポーズ画像52を重ねた画像をモニタ2に表示させる(図12参照)。ステップS23の処理が終了するとCPU10はポーズ状態処理を終了する。   In step S23, the CPU 10 causes the monitor 2 to display the temporarily stopped game image. Specifically, an image obtained by superimposing the pause image 52 on the game image at the time when the game process is paused is displayed on the monitor 2 (see FIG. 12). When the process of step S23 ends, the CPU 10 ends the pause state process.

次に、解除受付状態における処理について説明する。図19は、図16に示す解除受付状態処理(ステップS8)の詳細を示すフローチャートである。上述したように、ポーズ状態において解除受付ボタンが押下された場合(ステップS21でYes)、ゲーム状態は解除受付状態へ移行し(ステップS22)、次のフレーム処理においては解除受付状態処理が実行される。   Next, processing in the release acceptance state will be described. FIG. 19 is a flowchart showing details of the release acceptance status process (step S8) shown in FIG. As described above, when the release acceptance button is pressed in the pause state (Yes in step S21), the game state shifts to the release acceptance state (step S22), and the release acceptance state process is executed in the next frame process. The

解除受付状態処理においては、まずステップS31において、CPU10はポーズボタン(第1実施例では、スタートスイッチ32g)が押下されたか否かを判定する。ステップS31の判定は、上述のステップS11の処理と同じ処理である。ステップS31の判定結果が肯定の場合、後述するステップS37の処理が実行される。一方、ステップS31の判定結果が否定の場合、ステップS32の処理が実行される。   In the release acceptance state process, first, in step S31, the CPU 10 determines whether or not the pause button (start switch 32g in the first embodiment) has been pressed. The determination in step S31 is the same process as the process in step S11 described above. If the determination result of step S31 is affirmative, the process of step S37 described later is executed. On the other hand, when the determination result of step S31 is negative, the process of step S32 is executed.

ステップS32においては、CPU10は、コントローラ7の現在の状態(傾き)とポーズ操作時のコントローラ7の状態(傾き)とを比較し、両者が一致するか否かを判定する。コントローラ7の現在の傾きは、メインメモリ13に記憶されている加速度データ621によって示される。また、ポーズ操作時のコントローラ7の傾きは、メインメモリ13に記憶されているポーズ時状態データ633によって示される。したがって、CPU10は、加速度データ621により示される傾きとポーズ時状態データ633により示される傾きとを比較する。上述したように、第1実施例では、2つの傾きが完全に一致しなくても、2つの傾きがある程度近いと判断される場合には当該2つの傾きが一致したと判断する。   In step S32, the CPU 10 compares the current state (tilt) of the controller 7 with the state (tilt) of the controller 7 during the pause operation, and determines whether or not they match. The current inclination of the controller 7 is indicated by acceleration data 621 stored in the main memory 13. The inclination of the controller 7 at the time of the pause operation is indicated by the pause state data 633 stored in the main memory 13. Therefore, the CPU 10 compares the inclination indicated by the acceleration data 621 with the inclination indicated by the pause state data 633. As described above, in the first embodiment, even if the two inclinations do not completely match, if it is determined that the two inclinations are close to some extent, it is determined that the two inclinations match.

具体的には、CPU10は、加速度データ621により示されるベクトルと、ポーズ時状態データ633により示されるベクトルとの差分の大きさ(2つのベクトルの終点間の距離)を算出する。そして、この大きさが、予め定められたしきい値よりも小さいか否かを判定する。当該しきい値は、メインメモリ13に記憶されているしきい値データ634により示される値である。上記差分の大きさがしきい値よりも小さい場合、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致すると判定され、上記差分の大きさがしきい値以上である場合、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致しないと判定される。   Specifically, the CPU 10 calculates the magnitude of the difference (the distance between the end points of the two vectors) between the vector indicated by the acceleration data 621 and the vector indicated by the pause state data 633. And it is determined whether this magnitude | size is smaller than a predetermined threshold value. The threshold value is a value indicated by threshold data 634 stored in the main memory 13. When the magnitude of the difference is smaller than the threshold value, it is determined that the current inclination of the controller 7 and the inclination at the time of the pause operation coincide with each other, and when the magnitude of the difference is equal to or larger than the threshold value, It is determined that the inclination during the pose operation does not match.

なお、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致するか否かの判定を行う方法は、上記差分の大きさを算出する方法に限らずどのような方法であってもよい。例えば、2つのベクトルのなす角度の大きさが、予め定められた所定値よりも小さい場合、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致すると判定し、当該角度の大きさが所定値以上の場合、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致しないと判定するようにしてもよい。   Note that the method for determining whether or not the current inclination of the controller 7 and the inclination at the time of the pose operation coincide with each other is not limited to the method of calculating the magnitude of the difference, and any method may be used. For example, when the magnitude of the angle formed by the two vectors is smaller than a predetermined value, it is determined that the current inclination of the controller 7 matches the inclination at the time of the pause operation, and the magnitude of the angle is predetermined. If the value is greater than or equal to the value, it may be determined that the current inclination of the controller 7 does not match the inclination at the time of the pause operation.

ステップS32の判定において、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致すると判定される場合、ステップS33の処理が実行される。一方、コントローラ7の現在の傾きとポーズ操作時の傾きとが一致すると判定される場合、ステップS33およびS34の処理がスキップされてステップS35の処理が実行される。   If it is determined in step S32 that the current inclination of the controller 7 and the inclination at the time of the pose operation match, the process of step S33 is executed. On the other hand, when it is determined that the current inclination of the controller 7 and the inclination at the time of the pose operation match, the processes of steps S33 and S34 are skipped and the process of step S35 is executed.

ステップS33においては、CPU10は、現在の加速度ベクトルが信頼できるか否かを判定する。「加速度ベクトルが信頼できる」とは、加速度ベクトルがコントローラ7の傾きを正確に表していることを意味し、加速度ベクトルが重力加速度のみを表していることを意味する。ここで、本実施例で用いる加速度センサ37は、コントローラ7が静止している時には重力加速度のみを表すので、コントローラ7の傾きは加速度ベクトルによって正確に表されることになる。しかし、コントローラ7がプレイヤによって動かされている時には、加速度センサ37は、重力加速度の他にコントローラ7に加わる慣性力に起因する加速度の成分を含めた加速度を検出することになる。このような加速度が検出される場合、加速度ベクトルは、コントローラ7の傾きを正確に表すものではなくなる。   In step S33, the CPU 10 determines whether or not the current acceleration vector is reliable. “The acceleration vector is reliable” means that the acceleration vector accurately represents the inclination of the controller 7, and that the acceleration vector represents only the gravitational acceleration. Here, since the acceleration sensor 37 used in the present embodiment represents only the gravitational acceleration when the controller 7 is stationary, the inclination of the controller 7 is accurately represented by the acceleration vector. However, when the controller 7 is being moved by the player, the acceleration sensor 37 detects an acceleration including an acceleration component caused by an inertial force applied to the controller 7 in addition to the gravitational acceleration. When such acceleration is detected, the acceleration vector does not accurately represent the inclination of the controller 7.

そこで、本実施例では、CPU10は、加速度ベクトルが信頼できるか否かを、加速度ベクトルの大きさに基づいて判定する。具体的には、加速度ベクトルの大きさが重力加速度の大きさ(すなわち、1)に近い場合、加速度ベクトルが信頼できるものであると判定し、加速度ベクトルの大きさが重力加速度の大きさから離れている場合、加速度ベクトルは信頼できないと判定する。なお、加速度ベクトルの大きさが重力加速度の大きさに近いか、それとも離れているかの判定は、加速度ベクトルの大きさと重力加速度の大きさとの差分の絶対値が、予め定められた所定値よりも小さいか、それとも大きいかによって行えばよい。   Therefore, in this embodiment, the CPU 10 determines whether the acceleration vector is reliable based on the magnitude of the acceleration vector. Specifically, if the magnitude of the acceleration vector is close to the magnitude of gravitational acceleration (ie, 1), it is determined that the acceleration vector is reliable, and the magnitude of the acceleration vector is far from the magnitude of gravitational acceleration. The acceleration vector is determined to be unreliable. It should be noted that the absolute value of the difference between the magnitude of the acceleration vector and the magnitude of the gravitational acceleration is greater than a predetermined value that is determined whether the magnitude of the acceleration vector is close to or far from the magnitude of the gravitational acceleration. It can be done depending on whether it is small or large.

コントローラ7がプレイヤによって動かされている時、加速度ベクトルには、重力加速度の成分と、コントローラ7に加わる慣性力に起因する加速度の成分とが含まれるので、加速度ベクトルの大きさと重力加速度の大きさとは大きく異なることがある。したがって、加速度ベクトルが信頼できるか否かを加速度ベクトルの大きさに基づいて判定することによって、ステップS33の判定を正確に行うことができる。   When the controller 7 is being moved by the player, the acceleration vector includes a gravitational acceleration component and an acceleration component resulting from an inertial force applied to the controller 7. Can be very different. Therefore, by determining whether or not the acceleration vector is reliable based on the magnitude of the acceleration vector, the determination in step S33 can be performed accurately.

なお、他の実施例においては、加速度ベクトルが信頼できるか否かの判定を、加速度ベクトル(または加速度ベクトルの向き)の変化量に基づいて行うようにしてもよい。具体的には、前回のフレーム処理において取得された加速度ベクトルと、今回のフレーム処理において取得された加速度ベクトルとの変化量を算出し、変化量が所定量よりも小さい場合には加速度ベクトルが信頼できると判定するようにしてもよい。   In another embodiment, whether or not the acceleration vector is reliable may be determined based on the change amount of the acceleration vector (or the direction of the acceleration vector). Specifically, the amount of change between the acceleration vector acquired in the previous frame processing and the acceleration vector acquired in the current frame processing is calculated, and if the amount of change is smaller than a predetermined amount, the acceleration vector is reliable. You may make it determine with being possible.

ステップS33の判定において、加速度ベクトルは信頼できると判定される場合、ステップS34の処理が実行される。一方、加速度ベクトルは信頼できないと判定される場合、ステップS34の処理がスキップされてステップS35の処理が実行される。なお、他の実施例においては、一定時間(例えば、数フレーム処理の間連続して)加速度ベクトルが信頼できると判定された場合にのみ、ステップS34の処理を実行するようにしてもよい。   If it is determined in step S33 that the acceleration vector is reliable, the process in step S34 is executed. On the other hand, when it is determined that the acceleration vector is not reliable, the process of step S34 is skipped and the process of step S35 is executed. In another embodiment, the process of step S34 may be executed only when it is determined that the acceleration vector is reliable for a certain period of time (for example, continuously for several frames).

ステップS34においては、ゲーム状態が非ポーズ状態に設定される。具体的には、CPU10は、メインメモリ13に記憶されているゲーム状態データ631の内容を、非ポーズ状態を示すデータに書き換える。これによって、次のフレーム処理(ステップS3〜S9の処理)においては、ステップS4の判定結果が否定となるとともにステップS5の判定結果が否定となるので、ステップS6の処理が実行される。したがって、次のフレーム処理において(ポーズボタンが再び押下されなければ)ステップS12およびS13のゲーム処理が実行されるので、上記ステップS34によって一時停止が解除されてゲーム処理が再開されることとなる。   In step S34, the game state is set to a non-pause state. Specifically, the CPU 10 rewrites the contents of the game state data 631 stored in the main memory 13 to data indicating a non-pause state. As a result, in the next frame process (the processes in steps S3 to S9), the determination result in step S4 is negative and the determination result in step S5 is negative. Therefore, the process in step S6 is executed. Accordingly, in the next frame processing (when the pause button is not pressed again), the game processing in steps S12 and S13 is executed, so that the pause is released in step S34 and the game processing is resumed.

ステップS35においては、ゲーム空間における各モデル53および54の方向が算出される。各モデル53および54の方向は、キャラクタ51の方向を算出する場合と同様の方法で、加速度ベクトルに基づいて算出される。なお、現在のコントローラ7の傾きを表す第1モデル53の方向は、現在の加速度ベクトル、すなわち、メインメモリ13に記憶されている加速度データ621により示される加速度ベクトルに基づいて算出される。一方、ポーズ操作時のコントローラ7の傾きを表す第2モデル54の方向は、ポーズ操作時の加速度ベクトル、すなわち、メインメモリ13に記憶されているポーズ時状態データ633により示される加速度ベクトルに基づいて算出される。   In step S35, the direction of each model 53 and 54 in the game space is calculated. The direction of each model 53 and 54 is calculated based on the acceleration vector by the same method as that for calculating the direction of the character 51. The direction of the first model 53 representing the current inclination of the controller 7 is calculated based on the current acceleration vector, that is, the acceleration vector indicated by the acceleration data 621 stored in the main memory 13. On the other hand, the direction of the second model 54 representing the inclination of the controller 7 at the time of the pose operation is based on the acceleration vector at the time of the pose operation, that is, the acceleration vector indicated by the pause state data 633 stored in the main memory 13. Calculated.

続くステップS36において、CPU10は、一時停止中のゲーム画像に加えて各モデル53および54をモニタ2に表示させる(図13参照)。なお、一時停止中のゲーム画像とは、上記ステップS16において表示されるゲーム画像である。このように、本実施例においては、解除受付状態においては各モデル53および54が表示されるので、プレイヤは、これらのモデル53および54を参照しながら、第1モデル53の方向が第2モデル54の方向に一致するようにコントローラ7の傾きを操作すればよく、一時停止を解除する操作が容易になる。ステップS36の処理が終了するとCPU10は解除受付状態処理を終了する。   In the subsequent step S36, the CPU 10 displays the models 53 and 54 on the monitor 2 in addition to the temporarily stopped game image (see FIG. 13). The paused game image is a game image displayed in step S16. Thus, in the present embodiment, the models 53 and 54 are displayed in the release acceptance state, so that the player refers to these models 53 and 54 and the direction of the first model 53 is the second model. It is only necessary to operate the tilt of the controller 7 so as to coincide with the direction of 54, and the operation of canceling the temporary stop becomes easy. When the process of step S36 ends, the CPU 10 ends the release acceptance state process.

一方、ステップS37においては、ゲーム状態がポーズ状態に設定される。ステップS37の具体的な処理内容は、図17に示すステップS14と同じである。ステップS37によって、次のフレーム処理(ステップS3〜S9の処理)においては、ステップS4の判定結果が否定となるとともにステップS5の判定結果が肯定となるので、ステップS7の処理が実行される。したがって、ゲーム状態はポーズ状態に移行したこととなる。以上のように、本実施例では、解除受付状態においてポーズボタンが押下された場合には、ゲーム状態は再度ポーズ状態に戻ることになる。   On the other hand, in step S37, the game state is set to a pause state. The specific processing content of step S37 is the same as step S14 shown in FIG. In step S37, in the next frame process (the processes in steps S3 to S9), the determination result in step S4 is negative and the determination result in step S5 is affirmative. Therefore, the process in step S7 is executed. Therefore, the game state has shifted to the pause state. As described above, in this embodiment, when the pause button is pressed in the release acceptance state, the game state returns to the pause state again.

続くステップS38においては、CPU10は、一時停止中のゲーム画像をモニタ2に表示させる(図12参照)。ステップS38の具体的な処理内容は、図18に示すステップS23と同じである。ステップS38の処理が終了するとCPU10は解除受付状態処理を終了する。   In subsequent step S38, CPU 10 causes monitor 2 to display a temporarily stopped game image (see FIG. 12). The specific processing content of step S38 is the same as step S23 shown in FIG. When the process of step S38 ends, the CPU 10 ends the release acceptance state process.

以上に説明したように、解除受付状態においては、コントローラ7の現在の傾きとポーズ操作時のコントローラ7の傾きとの比較が行われ、両者が一致するか否かが判定される(ステップS32)。さらに、両者が一致する場合には、ゲーム状態が非ポーズ状態へ移行され(ステップS34)、ゲームが再開する。   As described above, in the release acceptance state, the current inclination of the controller 7 is compared with the inclination of the controller 7 during the pause operation, and it is determined whether or not they match (step S32). . Further, if the two match, the game state is shifted to the non-pause state (step S34), and the game is restarted.

図16の説明に戻り、ステップS6、S7、またはS8の処理の次に、ステップS9の処理が実行される。ステップS9において、CPU10はゲームを終了するか否かを判定する。ステップS9の判定は、例えば、プレイヤがゲームをクリアしたか否かや、ゲームに制限時間が設けられている場合には当該制限時間が経過したか否かによって行われる。ステップS9の判定結果が否定である場合、ステップS3の処理が再度実行され、以降、ゲームを終了すると判定されるまでステップS3〜S9の処理ループが実行される。一方、ステップS9の判定結果が肯定である場合、CPU10は図16に示す処理を終了する。以上で、ゲーム装置3において実行される処理の説明を終了する。   Returning to the description of FIG. 16, the process of step S9 is executed after the process of step S6, S7, or S8. In step S9, the CPU 10 determines whether or not to end the game. The determination in step S9 is made based on, for example, whether or not the player has cleared the game, and whether or not the time limit has elapsed if the game has a time limit. If the determination result of step S9 is negative, the process of step S3 is executed again, and thereafter, the process loop of steps S3 to S9 is executed until it is determined that the game is to be ended. On the other hand, when the determination result of step S9 is affirmative, the CPU 10 ends the process shown in FIG. Above, description of the process performed in the game device 3 is complete | finished.

以上のように、第1実施例によれば、ゲーム処理が一時停止(ポーズ)される場合、ポーズ操作時におけるコントローラ7の傾き(加速度ベクトル)を記憶しておき、現在のコントローラ7の傾きとポーズ操作時におけるコントローラ7の傾きとを比較し、2つの傾きが一致することに応じて一時停止を解除する。これによって、一時停止が解除されてゲームが再開される際に、コントローラ7の傾きを、一時停止が行われる前と同じ傾きにすることができる。したがって、第1実施例によれば、一時停止の前後においてゲーム操作が変わってしまうことに起因するプレイヤのミスを防止することができ、操作性を向上することができる。   As described above, according to the first embodiment, when the game process is paused (paused), the inclination (acceleration vector) of the controller 7 at the time of the pause operation is stored, and the current inclination of the controller 7 is stored. The inclination of the controller 7 at the time of the pause operation is compared, and the pause is canceled when the two inclinations match. Thereby, when the pause is released and the game is resumed, the inclination of the controller 7 can be made the same as that before the pause is performed. Therefore, according to the first embodiment, it is possible to prevent a player's mistake due to a change in the game operation before and after the pause, and to improve operability.

なお、他の実施例においては、ポーズボタンが押下されたことに加えて、ポーズ操作時のコントローラ7の状態がプレイヤにとって再現しやすい状態であることを条件としてゲーム処理を一時停止するようにしてもよい。ポーズ操作時のコントローラ7の状態をプレイヤが再現することが困難な場合、一時停止を解除することがプレイヤにとって困難になるからである。なお、ポーズ操作時のコントローラ7の状態がプレイヤにとって再現しやすい場合とは、例えば、コントローラ7が激しく動かされていない場合である。コントローラ7が激しく動かされていないか否かの判定方法としては、加速度センサの出力である加速度ベクトルの大きさが重力加速度の大きさに近いか否かによって行う方法が考えられる。   In another embodiment, in addition to the pause button being pressed, the game process is paused on condition that the state of the controller 7 during the pause operation is easy to reproduce for the player. Also good. This is because if it is difficult for the player to reproduce the state of the controller 7 during the pause operation, it is difficult for the player to cancel the pause. The case where the state of the controller 7 during the pause operation is easy to reproduce for the player is, for example, a case where the controller 7 is not moved violently. As a method for determining whether or not the controller 7 is being moved violently, a method can be considered in which the magnitude of the acceleration vector, which is the output of the acceleration sensor, is close to the magnitude of the gravitational acceleration.

(第2実施例)
次に、第2実施例として、撮像情報演算部35の出力(マーカ座標)を用いてゲーム操作が行われるゲームについて説明する。なお、第2実施例では、加速度センサ37から出力される加速度ベクトルのデータはゲーム操作に用いられないので、コントローラ7は加速度センサ37を備えていない構成であってもよい。
(Second embodiment)
Next, a game in which a game operation is performed using the output (marker coordinates) of the imaging information calculation unit 35 will be described as a second embodiment. In the second embodiment, since the acceleration vector data output from the acceleration sensor 37 is not used for game operation, the controller 7 may not include the acceleration sensor 37.

図20は、第2実施例におけるゲーム画像の例を示す図である。第2実施例におけるゲームは、画面上に表示されるカーソル55を操作して、仮想の2次元ゲーム空間(3次元でもよい)に配置されるキャラクタ51を変形させて遊ぶゲームである。第2実施例では、ゲーム装置3は、前述したコントローラ7の指示位置(コントローラ7によって指し示される画面上の位置)に基づいてカーソル55を画面上で移動させる。すなわち、画面上におけるカーソル55の位置を当該指示位置に基づいて決定する。なお、以下では、後述するカーソル56と区別する目的で、カーソル55を第1カーソル55と呼ぶ。   FIG. 20 is a diagram illustrating an example of a game image in the second embodiment. The game in the second embodiment is a game that is played by operating the cursor 55 displayed on the screen and deforming the character 51 arranged in a virtual two-dimensional game space (or three-dimensional). In the second embodiment, the game apparatus 3 moves the cursor 55 on the screen based on the position indicated by the controller 7 (the position on the screen indicated by the controller 7). That is, the position of the cursor 55 on the screen is determined based on the designated position. Hereinafter, the cursor 55 is referred to as a first cursor 55 for the purpose of distinguishing it from a cursor 56 described later.

第2実施例では、非ポーズ状態においては、通常のゲーム処理として、コントローラ7の指示位置を変更する操作に基づいて第1カーソル55を移動させるとともに、第1カーソル55の位置に応じてキャラクタ51を変形させる処理が実行される。すなわち、非ポーズ状態において、ゲーム装置3は、コントローラ7から送信されてくる操作データに含まれるマーカ座標データに基づいてコントローラ7の指示位置を算出する。そして、算出した指示位置に第1カーソル55を移動させるとともに、第1カーソル55の位置に応じてキャラクタ51を変形させる。図20に示す例では、キャラクタ51の鼻が第1カーソル55の位置に応じて変形する。具体的には、第1カーソル55は画面の左端付近に位置しているので、キャラクタ51の鼻が左に伸びるように変形している。なお、他の実施例では、キャラクタ51の任意の位置をプレイヤが指定する(例えば、所望の位置まで第1カーソル55を移動させてコントローラ7のBボタン32dを押下する)ことによって、任意の位置を変形させることができるようにしてもよい。   In the second embodiment, in the non-pause state, as a normal game process, the first cursor 55 is moved based on an operation for changing the designated position of the controller 7, and the character 51 is moved according to the position of the first cursor 55. A process of deforming is executed. That is, in the non-pause state, the game apparatus 3 calculates the indicated position of the controller 7 based on the marker coordinate data included in the operation data transmitted from the controller 7. Then, the first cursor 55 is moved to the calculated designated position, and the character 51 is deformed according to the position of the first cursor 55. In the example shown in FIG. 20, the nose of the character 51 is deformed according to the position of the first cursor 55. Specifically, since the first cursor 55 is located near the left end of the screen, the character 51 is deformed so that the nose of the character 51 extends to the left. In another embodiment, the player designates an arbitrary position of the character 51 (for example, by moving the first cursor 55 to a desired position and pressing the B button 32d of the controller 7), the arbitrary position of the character 51 is determined. May be made to be deformable.

非ポーズ状態において、ポーズボタン(例えばスタートスイッチ32g)をプレイヤが押下するポーズ操作が行われると、ゲーム装置3はゲーム処理を一時停止し、ゲーム状態を非ポーズ状態からポーズ状態へ移行させる。図21は、第2実施例におけるポーズ状態のゲーム画像の例を示す図である。ポーズ状態においては、ゲーム処理が一時停止されてゲーム処理は実行されないので、第1カーソル55は移動されず、ポーズ操作時の位置に固定される。第1実施例と同様、ポーズ状態においてはポーズ画像52がモニタ2の画面に表示される。   When a pause operation is performed in which the player presses a pause button (for example, the start switch 32g) in the non-pause state, the game apparatus 3 temporarily stops the game process and shifts the game state from the non-pause state to the pause state. FIG. 21 is a diagram illustrating an example of a game image in a pause state in the second embodiment. In the pause state, the game process is paused and the game process is not executed, so the first cursor 55 is not moved and is fixed at the position at the time of the pause operation. Similar to the first embodiment, a pause image 52 is displayed on the screen of the monitor 2 in the pause state.

ポーズ状態において、解除受付ボタン(例えばセレクトスイッチ32e)をプレイヤが押下すると、ゲーム装置3は、ゲーム状態をポーズ状態から解除受付状態へ移行させる。つまり、プレイヤは、ポーズ状態からゲームを再開したい場合、第1実施例と同様、まず解除受付ボタンを押下する。図22は、第2実施例における解除受付状態のゲーム画像の例を示す図である。解除受付状態において、ゲーム装置3は、第1カーソル55とは異なる第2カーソル56をモニタ2の画面に表示させる。第2カーソル56は、現在のコントローラ7の指示位置を表す。   When the player presses a release acceptance button (for example, the select switch 32e) in the pause state, the game apparatus 3 shifts the game state from the pause state to the release acceptance state. That is, when the player wants to resume the game from the paused state, the player first presses the release acceptance button as in the first embodiment. FIG. 22 is a diagram illustrating an example of a game image in a release acceptance state according to the second embodiment. In the release acceptance state, the game apparatus 3 displays a second cursor 56 different from the first cursor 55 on the screen of the monitor 2. The second cursor 56 represents the current designated position of the controller 7.

解除受付状態においてゲーム装置3は、現在のコントローラ7の指示位置がポーズ操作時の指示位置に一致するか否かを判定する。なお、第2実施例では、ゲーム装置3は、現在の指示位置とポーズ時の指示位置とが完全に一致しなくても、2つの位置がある程度近いと判断される場合には当該2つの指示位置が一致したと判定する。判定の結果、一致すると判定される場合、ゲーム装置3は一時停止を解除する。したがって、ゲームを再開したいプレイヤは、コントローラ7の指示位置がポーズ操作時の指示位置に一致するようにコントローラ7を操作する。上述のように、解除受付状態においては2つのカーソル55および56が表示されているので、プレイヤは、各カーソル55および56を見ながら、第2カーソル56の位置が第1カーソル55の位置に一致するようにコントローラ7を操作すればよい。   In the release acceptance state, the game apparatus 3 determines whether or not the current designated position of the controller 7 matches the designated position during the pause operation. In the second embodiment, the game apparatus 3 determines that the two instruction points are determined to be close to a certain degree even if the current instruction position and the instruction position at the time of pause do not completely match. It is determined that the positions match. As a result of the determination, when it is determined that they match, the game apparatus 3 releases the pause. Therefore, the player who wants to resume the game operates the controller 7 so that the designated position of the controller 7 coincides with the designated position during the pause operation. As described above, since the two cursors 55 and 56 are displayed in the release acceptance state, the player looks at the cursors 55 and 56 and the position of the second cursor 56 matches the position of the first cursor 55. The controller 7 may be operated as described above.

図23は、第2実施例において一時停止が解除される時のゲーム画像の例を示す図である。図23に示すように、一時停止が解除される時点では、第1カーソルの位置と第2カーソル56の位置とはほぼ一致している。また、一時停止が解除されると、ポーズ画像52および第2カーソル56は消去される(画面に表示されなくなる)。なお、図23では、画面から削除される様子を点線で示している。以上のように一時停止が解除されることによって、ゲーム状態は解除受付状態から非ポーズ状態へ移行し、ゲーム処理が再開される。すなわち、ゲーム装置3は、コントローラ7の指示位置を変更する操作に基づいて第1カーソル55を移動させ、第1カーソル55の位置に応じてキャラクタ51を変形させる処理が実行される。   FIG. 23 is a diagram showing an example of a game image when the pause is canceled in the second embodiment. As shown in FIG. 23, when the temporary stop is released, the position of the first cursor and the position of the second cursor 56 are substantially the same. When the pause is released, the pause image 52 and the second cursor 56 are deleted (not displayed on the screen). In FIG. 23, the state of being deleted from the screen is indicated by a dotted line. By releasing the pause as described above, the game state shifts from the release acceptance state to the non-pause state, and the game process is resumed. That is, the game apparatus 3 performs a process of moving the first cursor 55 based on an operation of changing the instruction position of the controller 7 and deforming the character 51 according to the position of the first cursor 55.

以上のように、第2実施例によれば、第1実施例と同様、ポーズ操作によってゲーム処理が一時停止された場合、コントローラ7の状態がポーズ操作時の状態に近くなったことを条件としてゲーム処理が再開される。したがって、一時停止を解除した時点における操作とポーズ時の操作とが全く異なることを防止することができるので、一時停止の前後において操作が変わってしまうことを防止することができる。   As described above, according to the second embodiment, as in the first embodiment, when the game process is paused by the pause operation, the controller 7 is on the condition that it is close to the pause operation state. Game processing is resumed. Therefore, it is possible to prevent the operation at the time of releasing the pause from being completely different from the operation at the time of the pause, so that the operation can be prevented from changing before and after the pause.

また、第2実施例では、コントローラ7の指示位置を用いてゲーム処理を行うものである。ここで、コントローラ7の指示位置は、コントローラ7の位置および姿勢に対応して変化するものであり、コントローラ7の位置および姿勢に関する状態を示す情報であると言える。つまり、第2実施例は、コントローラ7の位置および/または姿勢に関する状態を撮像情報演算部35によって算出し、算出した結果をゲーム処理に用いるものである。本発明は、第2実施例のように、コントローラ7の状態を撮像情報演算部35によって算出する場合にも適用することができる。   In the second embodiment, the game process is performed using the designated position of the controller 7. Here, the indicated position of the controller 7 changes according to the position and orientation of the controller 7 and can be said to be information indicating a state related to the position and orientation of the controller 7. That is, in the second embodiment, the state relating to the position and / or posture of the controller 7 is calculated by the imaging information calculation unit 35, and the calculated result is used for the game process. The present invention can also be applied to the case where the state of the controller 7 is calculated by the imaging information calculation unit 35 as in the second embodiment.

次に、第2実施例においてゲーム装置3で実行されるプログラム処理について説明する。まず、ゲーム処理において用いられる主なデータについて図24を用いて説明する。図24は、第2実施例においてゲーム装置3のメインメモリ13に記憶される主なデータを示す図である。なお、図24においては、図15に示すデータと同様のデータについては図15と同じ参照符号を付して詳細な説明を省略する。以下、第1実施例との相違点を中心に図24について説明する。   Next, program processing executed by the game apparatus 3 in the second embodiment will be described. First, main data used in the game process will be described with reference to FIG. FIG. 24 is a diagram showing main data stored in the main memory 13 of the game apparatus 3 in the second embodiment. 24, the same reference numerals as those in FIG. 15 are attached to the same data as the data shown in FIG. 15, and detailed description thereof is omitted. Hereinafter, FIG. 24 will be described with a focus on differences from the first embodiment.

図24に示すように、第1実施例と同様、メインメモリ13には、ゲームプログラム61、操作データ62、およびポーズ処理用データ63等が記憶される。第2実施例においては、操作データ62には、マーカ座標データ623および操作ボタンデータ622が含まれる。   As shown in FIG. 24, as in the first embodiment, the main memory 13 stores a game program 61, operation data 62, pause processing data 63, and the like. In the second embodiment, the operation data 62 includes marker coordinate data 623 and operation button data 622.

マーカ座標データ623は、撮像情報演算部35の画像処理回路41によって算出される座標、すなわち上記マーカ座標を示すデータである。マーカ座標は、撮像画像に対応する平面上の位置を表すための座標系(図9に示すxy座標系)で表現される。   The marker coordinate data 623 is data indicating coordinates calculated by the image processing circuit 41 of the imaging information calculation unit 35, that is, the marker coordinates. The marker coordinates are expressed by a coordinate system (xy coordinate system shown in FIG. 9) for representing a position on a plane corresponding to the captured image.

第2実施例においては、ポーズ処理用データ63は、ゲーム状態データ631、ポーズ時状態データ633、しきい値データ634、第1カーソル位置データ637、および第2カーソル位置データ638を含んでいる。   In the second embodiment, the pause processing data 63 includes game state data 631, pause state data 633, threshold data 634, first cursor position data 637, and second cursor position data 638.

第1カーソル位置データ637は、画面上における第1カーソル55の位置を示すデータである。第2カーソル位置データ638は、画面上における第2カーソル56の位置を示すデータである。   The first cursor position data 637 is data indicating the position of the first cursor 55 on the screen. The second cursor position data 638 is data indicating the position of the second cursor 56 on the screen.

また、第1実施例と同様、ポーズ時状態データ633は、ゲーム処理が一時停止させられるタイミングにおけるコントローラ7の状態を示す。なお、第2実施例においては、コントローラ7の状態とは、コントローラ7の指示位置に関する状態を指す。したがって、第2実施例においては、ゲーム処理が一時停止させられた時点の第1カーソル位置データ637がポーズ時状態データ633として記憶される。   Similarly to the first embodiment, the pause state data 633 indicates the state of the controller 7 at the timing when the game process is paused. In the second embodiment, the state of the controller 7 refers to a state relating to the indicated position of the controller 7. Therefore, in the second embodiment, the first cursor position data 637 at the time when the game process is paused is stored as the pause state data 633.

なお、第2実施例において用いられるしきい値データ634は、第1実施例において用いられたしきい値データと同じ目的で用いられるデータである。ただし、第2実施例におけるしきい値データ634の具体的な値は、第1実施例におけるしきい値データの値とは異なっていてもよい。   The threshold data 634 used in the second embodiment is data used for the same purpose as the threshold data used in the first embodiment. However, the specific value of the threshold data 634 in the second embodiment may be different from the value of the threshold data in the first embodiment.

以下、第2実施例においてゲーム装置3において行われるゲーム処理の詳細を、図25および26を用いて説明する。第2実施例において実行される処理を示すメインフローチャートは、図16に示す処理と同様であるので、メインフローチャートに示される処理についての詳細な説明は省略する。なお、第2実施例におけるステップS3において取得される操作データはマーカ座標データおよび操作ボタンデータを含むので、ステップS3においては、マーカ座標データ623および操作ボタンデータ622がメインメモリ13に記憶される。   Hereinafter, details of the game processing performed in the game apparatus 3 in the second embodiment will be described with reference to FIGS. Since the main flowchart showing the processing executed in the second embodiment is the same as the processing shown in FIG. 16, detailed description of the processing shown in the main flowchart is omitted. Since the operation data acquired in step S3 in the second embodiment includes marker coordinate data and operation button data, the marker coordinate data 623 and operation button data 622 are stored in the main memory 13 in step S3.

まず、第2実施例における非ポーズ状態処理について説明する。図25は、第2実施例における非ポーズ状態処理の詳細を示すフローチャートである。非ポーズ状態処理においては、まずステップS41において、CPU10はポーズボタン(第2実施例では、スタートスイッチ32g)が押下されたか否かを判定する。ステップS41の処理は、第1実施例におけるステップS11の処理と同じである。ステップS41の判定結果が肯定の場合、後述するステップS44の処理が実行される。一方、ステップS41の判定結果が否定の場合、ステップS42の処理が実行される。   First, the non-pause state process in the second embodiment will be described. FIG. 25 is a flowchart showing details of the non-pause state process in the second embodiment. In the non-pause state process, first, in step S41, the CPU 10 determines whether or not the pause button (start switch 32g in the second embodiment) has been pressed. The process of step S41 is the same as the process of step S11 in the first embodiment. If the determination result of step S41 is affirmative, the process of step S44 described later is executed. On the other hand, when the determination result of step S41 is negative, the process of step S42 is executed.

ステップS42においては、ゲームを進行させるためのゲーム処理が実行される。第2実施例では、コントローラ7の指示位置に基づいて第1カーソル55を移動させる処理、および、第1カーソル55の位置に応じてキャラクタ51を変形させる処理が実行される。具体的には、CPU10は、メインメモリ13に記憶されているマーカ座標データ623により示されるマーカ座標に基づいて、コントローラ7の指示位置、すなわち、第1カーソル55の位置を決定する。ここで、コントローラ7の指示位置の算出方法はどのようなものであってもよいが、例えば以下に示す方法が考えられる。   In step S42, game processing for advancing the game is executed. In the second embodiment, processing for moving the first cursor 55 based on the position indicated by the controller 7 and processing for deforming the character 51 according to the position of the first cursor 55 are executed. Specifically, the CPU 10 determines the indicated position of the controller 7, that is, the position of the first cursor 55 based on the marker coordinates indicated by the marker coordinate data 623 stored in the main memory 13. Here, any method for calculating the indicated position of the controller 7 may be used. For example, the following method is conceivable.

以下、コントローラ7の指示位置の算出方法の一例を説明する。コントローラ7から取得されるマーカ座標データ623は、マーカ8aおよび8bに対応する2つのマーカ座標を示すので、まずCPU10は、マーカ座標データから2つのマーカ座標の中点を算出する。この中点の位置は、撮像画像に対応する平面上の位置を表すための上記xy座標系によって表現される。次に、CPU10は、当該中点の位置を示す座標を、モニタ2の画面上の位置を表すための座標系(x’y’座標系)の座標に変換する。なお、x’y’座標系が、画面の左上を原点とし、下向きをy軸正方向とし、右向きをx軸正方向とするものとすれば、上記変換は次のように行うことができる。すなわち、中点座標のx成分の正負を反転させて所定の割合(例えば、xy座標系における撮像画像のx軸方向の長さを、x’y’座標系における画面のx’軸方向の長さに一致させる割合)でスケーリングすることによって、指示位置のx’成分を得ることができる。また、中点座標のy成分を所定の割合(例えば、xy座標系における撮像画像のy軸方向の長さを、x’y’座標系における画面のy’軸方向の長さに一致させる割合)でスケーリングすることによって、指示位置のy’成分を得ることができる。なお、x成分からx’成分への変換の際に正負を反転させるのは、マーカ座標の中点の移動方向と、コントローラ7の実際の指示位置の移動方向とは、左右方向(x軸方向またはx’軸方向)に関して逆になるからである。つまり、コントローラ7の実際の指示位置がx’軸方向の負方向(正方向)に移動する場合、マーカ座標の中点がx軸方向の正方向(負方向)に移動するからである。以上のようにして算出されたx’y’座標値により示される位置がコントローラ7の指示位置となる。また、より正確な指示位置の算出方法の他の一例としては、上記2つのマーカ座標を結ぶベクトルがy軸に平行になるように画像中央を中心とした画像の回転を行い、回転後の当該2つのマーカ座標の中点に対して上記変換処理を行う。このような回転による補正処理を行うことによって、コントローラ7が傾いている場合等にも、正確に指示位置を算出することができる。   Hereinafter, an example of a method for calculating the designated position of the controller 7 will be described. Since the marker coordinate data 623 acquired from the controller 7 indicates two marker coordinates corresponding to the markers 8a and 8b, the CPU 10 first calculates the midpoint of the two marker coordinates from the marker coordinate data. The position of the midpoint is represented by the xy coordinate system for representing the position on the plane corresponding to the captured image. Next, the CPU 10 converts the coordinates indicating the position of the midpoint into coordinates in a coordinate system (x′y ′ coordinate system) for representing the position of the monitor 2 on the screen. If the x′y ′ coordinate system has the upper left corner of the screen as the origin, the downward direction as the y-axis positive direction, and the right direction as the x-axis positive direction, the above conversion can be performed as follows. That is, the positive / negative sign of the x component of the midpoint coordinate is reversed to obtain a predetermined ratio (for example, the length of the captured image in the x-axis direction in the xy coordinate system is the length in the x′-axis direction of the screen in the x′y ′ coordinate system The x ′ component at the indicated position can be obtained by scaling at a ratio that matches the height. Further, the y component of the midpoint coordinates is a predetermined ratio (for example, the ratio of matching the length of the captured image in the xy coordinate system in the y-axis direction with the length of the screen in the x′y ′ coordinate system in the y′-axis direction). ), The y ′ component at the indicated position can be obtained. It should be noted that, when the x component is converted to the x ′ component, the sign is reversed because the movement direction of the center point of the marker coordinates and the movement direction of the actual designated position of the controller 7 are the left and right directions (x axis direction). This is because the opposite is true with respect to the x′-axis direction). That is, when the actual designated position of the controller 7 moves in the negative direction (positive direction) in the x′-axis direction, the middle point of the marker coordinates moves in the positive direction (negative direction) in the x-axis direction. The position indicated by the x′y ′ coordinate value calculated as described above is the designated position of the controller 7. As another example of a more accurate method of calculating the indicated position, the image is rotated around the center of the image so that the vector connecting the two marker coordinates is parallel to the y-axis, The conversion process is performed on the midpoint of the two marker coordinates. By performing the correction process by such rotation, the indicated position can be accurately calculated even when the controller 7 is tilted.

第2実施例では、以上のようにしてコントローラ7の指示位置、すなわち、第1カーソル55の位置が算出される。算出された第1カーソル55の位置を示すデータは、第1カーソル位置データ637としてメインメモリ13に記憶される。ステップS42においては、さらに、CPU10は、第1カーソル55の位置に応じてキャラクタ51を変形する。図24には図示していないが、変形されたキャラクタの形状を示すデータがメインメモリ13に記憶される。   In the second embodiment, the indicated position of the controller 7, that is, the position of the first cursor 55 is calculated as described above. Data indicating the calculated position of the first cursor 55 is stored in the main memory 13 as first cursor position data 637. In step S <b> 42, the CPU 10 further deforms the character 51 according to the position of the first cursor 55. Although not shown in FIG. 24, data indicating the shape of the deformed character is stored in the main memory 13.

続くステップS43において、CPU10は、ステップS42の処理結果に従ってゲーム画像を生成してモニタ2に表示させる。すなわち、ステップS42で決定された位置に第1カーソル55を表示するとともに、ステップS42で変形されたキャラクタ51の画像がモニタ2に表示される(図20)。ステップS43の処理が終了するとCPU10は非ポーズ状態処理を終了する。   In subsequent step S43, the CPU 10 generates a game image according to the processing result in step S42, and displays the game image on the monitor 2. That is, the first cursor 55 is displayed at the position determined in step S42, and the image of the character 51 deformed in step S42 is displayed on the monitor 2 (FIG. 20). When the process of step S43 ends, the CPU 10 ends the non-pause state process.

一方、ステップS44においては、ゲーム状態がポーズ状態に設定される。ステップS44の処理は、第1実施例におけるステップS14の処理と同じである。第1実施例と同様、上記ステップS14によってゲーム処理が一時停止されたこととなる。   On the other hand, in step S44, the game state is set to a pause state. The process of step S44 is the same as the process of step S14 in the first embodiment. As in the first embodiment, the game process is temporarily stopped in step S14.

続くステップS45において、コントローラ7の状態が算出される。具体的には、第2実施例では、コントローラ7の指示位置が算出される。コントローラ7の指示位置の算出方法は、上述したステップS42における算出方法と同じである。算出された指示位置を示すデータは、第1カーソル位置データ637としてメインメモリ13に記憶される。   In the following step S45, the state of the controller 7 is calculated. Specifically, in the second embodiment, the indicated position of the controller 7 is calculated. The calculation method of the indicated position of the controller 7 is the same as the calculation method in step S42 described above. Data indicating the calculated designated position is stored in the main memory 13 as first cursor position data 637.

続くステップS46において、ステップS45で算出されたコントローラ7の状態が記憶される。第2実施例では、CPU10は、コントローラ7の指示位置を示すデータ、すなわち、第1カーソル位置データ637をポーズ時状態データ633としてメインメモリ13に記憶する。なお、ステップS46で記憶されるデータは、コントローラ7の指示位置に関する状態を示すものであればどのようなものであってもよい。例えば、ステップS3で取得されたマーカ座標データをポーズ時状態データ633として記憶するようにしてもよいし、マーカ座標データから得られる、2つのマーカ座標の中点の位置を示すデータをポーズ時状態データ633として記憶するようにしてもよい。また、例えば、キャラクタ51の形状を示すデータをポーズ時状態データ633として記憶するようにしてもよい。   In the subsequent step S46, the state of the controller 7 calculated in step S45 is stored. In the second embodiment, the CPU 10 stores the data indicating the position indicated by the controller 7, that is, the first cursor position data 637 in the main memory 13 as the pause state data 633. The data stored in step S46 may be any data as long as it indicates a state related to the designated position of the controller 7. For example, the marker coordinate data acquired in step S3 may be stored as the pause state data 633, or data indicating the position of the midpoint between the two marker coordinates obtained from the marker coordinate data is the pause state. It may be stored as data 633. Further, for example, data indicating the shape of the character 51 may be stored as the pause state data 633.

続くステップS47において、CPU10は、一時停止中のゲーム画像をモニタ2に表示させる。具体的には、ゲーム処理が一時停止された時点のゲーム画像にポーズ画像52を重ねた画像をモニタ2に表示させる(図21参照)。なお、ゲーム処理が一時停止された時点のゲーム画像とは、前回のフレーム処理のステップS43で表示されるゲーム画像のことである。ステップS47の処理が終了するとCPU10は非ポーズ状態処理を終了する。   In subsequent step S47, CPU 10 causes monitor 2 to display a temporarily stopped game image. Specifically, an image obtained by superimposing the pose image 52 on the game image at the time when the game process is paused is displayed on the monitor 2 (see FIG. 21). It should be noted that the game image at the time when the game process is paused is the game image displayed in step S43 of the previous frame process. When the process of step S47 ends, the CPU 10 ends the non-pause state process.

第2実施例におけるポーズ状態処理は、第1実施例と同様であるので、詳細な説明を省略する。次に、第2実施例における解除受付状態処理について説明する。図26は、第2実施例における解除受付状態処理の詳細を示すフローチャートである。   Since the pause state process in the second embodiment is the same as that in the first embodiment, detailed description thereof is omitted. Next, the cancellation acceptance state process in the second embodiment will be described. FIG. 26 is a flowchart showing details of the release acceptance status process in the second embodiment.

解除受付状態処理においては、まずステップS51において、CPU10はポーズボタン(第2実施例では、スタートスイッチ32g)が押下されたか否かを判定する。ステップS51の処理は、第1実施例におけるステップS31の処理と同じである。ステップS51の判定結果が肯定の場合、後述するステップS56の処理が実行される。一方、ステップS51の判定結果が否定の場合、ステップS52の処理が実行される。   In the release acceptance state process, first, in step S51, the CPU 10 determines whether or not the pause button (start switch 32g in the second embodiment) has been pressed. The process of step S51 is the same as the process of step S31 in the first embodiment. If the determination result of step S51 is affirmative, the process of step S56 described later is executed. On the other hand, when the determination result of step S51 is negative, the process of step S52 is executed.

ステップS52においては、コントローラ7の現在の状態が算出される。第2実施例では、コントローラ7の現在の状態として、コントローラ7の指示位置、すなわち、第2カーソル56の位置が算出される。第2カーソル56の位置は、メインメモリ13に記憶されているマーカ座標データ623に基づいて算出される。なお、第2カーソル56の位置の具体的な算出方法は、第1カーソル55の位置を算出する場合と同じである。算出された第2カーソル56の位置を示すデータは、第2カーソル位置データ638としてメインメモリ13に記憶される。   In step S52, the current state of the controller 7 is calculated. In the second embodiment, as the current state of the controller 7, the indicated position of the controller 7, that is, the position of the second cursor 56 is calculated. The position of the second cursor 56 is calculated based on the marker coordinate data 623 stored in the main memory 13. A specific method for calculating the position of the second cursor 56 is the same as that for calculating the position of the first cursor 55. Data indicating the calculated position of the second cursor 56 is stored in the main memory 13 as second cursor position data 638.

続くステップS53においては、CPU10は、コントローラ7の現在の状態(指示位置)とポーズ操作時のコントローラ7の状態(指示位置)とを比較し、両者が一致するか否かを判定する。コントローラ7の現在の指示位置は、メインメモリ13に記憶されている第2カーソル位置データ638によって示される。また、ポーズ操作時のコントローラ7の指示位置は、メインメモリ13に記憶されているポーズ時状態データ633によって示される。したがって、CPU10は、第2カーソル位置データ638により示される傾きとポーズ時状態データ633により示される傾きとを比較する。上述したように、第2実施例では、2つの位置が完全に一致しなくても、2つの位置がある程度近いと判断される場合には当該2つの位置が一致したと判断する。すなわち、2つの位置間の距離が、しきい値データ634により示される値よりも小さい場合、2つの位置が一致したと判断し、2つの位置間の距離が当該しきい値以上である場合、2つの位置は一致しないと判断する。   In subsequent step S53, the CPU 10 compares the current state (indicated position) of the controller 7 with the state (indicated position) of the controller 7 during the pause operation, and determines whether or not they match. The current designated position of the controller 7 is indicated by the second cursor position data 638 stored in the main memory 13. The indicated position of the controller 7 at the time of the pause operation is indicated by the pause state data 633 stored in the main memory 13. Therefore, the CPU 10 compares the inclination indicated by the second cursor position data 638 with the inclination indicated by the pause state data 633. As described above, in the second embodiment, even if the two positions do not completely match, if it is determined that the two positions are close to some extent, it is determined that the two positions match. That is, when the distance between the two positions is smaller than the value indicated by the threshold value data 634, it is determined that the two positions match, and when the distance between the two positions is equal to or greater than the threshold value, It is determined that the two positions do not match.

ステップS53の判定において、コントローラ7の現在の指示位置とポーズ操作時の指示位置とが一致すると判定される場合、ステップS54の処理が実行される。一方、コントローラ7の現在の指示位置とポーズ操作時の指示位置とが一致すると判定される場合、ステップS54の処理がスキップされてステップS55の処理が実行される。   If it is determined in step S53 that the current designated position of the controller 7 matches the designated position during the pause operation, the process of step S54 is executed. On the other hand, when it is determined that the current designated position of the controller 7 matches the designated position at the time of the pause operation, the process of step S54 is skipped and the process of step S55 is executed.

ステップS54においては、ゲーム状態が非ポーズ状態に設定される。ステップS54の処理は、第1実施例のステップS34の処理と同じである。したがって、次のフレーム処理において(ポーズボタンが再び押下されなければ)一時停止が解除されてゲーム処理が再開されることとなる。   In step S54, the game state is set to a non-pause state. The process of step S54 is the same as the process of step S34 of the first embodiment. Therefore, in the next frame process (if the pause button is not pressed again), the pause is released and the game process is resumed.

ステップS55において、CPU10は、一時停止中のゲーム画像に加えて第2カーソル56をモニタ2に表示させる(図22参照)。なお、一時停止中のゲーム画像とは、上記ステップS36において表示されるゲーム画像である。このように、本実施例においては、解除受付状態においては2つのカーソル55および56が表示されるので、プレイヤは、これらのカーソル55および56を参照しながら、第2カーソル56の位置が第1カーソル55の位置に一致するようにコントローラ7の指示位置(コントローラ7の位置および/または姿勢)を操作すればよく、一時停止を解除する操作が容易になる。ステップS55の処理が終了するとCPU10は解除受付状態処理を終了する。   In step S55, the CPU 10 displays a second cursor 56 on the monitor 2 in addition to the temporarily stopped game image (see FIG. 22). The paused game image is the game image displayed in step S36. Thus, in the present embodiment, since the two cursors 55 and 56 are displayed in the release acceptance state, the player can refer to these cursors 55 and 56 while the position of the second cursor 56 is the first. The instruction position of the controller 7 (the position and / or posture of the controller 7) may be operated so as to coincide with the position of the cursor 55, and the operation for canceling the temporary stop becomes easy. When the process of step S55 ends, the CPU 10 ends the release acceptance state process.

一方、ステップS56においては、ゲーム状態がポーズ状態に設定される。ステップS56の処理は、第1実施例におけるステップS37と同じである。このステップS56によってゲーム処理が一時停止されたこととなる。以上のように、本実施例では、解除受付状態においてポーズボタンが押下された場合には、ゲーム状態は再度ポーズ状態に戻ることになる。   On the other hand, in step S56, the game state is set to a pause state. The process of step S56 is the same as step S37 in the first embodiment. The game process is temporarily stopped by this step S56. As described above, in this embodiment, when the pause button is pressed in the release acceptance state, the game state returns to the pause state again.

続くステップS57においては、CPU10は、一時停止中のゲーム画像をモニタ2に表示させる(図12参照)。ステップS57の処理は、第1実施例におけるステップS38と同じである。ステップS57の処理が終了するとCPU10は解除受付状態処理を終了する。   In subsequent step S57, CPU 10 causes monitor 2 to display a temporarily stopped game image (see FIG. 12). The process of step S57 is the same as step S38 in the first embodiment. When the process of step S57 ends, the CPU 10 ends the release acceptance state process.

以上に説明したように、第2実施例における解除受付状態においては、コントローラ7の現在の指示位置とポーズ操作時のコントローラ7の指示位置との比較が行われ、両者が一致するか否かが判定される(ステップS53)。さらに、両者が一致する場合には、ゲーム状態が非ポーズ状態へ移行され(ステップS54)、ゲームが再開する。以上で、第2実施例においてゲーム装置3で実行される処理の説明を終了する。   As described above, in the release acceptance state in the second embodiment, the current designated position of the controller 7 is compared with the designated position of the controller 7 during the pause operation, and whether or not they match. Determination is made (step S53). Further, if the two match, the game state is shifted to the non-pause state (step S54), and the game is restarted. Above, description of the process performed with the game device 3 in 2nd Example is complete | finished.

以上のように、第2実施例によれば、ゲーム処理が一時停止(ポーズ)される場合、ポーズ操作時におけるコントローラ7の指示位置(カーソルの位置)を記憶しておき、現在のコントローラ7の指示位置とポーズ操作時におけるコントローラ7の指示位置とを比較し、2つの位置が一致することに応じて一時停止を解除する。これによって、一時停止が解除されてゲームが再開される際に、コントローラ7の指示位置を、一時停止が行われる前と同じ位置にすることができる。したがって、第2実施例によれば第1実施例と同様、一時停止の前後においてゲーム操作が変わってしまうことに起因するプレイヤのミスを防止することができ、操作性を向上することができる。また、第2実施例においては、解除受付状態において第2カーソルを表示することにより、一時停止を解除する操作をプレイヤにとって容易にすることができる。また、解除受付状態においては、第2カーソルのみを表示し、当該第2カーソルに基づいて決められるキャラクタ自体の画像を表示しないので、当該キャラクタの画像を表示する場合に比べてCPU10の処理負荷を軽減することができる。   As described above, according to the second embodiment, when the game process is paused (paused), the designated position (cursor position) of the controller 7 at the time of the pause operation is stored, and the current controller 7 The designated position is compared with the designated position of the controller 7 at the time of the pause operation, and the temporary stop is released when the two positions match. Thus, when the pause is released and the game is resumed, the indicated position of the controller 7 can be made the same position as before the pause is performed. Therefore, according to the second embodiment, as in the first embodiment, it is possible to prevent a player's mistake due to a change in the game operation before and after the pause, and to improve the operability. In the second embodiment, the player can easily perform an operation of canceling the temporary stop by displaying the second cursor in the cancel acceptance state. Further, in the release acceptance state, only the second cursor is displayed and the image of the character itself determined based on the second cursor is not displayed. Therefore, the processing load on the CPU 10 is reduced as compared with the case where the image of the character is displayed. Can be reduced.

(ゲーム処理に用いるデータの変形例)
なお、第1実施例では、コントローラ7の傾き(姿勢)に基づいて行われるゲーム処理を説明し、第2実施例では、コントローラ7の位置または姿勢に対応して変化する(コントローラ7の)指示位置に基づいて行われるゲーム処理を説明した。ここで、他の実施例においては、ゲーム処理は、コントローラ7の位置および姿勢の少なくとも一方に関する状態に基づいて行われるものであればよい。なお、「コントローラ7の位置および姿勢の少なくとも一方に関する状態」とは、コントローラ7の位置、姿勢、位置の変化(速度)、および姿勢の変化(角速度)等を含む概念である。例えば、ゲーム装置3は、コントローラ7の位置を算出し、算出した位置を用いてゲーム処理を行ってもよいし、コントローラ7の位置または姿勢の変化量(速度または角速度)を算出し、算出した変化量を用いてゲーム処理を行ってもよい。
(Modification of data used for game processing)
In the first embodiment, game processing performed based on the inclination (posture) of the controller 7 will be described. In the second embodiment, an instruction (of the controller 7) that changes in accordance with the position or posture of the controller 7 is described. The game process performed based on the position has been described. Here, in another embodiment, the game process may be performed based on a state relating to at least one of the position and the posture of the controller 7. The “state relating to at least one of the position and posture of the controller 7” is a concept including the position, posture, position change (speed), posture change (angular velocity), and the like of the controller 7. For example, the game apparatus 3 may calculate the position of the controller 7, perform game processing using the calculated position, and calculate and calculate a change amount (speed or angular velocity) of the position or orientation of the controller 7. Game processing may be performed using the amount of change.

例えば、ゲーム装置3は、上記撮像情報演算部35によって算出されるマーカ座標を用いて、コントローラ7のZ’軸周りの回転に関する姿勢を算出することができる。すなわち、Z’軸周りにコントローラ7を回転させた場合、2つのマーカ座標を結ぶ方向はコントローラ7の回転に合わせて回転する。したがって、2つのマーカ座標を結ぶ方向に基づいて上記姿勢を算出することができる。ゲーム装置3は、この姿勢に基づいてゲーム処理を行うようにしてもよい。また、ゲーム装置3は、上記撮像情報演算部35によって算出されるマーカ座標を用いて、マーカ8aおよび8bからコントローラ7までの距離を算出することができる。すなわち、コントローラ7をマーカ8aおよび8bに近づけた場合、2つのマーカ座標間の長さは長くなり、逆に、コントローラ7をマーカ8aおよび8bから遠ざけた場合、2つのマーカ座標間の長さは短くなる。したがって、2つのマーカ座標間の長さに基づいて上記距離を算出することができる。ゲーム装置3は、この距離に基づいてゲーム処理を行うようにしてもよい。   For example, the game apparatus 3 can calculate the posture related to the rotation of the controller 7 around the Z ′ axis using the marker coordinates calculated by the imaging information calculation unit 35. That is, when the controller 7 is rotated around the Z ′ axis, the direction connecting the two marker coordinates rotates in accordance with the rotation of the controller 7. Therefore, the posture can be calculated based on the direction connecting the two marker coordinates. The game apparatus 3 may perform game processing based on this attitude. The game apparatus 3 can calculate the distance from the markers 8 a and 8 b to the controller 7 using the marker coordinates calculated by the imaging information calculation unit 35. That is, when the controller 7 is brought closer to the markers 8a and 8b, the length between the two marker coordinates becomes longer. Conversely, when the controller 7 is moved away from the markers 8a and 8b, the length between the two marker coordinates becomes Shorter. Therefore, the distance can be calculated based on the length between the two marker coordinates. The game apparatus 3 may perform game processing based on this distance.

また、上記第1実施例では、コントローラ7の傾きを算出するために加速度センサ37を用い、上記第2実施例では、コントローラ7の指示位置を算出するために撮像情報演算部35を用いた。ここで、他の実施例では、ゲーム処理に反映されるコントローラ7の状態を算出するための任意のセンサが用いられてもよい。また、他の実施例では、加速度センサ37および撮像情報演算部35の両方を用いてコントローラ7の状態を算出するようにしてもよい。例えば、撮像情報演算部35を用いてコントローラ7の指示位置を算出するとともに、加速度センサ37を用いてコントローラ7の姿勢を算出するようにしてもよい。このとき、ゲーム処理は、コントローラ7の指示位置および姿勢に基づいて行われる。また、例えば、コントローラ7のZ’軸周りの回転に関する姿勢を算出する場合、加速度センサ37および撮像情報演算部35の両方を用いて(具体的には、いずれを用いるかを切り替えて)当該姿勢を算出するようにしてもよい。具体的には、撮像情報演算部35によってマーカ8aおよび8bを撮像可能である場合には、撮像情報演算部35から得られるマーカ座標データを用いて上記姿勢を算出し、撮像情報演算部35によってマーカ8aおよび8bを撮像不可能である場合には、加速度センサ37から得られる加速度ベクトルを用いて上記姿勢を算出するようにしてもよい。   In the first embodiment, the acceleration sensor 37 is used to calculate the tilt of the controller 7, and in the second embodiment, the imaging information calculation unit 35 is used to calculate the indicated position of the controller 7. Here, in another embodiment, an arbitrary sensor for calculating the state of the controller 7 reflected in the game process may be used. In another embodiment, the state of the controller 7 may be calculated using both the acceleration sensor 37 and the imaging information calculation unit 35. For example, the indicated position of the controller 7 may be calculated using the imaging information calculation unit 35 and the attitude of the controller 7 may be calculated using the acceleration sensor 37. At this time, the game process is performed based on the designated position and posture of the controller 7. Further, for example, when calculating the posture of the controller 7 about rotation around the Z ′ axis, the posture is determined using both the acceleration sensor 37 and the imaging information calculation unit 35 (specifically, which one is used is switched). May be calculated. Specifically, when the markers 8 a and 8 b can be imaged by the imaging information calculation unit 35, the posture is calculated using the marker coordinate data obtained from the imaging information calculation unit 35, and the imaging information calculation unit 35 When the markers 8 a and 8 b cannot be imaged, the posture may be calculated using an acceleration vector obtained from the acceleration sensor 37.

(ポーズ操作時に記憶するゲームデータの変形例)
なお、上記第1実施例では、ポーズ操作時に加速度センサの出力(加速度ベクトル)を記憶し、上記第2実施例では、コントローラ7の指示位置(第1カーソル55の位置)を記憶するようにした。ここで、他の実施例では、ポーズ操作時に記憶するデータは、コントローラ7の状態(位置および姿勢の少なくとも一方に関する状態)に応じて変化し、ゲーム処理に用いられるゲームデータであればよい。このゲームデータは、コントローラ7の状態を示すデータ(上記加速度データ621、第1カーソル位置データ637、および、マーカ座標データ623)、および、当該データから算出されるデータ(キャラクタ方向データ632、および、キャラクタ51の形状を示すデータ)を含む概念である。なお、第1実施例のステップS32または第2実施例のステップS53において、上記記憶されるゲームデータとコントローラ7の現在の状態を示すゲームデータとを比較する場合、記憶されるゲームデータの種類に合わせて現在の状態を示すゲームデータの種類を変更する必要がある。例えば、第1実施例において、加速度データに代えてキャラクタ方向データを記憶する場合には、ステップS32の処理の前に現在のキャラクタ方向データを算出し、算出されたキャラクタ方向データと記憶されたキャラクタ方向データとを比較する。
(Modification of game data stored during pause operation)
In the first embodiment, the output of the acceleration sensor (acceleration vector) is stored during the pause operation, and in the second embodiment, the indicated position of the controller 7 (the position of the first cursor 55) is stored. . Here, in another embodiment, the data stored at the time of the pose operation may be game data that changes according to the state of the controller 7 (the state relating to at least one of the position and the posture) and is used for the game process. This game data includes data indicating the state of the controller 7 (the acceleration data 621, the first cursor position data 637, and the marker coordinate data 623), and data calculated from the data (character direction data 632, and This is a concept including data indicating the shape of the character 51. In step S32 of the first embodiment or step S53 of the second embodiment, when the stored game data is compared with the game data indicating the current state of the controller 7, the type of stored game data is determined. In addition, it is necessary to change the type of game data indicating the current state. For example, in the first embodiment, when character direction data is stored instead of acceleration data, the current character direction data is calculated before the processing of step S32, and the calculated character direction data and the stored character are stored. Compare with direction data.

(案内画像の変形例)
なお、解除受付状態において、上記第1実施例ではモデル53および54が表示され、第2実施例では第2カーソル56が表示された。これらのモデルおよびカーソルは、ポーズ操作時のコントローラ7の状態になるようにプレイヤを案内するための画像である。つまり、これらの画像は、プレイヤが一時停止を解除する際にプレイヤの解除操作を容易にする目的で表示される。ここで、他の実施例では、上記の目的で表示される画像は、モデルやカーソルに限らず、例えば数値や操作方法を示す矢印であってもよい。具体的には、第1実施例においては、ポーズ操作時におけるコントローラ7の傾きと、現在の傾きとの角度差を画面に表示するようにしてもよい。また、第2実施例においては、指示位置を移動させるべき方向を示す矢印を画面に表示するようにしてもよい。さらに、他の実施例においては、解除受付状態において、操作対象となるオブジェクトの画像を案内用に表示してもよい。以下、図27および図28を用いて具体的に説明する。
(Modification of guide image)
In the release acceptance state, the models 53 and 54 are displayed in the first embodiment, and the second cursor 56 is displayed in the second embodiment. These models and cursors are images for guiding the player so that the state of the controller 7 during the pose operation is obtained. That is, these images are displayed for the purpose of facilitating the player's release operation when the player releases the pause. Here, in another embodiment, an image displayed for the above purpose is not limited to a model or a cursor, but may be an arrow indicating a numerical value or an operation method, for example. Specifically, in the first embodiment, the angle difference between the inclination of the controller 7 during the pause operation and the current inclination may be displayed on the screen. In the second embodiment, an arrow indicating the direction in which the designated position should be moved may be displayed on the screen. Furthermore, in another embodiment, an image of an object to be operated may be displayed for guidance in the release acceptance state. This will be specifically described below with reference to FIGS. 27 and 28.

図27および図28は、他の実施例におけるゲーム画像の例を示す図である。図27においては、2次元のゲーム空間に、板状オブジェクト71および72、ボールオブジェクト73、および壁オブジェクト74が配置されている。図27に示すゲームは、ゲーム装置3のCPU10によって制御される板状オブジェクト72と板状オブジェクト71との間でボールオブジェクト73を打ち合って遊ぶホッケーゲームである。板状オブジェクト71は、プレイヤによって操作される操作対象となるオブジェクト(プレイヤオブジェクト)である。板状オブジェクト71は、プレイヤの操作によって、画面の上下左右方向に移動可能であるとともに回転可能である(図27に示す矢印参照)。すなわち、板状オブジェクト71は、コントローラ7の指示位置に応じて画面の上下左右方向に移動するとともに、コントローラ7の傾きに応じて回転する。   27 and 28 are diagrams showing examples of game images in another embodiment. In FIG. 27, plate-like objects 71 and 72, a ball object 73, and a wall object 74 are arranged in a two-dimensional game space. The game shown in FIG. 27 is a hockey game that is played by hitting the ball object 73 between the plate-like object 72 and the plate-like object 71 controlled by the CPU 10 of the game apparatus 3. The plate-like object 71 is an object (player object) to be operated by the player. The plate-like object 71 can be moved in the vertical and horizontal directions and rotated by the player's operation (see the arrows shown in FIG. 27). That is, the plate-like object 71 moves in the vertical and horizontal directions of the screen according to the designated position of the controller 7 and rotates according to the inclination of the controller 7.

図28は、図27に示すゲームにおいて解除受付状態となった場合のゲーム画像の例を示す図である。図28においては、板状オブジェクト71は、ポーズ操作時の状態で固定されている。このとき、ゲーム装置3は、現在のコントローラ7の状態から算出されるプレイヤオブジェクトの状態を表す案内用オブジェクト75を表示する。具体的には、解除受付状態においてゲーム装置3は、コントローラ7の指示位置を算出して、算出された指示位置に基づいて案内用オブジェクト75の画面上での位置を決定するとともに、コントローラ7の傾きを算出し、算出された傾きに基づいて案内用オブジェクト75の方向を決定する。また、ゲーム装置3は、板状オブジェクト71の位置と案内用オブジェクト75の位置とが一致するか否か、および、板状オブジェクト71の方向と案内用オブジェクト75の方向とが一致するか否かを判定する。そして、両者の位置および方向がともに一致すると判定される場合、一時停止を解除してゲームを再開する。このように、コントローラ7の状態が複数種類(上記例では、コントローラ7の指示位置および傾きの2種類)である場合には、それぞれの状態についてポーズ操作時の状態と現在の状態とが一致したことに応じて一時停止を解除することが好ましい。また、以上の図28に示したように、案内用の画像は、操作対象となるオブジェクトに対応する画像であってもよい。   FIG. 28 is a diagram showing an example of a game image when the game is in the release acceptance state in the game shown in FIG. In FIG. 28, the plate-like object 71 is fixed in the state during the pause operation. At this time, the game apparatus 3 displays a guidance object 75 that represents the state of the player object calculated from the current state of the controller 7. Specifically, in the release acceptance state, the game apparatus 3 calculates the indicated position of the controller 7 and determines the position of the guidance object 75 on the screen based on the calculated indicated position. The inclination is calculated, and the direction of the guidance object 75 is determined based on the calculated inclination. Further, the game apparatus 3 determines whether or not the position of the plate-like object 71 and the position of the guiding object 75 match, and whether or not the direction of the plate-like object 71 and the direction of the guiding object 75 match. Determine. And when it determines with both position and direction being in agreement, a pause is cancelled | released and a game is restarted. As described above, when there are a plurality of types of states of the controller 7 (in the above example, two types of indication position and inclination of the controller 7), the state at the time of the pause operation and the current state coincide for each state. It is preferable to release the temporary stop accordingly. Further, as shown in FIG. 28 above, the guidance image may be an image corresponding to an object to be operated.

また、第2実施例のように操作対象が画面上を移動する場合において、表示装置(モニタ2)の設定等の原因で、操作対象が画面に表示されない(または、一部分のみが表示される)状況が起こることがある。図29は、他の実施例におけるゲーム画像の例を示す図である。なお、図29では、説明を容易にするために、3つのカーソル76〜78のみが表示されるものとして示している。図29において、3つのカーソル76〜78とは、操作カーソル76、案内用カーソル77、および基準カーソル78である。操作カーソル76は、非ポーズ状態において操作対象となるカーソルである。   Further, when the operation target moves on the screen as in the second embodiment, the operation target is not displayed on the screen (or only a part is displayed) due to the setting of the display device (monitor 2) or the like. A situation may arise. FIG. 29 is a diagram showing an example of a game image in another embodiment. In FIG. 29, only three cursors 76 to 78 are displayed for easy explanation. In FIG. 29, three cursors 76 to 78 are an operation cursor 76, a guidance cursor 77, and a reference cursor 78. The operation cursor 76 is a cursor to be operated in the non-pause state.

図29の例においては、解除受付状態において、画面から外れている操作カーソル76から所定距離だけ上方に基準カーソル78が表示される。また、コントローラ7の現在の指示位置に基づいて決定される位置に案内用カーソル77が表示される。案内用カーソル77は、コントローラ7の現在の指示位置に配置されるのではなく、当該指示位置から上記所定距離だけ上方の位置に配置される。解除受付状態において、プレイヤは、案内用カーソル77が基準カーソル78に一致するように案内用カーソル77を操作する。そして、案内用カーソル77が基準カーソル78に一致すると、一時停止が解除されてゲーム処理が再開される。図29に示したように、案内用の画像は、必ずしも操作対象の画像(操作カーソル76)である必要はなく、操作対象の画像とは異なる画像を用いて位置合わせを行うようにしてもよい。これによれば、図29に示したように、ポーズ操作時において操作対象が画面の端周辺に表示されていて操作対象が見にくい場合にも、案内用の画像を見やすく表示することができる。   In the example of FIG. 29, in the release acceptance state, the reference cursor 78 is displayed at a predetermined distance above the operation cursor 76 that is off the screen. Further, a guidance cursor 77 is displayed at a position determined based on the current designated position of the controller 7. The guidance cursor 77 is not arranged at the current designated position of the controller 7, but is arranged at a position above the designated position by the predetermined distance. In the release acceptance state, the player operates the guidance cursor 77 so that the guidance cursor 77 matches the reference cursor 78. When the guidance cursor 77 matches the reference cursor 78, the pause is released and the game process is resumed. As shown in FIG. 29, the guidance image does not necessarily need to be the operation target image (operation cursor 76), and the alignment may be performed using an image different from the operation target image. . According to this, as shown in FIG. 29, even when the operation target is displayed near the edge of the screen during the pause operation and the operation target is difficult to see, the guidance image can be displayed in an easy-to-view manner.

(ポーズ状態処理の変形例)
なお、上記第1実施例および第2実施例においては、ゲーム装置3は、ポーズ状態において解除受付ボタンが押下されたことに応じて解除受付状態への移行を行った。ここで、他の実施例においては、ゲーム装置3は、ゲーム処理が一時停止させられてから所定時間が経過したことに応じて解除受付状態への移行を行ってもよい。以下、図30を用いてポーズ状態処理の変形例を説明する。
(Modified example of pause state processing)
In the first embodiment and the second embodiment, the game apparatus 3 shifts to the release acceptance state in response to the release acceptance button being pressed in the pause state. Here, in another embodiment, the game apparatus 3 may make a transition to the release acceptance state when a predetermined time has elapsed since the game process was temporarily stopped. Hereinafter, a modified example of the pause state process will be described with reference to FIG.

図30は、ポーズ状態処理の変形例を示すフローチャートである。図30に示すポーズ状態処理においては、まずステップS61において、CPU10は、ゲーム処理が一時停止させられてから所定時間が経過したか否かを判定する。なお、所定時間は、ゲームプログラム61において予め定められた固定値であってもよいし、プレイヤの指示やその他の条件に基づいて可変に定められる値であってもよい。ステップS61において、所定時間が経過したと判定される場合、ステップS62の処理が実行される。一方、所定時間が経過していないと判定される場合、ステップS62の処理がスキップされてステップS63の処理が実行される。ステップS62においては、ゲーム状態が解除受付状態に設定される。ステップS62の処理は第1実施例におけるステップS22の処理と同じである。また、ステップS63の処理は第1実施例におけるステップS23の処理と同じである。   FIG. 30 is a flowchart showing a modification of the pause state process. In the pause state process shown in FIG. 30, first, in step S61, the CPU 10 determines whether or not a predetermined time has elapsed since the game process was paused. Note that the predetermined time may be a fixed value determined in advance in the game program 61, or may be a value variably determined based on an instruction from the player or other conditions. If it is determined in step S61 that the predetermined time has elapsed, the process of step S62 is executed. On the other hand, when it is determined that the predetermined time has not elapsed, the process of step S62 is skipped and the process of step S63 is executed. In step S62, the game state is set to the release acceptance state. The process of step S62 is the same as the process of step S22 in the first embodiment. Further, the process of step S63 is the same as the process of step S23 in the first embodiment.

以上のように、他の実施例においては、ゲーム処理が一時停止させられてからの経過時間に基づいて、ポーズ状態から解除受付状態への移行を行うか否かを判定するようにしてもよい。これによれば、プレイヤは解除受付状態へ移行させる操作(上記第1実施例で言えば、解除受付ボタンを押下する操作)を行う必要がないので、プレイヤの操作を簡易化することができる。また、解除受付状態へ移行するために、一時停止してから一定時間経過したことを条件としているので、プレイヤが意図せずに、例えば一時停止直後に解除条件を満たしてしまうことなどによって一時停止が解除されることがない。   As described above, in another embodiment, it may be determined whether or not the transition from the pause state to the release acceptance state is performed based on the elapsed time after the game process is temporarily stopped. . According to this, since it is not necessary for the player to perform an operation for shifting to the release acceptance state (in the first embodiment, an operation for pressing the release acceptance button), the player's operation can be simplified. In addition, since it is a condition that a certain time has passed since the temporary stop in order to shift to the release acceptance state, the player does not intend to temporarily stop, for example, by satisfying the release condition immediately after the pause. Will not be released.

また、他の実施例においては、ポーズ状態において、現在のコントローラ7の状態が、ポーズ操作時の状態に対して所定の基準よりも相違したことに応じて一時停止状態の解除の受付を開始するようにしてもよい。以下、図31を用いてポーズ状態処理の変形例を説明する。   In another embodiment, in the pause state, acceptance of the cancellation of the pause state is started in response to the current state of the controller 7 being different from a predetermined reference with respect to the state during the pause operation. You may do it. Hereinafter, a modified example of the pause state process will be described with reference to FIG.

図31は、ポーズ状態処理の他の変形例を示すフローチャートである。図31に示すポーズ状態処理においては、まずステップS65において、CPU10は、コントローラ7の状態(位置および姿勢の少なくとも一方に関する状態)を算出する。例えば、上記第2実施例の場合には、コントローラ7の指示位置を算出する。このとき、算出された状態を示すデータがメインメモリ13に記憶される。なお、この時点では、ポーズ操作時における状態を示すデータは、ポーズ時状態データ633としてメインメモリ13に記憶されている。   FIG. 31 is a flowchart showing another modification of the pause state process. In the pause state process shown in FIG. 31, first, in step S65, the CPU 10 calculates the state of the controller 7 (a state related to at least one of position and posture). For example, in the case of the second embodiment, the indicated position of the controller 7 is calculated. At this time, data indicating the calculated state is stored in the main memory 13. At this time, the data indicating the state at the time of the pause operation is stored in the main memory 13 as the pause state data 633.

続くステップS66において、CPU10は、ステップS65で算出された現在のコントローラ7の状態とポーズ操作時の状態とを比較し、現在の状態がポーズ操作時の状態から所定の基準よりも離れているか否かを判定する。例えば、第1実施例の場合には、コントローラ7の現在の傾きが、ポーズ操作時の傾きから所定角度以上離れているか否かを判定する。また、第2実施例の場合には、コントローラ7の現在の指示位置が、ポーズ操作時の指示位置から所定距離以上離れているか否かを判定する。ステップS66の判定結果が肯定の場合、ステップS67の処理が実行され、ステップS66の判定結果が否定の場合、ステップS67の処理がスキップされてステップS68の処理が実行される。ステップS67の処理は第1実施例におけるステップS22の処理と同じである。また、ステップS68の処理は第1実施例におけるステップS23の処理と同じである。   In subsequent step S66, the CPU 10 compares the current state of the controller 7 calculated in step S65 with the state at the time of the pause operation, and determines whether or not the current state is away from a predetermined reference from the state at the time of the pause operation. Determine whether. For example, in the case of the first embodiment, it is determined whether or not the current inclination of the controller 7 is more than a predetermined angle away from the inclination during the pause operation. Further, in the case of the second embodiment, it is determined whether or not the current designated position of the controller 7 is more than a predetermined distance from the designated position during the pause operation. If the determination result of step S66 is affirmative, the process of step S67 is executed. If the determination result of step S66 is negative, the process of step S67 is skipped and the process of step S68 is executed. The process of step S67 is the same as the process of step S22 in the first embodiment. Further, the process of step S68 is the same as the process of step S23 in the first embodiment.

以上のように、他の実施例においては、ポーズ状態においてコントローラ7の現在の状態とポーズ操作時の状態とが大きく離れたことに応じて、ポーズ状態から解除受付状態への移行を行うようにしてもよい。これによれば、プレイヤは解除受付状態へ移行させる操作を行う必要がないので、プレイヤの操作を簡易化することができる。また、解除受付状態へ移行するために、コントローラ7の現在の状態とポーズ操作時の状態とが大きく離れたことを条件としているので、プレイヤが意図せずに、例えば一時停止直後に解除条件を満たしてしまうことなどによって一時停止が解除されることがない。   As described above, in another embodiment, when the current state of the controller 7 and the state at the time of the pause operation are largely separated in the pause state, the transition from the pause state to the release acceptance state is performed. May be. According to this, since it is not necessary for the player to perform an operation of shifting to the release acceptance state, the player's operation can be simplified. In addition, since the current state of the controller 7 and the state at the time of the pause operation are largely separated in order to shift to the release acceptance state, the release condition is set immediately after a pause, for example, without the player's intention. Suspension is not released by satisfying.

(ゲーム処理を一時停止するタイミングに関する変形例)
上記実施例においては、ゲーム装置3は、ポーズボタンが押下されたタイミングでゲーム処理を一時停止させるものであった。ここで、他の実施例においては、ポーズボタンが押下されるよりも少し前(具体的には、数フレーム前)の時点でゲーム処理が一時停止させられるようにしてもよい。つまり、当該時点から実際にポーズボタンが押下された時点までのゲーム処理を無効とし、ゲーム処理が再開される際には、ポーズボタンが押下されるよりも少し前の時点のゲーム処理状態から再開されるようにしてもよい。これによれば、プレイヤがポーズボタンを押下したことによってコントローラ7の位置または姿勢が変化してしまうおそれがある場合でも、プレイヤの意図したタイミングでゲーム処理を一時停止することができる。
(Variation regarding timing to pause game processing)
In the above embodiment, the game apparatus 3 pauses the game process when the pause button is pressed. Here, in another embodiment, the game process may be paused slightly before the pause button is pressed (specifically, several frames before). In other words, the game process from the time point to the time point when the pause button is actually pressed is invalidated, and when the game process is restarted, the game process state at a time point slightly before the pause button is pressed is resumed. You may be made to do. According to this, even when there is a possibility that the position or posture of the controller 7 may change due to the player pressing the pause button, the game process can be paused at the timing intended by the player.

(プレイヤが複数人である場合の変形例)
なお、上記実施例においては、プレイヤが1人である場合を例として説明したが、プレイヤが複数人の場合であっても上記実施例を適用することができる。なお、この場合、プレイヤは1人につき1つのコントローラ7を操作するものとする。この場合、ゲーム装置3は、解除受付状態において、現在のコントローラの状態とポーズ操作時の状態とをコントローラ毎に比較する。そして、全てのコントローラについて、現在の状態とポーズ操作時の状態とが一致すると判定される場合、一時停止を解除してゲーム処理を再開する。なお、ポーズ状態から解除受付状態へ移行するための条件は、複数のコントローラのうちの1つのコントローラのポーズボタンが押下されたことであってもよいし、全てのコントローラのポーズボタンが押下されたことであってもよい。またポーズボタンを押下するという条件に代えて、上記図30または図31に示した条件を用いてもよい。
(Modification example when there are multiple players)
In the above embodiment, the case where there is one player has been described as an example. However, the above embodiment can be applied even when there are a plurality of players. In this case, it is assumed that the player operates one controller 7 per person. In this case, the game apparatus 3 compares the current controller state and the pause operation state for each controller in the release acceptance state. When it is determined that the current state and the state at the time of the pause operation are the same for all the controllers, the pause is released and the game process is resumed. The condition for shifting from the pause state to the release acceptance state may be that the pause button of one of the controllers is pressed, or the pause buttons of all the controllers are pressed. It may be. Further, instead of the condition of pressing the pause button, the condition shown in FIG. 30 or FIG. 31 may be used.

以上のように、本発明は、ポーズを解除した時におけるゲームの操作性を改善すること等を目的として、例えばゲーム装置やゲームプログラムに利用することができる。   As described above, the present invention can be used for, for example, a game device or a game program for the purpose of improving the operability of a game when a pause is released.

本発明の一実施形態に係る座標算出装置一例であるゲーム装置を含むゲームシステムの外観図1 is an external view of a game system including a game device which is an example of a coordinate calculation device according to an embodiment of the present invention. ゲーム装置3の機能ブロック図Functional block diagram of game device 3 コントローラ7の斜視図Perspective view of controller 7 コントローラ7の斜視図Perspective view of controller 7 コントローラ7を前方から見た図The figure which looked at controller 7 from the front コントローラ7の内部構造を示す図Diagram showing the internal structure of the controller 7 コントローラ7の内部構造を示す図Diagram showing the internal structure of the controller 7 コントローラ7の構成を示すブロック図Block diagram showing the configuration of the controller 7 コントローラ7の傾きと加速度センサの出力との関係を示す図The figure which shows the relationship between the inclination of the controller 7, and the output of an acceleration sensor コントローラ7の傾きと加速度センサの出力との関係を示す図The figure which shows the relationship between the inclination of the controller 7, and the output of an acceleration sensor 撮像画像の一例を示す図The figure which shows an example of a captured image コントローラ7を用いてゲーム操作するときの状態を概説する図解図Illustrated diagram outlining the state when operating the game using the controller 7 第1実施例におけるゲーム画像の例を示す図The figure which shows the example of the game image in 1st Example ポーズ状態におけるゲーム画像の例を示す図The figure which shows the example of the game image in a pause state 解除受付状態におけるゲーム画像の例を示す図The figure which shows the example of the game image in the cancellation | release acceptance state 一時停止が解除される時のゲーム画像の例を示す図The figure which shows the example of a game image when a pause is cancelled | released ゲーム装置3のメインメモリ13に記憶される主なデータを示す図The figure which shows the main data memorize | stored in the main memory 13 of the game device 3 ゲーム装置3において実行される処理の流れを示すメインフローチャートMain flowchart showing a flow of processing executed in the game apparatus 3 図16に示す非ポーズ状態処理(ステップS6)の詳細を示すフローチャートThe flowchart which shows the detail of the non-pause state process (step S6) shown in FIG. 図16に示すポーズ状態処理(ステップS7)の詳細を示すフローチャートThe flowchart which shows the detail of the pause state process (step S7) shown in FIG. 図16に示す解除受付状態処理(ステップS8)の詳細を示すフローチャートThe flowchart which shows the detail of the cancellation | release acceptance state process (step S8) shown in FIG. 第2実施例におけるゲーム画像の例を示す図The figure which shows the example of the game image in 2nd Example 第2実施例におけるポーズ状態のゲーム画像の例を示す図The figure which shows the example of the game image of the pause state in 2nd Example 第2実施例における解除受付状態のゲーム画像の例を示す図The figure which shows the example of the game image of the cancellation | release acceptance state in 2nd Example. 第2実施例において一時停止が解除される時のゲーム画像の例を示す図The figure which shows the example of a game image when temporary stop is cancelled | released in 2nd Example. 第2実施例においてゲーム装置3のメインメモリ13に記憶される主なデータを示す図The figure which shows the main data memorize | stored in the main memory 13 of the game device 3 in 2nd Example. 第2実施例における非ポーズ状態処理の詳細を示すフローチャートThe flowchart which shows the detail of the non-pause state process in 2nd Example. 第2実施例における解除受付状態処理の詳細を示すフローチャートThe flowchart which shows the detail of the cancellation | release acceptance state process in 2nd Example. 他の実施例におけるゲーム画像の例を示す図The figure which shows the example of the game image in another Example 図27に示すゲームにおいて解除受付状態となった場合のゲーム画像の例を示す図The figure which shows the example of a game image at the time of becoming a cancellation | release acceptance state in the game shown in FIG. 他の実施例におけるゲーム画像の例を示す図The figure which shows the example of the game image in another Example ポーズ状態処理の変形例を示すフローチャートThe flowchart which shows the modification of pause state processing ポーズ状態処理の他の変形例を示すフローチャートFlowchart showing another modification of pause state processing

符号の説明Explanation of symbols

1 ゲームシステム
2 モニタ
3 ゲーム装置
4 光ディスク
5 外部メモリカード
7 コントローラ
8a,8b マーカ
10 CPU
13 メインメモリ
32 操作部
35 撮像情報演算部
36 通信部
37 加速度センサ
40 撮像素子
51 キャラクタ
52 ポーズ画像
53 第1モデル
54 第2モデル
55 第1カーソル
56 第2カーソル
61 ゲームプログラム
DESCRIPTION OF SYMBOLS 1 Game system 2 Monitor 3 Game apparatus 4 Optical disk 5 External memory card 7 Controller 8a, 8b Marker 10 CPU
DESCRIPTION OF SYMBOLS 13 Main memory 32 Operation part 35 Imaging information calculating part 36 Communication part 37 Acceleration sensor 40 Image sensor 51 Character 52 Pause image 53 1st model 54 2nd model 55 1st cursor 56 2nd cursor 61 Game program

Claims (20)

入力装置の位置および姿勢の少なくとも一方に関する状態に基づいて所定の処理を行う情報処理装置であって、
前記入力装置の状態に応じて変化し、前記所定の処理に用いられる入力データを逐次取得する入力データ取得手段と、
前記所定の処理を一時停止させる一時停止手段と、
前記所定の処理が一時停止されるタイミングにおいて取得される入力データを記憶する記憶手段と、
前記所定の処理が一時停止している状態において、一時停止の解除の受付を開始する解除受付手段と、
前記一時停止の解除の受付が開始された後、前記入力データ取得手段によって逐次取得される現在の入力データと前記記憶手段に記憶された入力データとを逐次比較する第1比較手段と、
前記現在の入力データの内容が前記記憶手段に記憶された入力データの内容に所定の基準よりも近くなったことに応じて、一時停止を解除して前記所定の処理を再開する解除手段を備える、情報処理装置。
An information processing apparatus that performs predetermined processing based on a state related to at least one of the position and orientation of an input device,
An input data acquisition unit that sequentially changes the input data used for the predetermined process, which changes according to the state of the input device;
A pause means for pausing the predetermined process;
Storage means for storing input data acquired at a timing at which the predetermined processing is suspended;
In a state where the predetermined process is paused, release acceptance means for starting acceptance of release of the pause,
First comparison means for sequentially comparing current input data sequentially acquired by the input data acquisition means and input data stored in the storage means after acceptance of the cancellation of the pause is started;
Release means for releasing the temporary stop and restarting the predetermined processing in response to the content of the current input data being closer to a predetermined reference value than the content of the input data stored in the storage means Information processing device.
前記一時停止の解除の受付が開始された後、前記記憶手段に記憶された入力データの内容を表す画像と前記現在の入力データの内容を表す画像とを逐次表示装置に表示させる画像表示手段をさらに備える、請求項1に記載の情報処理装置。   Image display means for sequentially displaying an image representing the contents of the input data stored in the storage means and an image representing the contents of the current input data on a display device after acceptance of the cancellation of the pause is started; The information processing apparatus according to claim 1, further comprising: 前記入力装置は、所定の撮像対象を撮像するための撮像手段を備え、
前記撮像手段によって撮像される撮像画像における撮像対象の位置に関する座標を算出する座標算出手段をさらに備え、
前記入力データ取得手段は、前記座標を示すデータ、または、それから算出される前記入力装置の位置もしくは姿勢に対応するデータを前記入力データとして取得する、請求項1に記載の情報処理装置。
The input device includes an imaging unit for imaging a predetermined imaging target,
Coordinate calculating means for calculating coordinates relating to the position of the imaging target in the captured image captured by the imaging means;
The information processing apparatus according to claim 1, wherein the input data acquisition unit acquires data indicating the coordinates or data corresponding to a position or orientation of the input apparatus calculated therefrom as the input data.
前記入力装置は、加速度センサを備え、
前記入力データ取得手段は、前記加速度センサからの出力を示すデータまたはそれから算出される前記入力装置の姿勢に対応するデータを前記入力データとして取得する、請求項1に記載の情報処理装置。
The input device includes an acceleration sensor,
The information processing apparatus according to claim 1, wherein the input data acquisition unit acquires, as the input data, data indicating an output from the acceleration sensor or data corresponding to an attitude of the input apparatus calculated therefrom.
前記入力装置は、入力装置の位置または姿勢に関する状態を示すデータを出力し、
前記入力データ取得手段は、前記入力装置から出力されるデータを前記入力データとして取得する、請求項1に記載の情報処理装置。
The input device outputs data indicating a state related to the position or posture of the input device;
The information processing apparatus according to claim 1, wherein the input data acquisition unit acquires data output from the input apparatus as the input data.
前記入力装置は、入力装置の位置または姿勢に関する状態を示すデータを出力し、
前記入力データ取得手段は、前記入力装置から出力されるデータに基づいて、仮想空間に登場するオブジェクトを制御するためのデータを前記入力データとして算出して取得する、請求項1に記載の情報処理装置。
The input device outputs data indicating a state related to the position or posture of the input device;
The information processing according to claim 1, wherein the input data acquisition unit calculates and acquires data for controlling an object appearing in a virtual space as the input data based on data output from the input device. apparatus.
前記解除受付手段は、プレイヤによる指示があったことに応じて一時停止状態の解除の受付を開始する、請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the cancellation receiving unit starts receiving cancellation of the pause state in response to an instruction from the player. 前記入力装置は操作スイッチを備えており、
前記解除受付手段は、前記操作スイッチが操作されたことに応じて一時停止の解除の受付を開始する、請求項7に記載の情報処理装置。
The input device includes an operation switch,
The information processing apparatus according to claim 7, wherein the release receiving unit starts receiving a suspension release in response to the operation switch being operated.
前記解除受付手段は、前記所定の処理が一時停止させられてから所定時間が経過したことに応じて一時停止の解除の受付を開始する、請求項1に記載の情報処理装置。   The information processing apparatus according to claim 1, wherein the cancellation receiving unit starts receiving cancellation of the suspension in response to elapse of a predetermined time after the predetermined processing is suspended. 前記解除受付手段は、
前記前記所定の処理が一時停止させられた後、前記入力データ取得手段によって逐次取得される現在の入力データと前記記憶手段に記憶された入力データとを比較する第2比較手段と、
前記現在の入力データの内容が前記記憶手段に記憶された入力データの内容に所定の基準よりも相違したことに応じて一時停止の解除の受付を開始する開始実行手段とを含む、請求項1に記載の情報処理装置。
The release acceptance means is
Second comparison means for comparing the current input data sequentially acquired by the input data acquisition means and the input data stored in the storage means after the predetermined processing is temporarily stopped;
2. A start execution means for starting acceptance of cancellation of a pause in response to the content of the current input data differing from the content of the input data stored in the storage means from a predetermined reference. The information processing apparatus described in 1.
入力装置の位置および姿勢の少なくとも一方に関する状態に基づいて所定の処理を行う情報処理装置のコンピュータにおいて実行される情報処理プログラムであって、
前記入力装置の状態に応じて変化し、前記所定の処理に用いられる入力データを逐次取得する入力データ取得ステップと、
前記所定の処理を一時停止させる一時停止ステップと、
前記所定の処理が一時停止されるタイミングにおいて取得される入力データを前記情報処理装置のメモリに記憶する記憶ステップと、
前記所定の処理が一時停止している状態において、一時停止の解除の受付を開始する解除受付ステップと、
前記一時停止の解除の受付が開始された後、前記入力データ取得ステップにおいて逐次取得される現在の入力データと前記メモリに記憶された入力データとを逐次比較する第1比較ステップと、
前記現在の入力データの内容が前記メモリに記憶された入力データの内容に所定の基準よりも近くなったことに応じて、一時停止を解除して前記所定の処理を再開する一時停止解除ステップとを前記コンピュータに実行させる、情報処理プログラム。
An information processing program executed in a computer of an information processing device that performs predetermined processing based on a state related to at least one of the position and orientation of an input device,
An input data acquisition step that sequentially changes the input data used for the predetermined processing, which changes according to the state of the input device;
A pause step for pausing the predetermined process;
A storage step of storing input data acquired at a timing at which the predetermined process is temporarily suspended in a memory of the information processing apparatus;
In a state where the predetermined process is paused, a release acceptance step for starting acceptance of release of the pause,
A first comparison step of sequentially comparing current input data sequentially acquired in the input data acquisition step and input data stored in the memory after acceptance of the cancellation of the pause is started;
A pause release step for releasing the pause and restarting the predetermined process in response to the content of the current input data being closer to a predetermined reference to the content of the input data stored in the memory; An information processing program for causing the computer to execute.
前記一時停止の解除の受付が開始された後、前記メモリに記憶された入力データの内容を表す画像と前記現在の入力データの内容を表す画像とを逐次表示装置に表示させる画像表示ステップを前記コンピュータにさらに実行させる、請求項11に記載の情報処理プログラム。   An image display step of sequentially displaying an image representing the content of the input data stored in the memory and an image representing the content of the current input data on the display device after the acceptance of the cancellation of the pause is started; The information processing program according to claim 11, further executed by a computer. 前記入力装置は、所定の撮像対象を撮像するための撮像手段を備え、
前記情報処理プログラムは、前記撮像手段によって撮像される撮像画像における撮像対象の位置に関する座標を算出する座標算出ステップを前記コンピュータにさらに実行させ、
前記入力データ取得ステップにおいて、前記コンピュータは、前記座標を示すデータ、または、それから算出される前記入力装置の位置もしくは姿勢に対応するデータを前記入力データとして取得する、請求項11に記載の情報処理プログラム。
The input device includes an imaging unit for imaging a predetermined imaging target,
The information processing program causes the computer to further execute a coordinate calculation step of calculating coordinates relating to a position of an imaging target in a captured image captured by the imaging unit,
The information processing according to claim 11, wherein in the input data acquisition step, the computer acquires, as the input data, data indicating the coordinates or data corresponding to a position or orientation of the input device calculated therefrom. program.
前記入力装置は、加速度センサを備え、
前記入力データ取得ステップにおいて、前記コンピュータは、前記加速度センサからの出力を示すデータまたはそれから算出される前記入力装置の姿勢に対応するデータを前記入力データとして取得する、請求項11に記載の情報処理プログラム。
The input device includes an acceleration sensor,
The information processing according to claim 11, wherein in the input data acquisition step, the computer acquires, as the input data, data indicating an output from the acceleration sensor or data corresponding to an attitude of the input device calculated therefrom. program.
前記入力装置は、入力装置の位置または姿勢に関する状態を示すデータを出力し、
前記入力データ取得ステップにおいて、前記コンピュータは、前記入力装置から出力されるデータを前記入力データとして取得する、請求項11に記載の情報処理プログラム。
The input device outputs data indicating a state related to the position or posture of the input device;
The information processing program according to claim 11, wherein in the input data acquisition step, the computer acquires data output from the input device as the input data.
前記入力装置は、入力装置の位置または姿勢に関する状態を示すデータを出力し、
前記入力データ取得ステップにおいて、前記コンピュータは、前記入力装置から出力されるデータに基づいて、仮想空間に登場するオブジェクトを制御するためのデータを前記入力データとして算出して取得する、請求項11に記載の情報処理プログラム。
The input device outputs data indicating a state related to the position or posture of the input device,
The said input data acquisition step WHEREIN: The said computer calculates and acquires the data for controlling the object which appears in virtual space as said input data based on the data output from the said input device. The information processing program described.
前記解除受付ステップにおいて、前記コンピュータは、プレイヤによる指示があったことに応じて一時停止状態の解除の受付を開始する、請求項11に記載の情報処理プログラム。   12. The information processing program according to claim 11, wherein, in the release acceptance step, the computer starts accepting release of the paused state in response to an instruction from the player. 前記入力装置は操作スイッチを備えており、
前記解除受付ステップにおいて、前記コンピュータは、前記操作スイッチが操作されたことに応じて一時停止の解除の受付を開始する、請求項17に記載の情報処理プログラム。
The input device includes an operation switch,
The information processing program according to claim 17, wherein, in the release acceptance step, the computer starts accepting the release of the temporary stop in response to the operation switch being operated.
前記解除受付ステップにおいて、前記コンピュータは、前記所定の処理が一時停止させられてから所定時間が経過したことに応じて一時停止の解除の受付を開始する、請求項11に記載の情報処理プログラム。   The information processing program according to claim 11, wherein, in the release acceptance step, the computer starts accepting the release of the suspension when a predetermined time has elapsed since the predetermined processing was suspended. 前記解除受付ステップは、
前記前記所定の処理が一時停止させられた後、前記入力データ取得ステップにおいて逐次取得される現在の入力データと前記メモリに記憶された入力データとを比較する第2比較ステップと、
前記現在の入力データの内容が前記メモリに記憶された入力データの内容に所定の基準よりも相違したことに応じて一時停止の解除の受付を開始する開始実行ステップとを含む、請求項11に記載の情報処理プログラム。
The release acceptance step includes
A second comparison step of comparing the current input data sequentially acquired in the input data acquisition step with the input data stored in the memory after the predetermined processing is suspended;
The start execution step of starting acceptance of cancellation of a pause in response to the fact that the content of the current input data differs from the content of the input data stored in the memory from a predetermined reference. The information processing program described.
JP2008248392A 2008-09-26 2008-09-26 Information processor and information processing program Pending JP2008307409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008248392A JP2008307409A (en) 2008-09-26 2008-09-26 Information processor and information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008248392A JP2008307409A (en) 2008-09-26 2008-09-26 Information processor and information processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2006064438A Division JP4260814B2 (en) 2006-03-09 2006-03-09 GAME DEVICE AND GAME PROGRAM

Publications (1)

Publication Number Publication Date
JP2008307409A true JP2008307409A (en) 2008-12-25

Family

ID=40235520

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008248392A Pending JP2008307409A (en) 2008-09-26 2008-09-26 Information processor and information processing program

Country Status (1)

Country Link
JP (1) JP2008307409A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014091001A (en) * 2012-11-06 2014-05-19 Sony Computer Entertainment Inc Information processor, information processing system, information processing method, program and information storage medium
JP2020179241A (en) * 2020-07-28 2020-11-05 グリー株式会社 Control program, game device, and control method
US11383159B2 (en) 2018-11-20 2022-07-12 Gree, Inc. Control program, game device, and control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001038049A (en) * 1999-07-30 2001-02-13 Sega Corp Game device
JP2003062341A (en) * 2001-08-22 2003-03-04 Nintendo Co Ltd Game system, puzzle game program, and recording medium with program recorded thereon
JP2003334379A (en) * 2002-05-20 2003-11-25 Nintendo Co Ltd Game system and game program
US20060046848A1 (en) * 2004-08-31 2006-03-02 Nintendo Co., Ltd., Game apparatus, storage medium storing a game program, and game control method
JP2007236696A (en) * 2006-03-09 2007-09-20 Nintendo Co Ltd Game device and game program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001038049A (en) * 1999-07-30 2001-02-13 Sega Corp Game device
JP2003062341A (en) * 2001-08-22 2003-03-04 Nintendo Co Ltd Game system, puzzle game program, and recording medium with program recorded thereon
JP2003334379A (en) * 2002-05-20 2003-11-25 Nintendo Co Ltd Game system and game program
US20060046848A1 (en) * 2004-08-31 2006-03-02 Nintendo Co., Ltd., Game apparatus, storage medium storing a game program, and game control method
JP2007236696A (en) * 2006-03-09 2007-09-20 Nintendo Co Ltd Game device and game program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014091001A (en) * 2012-11-06 2014-05-19 Sony Computer Entertainment Inc Information processor, information processing system, information processing method, program and information storage medium
US9802122B2 (en) 2012-11-06 2017-10-31 Sony Interactive Enertainment Inc. Information processing apparatus, information processing system, information processing method, program and information recording medium
US10994200B2 (en) 2012-11-06 2021-05-04 Sony Interactive Entertainment Inc. Information processing apparatus, information processing system, information processing method, program and information recording medium
US11383159B2 (en) 2018-11-20 2022-07-12 Gree, Inc. Control program, game device, and control method
JP2020179241A (en) * 2020-07-28 2020-11-05 グリー株式会社 Control program, game device, and control method
JP7114657B2 (en) 2020-07-28 2022-08-08 グリー株式会社 Control program, game device, and control method

Similar Documents

Publication Publication Date Title
JP4260814B2 (en) GAME DEVICE AND GAME PROGRAM
JP5692904B2 (en) Input system, information processing apparatus, information processing program, and pointing position calculation method
US9199166B2 (en) Game system with virtual camera controlled by pointing device
JP4773170B2 (en) Game program and game system
JP4907129B2 (en) Information processing system and program
JP5131809B2 (en) GAME DEVICE AND GAME PROGRAM
JP5075330B2 (en) Information processing program
JP5700758B2 (en) GAME DEVICE, GAME PROGRAM, GAME SYSTEM, AND GAME PROCESSING METHOD
JP4863761B2 (en) GAME DEVICE AND GAME PROGRAM
JP5800526B2 (en) GAME DEVICE, GAME PROGRAM, GAME SYSTEM, AND GAME PROCESSING METHOD
JP4919887B2 (en) Image processing program and image processing apparatus
JP2007282787A (en) Game apparatus and game program
JP5498690B2 (en) GAME PROGRAM AND GAME DEVICE
JP5008071B2 (en) Information processing apparatus and information processing program
JP2010142404A (en) Game program, and game apparatus
JP4917347B2 (en) GAME DEVICE AND GAME PROGRAM
JP5576721B2 (en) GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME METHOD
JP5350612B2 (en) GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME PROCESSING METHOD
JP2008307409A (en) Information processor and information processing program
JP5945297B2 (en) GAME PROGRAM AND GAME DEVICE
JP4220531B2 (en) Gravity direction calculation device and gravity direction calculation program
JP2007295989A (en) Game device and game program
JP5331259B2 (en) Information processing program, information processing apparatus, information processing system, and information processing method
JP5798601B2 (en) GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME PROCESSING METHOD
JP5357998B2 (en) GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME PROCESSING METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110701

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20110902

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111024