JP5705671B2 - GAME PROGRAM AND GAME DEVICE - Google Patents
GAME PROGRAM AND GAME DEVICE Download PDFInfo
- Publication number
- JP5705671B2 JP5705671B2 JP2011155958A JP2011155958A JP5705671B2 JP 5705671 B2 JP5705671 B2 JP 5705671B2 JP 2011155958 A JP2011155958 A JP 2011155958A JP 2011155958 A JP2011155958 A JP 2011155958A JP 5705671 B2 JP5705671 B2 JP 5705671B2
- Authority
- JP
- Japan
- Prior art keywords
- display
- input
- camera
- virtual camera
- parameter
- 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.)
- Expired - Lifetime
Links
Images
Description
本発明は、ゲームプログラムおよびゲーム装置に関し、より特定的には、所定の画面内のオブジェクトを指示できる入力デバイスの操作に基づいて3次元ゲーム空間に登場するオブジェクトの表示を変化させるゲーム装置およびゲームプログラムに関する。 The present invention relates to a game program and a game device, and more specifically, a game device and a game that change the display of an object appearing in a three-dimensional game space based on an operation of an input device that can specify an object in a predetermined screen. Regarding the program.
従来、ゲーム画面に表示されるオブジェクトをズームアップして表示するするゲームが各種開発されている。このようなゲームでは、例えば、ゲーム画面に表示された複数のオブジェクトの中から遊戯者によって選択されたオブジェクトをズームアップして表示している。具体的には、当該オブジェクトにカメラの注視点を設定し、カメラの視点を切り替えるとともに、選択されたオブジェクトをズームアップしている(例えば、特許文献1参照)。 Conventionally, various games have been developed that display an object displayed on a game screen in a zoomed-in manner. In such a game, for example, an object selected by a player from a plurality of objects displayed on the game screen is zoomed up and displayed. Specifically, a camera gazing point is set for the object, the camera viewpoint is switched, and the selected object is zoomed up (see, for example, Patent Document 1).
しかしながら、上述したような従来の技術では、プレイヤがズームアップして表示したいオブジェクトを選択するために十字キーやボタンを使用するので、直接オブジェクトを指定するような直感的な操作を行うことができなかった。 However, in the conventional technology as described above, since the player uses a cross key or a button to select an object to be zoomed in and displayed, an intuitive operation such as directly specifying an object can be performed. There wasn't.
それ故に、本発明の目的は、直感的にオブジェクトを指示し、指示されたオブジェクトがズームアップされるゲームプログラムおよびゲーム装置を提供することである。 Therefore, an object of the present invention is to provide a game program and a game apparatus in which an object is designated intuitively and the designated object is zoomed up.
請求項1記載の発明は、表示装置(実施例との対応関係を示せば、例えば第2のLCD12)と、入力装置(15)とを有するゲーム装置のコンピュータで実行されるゲームプログラムである。ゲームプログラムは、第1のカメラ設定ステップ(実施例との対応関係を示せば、例えばステップS11;以下単にステップ番号だけを示す)と、第1の表示ステップ(S12)と、位置検出ステップ(S23)と、直線算出ステップ(S24)と、オブジェクト特定ステップ(S25)と、第2のカメラ設定ステップ(S14)と、第2の表示ステップ(S12)とを有する。表示装置は、オブジェクトが登場する仮想の3次元ゲーム空間を仮想カメラから見たゲーム画像を表示する。入力装置は、表示装置の画面上の位置を指定するための装置である。第1のカメラ設定ステップは、仮想カメラのパラメータの値を設定する。第1の表示ステップは、第1のカメラ設定ステップにおいて設定されたパラメータに従ってゲーム画像を表示装置に表示させる。位置検出ステップは、第1の表示ステップによってゲーム画像が表示されているときに入力装置に対して行われた操作によって指定された画面上の位置を検出する。直線算出ステップは、位置検出ステップにおいて検出された位置に対応する3次元ゲーム空間内における位置と仮想カメラの位置とを通る直線を算出する。オブジェクト特定ステップは、直線と交わるオブジェクトを特定する。第2のカメラ設定ステップは、特定されたオブジェクトをズームアップして表示するように仮想カメラのパラメータの値を変更する。第2の表示ステップは、第2のカメラ設定ステップにおいて変更された後のパラメータに従ってゲーム画像を表示装置に表示させる。
The invention described in
請求項2記載の発明は、請求項1記載のゲームプログラムにおいて、オブジェクト毎に所定の領域を設定する領域設定ステップ(S11)を更にコンピュータに実行させる。また、オブジェクト特定ステップにおいては、領域と直線とが交わるときにオブジェクトが特定される。 According to a second aspect of the present invention, in the game program according to the first aspect, the computer further executes a region setting step (S11) for setting a predetermined region for each object. In the object specifying step, the object is specified when the area and the straight line intersect.
請求項3記載の発明は、請求項2記載のゲームプログラムにおいて、領域設定ステップで設定される領域は球であることを特徴とする。 According to a third aspect of the present invention, in the game program according to the second aspect, the region set in the region setting step is a sphere.
請求項4記載の発明は、請求項2記載のゲームプログラムにおいて、第2のカメラ設定ステップでは、仮想カメラの注視点を前記特定されたオブジェクトの所定点に合わせるとともに仮想カメラの画角を特定されたオブジェクトに設定されている領域に基づいて設定することで仮想カメラのパラメータの値が変更される。 According to a fourth aspect of the present invention, in the game program according to the second aspect, in the second camera setting step, the gaze point of the virtual camera is matched with a predetermined point of the identified object, and the angle of view of the virtual camera is specified. The value of the parameter of the virtual camera is changed by setting based on the area set in the object.
請求項5記載の発明は、請求項1記載のゲームプログラムにおいて、オブジェクト特定ステップにおいてオブジェクトが特定されたとき、指示操作が継続して行われている時間である指示継続時間が第1の所定値を越えたか否かを判定する第1の条件判別ステップ(S31)を更にコンピュータに実行させる。また、第2のカメラ設定ステップは、第1の条件判別ステップにおいて第1の所定値を越えたことが判別されたとき、パラメータの値を変更する。 According to a fifth aspect of the present invention, in the game program according to the first aspect, when the object is specified in the object specifying step, the instruction continuation time which is a time during which the instruction operation is continuously performed is a first predetermined value. The computer is further caused to execute a first condition determination step (S31) for determining whether or not the value exceeds. The second camera setting step changes the parameter value when it is determined in the first condition determination step that the first predetermined value is exceeded.
請求項6記載の発明は、請求項1記載のゲームプログラムにおいて、第2の条件判別ステップ(S41)と、第3のカメラ設定ステップ(S42)とを有する。第2の条件判別ステップは、オブジェクト特定ステップにおいてオブジェクトが特定されたとき、指示操作が継続して行われている時間である指示継続時間が第2の所定値を越えたか否かを判別する。第3のカメラ設定ステップにおいては、第2の条件判別ステップにおいて第2の所定値を越えたことが判別されたとき、仮想カメラのパラメータの値を第1のカメラ設定ステップにおいて設定した値に戻す。 According to a sixth aspect of the present invention, the game program according to the first aspect includes a second condition determining step (S41) and a third camera setting step (S42). The second condition determining step determines whether or not the instruction continuation time, which is the time during which the instruction operation is continuously performed, exceeds a second predetermined value when the object is specified in the object specifying step. In the third camera setting step, when it is determined in the second condition determining step that the second predetermined value has been exceeded, the parameter value of the virtual camera is returned to the value set in the first camera setting step. .
請求項7記載の発明は、請求項6記載のゲームプログラムにおいて、操作種別判別ステップ(S27)と、パラメータ変化ステップ(S28)と、第2の所定値設定ステップ(S29)とをさらに有する。操作種別判別ステップは、前記第2の表示ステップによってゲーム画像が表示されているときのプレイヤの操作内容に基づいてプレイヤが行った操作の種別を判別する。パラメータ変化ステップは、操作種別に基づいてオブジェクトのパラメータの値を変化させる。第2の所定値設定ステップは、パラメータ変化ステップにおいて変化されたパラメータの値に基づいて第2の所定値を設定する。 According to a seventh aspect of the present invention, the game program according to the sixth aspect further includes an operation type determining step (S27), a parameter changing step (S28), and a second predetermined value setting step (S29). The operation type determination step determines the type of operation performed by the player based on the operation content of the player when the game image is displayed in the second display step. In the parameter changing step, the parameter value of the object is changed based on the operation type. In the second predetermined value setting step, a second predetermined value is set based on the parameter value changed in the parameter changing step.
請求項8記載の発明は、表示装置(12)と、入力装置(15)と、第1のカメラ設定手段(S11)と、第1の表示手段(S12)と、位置検出手段(S23)と、直線算出手段(S24)と、オブジェクト特定手段(S25)と、第2カメラの設定手段(S14)と、第2の表示手段(S12)とを有するゲーム装置である。表示装置は、オブジェクトが登場する仮想の3次元ゲーム空間を仮想カメラから見たゲーム画像を表示する。入力装置は、表示装置の画面上の位置を指定するための装置である。第1のカメラ設定手段は、仮想カメラのパラメータの値を設定する。第1の表示手段は、第1のカメラ設定手段において設定されたパラメータに従ってゲーム画像を表示装置に表示させる。位置検出手段は、第1の表示手段によってゲーム画像が表示されているときに入力装置に対して行われた操作によって指定された画面上の位置を検出する。直線算出手段は、位置検出手段において検出された位置に対応する3次元ゲーム空間内における位置と仮想カメラの位置とを通る直線を算出する。オブジェクト特定手段は、直線と交わるオブジェクトを特定する。第2のカメラ設定手段は、特定されたオブジェクトをズームアップして表示するように仮想カメラのパラメータの値を変更する。第2の表示手段は、第2のカメラ設定手段において変更された後のパラメータに従ってゲーム画像を表示装置に表示させる。 The invention described in claim 8 includes a display device (12), an input device (15), a first camera setting means (S11), a first display means (S12), and a position detection means (S23). A game apparatus having a straight line calculating means (S24), an object specifying means (S25), a second camera setting means (S14), and a second display means (S12). The display device displays a game image in which a virtual three-dimensional game space in which an object appears is viewed from a virtual camera. The input device is a device for designating a position on the screen of the display device. The first camera setting means sets the parameter value of the virtual camera. The first display means displays the game image on the display device in accordance with the parameters set by the first camera setting means. The position detecting means detects a position on the screen designated by an operation performed on the input device when the game image is displayed by the first display means. The straight line calculating means calculates a straight line passing through the position in the three-dimensional game space corresponding to the position detected by the position detecting means and the position of the virtual camera. The object specifying means specifies an object that intersects the straight line. The second camera setting means changes the value of the virtual camera parameter so that the identified object is zoomed up and displayed. The second display means displays the game image on the display device in accordance with the parameter after being changed by the second camera setting means.
上記第1の発明によれば、プレイヤがオブジェクトを指示する操作を行ったとき、当該オブジェクトをズームアップして表示するため、プレイヤに操作対象オブジェクトを把握しやすくさせると共に、オブジェクトに対するプレイヤの操作を行いやすくすることができる。 According to the first aspect of the invention, when the player performs an operation to instruct the object, the object is zoomed up and displayed, so that the player can easily grasp the operation target object and the player can operate the object. It can be made easier.
上記第2および第3の発明によれば、オブジェクト毎に設けられた所定の領域を用いてオブジェクトの特定を行うため、オブジェクトを特定する処理の負荷を軽減することができる。 According to the second and third aspects of the invention, since the object is specified using the predetermined area provided for each object, it is possible to reduce the processing load for specifying the object.
上記第4の発明によれば、オブジェクトにそれぞれ領域を設定し、オブジェクトをズームするときは、各オブジェクトの領域に基づいてカメラの画角を制御する。そのため、ズームするときにその都度オブジェクトの大きさを算出してカメラの画角を算出する場合に比べ、より簡単な処理でオブジェクトをズームアップすることができる。また、オブジェクト毎にズームアップするためのカメラの画角を容易に設定することができる。 According to the fourth aspect, when an area is set for each object and the object is zoomed, the angle of view of the camera is controlled based on the area of each object. Therefore, it is possible to zoom up the object with simpler processing than when calculating the size of the object each time the zoom is performed and calculating the angle of view of the camera. In addition, it is possible to easily set the angle of view of the camera for zooming up for each object.
上記第5の発明によれば、指示操作の継続時間が所定時間以上経過したときに、そのオブジェクトをズームアップするようにカメラ制御を行うので、プレイヤの意思によらない誤操作により誤って選択されたオブジェクトに基づいてカメラ制御が行われるのを防止することができる。また、プレイヤのオブジェクト指示操作が所定時間以上継続した後でなければ、カメラ制御を行わないので、視点が頻繁に切り替わることがなく、ゲーム性を向上することができる。 According to the fifth aspect, since the camera control is performed so that the object is zoomed up when the continuation time of the instruction operation has exceeded a predetermined time, the object is selected by mistake due to an erroneous operation not intended by the player. It is possible to prevent camera control based on the object. Further, since the camera control is not performed unless the player's object instruction operation continues for a predetermined time or more, the viewpoint does not frequently change, and the game performance can be improved.
上記第6の発明によれば、一旦オブジェクトをズームアップするようにカメラ制御した後、さらにプレイヤの操作の継続時間が所定時間以上経過した後は、カメラ制御を元に戻すことができる。 According to the sixth aspect of the present invention, after the camera is controlled so as to zoom in on the object, the camera control can be returned to the original after the duration of the operation of the player has exceeded a predetermined time.
上記第7の発明によれば、オブジェクトをズームアップするように設定したカメラ制御を元に戻すまでの時間をオブジェクトのパラメータに基づいて設定するので、オブジェクト毎にカメラ制御を元に戻す時間を設定することができる。また、パラメータ値は、プレイヤの操作種別に応じて変化するので、カメラ制御を元に戻すまでの時間をプレイヤの操作内容に応じて変化させることができる。 According to the seventh aspect, since the time until the camera control set to zoom up the object is returned based on the object parameters, the time for returning the camera control to each object is set. can do. Further, since the parameter value changes according to the operation type of the player, the time until the camera control is restored can be changed according to the operation content of the player.
また、第8の発明によれば、上述した第1の発明と同様の効果を得られる。 According to the eighth aspect, the same effect as in the first aspect described above can be obtained.
以下、本発明の実施の形態について、図面を参照して説明する。尚、この実施例により本発明が限定されるものではない。 Embodiments of the present invention will be described below with reference to the drawings. In addition, this invention is not limited by this Example.
図1は、本発明の一実施形態に係るゲーム装置の外観図である。図1において、ゲーム装置10は、第1のLCD(Liquid Crystal Display:液晶表示装置)11および第2のLCD12を含む。ハウジング13は上側ハウジング13aと下側ハウジング13bとによって構成されており、第1のLCD11は上側ハウジング13aに収納され、第2のLCD12は下側ハウジング13bに収納される。第1のLCD11および第2のLCD12の解像度はいずれも256dot×192dotである。なお、本実施形態では表示装置としてLCDを用いているが、例えばEL(Electro Luminescence:電界発光)を利用した表示装置など、他の任意の表示装置を利用することができる。また任意の解像度のものを利用することができる。
FIG. 1 is an external view of a game device according to an embodiment of the present invention. In FIG. 1, the
上側ハウジング13aには、後述する1対のスピーカ(図2の30a、30b)からの音を外部に放出するための音抜き孔18a、18bが形成されている。
The
下側ハウジング13bには、入力装置として、十字スイッチ14a、スタートスイッチ14b、セレクトスイッチ14c、Aボタン14d、Bボタン14e、Xボタン14f、Yボタン14g、Lボタン14LおよびRボタン14Rが設けられている。また、さらなる入力装置として、第2のLCD12の画面上にタッチパネル15が装着されている。また、下側ハウジング13bには、電源スイッチ19や、メモリカード17やスティック16を収納するための挿入口も設けられている。
The
タッチパネル15としては、例えば抵抗膜方式や光学式(赤外線方式)や静電容量結合式など、任意の方式のものを利用することができる。タッチパネル15は、その表面をスティック16で触れると、その接触位置に対応する座標データを出力する機能を有している。なお、以下ではプレイヤがタッチパネル15をスティック16で操作するものとして説明を行うが、スティック16の代わりにペン(スタイラスペン)や指でタッチパネル15を操作することももちろん可能である。本実施形態では、タッチパネル15として、第2のLCD12の解像度と同じく256dot×192dotの解像度(検出精度)のものを利用する。ただし、必ずしもタッチパネル15の解像度と第2のLCD12の解像度が一致している必要はない。
As the
メモリカード17はゲームプログラムを記録した記録媒体であり、下部ハウジング13bに設けられた挿入口に着脱自在に装着される。
The
次に、図2を参照してゲーム装置10の内部構成を説明する。
Next, the internal configuration of the
図2において、ハウジング13に収納される電子回路基板20には、CPUコア21が実装される。CPUコア21には、バス22を介して、コネクタ23が接続されるとともに、入出力インターフェース回路(図面ではI/F回路と記す)25、第1GPU(Graphics Processing Unit)26、第2GPU27、RAM24およびLCDコントローラ31が接続される。コネクタ23には、メモリカード17が着脱自在に接続される。メモリカード17は、ゲームプログラムを記憶するROM17aと、バックアップデータを書き換え可能に記憶するRAM17bを搭載する。メモリカード17のROM17aに記憶されたゲームプログラムはRAM24にロードされ、RAM24にロードされたゲームプログラムがCPUコア21によって実行される。RAM24には、ゲームプログラムの他にも、CPUコア21がゲームプログラムを実行して得られる一時的なデータや、ゲーム画像を生成するためのデータが記憶される。I/F回路25には、タッチパネル15、右スピーカ30a、左スピーカ30bおよび図1の十字スイッチ14aやAボタン14d等から成る操作スイッチ部14が接続される。右スピーカ30aと左スピーカ30bは、音抜き孔18a、18bの内側にそれぞれ配置される。
In FIG. 2, a
第1GPU26には、第1VRAM(Video RAM)28が接続され、第2GPU27には、第2VRAM29が接続される。第1GPU26は、CPUコア21からの指示に応じて、RAM24に記憶されているゲーム画像を生成するためのデータに基づいて第1のゲーム画像を生成し、第1VRAM28に描画する。第2GPU27は、同様にCPUコア21からの指示に応じて第2のゲーム画像を生成し、第2VRAM29に描画する。第1VRAM28および第2VRAM29はLCDコントローラ31に接続されている。
A first VRAM (Video RAM) 28 is connected to the
LCDコントローラ31はレジスタ32を含む。レジスタ32はCPUコア21からの指示に応じて0または1の値を記憶する。LCDコントローラ31は、レジスタ32の値が0の場合は、第1VRAM28に描画された第1のゲーム画像を第1のLCD11に出力し、第2VRAM29に描画された第2のゲーム画像を第2のLCD12に出力する。また、レジスタ32の値が1の場合は、第1VRAM28に描画された第1のゲーム画像を第2のLCD12に出力し、第2VRAM29に描画された第2のゲーム画像を第1のLCD11に出力する。
The
なお、上記のようなゲーム装置10の構成は単なる一例に過ぎず、本発明は、画面上にタッチパネルの設けられた少なくとも1つの表示装置を有する任意のコンピュータシステムに適用することができる。また、本発明のゲームプログラムは、メモリカード17などの外部記憶媒体を通じてコンピュータシステムに供給されるだけでなく、有線または無線の通信回線を通じてコンピュータシステムに供給されてもよいし、さらにはコンピュータシステム内部の不揮発性記憶装置に予め記録されていてもよい。
Note that the configuration of the
次に、図3および図4を用いて、本実施形態で想定するゲームの概要について説明する。図3は、本実施形態で想定するゲームの画面の一例である。図3において、第2のLCD12には、オブジェクト(仮想のペットである犬)51および52が表示される。このゲームは、画面に表示されるオブジェクトにプレイヤがスティック等で触ることに応じてオブジェクトが行う種々の反応をプレイヤが楽しむゲームである。このゲームにおいては、オブジェクト51或いは52をプレイヤがスティック16等で触ることによって、図4に示すように、プレイヤが触ったオブジェクトがズームアップされる。プレイヤは、ズームアップされたオブジェクトに対して、スティック16等を用いて「なでる」、「叩く」等の操作を行い、当該オブジェクトの反応を楽しむ。
Next, the outline of the game assumed in this embodiment will be described with reference to FIGS. 3 and 4. FIG. 3 is an example of a game screen assumed in this embodiment. In FIG. 3, objects (dogs that are virtual pets) 51 and 52 are displayed on the
次に、図5〜図11を参照して、ゲーム装置10によって実行されるゲーム画像生成処理について説明する。なお、図5はゲーム装置10によって実行されるゲーム画像生成処理の全体処理を示すフローチャートである。また、図7は、図5の操作処理の詳細な動作を示すサブルーチンであり、図9は、図5のオブジェクトズーム処理の詳細な動作を示すサブルーチンであり、図11は、図5のズーム解除処理の詳細な動作を示すサブルーチンである。
Next, a game image generation process executed by the
ゲーム装置10の電源が投入されると、ゲーム装置10のCPUコア21は、図示しないブートROMに記憶されている起動プログラムを実行し、RAM24等の各ユニットが初期化される。そして、メモリカード17に格納されたゲームプログラムと各種データがコネクタ23を介してRAM24に読み込まれ、そのゲームプログラムの実行が開始される。
When the power of the
図5において、まず、ゲームの初期設定処理が行われる(ステップS11)。このステップS11の処理をより具体的に説明すると、CPUコア21は、表示するオブジェクトや背景等の画像を3次元空間内に適宜配置する。次に、画面に表示する各オブジェクトにそれぞれ半径値を設定する。当該半径値は、後述するオブジェクトズーム処理等において、3次元ゲーム空間内に設定される仮想カメラの画角を決定するために用いられるものである。更に、各オブジェクトに当たり判定範囲を設定する。当該当たり判定範囲は、3次元空間内で球状に設定され、ズームアップの対象となるオブジェクトの決定等に用いられる(以下、当たり判定範囲を当たり判定球と称す)。併せて、後述するオブジェクトズーム処理等において、閾値として用いる第1設定値の設定も行う。当該第1設定値は、プレイヤがタッチパネル15を所定時間以上触り続けているか否かを判定するための閾値となる。例えば、第1設定値に「3秒」という値を設定したとき、利用者がオブジェクトを3秒以上触り続けないと、そのオブジェクトはズームされない(詳細は後述)。次に、仮想カメラのパラメータを初期値に設定する。当該パラメータは、仮想カメラの位置、画角および注視点を含んでいる。そして、当該初期値には、画面に表示するオブジェクトが全て画面に収まるような値が予め設定されている。
In FIG. 5, first, a game initial setting process is performed (step S11). The processing in step S11 will be described more specifically. The
以上のような初期設定処理が終われば、次にCPUコア21は、仮想カメラから見た画像を第2のLCD12へ表示する(ステップS12)。具体的には、上記各オブジェクトを構成するポリゴンの座標データであるモデリング座標系を、仮想カメラを原点にした視点座標系に変換する。そして、遠近法などの効果や前面の物体に隠れる部分などを計算し、投影変換を行う。最後に、表示される画面に合わせたスクリーン座標系に変換し、第2のLCD12に表示する。
When the initial setting process as described above is completed, the
図6は、上記ステップS11における初期設定後のカメラと3次元空間の関係を示す図である。初期設定の状態における3次元空間についてステップS12の処理により画像が描画されると、図3に示すように、オブジェクト51および52が画面内に収まるように表示される。ステップS12の処理が終われば、CPUコア21は、次のステップS13へ処理を進める。
FIG. 6 is a diagram showing the relationship between the camera after the initial setting in step S11 and the three-dimensional space. When an image is drawn by the process of step S12 in the three-dimensional space in the initial setting state, as shown in FIG. 3, the
図7は、上記ステップS13で示す操作処理の詳細を示すフローチャートである。図7において、まず、CPUコア21は、タッチパネル15による入力操作(以下、タッチ操作と称す)が行われたかどうかを判定する(ステップS21)。当該判定の結果、タッチ操作が行われていなければ(ステップS21でNO)、操作処理を終了する。一方、タッチ操作が行われていれば(ステップS21でYES)、処理を次のステップS22に進める。ステップS22では、現在オブジェクトがズームアップされている状態か否かを示すズームアップフラグがONか否かを判定する。ステップS22の判定の結果、ズームアップフラグがONのときは(ステップS22でYES)、処理を後述するステップS27に進める。一方、ズームアップフラグがOFFのときは(ステップS22でNO)、処理を次のステップS23に進める。ステップS23では、タッチパネル15上の入力された座標値(X、Y)が検出される。
FIG. 7 is a flowchart showing details of the operation process shown in step S13. In FIG. 7, first, the
次に、CPUコア21は、仮想カメラ位置とタッチパネル15上の入力された座標値に対応する3次元空間内の座標(以下、ユーザ指定座標)とを通過する直線(以下、判定直線)を算出する(ステップS24)。以下、ステップS24の処理をより具体的に説明する。なお、3次元空間内において、ワールド座標系のZ軸は、投影面と垂直に交わる方向にとられている。また、X軸は、投影面の横方向に、Y軸は投影面の縦方向に対応している。本実施形態における3次元空間は、このような座標系を有するものとして、以下説明を続ける。
Next, the
まず、以下に示す式を用いて、タッチパネル15上の座標値(x,y)をユーザ指定座標(X,Y,Z)に変換する。
X=camX+(dXY×x)
Y=camY+(dXY×y)
Z=camZ+dZ
上記の式において、camX、camY、camZは、3次元空間内における仮想カメラの座標を示す。dXYは、タッチパネル15の入力座標値を3次元空間内の座標値に変換するために用いる変数である。dZは、仮想カメラから投影面までの距離を示す。なお、変数dXYは、dZと、仮想カメラの画角θのタンジェント(tan)とに基づいて、次に示す式で求めることができる。
dXY=dZ×tanθ
ユーザ指定座標が算出できれば、次に、仮想カメラの位置とユーザ指定座標とを通過する判定直線を算出する。
First, the coordinate values (x, y) on the
X = camX + (dXY × x)
Y = camY + (dXY × y)
Z = camZ + dZ
In the above formula, camX, camY, and camZ indicate the coordinates of the virtual camera in the three-dimensional space. dXY is a variable used for converting the input coordinate value of the
dXY = dZ × tan θ
If the user-specified coordinates can be calculated, a determination straight line that passes through the position of the virtual camera and the user-specified coordinates is calculated.
次に、CPUコア21は、プレイヤが指示しているオブジェクトを特定する処理を行う(ステップS25)。具体的には、3次元空間内のいずれかのオブジェクトに設定されている当たり判定球のいずれかと上記判定直線とが交わっているか否かを判定する。当該判定の結果、判定直線がいずれの当たり判定球とも交わっていなければ(ステップS25でNO)、いずれのオブジェクトをも指示していないと判定し、操作処理を終了する。一方、判定直線がいずれかの当たり判定球に交わっていれば(ステップS25でYES)、当該当たり判定球を有するオブジェクトをプレイヤが指示していることになる。このときは、プレイヤがタッチパネル15に触れ続けている時間、すなわち、オブジェクトを指示し続けている時間(以下、継続時間と称す)のカウントが開始される(ステップS26)。上述した図8の場合を例に取ると、判定直線は、オブジェクト51の当たり判定球(犬のキャラクタの頭部)に当たっている。そのため、プレイヤがオブジェクト51を指示していることになり、プレイヤがタッチパネル15に触れ続けている時間がカウントされ始める。
Next, the
次に、操作種別の判別が行われる(ステップS27)。操作種別には、例えばスティック16をタッチパネル15に接触させたまま動かすような「なでる」操作や、スティック16をタッチパネル15に接触させたり離したりする動作を短時間で繰り返すような「たたく」操作が考えられる。操作種別の判別方法としては、例えば、次のような方法が考えられる。まず、ズームアップした後のスティック16の入力履歴を記録する。次に、スティック16の接触状態および入力座標値の変化を当該入力履歴から検出する。そして、接触状態がずっと接触し続けている状態で、かつ入力座標値が所定範囲内で変化していれば「なでる」操作であると判定する。当該所定範囲は、例えば、プレイヤが指示しているオブジェクトの当たり判定球の座標をタッチパネル15における2次元座標に変換した範囲である。また、接触・非接触が繰り返されており、入力座標値が上記所定範囲内に収まっていれば「たたく」操作であると判定する。以上のような方法で、プレイヤが仮想のペット(犬)であるオブジェクトに対してどういう行動を取っているのかを判別することができる。
Next, the operation type is determined (step S27). The operation type includes, for example, a “stroking” operation in which the
次に、CPUコア21は、上記ステップS27で判別した操作種別に基づいて、オブジェクトに固有に設定されているパラメータを変化させる(ステップS28)。本実施形態では、仮想のペット(犬)であるオブジェクトに対して、「なつき度」というパラメータが設定されている。ステップS28では、上述の操作種別が「なでる」の場合は「なつき度」の値を上げ、「たたく」の場合は「なつき度」の値を下げるといった処理を行う。
Next, the
次に、上記パラメータに基づいて第2設定値が設定される(ステップS29)。第2設定値は、後述するズーム処理のズームアップの解除タイミングを示す値として用いられる。例えば、「なつき度」が所定値未満のとき(あまりなついていないとき)は、当該第2設定値を5秒と設定し、「なつき度」が所定値以上のとき(よくなついているとき)は、当該第2設定値を10秒と設定する。ステップS29で第2設定値を設定すれば、CPUコア21は、当該操作処理を終了し、図5のオブジェクトズーム処理(ステップS14)へ処理を進める。
Next, a second set value is set based on the parameter (step S29). The second set value is used as a value indicating a zoom-up release timing of a zoom process described later. For example, when the “degree of familiarity” is less than a predetermined value (when not very well), the second set value is set to 5 seconds, and when the “degree of familiarity” is equal to or greater than a predetermined value (when well-acquainted) Sets the second set value to 10 seconds. If the second set value is set in step S29, the
図9は、図5におけるステップS14で示したオブジェクトズーム処理の詳細を示すフローチャートである。図9において、まず、CPUコア21は、継続時間が第1設定値を越えたか否か(すなわち、プレイヤがタッチパネル15を所定時間以上触り続けているか否か)を判定する(ステップS31)。当該判定の結果、第1設定値を越えていなければ(ステップS31でNO)、オブジェクトズーム処理を終了する。
FIG. 9 is a flowchart showing details of the object zoom process shown in step S14 in FIG. In FIG. 9, first, the
一方、第1設定値を越えていれば(ステップS31でYES)、CPUコア21は、継続時間が第2設定値を越えたか否かを判定する(ステップS32)。当該判定の結果、第2設定値を越えていれば(ステップS32でYES)、オブジェクトズーム処理を終了する。一方、第2設定値を越えていなければ(ステップS32でYES)、処理を次のステップS33に進める。
On the other hand, if it exceeds the first set value (YES in step S31), the
ステップS33では、CPUコア21は、判定直線と接しているオブジェクト(以下、対象オブジェクト)上の所定点(例えば当該対象オブジェクトの中心点)を注視点として設定する。そして、CPUコア21は、処理を次のステップS34に進める。
In step S33, the
ステップS34では、CPUコア21は、対象オブジェクトに設定されている半径値に基づいて仮想カメラの画角を変化させる。併せて、ズームアップフラグをONに設定する。図10を例として具体的に説明すると、まず、対象オブジェクト51の中心を注視点とする。そして、当該注視点を中心点として当該オブジェクト51に設定されている半径から成る球の直径が、画面の縦方向の大きさと一致するような画角(すなわち、オブジェクト51がズームアップ表示されるような画角)を仮想カメラに設定する。ステップS34の後、ステップS12の処理(画面描画処理)が行われると、上述した図4に示すような、オブジェクトがズームアップされた画面が表示されることとなる。
In step S34, the
ステップS34の処理が終われば、CPUコア21は、オブジェクトズーム処理を終了し、図5のズーム解除処理(ステップS15)へ処理を進める。ステップS15におけるズーム解除処理では、ズームアップ中にプレイヤが何らかの操作を行っていても、第2設定値に設定されている時間が経過すれば、ズームアップ表示(図4参照)を元の表示(図3参照)に戻す処理を行う。また、ズームアップ後に所定時間以上プレイヤが操作を行わないときも、同様にズームアップ表示を元の表示に戻す処理を行う。
When the process of step S34 is completed, the
図11は、上記ステップS15で示したズーム解除処理の詳細を示すフローチャートである。図11において、まず、CPUコア21は、継続時間が上記第2設定値を越えたか否かを判定する(ステップS41)。当該判定の結果、第2設定値を越えていれば(ステップS41でYES)、仮想カメラの設定を初期値にする。併せて、上記ステップS26で開始した継続時間のカウントを停止する(ステップS42)。これは、例えば、第2設定値が10秒と設定されているとき、ズームアップ中に10秒以上仮想のペット(犬)であるオブジェクトを撫で続けた場合等が該当する。一方、第2設定値を越えていないときは(ステップS41でNO)、処理をステップS43に進める。
FIG. 11 is a flowchart showing details of the zoom cancellation processing shown in step S15. In FIG. 11, first, the
ステップS43においては、所定時間内にオブジェクトへのタッチ操作があったか否かが判定される。すなわち、オブジェクトをズームアップした後、上記第2設定値、例えば10秒以内に当該オブジェクトに何らかのタッチ操作を行ったか否かを判定する。そして、当該判定の結果、所定時間内にタッチ操作があったときは(ステップS43でYES)、プレイヤはオブジェクトに対して何らかのタッチ操作をしている最中であるため、カメラ設定はそのまま(ズーム表示のまま)でズーム解除処理を終了する。一方、所定時間内にタッチ操作がされなかったときは(ステップS43でNO)、CPUコア21は、処理を上述したステップS42へ進める。すなわち、オブジェクト(犬)をズームアップした後、タッチ操作せずに放置している場合は、所定時間、例えば5秒経過後、カメラ設定が初期値に戻りズームアップが解除されることとなる。以上で、ズーム解除処理は終了する。
In step S43, it is determined whether or not there has been a touch operation on the object within a predetermined time. That is, after zooming up the object, it is determined whether or not any touch operation is performed on the object within the second set value, for example, within 10 seconds. If the result of this determination is that there is a touch operation within a predetermined time (YES in step S43), the player is in the middle of performing some touch operation on the object, so the camera settings remain unchanged (zoom The zoom canceling process is terminated. On the other hand, when the touch operation is not performed within the predetermined time (NO in step S43), the
図5に戻り、ステップS15におけるズーム解除処理が終われば、次に、所定のゲーム終了条件が満たされているか否かが判断される(ステップS16)。所定のゲーム終了条件が満たされていなければ(ステップS16でNO)、ステップS12に戻り、ゲーム終了条件が満たされるまで、ステップS12〜S16の動作が繰り返される。一方、ゲーム終了条件が満たされていれば(ステップS16でYES)、所定のゲームオーバー処理(ゲームを継続するか否かを選択する処理等)が行われ、ゲームを終了する。以上で、本実施形態に係るゲーム画像生成処理は終了する。 Returning to FIG. 5, when the zoom canceling process in step S15 is completed, it is next determined whether or not a predetermined game end condition is satisfied (step S16). If the predetermined game end condition is not satisfied (NO in step S16), the process returns to step S12, and the operations in steps S12 to S16 are repeated until the game end condition is satisfied. On the other hand, if the game end condition is satisfied (YES in step S16), a predetermined game over process (such as a process for selecting whether or not to continue the game) is performed, and the game is ended. This is the end of the game image generation process according to the present embodiment.
このように、本発明のゲームプログラムは、プレイヤがタッチパネルを介して画面に表示されるオブジェクトに触れることで、触れたオブジェクトをズームアップして表示することができる。そのため、オブジェクトに対する操作を行いやすくすることができる。 As described above, the game program of the present invention can zoom up and display the touched object when the player touches the object displayed on the screen via the touch panel. For this reason, it is possible to easily perform an operation on the object.
また、オブジェクトに触れているか否かの判定は、3次元空間内における上記判定直線と上記当たり判定球とが交わるか否かで判定している。ここで、プレイヤがオブジェクトを指示しているか否かを判定する方法として、2次元座標上で判定する方法がある。この方法では、まず、3次元空間内の各オブジェクトを2次元座標に変換する。そして、プレイヤの入力座標が各オブジェクトに設定されている当たり判定範囲内に入っているか否かを判定する。従って、オブジェクトの数が多いと、2次元座標に変換する処理が増える。更に、3次元座標から2次元座標に変換するためには数多くの計算を行う必要があり、変換処理自体の負荷も高い。これに対して、本発明によれば、プレイヤのタッチパネル上の入力座標を3次元空間内の座標に変換さえすれば、後は直線と球が交わるかどうかを判定すればよい。そのため、上記の2次元座標上で判定する処理に比べ、処理負担を軽減することができる。 Whether or not the object is touched is determined by whether or not the determination straight line in the three-dimensional space and the hit determination ball intersect. Here, as a method of determining whether or not the player is pointing to an object, there is a method of determining on a two-dimensional coordinate. In this method, first, each object in the three-dimensional space is converted into two-dimensional coordinates. Then, it is determined whether or not the input coordinates of the player are within the hit determination range set for each object. Therefore, when the number of objects is large, the number of processes for converting to two-dimensional coordinates increases. Furthermore, in order to convert from three-dimensional coordinates to two-dimensional coordinates, it is necessary to perform many calculations, and the load of the conversion process itself is high. On the other hand, according to the present invention, as long as the input coordinates on the touch panel of the player are converted into the coordinates in the three-dimensional space, it is only necessary to determine whether or not the straight line and the sphere intersect. Therefore, the processing load can be reduced as compared with the processing for determination on the above two-dimensional coordinates.
また、各オブジェクトに設定されている半径値に基づいてズームアップ制御を行うため、ズームアップするときにその都度オブジェクトの大きさを算出してカメラの画角を算出する場合に比べ、より簡単な処理でオブジェクトをズームアップすることができる。 In addition, since zoom-up control is performed based on the radius value set for each object, it is easier to calculate the angle of view of the camera by calculating the size of the object each time you zoom up. The object can be zoomed up in the process.
また、プレイヤがタッチパネルに触れている時間を計測し、オブジェクトをズームアップするタイミングを調整している。これにより、間違ってちょっと触れてしまっただけでオブジェクトがズームアップされてしまうというような、プレイヤの誤操作による不要なズーム処理を防止することができる。すなわち、タッチパネルを用いた操作を行う場合、一般には表示画面全域を操作対象とするため、通常のボタン操作に比べてプレイヤの操作ミスやタッチパネル座標の誤検出等が生じやすい。そのため、タッチパネルを用いて操作するゲーム等において、上述した特許文献1のようなカメラ移動技術を用いると、操作ミスや誤検出等によってプレイヤが意図しないオブジェクトが選択されたとき、その都度ズームアップが行われる。その結果、視点が頻繁に切り替わり、非常にゲーム性の悪いものになってしまう。そのため、本発明では、プレイヤがタッチパネルに触れている時間を計測し、オブジェクトをズームアップするタイミングを調整するようにしている。
Further, the time when the player is touching the touch panel is measured, and the timing for zooming up the object is adjusted. Accordingly, it is possible to prevent unnecessary zoom processing due to an erroneous operation by the player, such as the object being zoomed up by touching it by mistake. That is, when an operation using the touch panel is performed, since the entire display screen is generally operated, an operation error of the player, an erroneous detection of touch panel coordinates, and the like are likely to occur compared to a normal button operation. Therefore, in a game or the like operated using a touch panel, when the camera movement technique as described in
また、オブジェクトのズームアップ表示後、さらに操作の継続時間が所定時間以上経過した後は、カメラ制御を元に戻すことができる。また、当該所定時間を各オブジェクトのパラメータに基づいて設定するので、オブジェクト毎にカメラ制御を元に戻す時間を設定することができる。また、パラメータ値は、オブジェクトの指示状態に応じて変化するので、カメラ制御を元に戻すまでの時間をプレイヤの操作内容に応じて変化させることができる。 Further, after the zoom-in display of the object, the camera control can be returned to the original after the operation duration time has elapsed for a predetermined time or more. Further, since the predetermined time is set based on the parameters of each object, it is possible to set a time for returning the camera control to each object. Further, since the parameter value changes according to the instruction state of the object, the time until the camera control is restored can be changed according to the operation content of the player.
なお、上述した実施形態における仮想カメラのパラメータとして、仮想カメラの位置、画角および注視点を用いているが、これに限らず、その値を変化させることによってズームアップ表示することができるパラメータであれば何でも良い。 The virtual camera position, angle of view, and gazing point are used as the virtual camera parameters in the above-described embodiment. However, the present invention is not limited to this, and the parameters can be zoomed up by changing the values. Anything is fine.
また、上述した実施形態ではタッチパネルを用いているが、タッチパネルの代りにマウスを用いてプレイヤがオブジェクトを指示する形態であってもよい。 Moreover, although the touch panel is used in the above-described embodiment, a mode in which the player indicates an object using a mouse instead of the touch panel may be used.
本発明にかかるゲームプログラムおよびゲーム装置は、画面に表示されるオブジェクトをプレイヤがタッチ操作することによりズームアップ表示することができ、タッチパネルを用いた操作に連動してカメラ制御を行うゲーム装置等の用途に有用である。 A game program and a game device according to the present invention can zoom-in display when a player touches an object displayed on a screen, and controls a camera in conjunction with an operation using a touch panel. Useful for applications.
10 ゲーム装置
11 第1のLCD
12 第2のLCD
13 ハウジング
13a 上側ハウジング
13b 下側ハウジング
14 操作スイッチ部
14a 十字スイッチ
14b スタートスイッチ
14c セレクトスイッチ
14d Aボタン
14e Bボタン
14f Xボタン
14g Yボタン
14L Lボタン
14R Rボタン
15 タッチパネル
16 スティック
17 メモリカード
17a ROM
17b RAM
18a,18b 音抜き孔
19 電源スイッチ
20 電子回路基板
21 CPUコア
22 バス
23 コネクタ
24 RAM
25 I/F回路
26 第1GPU
27 第2GPU28 第1VRAM
29 第2VRAM
30a 右スピーカ
30b 左スピーカ
31 LCDコントローラ
32 レジスタ
51、52 オブジェクト
53 仮想カメラ
54 入力位置
10
12 Second LCD
13
17b RAM
18a, 18b
25 I /
27 2nd GPU28 1st VRAM
29 Second VRAM
30a
Claims (7)
前記仮想カメラのパラメータの値を設定する第1のカメラ設定ステップと、
前記第1のカメラ設定ステップにおいて設定されたパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第1の表示ステップと、
前記第1の表示ステップによって前記仮想カメラから見た画像が表示されているときに前記入力装置によって指定されたオブジェクトを特定するオブジェクト特定ステップと、
前記特定されたオブジェクトをズームアップするように前記仮想カメラのパラメータの値を変更する第2のカメラ設定ステップと、
前記第2のカメラ設定ステップにおいて変更された後のパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第2の表示ステップと、
前記第2の表示ステップによってズームアップするように表示された前記オブジェクトに対して、ズームアップ後の前記入力装置からの入力の変化に基づいて判別される複数種類の操作のそれぞれに応じた変化を当該オブジェクトに与える処理を実行する処理実行ステップとを前記コンピュータに実行させる、入力処理プログラム。 Executed by a computer of an input processing device having a display device that displays an image of a virtual three-dimensional space in which an object appears as viewed from a virtual camera, and an input device for designating a position on the screen of the display device. An input processing program,
A first camera setting step for setting parameter values of the virtual camera;
A first display step of causing the display device to display an image viewed from the virtual camera according to the parameters set in the first camera setting step;
An object specifying step of specifying an object specified by the input device when an image viewed from the virtual camera is displayed in the first display step;
A second camera setting step of changing a value of a parameter of the virtual camera so as to zoom in on the identified object;
A second display step of causing the display device to display an image viewed from the virtual camera according to the parameter after being changed in the second camera setting step;
For the object displayed to zoom up in the second display step, a change corresponding to each of a plurality of types of operations determined based on a change in input from the input device after zooming up is performed. An input processing program for causing a computer to execute a process execution step for executing a process given to the object.
前記入力判定ステップにおいて、前記入力装置からの入力が無いとき、前記仮想カメラのパラメータの値を前記第1のカメラ設定ステップにおいて設定した値に戻す第3のカメラ設定ステップとを更に前記コンピュータに実行させ、
前記第1の表示ステップは、前記第3のカメラ設定ステップにより前記仮想カメラのパラメータの値が設定されたとき、当該設定されたパラメータに従ってゲーム画像を前記表示装置に表示させる、請求項1記載の入力処理プログラム。 An input determination step for determining whether or not there is an input from the input device after the display by the second display step is performed;
In the input determination step, when there is no input from the input device, a third camera setting step for returning the parameter value of the virtual camera to the value set in the first camera setting step is further executed in the computer Let
The said 1st display step displays a game image on the said display apparatus according to the set parameter, when the value of the parameter of the said virtual camera is set by the said 3rd camera setting step. Input processing program.
前記第3のカメラ設定ステップは、前記時間内入力判定ステップにおいて前記所定時間内に前記入力装置からの入力がなかったことが判定されたときに、前記仮想カメラのパラメータの値を前記第1のカメラ設定ステップにおいて設定した値に戻す、請求項2に記載の入力処理プログラム。 The input determination step includes an in-time input determination step of determining whether or not an input from the input device is performed within a predetermined time after the display by the second display step is performed,
In the third camera setting step, when it is determined in the in-time input determination step that there is no input from the input device within the predetermined time, the parameter value of the virtual camera is set to the first camera setting value. The input processing program according to claim 2, wherein the input processing program is returned to the value set in the camera setting step.
前記オブジェクト特定ステップは、前記直線と交わるオブジェクトを特定する、請求項1に記載の入力処理プログラム。 Causing the computer to further execute a straight line calculating step of calculating a straight line passing through the position in the three-dimensional space corresponding to the position detected in the position detecting step and the position of the virtual camera;
The input processing program according to claim 1, wherein the object specifying step specifies an object that intersects the straight line.
前記仮想カメラのパラメータの値を設定する第1のカメラ設定手段と、
前記第1のカメラ設定手段において設定されたパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第1の表示手段と、
前記第1の表示手段によって前記仮想カメラから見た画像が表示されているときに前記入力装置によって指定されたオブジェクトを特定するオブジェクト特定手段と、
前記特定されたオブジェクトをズームアップするように前記仮想カメラのパラメータの値を変更する第2のカメラ設定手段と、
前記第2のカメラ設定手段において変更された後のパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第2の表示手段と、
前記第2の表示手段によってズームアップするように表示された前記オブジェクトに対して、ズームアップ後の前記入力装置からの入力の変化に基づいて判別される複数種類の操作のそれぞれに応じた変化を当該オブジェクトに与える処理を実行する処理実行手段とを備える入力処理装置。 An input processing device comprising: a display device that displays an image obtained by viewing a virtual three-dimensional space in which an object appears from a virtual camera; and an input device for designating a position on the screen of the display device,
First camera setting means for setting parameter values of the virtual camera;
First display means for displaying on the display device an image viewed from the virtual camera according to the parameters set in the first camera setting means;
Object specifying means for specifying an object specified by the input device when an image viewed from the virtual camera is displayed by the first display means;
Second camera setting means for changing a value of a parameter of the virtual camera so as to zoom up the identified object;
Second display means for causing the display device to display an image viewed from the virtual camera according to the parameter after being changed in the second camera setting means;
The object displayed to be zoomed up by the second display means is changed according to each of a plurality of types of operations determined based on a change in input from the input device after zooming up. An input processing device comprising processing execution means for executing processing to be given to the object.
前記仮想カメラのパラメータの値を設定する第1のカメラ設定ステップと、
前記第1のカメラ設定ステップにおいて設定されたパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第1の表示ステップと、
前記第1の表示ステップによって前記仮想カメラから見た画像が表示されているときに前記入力装置によって指定されたオブジェクトを特定するオブジェクト特定ステップと、
前記特定されたオブジェクトをズームアップするように前記仮想カメラのパラメータの値を変更する第2のカメラ設定ステップと、
前記第2のカメラ設定ステップにおいて変更された後のパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第2の表示ステップと、
前記第2の表示ステップによってズームアップするように表示された前記オブジェクトに対して、ズームアップ後の前記入力装置からの入力の変化に基づいて判別される複数種類の操作のそれぞれに応じた変化を当該オブジェクトに与える処理を実行する処理実行ステップとを備える、入力処理方法。 Input used by a computer of an input processing device having a display device that displays an image of a virtual three-dimensional space in which an object appears as viewed from a virtual camera, and an input device for designating the position of the display device on the screen A processing method,
A first camera setting step for setting parameter values of the virtual camera;
A first display step of causing the display device to display an image viewed from the virtual camera according to the parameters set in the first camera setting step;
An object specifying step of specifying an object specified by the input device when an image viewed from the virtual camera is displayed in the first display step;
A second camera setting step of changing a value of a parameter of the virtual camera so as to zoom in on the identified object;
A second display step of causing the display device to display an image viewed from the virtual camera according to the parameter after being changed in the second camera setting step;
For the object displayed to zoom up in the second display step, a change corresponding to each of a plurality of types of operations determined based on a change in input from the input device after zooming up is performed. An input processing method comprising: a process execution step for executing a process given to the object.
前記仮想カメラのパラメータの値を設定する第1のカメラ設定手段と、
前記第1のカメラ設定手段において設定されたパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第1の表示手段と、
前記第1の表示手段によって前記仮想カメラから見た画像が表示されているときに前記入力装置によって指定されたオブジェクトを特定するオブジェクト特定手段と、
前記特定されたオブジェクトをズームアップするように前記仮想カメラのパラメータの値を変更する第2のカメラ設定手段と、
前記第2のカメラ設定手段において変更された後のパラメータに従って前記仮想カメラから見た画像を前記表示装置に表示させる第2の表示手段と、
前記第2の表示手段によってズームアップするように表示された前記オブジェクトに対して、ズームアップ後の前記入力装置からの入力の変化に基づいて判別される複数種類の操作のそれぞれに応じた変化を当該オブジェクトに与える処理を実行する処理実行手段とを備える入力処理システム。 An input processing system comprising: a display device that displays an image obtained by viewing a virtual three-dimensional space in which an object appears from a virtual camera; and an input device for designating a position on the screen of the display device,
First camera setting means for setting parameter values of the virtual camera;
First display means for displaying on the display device an image viewed from the virtual camera according to the parameters set in the first camera setting means;
Object specifying means for specifying an object specified by the input device when an image viewed from the virtual camera is displayed by the first display means;
Second camera setting means for changing a value of a parameter of the virtual camera so as to zoom up the identified object;
Second display means for causing the display device to display an image viewed from the virtual camera according to the parameter after being changed in the second camera setting means;
The object displayed to be zoomed up by the second display means is changed according to each of a plurality of types of operations determined based on a change in input from the input device after zooming up. An input processing system comprising processing execution means for executing processing to be given to the object.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011155958A JP5705671B2 (en) | 2011-07-14 | 2011-07-14 | GAME PROGRAM AND GAME DEVICE |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011155958A JP5705671B2 (en) | 2011-07-14 | 2011-07-14 | GAME PROGRAM AND GAME DEVICE |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2008283495A Division JP4879952B2 (en) | 2008-11-04 | 2008-11-04 | Input processing program and input processing apparatus |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013255422A Division JP5827671B2 (en) | 2013-12-10 | 2013-12-10 | GAME PROGRAM AND GAME DEVICE |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2011200720A JP2011200720A (en) | 2011-10-13 |
| JP5705671B2 true JP5705671B2 (en) | 2015-04-22 |
Family
ID=44878041
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011155958A Expired - Lifetime JP5705671B2 (en) | 2011-07-14 | 2011-07-14 | GAME PROGRAM AND GAME DEVICE |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5705671B2 (en) |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0594500A (en) * | 1991-10-02 | 1993-04-16 | Fujitsu Ltd | Three-dimensional shape retrieving system in cad system |
| JP4144017B2 (en) * | 1999-12-23 | 2008-09-03 | 株式会社セガ | VIDEO GAME DEVICE, IMAGE DISPLAY DEVICE AND METHOD, MOVIE DISPLAY DEVICE AND METHOD, AND RECORDING MEDIUM |
| JP2002230132A (en) * | 2000-12-01 | 2002-08-16 | Sega Corp | Product ordering system |
| JP2002366973A (en) * | 2001-06-07 | 2002-12-20 | Hitachi Software Eng Co Ltd | Method for generating object, method for selecting and controlling generated object and object data structure |
| JP4128385B2 (en) * | 2002-04-01 | 2008-07-30 | ポリマテック株式会社 | pointing device |
-
2011
- 2011-07-14 JP JP2011155958A patent/JP5705671B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2011200720A (en) | 2011-10-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4244040B2 (en) | Input processing program and input processing apparatus | |
| US8152611B2 (en) | Game program | |
| US7762893B2 (en) | Storage medium having game program stored thereon and game apparatus | |
| JP5133515B2 (en) | GAME DEVICE AND GAME PROGRAM | |
| JP5210547B2 (en) | Movement control program and movement control apparatus | |
| JP4358181B2 (en) | GAME PROGRAM AND GAME DEVICE | |
| JP2005192986A (en) | Game program and game device | |
| JP5379275B2 (en) | GAME DEVICE AND GAME PROGRAM | |
| US20060189385A1 (en) | Game program and game device using touch panel | |
| JP4388878B2 (en) | Input processing program and input processing apparatus | |
| JP4753442B2 (en) | GAME PROGRAM AND GAME DEVICE | |
| JP5705671B2 (en) | GAME PROGRAM AND GAME DEVICE | |
| JP5827671B2 (en) | GAME PROGRAM AND GAME DEVICE | |
| JP4879952B2 (en) | Input processing program and input processing apparatus | |
| JP4724758B2 (en) | Input processing program and input processing apparatus | |
| JP4724740B2 (en) | Input processing program and input processing apparatus | |
| JP5354820B2 (en) | Input processing program and input processing apparatus | |
| JP4726965B2 (en) | Input processing program and input processing apparatus | |
| JP4302767B2 (en) | Input processing program and input processing apparatus | |
| JP2010170562A (en) | Program and apparatus for processing information | |
| JP4730975B2 (en) | Input processing program and input processing apparatus | |
| JP5363524B2 (en) | Input processing program and input processing apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110714 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110802 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130729 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130920 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131016 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131210 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140128 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140425 |
|
| A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20140508 |
|
| A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20140718 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150225 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5705671 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |