JP6509302B1 - Game program and game system - Google Patents
Game program and game system Download PDFInfo
- Publication number
- JP6509302B1 JP6509302B1 JP2017207587A JP2017207587A JP6509302B1 JP 6509302 B1 JP6509302 B1 JP 6509302B1 JP 2017207587 A JP2017207587 A JP 2017207587A JP 2017207587 A JP2017207587 A JP 2017207587A JP 6509302 B1 JP6509302 B1 JP 6509302B1
- Authority
- JP
- Japan
- Prior art keywords
- throwing
- character
- motion
- game
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000008859 change Effects 0.000 abstract description 8
- 238000005266 casting Methods 0.000 abstract description 6
- 230000004044 response Effects 0.000 abstract description 3
- 230000036544 posture Effects 0.000 description 40
- 238000000034 method Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 3
- 238000003786 synthesis reaction Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 206010034719 Personality change Diseases 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Processing Or Creating Images (AREA)
Abstract
【課題】ユーザが操作するキャラクタによる投擲を直感的な操作によって実現すると共に、投擲が行われる際にユーザに与える違和感を低減する。【解決手段】ゲームプログラムは、コンピュータを、キャラクタが行動する仮想空間を生成する仮想空間生成手段、ユーザの操作に応じて仮想カメラの視線方向を上下方向に変更する視線方向変更手段、及び、ユーザの操作に応じて、キャラクタに投げられた投擲オブジェクトがキャラクタから所定の距離だけ離れた到達点に到達するように、キャラクタによる投擲オブジェクトの投擲を実行する投擲手段、として機能させ、投擲手段は、投擲オブジェクトの投擲時におけるキャラクタの投擲モーションを視線方向に応じて決定するモーション決定手段、及び、キャラクタに投げられた投擲オブジェクトの到達点に到達するまでの軌道を、投擲モーションに応じて決定する軌道決定手段、を含む。【選択図】図6[Object] To realize throwing by a character operated by a user by an intuitive operation, and reduce a sense of discomfort given to the user when casting is performed. According to one embodiment, a game program includes: a virtual space generation unit that generates a virtual space in which a character acts; a gaze direction change unit that changes a gaze direction of a virtual camera up and down according to a user operation; The throwing means functions as a throwing means for executing the throwing of the throwing object by the character so that the throwing object thrown to the character reaches an arrival point separated by a predetermined distance from the character in response to the operation of Motion determining means for determining the throwing motion of the character according to the gaze direction at the time of throwing the throwing object, and a trajectory for determining the reaching point of the throwing object thrown by the character according to the throwing motion Determining means. [Selected figure] Figure 6
Description
本発明は、ユーザの操作に応じて仮想空間内のキャラクタが動作するゲームを実現するゲームプログラム及びゲームシステムに関する。 The present invention relates to a game program and a game system for realizing a game in which a character in a virtual space operates according to a user's operation.
従来、ユーザの操作に応じて、仮想空間内のキャラクタを移動させたり所定の動作を行わせたりするゲームが存在する。例えばユーザの操作に応じて、キャラクタに投擲可能なオブジェクト(以下、「投擲オブジェクト」と称する。)を投げさせるゲームがある。例えば、特許文献1には、この種のゲームとして、タッチスクリーンを有するモバイル機器でプレイされ、ユーザがタッチスクリーンをスワイプ操作することにより、仮想空間内のキャラクタが敵に投擲オブジェクトを投げつけるゲームが開示されている。 BACKGROUND Conventionally, there are games in which a character in a virtual space is moved or a predetermined action is performed according to a user's operation. For example, there is a game in which an object that can be thrown to a character (hereinafter referred to as a "casting object") is thrown according to the user's operation. For example, Patent Document 1 discloses, as a game of this type, a game played on a mobile device having a touch screen, in which a character in the virtual space throws a throwing object to an enemy by the user swiping the touch screen. It is done.
より具体的に説明すると、このゲームでは、ユーザがタッチスクリーン上で投擲オブジェクトを横切って指をスワイプすることによって、仮想空間内のキャラクタにより敵に対して投擲オブジェクトが投げつけられる。そのときの投擲オブジェクトの軌道は、タッチスクリーンに対するスワイプの長さなどにより決定される。これにより、特許文献1のゲームは、投げられた投擲オブジェクトの軌道を、ユーザがスワイプ操作によって直感的に決定できるようにしている。 More specifically, in this game, the character in the virtual space throws the throwing object at the enemy by the user swiping a finger across the throwing object on the touch screen. The trajectory of the throwing object at that time is determined by the swipe length with respect to the touch screen and the like. Thus, the game of Patent Document 1 enables the user to intuitively determine the trajectory of the thrown throwing object by swipe operation.
ところで、従来のゲームには、ユーザが操作するキャラクタが投擲オブジェクトを投げる場合に、当該キャラクタの投擲モーションがゲーム画面上の映像を通じてユーザに視認されるゲームもある。そのようなゲームの場合は、仮に特許文献1のようにして投擲軌道のみが変えられたとしても、軌道の変化に対してキャラクタの投擲動作が整合せず、ユーザに違和感を生じさせてしまう。 By the way, in the conventional game, there is also a game in which the throwing motion of the character is visually recognized by the user through the image on the game screen when the character operated by the user throws the throwing object. In the case of such a game, even if only the throwing trajectory is changed as in Patent Document 1, the throwing operation of the character does not match the change of the trajectory, causing the user to feel uncomfortable.
そこで本発明は、ユーザが操作するキャラクタによる投擲を直感的な操作によって実現すると共に、投擲が行われる際にユーザに与える違和感を低減することができるゲームプログラム及びゲームシステムを提供することを目的とする。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a game program and a game system capable of realizing throwing by a character operated by a user by an intuitive operation and reducing discomfort caused to the user when casting is performed. Do.
上記の課題を解決するために、本発明に係るゲームプログラムは、仮想カメラで撮影した仮想空間をゲーム画面として表示する表示部と、ユーザによる操作を受け付ける操作部とを備えるコンピュータと、を備えたゲームシステムにおいて、前記コンピュータに実行させるゲームプログラムであって、前記コンピュータを、キャラクタが行動する前記仮想空間を生成する仮想空間生成手段、ユーザの操作に応じて前記仮想カメラの視線方向を上下方向に変更する視線方向変更手段、及び、ユーザの操作に応じて、前記キャラクタに投げられた投擲オブジェクトが前記キャラクタから所定の距離だけ離れた到達点に到達するように、前記キャラクタによる前記投擲オブジェクトの投擲を実行する投擲手段、として機能させ、前記投擲手段は、前記投擲オブジェクトの投擲時における前記キャラクタの投擲モーションを前記視線方向に応じて決定するモーション決定手段、及び、前記キャラクタに投げられた前記投擲オブジェクトの前記到達点に到達するまでの軌道を、前記投擲モーションに応じて決定する軌道決定手段、を含み、前記モーション決定手段は、前記視線方向が前記仮想カメラから延びる基準方向よりも上方に向けられる場合、前記投擲モーションを、前記キャラクタが上手投げにより前記投擲オブジェクトを投げるモーションに決定し、前記視線方向が前記基準方向よりも下方に向けられる場合、前記キャラクタが下手投げにより前記投擲オブジェクトを投げるモーションに決定する。 In order to solve the above problems, a game program according to the present invention includes a computer including a display unit for displaying a virtual space photographed by a virtual camera as a game screen, and an operation unit for receiving an operation by a user. In a game system, a game program to be executed by the computer, wherein the computer is virtual space generation means for generating the virtual space in which a character acts, and the gaze direction of the virtual camera is up and down according to the user's operation. The throwing direction of the throwing object by the character such that the throwing object thrown to the character reaches an arrival point separated from the character by a predetermined distance according to the changing the view direction changing means and the user's operation. Acting as a throwing means, and said throwing means Motion determining means for determining the throwing motion of the character at the time of throwing the throwing object according to the gaze direction; and the trajectory until reaching the arrival point of the throwing object thrown by the character is the throwing motion Trajectory determining means for determining according to, the motion determining means throwing the throwing motion by the character by the upper hand when the sight line direction is directed higher than a reference direction extending from the virtual camera The motion to throw an object is determined, and when the sight line direction is directed lower than the reference direction, the character is determined to throw a throwing object by throwing.
上記のゲームプログラムによれば、上投げを選択する場合には仮想カメラの視線方向を上方に向け、下投げを選択する場合には仮想カメラの視線方向を下方に向けるという直感的な操作により、キャラクタの投擲モーションを使い分けることができる。さらに、投擲モーションに応じて投擲オブジェクトの軌道が決定されるため、ユーザ操作により変更された視線方向と、キャラクタの投擲モーションと、投擲オブジェクトの軌道とが整合する。このため、投擲が行われる際にユーザに与える違和感を低減することができる。 According to the above-mentioned game program, when selecting the upper throwing, the visual line direction of the virtual camera is directed upward, and when selecting the lower throwing, the visual line direction of the virtual camera is directed downward, The throwing motion of the character can be used properly. Furthermore, since the trajectory of the throwing object is determined according to the throwing motion, the gaze direction changed by the user operation, the throwing motion of the character, and the trajectory of the throwing object match. For this reason, it is possible to reduce a sense of discomfort given to the user when the casting is performed.
上記のゲームプログラムは、前記コンピュータを、前記キャラクタの姿勢を変更する姿勢変更手段、として機能させ、前記モーション決定手段は、前記キャラクタの姿勢に応じて、前記仮想空間における水平面に対する前記基準方向の角度を変更してもよい。このゲームプログラムによれば、キャラクタの姿勢に応じて投擲モーションを判定するための基準方向の角度を変更するため、キャラクタの姿勢に適したキャラクタの投擲動作を表現することができる。これにより、キャラクタの投擲にリアリティをもたせることができる。 The game program causes the computer to function as posture changing means for changing the posture of the character, and the motion determining means determines an angle of the reference direction with respect to a horizontal plane in the virtual space according to the posture of the character. May be changed. According to this game program, since the angle of the reference direction for determining the throwing motion is changed according to the posture of the character, the throwing motion of the character suitable for the posture of the character can be expressed. Thereby, it is possible to bring the character throwing into reality.
また、本発明に係るゲームシステムは、上記のゲームプログラムを記憶したプログラム記憶部と、前記プログラム記憶部に記憶されたプログラムを実行するコンピュータとを備える。 Further, a game system according to the present invention includes a program storage unit storing the above-described game program, and a computer that executes a program stored in the program storage unit.
本発明によれば、ユーザが操作するキャラクタによる投擲を直感的な操作によって実現すると共に、投擲が行われる際にユーザに与える違和感を低減することができるゲームプログラム及びゲームシステムを提供することができる。 According to the present invention, it is possible to provide a game program and a game system capable of realizing throwing by a character operated by the user by an intuitive operation and reducing discomfort caused to the user when casting is performed. .
以下、本発明の実施の形態に係るゲームプログラムおよびゲームシステムについて、図面を参照しつつ説明する。 Hereinafter, a game program and a game system according to an embodiment of the present invention will be described with reference to the drawings.
[ハードウェア構成]
図1は、ゲームシステム1のハードウェア構成を示すブロック図である。ゲームシステム1は、ゲーム装置2及びサーバ装置3を備えている。ゲーム装置2は、他のゲーム装置2及びサーバ装置3との間で、インターネット又はLANなどの通信ネットワークNWを介して互いに通信可能である。このゲーム装置2は、その動作を制御するコンピュータであるCPU10を備え、このCPU10にはバス11を介して、ディスクドライブ12、メモリカードスロット13、記憶部(プログラム記憶部)を成すHDD14及びROM15、並びにRAM16が接続されている。
[Hardware configuration]
FIG. 1 is a block diagram showing the hardware configuration of the game system 1. The game system 1 includes a
ディスクドライブ12には、DVD−ROM等のディスク型記録媒体30が装填可能である。該ディスク型記録媒体30には、本実施の形態に係るゲームプログラム30a及びゲームデータ30bが記録されている。このゲームデータ30bには、各キャラクタや仮想空間の形成に必要なデータ、及び、ゲーム中で再生されるサウンドデータなど、本ゲームの進行に必要な各種のデータが含まれる。また、メモリカードスロット13にはカード型記録媒体31が装填でき、ゲームの途中経過等のプレイ状況を示すセーブデータを、CPU10からの指示に応じて記録可能である。
The
HDD14はゲーム装置2が内蔵する大容量記録媒体であって、ディスク型記録媒体30から読み込んだゲームプログラム30a及びゲームデータ30b、更にはセーブデータ等を記録する。ROM15は、マスクROM又はPROMなどの半導体メモリであり、ゲーム装置2を起動する起動プログラムや、ディスク型記録媒体30が装填されたときの動作を制御するプログラムなどを記録している。RAM16は、DRAM又はSRAMなどから成り、CPU10が実行すべきゲームプログラム30aや、その実行の際に必要になるゲームデータ30bなどを、ゲームのプレイ状況に応じてディスク型記録媒体30又はHDD14から読み込んで一時的に記録する。
The HDD 14 is a large-capacity recording medium built in the
また、CPU10には更に、バス11を介してグラフィック処理部17、オーディオ合成部20、無線通信制御部23、及びネットワークインタフェース26が接続されている。
Further, a
このうちグラフィック処理部17は、CPU10の指示に従って仮想ゲーム空間や各キャラクタ等を含むゲーム画像を描画する。すなわち、仮想空間中に設定した仮想カメラの位置、向き、ズーム率(画角)等を調整し、仮想空間を撮影する。そして、撮影した画像をレンダリング処理し、表示用の二次元のゲーム画像を生成する。また、グラフィック処理部17には、ビデオ変換部18を介して外部のディスプレイ(表示部)19が接続されている。グラフィック処理部17にて描画されたゲーム画像は、ビデオ変換部18において動画形式に変換され、このディスプレイ19にて表示される。
Among them, the
オーディオ合成部20は、CPU10の指示に従って、ゲームデータ30bに含まれるデジタル形式のサウンドデータを再生及び合成する。また、オーディオ合成部20にはオーディオ変換部21を介して外部のスピーカ22が接続されている。従って、オーディオ合成部20にて再生及び合成されたサウンドデータは、オーディオ変換部21にてアナログ形式にデコードされ、スピーカ22から外部へ出力される。その結果、本ゲームをプレイしているユーザは、再生されたサウンドを聴取することができる。
The audio synthesizing
無線通信制御部23は、2.4GHz帯の無線通信モジュールを有し、ゲーム装置2に付属するコントローラ24との間で無線により接続され、データの送受信が可能となっている。ユーザは、このコントローラ24に設けられたボタン等の操作部を操作することにより、ゲーム装置2へ信号を入力することができ、ディスプレイ19に表示されるキャラクタの動作を制御する。
The wireless
ネットワークインタフェース26は、インターネット又はLANなどの通信ネットワークNWに対してゲーム装置2を接続するものであり、他のゲーム装置2及びサーバ装置3との間で通信可能である。そして、ゲーム装置2を、通信ネットワークNWを介して他のゲーム装置2と接続し、互いにデータを送受信することにより、同一の仮想空間内で同期して複数のキャラクタを表示させることができる。従って、複数人が共同してゲームを進行させるマルチプレイが可能になっている。
The
[ゲーム装置の機能的構成]
図2は、ゲームシステム1が備えるゲーム装置2の機能的な構成を示すブロック図である。ゲーム装置2は、本発明のゲームプログラム30aを実行することで、仮想空間生成手段41、視線方向変更手段42、姿勢変更手段43、及び投擲手段44として機能する。なお、このような各機能は、ハード的には図1に示すCPU10,HDD14,ROM15,RAM16,グラフィック処理部17,ビデオ変換部18、オーディオ合成部20、オーディオ変換部21、無線通信制御部23等から構成されている。
[Functional configuration of game device]
FIG. 2 is a block diagram showing a functional configuration of the
仮想空間生成手段41は、所定の広がりを有する三次元の仮想空間を生成する。この仮想空間には、コントローラ24の操作によりユーザが直接的にその行動を制御することのできるプレイヤキャラクタが存在している。以下の説明では、プレイヤキャラクタを単に「キャラクタ」と称する。
The virtual
また、仮想空間には、当該仮想空間を撮像するための仮想カメラが配置される。仮想カメラで撮影された画像は、ゲーム画面としてディスプレイ19に表示される。仮想カメラの位置は、仮想空間内を移動するキャラクタに追従して変更される。本実施形態では、キャラクタの視点(一人称視点)での映像がディスプレイ19に表示されるよう、仮想カメラがキャラクタに追従する。即ち、キャラクタの頭部に仮想空間を撮像するための仮想カメラが配置される。キャラクタが仮想空間内を移動すると、仮想カメラもそれに応じて移動する。
Further, in the virtual space, a virtual camera for imaging the virtual space is disposed. An image captured by the virtual camera is displayed on the
視線方向変更手段42は、コントローラ24に対するユーザの操作に応じて、キャラクタ及び仮想カメラの双方の視線方向を上下左右に変更する。
The line-of-sight direction changing means 42 changes the line-of-sight direction of both the character and the virtual camera vertically and horizontally in response to the user's operation on the
姿勢変更手段43は、コントローラ24に対するユーザの操作に応じて、キャラクタの姿勢を変更する。本実施形態では、姿勢変更手段43は、キャラクタの姿勢を、足を伸ばした状態で立った姿勢である第1姿勢と、足を曲げて腰を低くした姿勢である第2姿勢との間で変更する。第1姿勢にあるキャラクタの頭部の高さは、第2姿勢にあるキャラクタの頭部の高さより高い。
The attitude changing means 43 changes the attitude of the character in accordance with the operation of the
図3は、仮想カメラ52の視線方向Gを上下方向に変更可能な範囲とキャラクタ51の姿勢について説明するための図である。図3(A)は、第1姿勢にあるキャラクタ51を側方から見た模式図であり、図3(B)は、第2姿勢にあるキャラクタ51を側方から見た模式図である。なお、図3(A)及び図3(B)において、キャラクタ51の頭部に配置される仮想カメラ52を破線で示す。
FIG. 3 is a view for explaining the range in which the viewing direction G of the
ユーザの操作により仮想カメラ52の視線方向Gを上下方向に変更できる範囲(以下、「変更可能範囲」と称する。)は、予め規定されている。本実施形態では、変更可能範囲は、水平面PHに対する仮想カメラ52の視線方向Gのなす角θが、下記の式(1)を満たす範囲である。
θMIN<θ<θMAX ・・・(1)
本明細書では、水平面PHに対する仮想カメラ52の視線方向Gのなす角θについて、水平面PHに対して視線方向Gが上側に傾斜するときをプラスの角度、下側に傾斜するときをマイナスの角度で示すこととする。視線方向Gを示す角度θは、水平面PHを基準に設定しなくてもよい。また、後述の角度θcや角度αについても同様に規定する。本実施形態では、例えばθMAX=45°、θMIN=−45°に規定される。
A range (hereinafter, referred to as “changeable range”) in which the sight line direction G of the
θMIN <θ <θMAX (1)
In this specification, with respect to the angle θ between the line of sight G of the
姿勢変更手段43がキャラクタ51の姿勢を第1姿勢と第2姿勢との間で変更すると、仮想カメラ52はキャラクタ51の頭部に追従して、仮想カメラ52の位置(より詳細には、仮想空間Sにおけるキャラクタ51の接地面54からの仮想カメラ52の高さ)が変更される。なお、本実施形態では、キャラクタ51が第1姿勢にある場合と第2姿勢にある場合とで、視線方向Gの変更可能範囲は同じであるが、互いに異なってもよい。
When the attitude changing means 43 changes the attitude of the
投擲手段44は、ユーザの操作に応じてキャラクタ51による投擲オブジェクトの投擲を実行する。投擲オブジェクトは、特に限定されず、キャラクタ51が投げられるものであればよい。例えば投擲オブジェクトは、グレネードなど、キャラクタ51が所有する投擲可能なアイテムである。投擲手段44は、モーション決定手段45及び軌道決定手段46を含む。
The throwing means 44 executes the throwing of the throwing object by the
モーション決定手段45は、投擲オブジェクトの投擲時におけるキャラクタ51の投擲モーションを視線方向Gに応じて決定する。具体的には、図3(A)及び図3(B)に示すように、それぞれ、キャラクタ51の姿勢に応じて、仮想カメラ52からその前方に延びる基準方向PA,PBが規定される。モーション決定手段45は、視線方向Gが仮想カメラ52から延びる基準方向PA又はPBよりも上方に向けられる場合、投擲モーションを、キャラクタ51が上手投げにより投擲オブジェクトを投げるモーションに決定する。また、モーション決定手段45は、視線方向Gが基準方向PA又はPBより下方に向けられる場合、キャラクタ51が下手投げにより投擲オブジェクトを投げるモーションに決定する。
The motion determining means 45 determines the throwing motion of the
図4は、キャラクタ51が投擲オブジェクト53を投擲する際にディスプレイ19に表示されるゲーム画面の例を示す図である。図4(A)には、キャラクタ51が上手投げで投擲オブジェクト53を投擲する際のゲーム画面が示され、図4(B)には、キャラクタ51が下手投げで投擲オブジェクト53を投擲する際のゲーム画面が示される。上述したように、本実施形態では、キャラクタ51の視点での映像がゲーム画面として表示されるため、ゲーム画面にはキャラクタの全体像は表示されない。このため、キャラクタ51が投擲オブジェクト53を投擲する際のゲーム画面には、キャラクタの腕が映し出される。ユーザには、ゲーム画面上に表示されたキャラクタ51の腕の動きや位置などにより、キャラクタ51の投擲モーションが上手投げか下手投げかが知覚される。
FIG. 4 is a view showing an example of a game screen displayed on the
図3に戻って、モーション決定手段45は、キャラクタ51の姿勢に応じて、仮想空間Sにおける水平面PHに対する基準方向の角度を変更する。本実施形態では、図3(A)に示すように、キャラクタ51が第1姿勢にある場合の基準方向PAは、水平面PHに対して下方に所定の角度|θc|(例えば10°)だけ傾斜する。他方、図3(B)に示すように、キャラクタ51が第2姿勢にある場合の基準方向PBは、水平面PHに平行である。
Referring back to FIG. 3, the
軌道決定手段46は、キャラクタ51に投げられた投擲オブジェクト53の軌道を決定する。図5(A)及び図5(B)に、第1姿勢をとるキャラクタ51が投げた投擲オブジェクト53の軌道の例を示す。軌道決定手段46による投擲オブジェクト53の軌道の決定方法について、図5(A)及び図5(B)を参照しながら説明する。
The trajectory determination means 46 determines the trajectory of the throwing
図5(A)では、仮想カメラ52の視線方向Gが基準方向PAより上方に向けられている。このため、キャラクタ51の投擲モーションは上手投げである。また、図5(B)では、仮想カメラ52の視線方向Gが基準方向PAより下方に向けられている。このため、キャラクタ51の投擲モーションは下手投げである。
In FIG. 5A, the line of sight direction G of the
本実施形態では、キャラクタ51によって投げられた投擲オブジェクト53の目標到達地点は、視線方向Gによらず一定である。具体的には、投擲手段44は、キャラクタ51に投げられた投擲オブジェクト53がキャラクタ51から所定の距離Lだけ前方に離れた到達点55に到達するように、キャラクタ51による投擲オブジェクト53の投擲を実行する。キャラクタ51から到達点55までの到達距離Lは、キャラクタ51が投擲オブジェクト53を上投げで投げる場合と下投げで投げる場合とで同じである。なお、本実施形態において、到達点55は、水平な接地面54でキャラクタ51に投げられた投擲オブジェクト53が、当該接地面54に最初に接触する地点である。
In the present embodiment, the target arrival point of the throwing
軌道決定手段46は、キャラクタ51に投げられた投擲オブジェクト53の到達点55に到達するまでの軌道Tを、キャラクタ51の投擲モーションに応じて決定する。具体的には、記憶部に、キャラクタ51が上手投げで投げる場合と下手投げで投げる場合のそれぞれについて、キャラクタ51に投げられてから到達点55に到達するまでの投擲オブジェクト53の軌道情報が記憶されている。軌道決定手段46は、キャラクタ51の投擲モーションに応じて、上手投げ用の軌道情報を用いるか、下手投げ用の軌道情報を用いるかを決定する。
The trajectory determination means 46 determines the trajectory T until reaching the
例えば、上手投げ用の軌道情報には、キャラクタ51が投擲オブジェクト53を上手投げで投げる場合における、投擲オブジェクト53が手から離れるリリース点の高さH1、リリース時の初速度ベクトルV1、その大きさ|V1|、及びリリース時の水平面PHに対する投擲オブジェクト53の飛翔角度α1の1つ又は複数が含まれてもよい。下手投げ用の軌道情報には、キャラクタ51が投擲オブジェクト53を下手投げで投げる場合における、投擲オブジェクト53が手から離れるリリース点の高さH2、リリース時の初速度ベクトルV2、その大きさ|V2|、及びリリース時の水平面PHに対する投擲オブジェクト53の飛翔角度α2の1つ又は複数が含まれてもよい。
For example, in the trajectory information for the high throw, the height H1 of the release point at which the
なお、上手投げ用の軌道情報と下手投げ用の軌道情報に含まれるこれらパラメータの1つ又は複数は、同じ値であってもよい。例えば、上手投げの場合の初速度ベクトルV1の大きさ|V1|と、下手投げの場合の初速度ベクトルV2の大きさ|V2|とは同じであってもよい。例えば、上手投げの場合のリリース点の高さH1と下手投げの場合のリリース点の高さH2は同じであってもよい。 Note that one or more of these parameters included in the trajectory information for upper throwing and the trajectory information for lower throwing may have the same value. For example, the magnitude | V1 | of the initial velocity vector V1 in the case of the upper hand throwing and the magnitude | V2 | of the initial velocity vector V2 in the lower hand throwing may be the same. For example, the height H1 of the release point in the case of the upper hand may be the same as the height H2 of the release point in the case of the lower side.
投擲手段44により実行される投擲処理について、図6を参照しながら説明する。図6は、投擲処理の流れを示すフローチャートである。 The throwing process performed by the throwing means 44 will be described with reference to FIG. FIG. 6 is a flowchart showing the flow of the throwing process.
投擲処理は、コントローラ24に対する投擲処理を実行するためのユーザの操作によって開始される。投擲処理では、まず投擲手段44は、キャラクタ51の姿勢に関する姿勢情報を取得する(ステップS1)。具体的には、投擲手段44は、キャラクタ51が第1姿勢にあるか第2姿勢にあるかに関する情報を取得する。
The throwing process is started by the user's operation to execute the throwing process on the
次に、投擲手段44は、仮想カメラ52の視線方向Gに関する視線方向情報を取得する(ステップS2)。具体的には、投擲手段44は、水平面PHに対してキャラクタ51の視線方向Gのなす角θを取得する。
Next, the throwing means 44 acquires gaze direction information on the gaze direction G of the virtual camera 52 (step S2). Specifically, the throwing means 44 acquires an angle θ between the horizontal line PH and the sight line direction G of the
これら姿勢情報及び視線方向情報を取得した後、モーション決定手段45は、姿勢情報に応じた基準方向の角度を取得する。そして、モーション決定手段45は、取得した基準方向より視線方向Gが上方に向けられているか否かを判定する(ステップS3)。キャラクタ51の視線方向Gが上方に向けられていると判定した場合(ステップS3:Yes)、モーション決定手段45は、投擲モーションを上手投げに決定する(ステップS4)。キャラクタ51の視線方向Gが上方に向けられていないと判定した場合(ステップS3:No)、モーション決定手段45は、投擲モーションを下手投げに決定する(ステップS5)。
After acquiring the posture information and the line-of-sight direction information, the motion determination means 45 acquires the angle of the reference direction according to the posture information. Then, the
例えば、モーション決定手段45は、キャラクタ51が第1姿勢にあると判定すると、第1姿勢に対応する基準方向PAの水平面PHに対する角度θc(例えば−10°)を取得する。その後、当該角度θcより視線方向Gの水平面PHに対する角度θが大きいか否かを判定し、角度θが角度θcより大きい場合には投擲モーションを上手投げに決定する。
For example, when the
ステップS4及びS5で投擲モーションを決定した後、軌道決定手段46は、キャラクタ51に投げられた投擲オブジェクト53の到達点55に到達するまでの軌道Tを、投擲モーションに応じて決定する(ステップS6)。
After determining the throwing motion in steps S4 and S5, the trajectory determination means 46 determines the trajectory T until reaching the
投擲手段44は、モーション決定手段45が決定した投擲モーション、及び軌道決定手段46が決定した投擲オブジェクト53の軌道Tに基づき、キャラクタ51の投擲を実行する(ステップS7)。
The throwing means 44 casts the
以上に示したように、本実施形態に係るゲームシステム1では、上投げを選択する場合には仮想カメラ52の視線方向Gを上方に向け、下投げを選択する場合には仮想カメラ52の視線方向Gを下方に向けるという直感的な操作により、キャラクタ51の投擲時の動作を使い分けることができる。さらに、投擲モーションに応じて投擲オブジェクト53の軌道Tが決定されるため、ユーザ操作により変更された視線方向Gと、キャラクタ51の投擲モーションと、投擲オブジェクト53の軌道Tとが整合する。このため、投擲が行われる際にユーザに与える違和感を低減することができる。
As described above, in the game system 1 according to the present embodiment, the gaze direction G of the
また、本実施形態では、キャラクタ51の姿勢に応じて投擲モーションを判定するための基準方向の角度θcを変更するため、キャラクタ51の姿勢に適したキャラクタ51の投擲動作を表現することができる。これにより、キャラクタ51の投擲にリアリティをもたせることができる。
Further, in the present embodiment, since the angle θc of the reference direction for determining the throwing motion is changed according to the attitude of the
本発明は上述した実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の変形が可能である。 The present invention is not limited to the embodiments described above, and various modifications can be made without departing from the scope of the present invention.
例えば、上記実施形態では、キャラクタ51の視点での映像がディスプレイ19に表示される一人称視点のゲームが説明されたが、本発明は、三人称視点のゲームにも適用可能である。例えば、仮想カメラ52をキャラクタ51の後方などに配置して、キャラクタ51が仮想空間S内を移動するときに、仮想カメラ52もそれに応じて移動させてもよい。また、本発明を三人称視点のゲームに適用する場合、視線方向変更手段42は、ユーザの操作に応じて仮想カメラ52の視線方向Gを変更すればよく、キャラクタ51の視線方向については変更しなくてもよい。
For example, in the above embodiment, the first-person viewpoint game in which the image at the viewpoint of the
また、上記実施形態では、視線方向変更手段42が、コントローラ24に対するユーザの操作に応じて、仮想カメラ52の視線方向Gを上下左右に変更したが、少なくても仮想カメラ52の視線方向Gを上下方向に変更すればよく、左右方向に変更しなくてもよい。
In the above embodiment, the gaze direction changing means 42 changes the gaze direction G of the
また、ゲームシステム1は、ディスプレイ19の代わりに、ユーザの頭の傾きを検出する検出部を有し、且つユーザの頭に装着されるヘッドマウントディスプレイを含んでもよい。この場合、仮想カメラ52の視線方向Gの変更をユーザから受け付ける操作部は、コントローラ24ではなく、ヘッドマウントディスプレイであってもよい。
In addition, the game system 1 may include a head mounted display that has a detection unit that detects the tilt of the user's head, and is mounted on the user's head, instead of the
また、上記実施形態では、姿勢変更手段43が、キャラクタ51の姿勢を、第1姿勢と第2姿勢との間で変更したが、例えばキャラクタ51が腹這いになった姿勢など、第1姿勢及び第2姿勢以外のキャラクタ51の姿勢も用意して、変更できるようにしてもよい。
In the above embodiment, the posture changing means 43 changes the posture of the
また、軌道決定手段46による投擲オブジェクト53の軌道の決定方法は、上記実施形態で説明された方法に限定されず、投擲モーションに応じて決定するいかなる方法であってもよい。
Further, the method of determining the trajectory of the throwing
また、上記実施形態では、モーション決定手段45が、キャラクタ51の姿勢に応じて、仮想空間Sにおける水平面PHに対する基準方向の角度を変更したが、本発明はこれに限定されない。即ち、キャラクタ51が第1姿勢にある場合の基準方向PAの水平面PHに対する傾斜角は、キャラクタ51が第2姿勢にある場合の基準方向PBの水平面PHに対する傾斜角と同じでもよい。また、ゲーム装置2は、姿勢変更手段43として機能しなくてもよい。例えば、キャラクタ51は、投擲オブジェクト53を投擲する際に常に第1姿勢で投擲してもよい。
Further, in the above embodiment, the
また、上記実施形態では、到達点55は、投げられた投擲オブジェクト53が接地面54に最初に接触する地点であったが、例えば到達点55は、水平な所定の接地面54でキャラクタ51に投げられた投擲オブジェクト53が、当該接地面54に接触して転がった後に最終的に止まる地点であってもよい。
Further, in the above embodiment, the reaching
また、キャラクタ51から到達点55までの到達距離Lは、キャラクタ51が第1姿勢をとる場合と第2姿勢をとる場合で同じであってもよいし、異なってもよい。例えば、キャラクタ51が第2姿勢をとる場合の到達距離は、キャラクタ51が第1姿勢をとる場合の到達距離より短くてもよい。
Further, the reaching distance L from the
41 :仮想空間生成手段
42 :視線方向変更手段
43 :姿勢変更手段
44 :投擲手段
45 :モーション決定手段
46 :軌道決定手段
41: Virtual space generation means
42: Direction of sight change means
43: Attitude change means
44: Throwing method
45: Motion determination means
46: Orbit determination means
Claims (3)
前記コンピュータを、
キャラクタが行動する前記仮想空間を生成する仮想空間生成手段、
ユーザの操作に応じて前記仮想カメラの視線方向を上下方向に変更する視線方向変更手段、及び、
ユーザの操作に応じて、前記キャラクタに投げられた投擲オブジェクトが前記キャラクタから所定の距離だけ離れた到達点に到達するように、前記キャラクタによる前記投擲オブジェクトの投擲を実行する投擲手段、
として機能させ、
前記投擲手段は、前記投擲オブジェクトの投擲時における前記キャラクタの投擲モーションを前記視線方向に応じて決定するモーション決定手段、及び、
前記キャラクタに投げられた前記投擲オブジェクトの前記到達点に到達するまでの軌道を、前記投擲モーションに応じて決定する軌道決定手段、を含み、
前記モーション決定手段は、
前記視線方向が前記仮想カメラから延びる基準方向よりも上方に向けられる場合、前記投擲モーションを、前記キャラクタが上手投げにより前記投擲オブジェクトを投げるモーションに決定し、
前記視線方向が前記基準方向よりも下方に向けられる場合、前記キャラクタが下手投げにより前記投擲オブジェクトを投げるモーションに決定する、ゲームプログラム。 It is a game program to be executed by the computer in a game system comprising a computer including a display unit for displaying a virtual space photographed by a virtual camera as a game screen and an operation unit for receiving an operation by a user,
The computer,
Virtual space generation means for generating the virtual space in which a character acts;
Line-of-sight direction changing means for changing the line-of-sight direction of the virtual camera up and down according to the user's operation, and
Throwing means for executing throwing of the throwing object by the character such that the throwing object thrown to the character reaches an arrival point separated by a predetermined distance from the character according to the user's operation;
To act as
A motion determining unit configured to determine a throwing motion of the character at the time of throwing the throwing object according to the gaze direction;
Trajectory determining means for determining a trajectory to reach the arrival point of the throwing object thrown by the character according to the throwing motion;
The motion determining means is
If the gaze direction is directed above a reference direction extending from the virtual camera, the throwing motion is determined to be a motion in which the character throws the throwing object by an upper hand throw;
A game program, wherein the motion of the character throws the throwing object by throwing the throwing object if the gaze direction is directed lower than the reference direction.
前記キャラクタの姿勢を変更する姿勢変更手段、として機能させ、
前記モーション決定手段は、前記キャラクタの姿勢に応じて、前記仮想空間における水平面に対する前記基準方向の角度を変更する、請求項1に記載のゲームプログラム。 The computer,
Function as posture changing means for changing the posture of the character,
The game program according to claim 1, wherein the motion determination means changes an angle of the reference direction with respect to a horizontal plane in the virtual space in accordance with an attitude of the character.
前記プログラム記憶部に記憶されたプログラムを実行するコンピュータとを備えた、ゲームシステム。 A program storage unit storing the game program according to claim 1 or 2.
A game system comprising: a computer that executes a program stored in the program storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017207587A JP6509302B1 (en) | 2017-10-26 | 2017-10-26 | Game program and game system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017207587A JP6509302B1 (en) | 2017-10-26 | 2017-10-26 | Game program and game system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6509302B1 true JP6509302B1 (en) | 2019-05-08 |
JP2019076635A JP2019076635A (en) | 2019-05-23 |
Family
ID=66429932
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017207587A Active JP6509302B1 (en) | 2017-10-26 | 2017-10-26 | Game program and game system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6509302B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113713393A (en) * | 2021-08-27 | 2021-11-30 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, storage medium and electronic equipment |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11178384B2 (en) | 2019-07-10 | 2021-11-16 | Nintendo Co., Ltd. | Information processing system, storage medium, information processing apparatus and information processing method |
CN113599824B (en) * | 2021-08-06 | 2023-08-25 | 腾讯科技(深圳)有限公司 | Virtual prop control method and device, storage medium and electronic equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3472288B2 (en) * | 2002-03-14 | 2003-12-02 | 株式会社スクウェア・エニックス | Computer-readable recording medium recording a ball game video game program, computer program, ball game video game processing apparatus, and ball game video game processing method |
JP3762919B2 (en) * | 2003-08-25 | 2006-04-05 | コナミ株式会社 | Video game program, video game apparatus, and video game method |
JP5173174B2 (en) * | 2006-09-13 | 2013-03-27 | 任天堂株式会社 | GAME DEVICE, GAME PROGRAM, GAME SYSTEM, AND GAME PROCESSING METHOD |
JP6126273B1 (en) * | 2016-06-10 | 2017-05-10 | 株式会社コロプラ | Method for providing virtual space, program for causing computer to realize the method, and system for providing virtual space |
-
2017
- 2017-10-26 JP JP2017207587A patent/JP6509302B1/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113713393A (en) * | 2021-08-27 | 2021-11-30 | 腾讯科技(深圳)有限公司 | Control method and device of virtual prop, storage medium and electronic equipment |
CN113713393B (en) * | 2021-08-27 | 2023-05-30 | 腾讯科技(深圳)有限公司 | Virtual prop control method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2019076635A (en) | 2019-05-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10048751B2 (en) | Methods and systems for gaze-based control of virtual reality media content | |
JP2019516159A (en) | Spectator view viewpoint in VR environment | |
CN110178158B (en) | Information processing apparatus, information processing method, and recording medium | |
JP6509302B1 (en) | Game program and game system | |
JPWO2019130864A1 (en) | Information processing equipment, information processing methods and programs | |
JP7369674B2 (en) | Programs, methods and viewing devices | |
JP2019141162A (en) | Computer system | |
JP2020120336A (en) | Program, method, and information processing device | |
JP2020087278A (en) | Video synthesizer, method for synthesizing video, and video synthesizing program | |
JP2020087277A (en) | Video synthesizer, method for synthesizing video, and video synthesizing program | |
JP2022505457A (en) | How to build buildings in virtual environments, equipment, equipment and programs | |
CN110721467A (en) | Display control method, electronic device, and computer-readable storage medium | |
JP2024083409A (en) | Programs and systems | |
WO2022237076A1 (en) | Method and apparatus for controlling avatar, and device and computer-readable storage medium | |
JP6785325B2 (en) | Game programs, methods, and information processing equipment | |
JP6530453B2 (en) | Game program and game system | |
JP6420380B2 (en) | Game program and game system | |
US20230218984A1 (en) | Methods and systems for interactive gaming platform scene generation utilizing captured visual data and artificial intelligence-generated environment | |
CN110651304A (en) | Information processing apparatus, information processing method, and program | |
JP2020087429A (en) | Video synthesizer, method for synthesizing video, and video synthesizing program | |
JP4485991B2 (en) | Image processing apparatus, image processing method, and program | |
JP7264941B2 (en) | Program, information processing device and information processing method | |
JP7366821B2 (en) | Video display program | |
JP2009061159A (en) | Program, information storage medium and game system | |
JPWO2013179641A1 (en) | Computer device, game program, and computer device control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180322 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20190312 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190402 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6509302 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 |