JP2018020150A - Game program, method, and information processor with touch screen - Google Patents
Game program, method, and information processor with touch screen Download PDFInfo
- Publication number
- JP2018020150A JP2018020150A JP2017185498A JP2017185498A JP2018020150A JP 2018020150 A JP2018020150 A JP 2018020150A JP 2017185498 A JP2017185498 A JP 2017185498A JP 2017185498 A JP2017185498 A JP 2017185498A JP 2018020150 A JP2018020150 A JP 2018020150A
- Authority
- JP
- Japan
- Prior art keywords
- touch
- user
- game
- drag operation
- touch screen
- 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
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Description
本開示は、タッチ操作による入力操作を受け付けてゲームを進行させるゲームプログラムの技術に関し、特に、チーム同士で対戦するスポーツゲームの技術に関する。 The present disclosure relates to a technique of a game program that accepts an input operation by a touch operation and advances a game, and particularly relates to a technique of a sports game in which teams battle each other.
仮想空間内にゲームキャラクタを表示させてゲームを進行させるゲームプログラムが、様々な事業者によって提供されている。例えば、サッカー、ホッケー、アメリカンフットボールなどのスポーツを題材としたスポーツゲームが提供されている。 Various business operators provide game programs that display game characters in a virtual space and advance the game. For example, sports games based on sports such as soccer, hockey, and American football are provided.
これらスポーツゲームの一例として、仮想空間内において、複数のゲームキャラクタにより構成されるチームが他のチームと対象物をめぐって対戦するゲームがある。例えば、対象物としてサッカーボールをめぐってチーム同士が対戦するサッカーゲームがある。このようなゲームでは、ユーザは、チームに含まれる複数のゲームキャラクタのうちの1のゲームキャラクタを指定して、この指定にかかるゲームキャラクタに対して入力操作を行う。例えば、ユーザは、1のゲームキャラクタを指定して、ゲームキャラクタを移動させる入力操作と、ゲームキャラクタに、対象物に関連付けられた動作(例えば、対象物としてのサッカーボールを他のゲームキャラクタにパスする動作、サッカーボールを敵ゴールに向けてシュートする動作その他の動作)を行わせるための入力操作と、を行う。 As an example of these sports games, there is a game in which a team composed of a plurality of game characters competes with another team over an object in a virtual space. For example, there is a soccer game in which teams play against a soccer ball as an object. In such a game, the user designates one game character among a plurality of game characters included in the team, and performs an input operation on the designated game character. For example, the user designates one game character and moves the game character, and the game character passes an action associated with the object (for example, a soccer ball as the object passes to another game character. And an input operation for causing the soccer ball to shoot toward the enemy goal and other actions).
特開2014−79643号公報(特許文献1)には、タッチパネルを有するコンピュータにおいてゲームプログラムを実行する場合に、画面に表示された数多くのキャラクタを一人のユーザで容易に操作する技術が記載されている。特許文献1には、具体的には、キャラクタを移動させるための操作として、ドラッグ操作が含まれることが記載されている。特許文献1には、ユーザが動かしたいキャラクタを目的地までドラッグ操作すると、キャラクタをドリブルで移動させることが記載されており、より具体的には、ドラッグ操作の確定前に、ユーザが指定するキャラクタの移動を開始させ、ドラッグ操作確定後には、ドラッグ操作の終端位置に向けてキャラクタを移動させることが記載されている。また、特許文献1には、ユーザがパスしたい場所やキャラクタを指でタッチすると、タッチ位置をパス先として認識することが記載されている。
Japanese Patent Laying-Open No. 2014-79643 (Patent Document 1) describes a technique for easily operating a large number of characters displayed on a screen by one user when a game program is executed on a computer having a touch panel. Yes. Specifically,
また、ゲームプログラムによっては、ゲームコントローラの十字キー、ジョイスティックなどを模したバーチャルパッドをタッチスクリーンに表示し、バーチャルパッドへのタッチ操作を検出して、キャラクタを移動させるものもある。例えば、十字キー等を備えるゲームコントローラでの操作を前提としたゲーム機で提供され、シリーズとして開発が続けられたゲームタイトルがある場合、当該ゲームタイトルを、タッチスクリーンを備えるスマートフォン等に提供する際に、これらゲームコントローラでの操作のインタフェースをスマートフォン等で再現しようとして、バーチャルパッドへのタッチ操作によるキャラクタの移動を受け付けているものがある。 In addition, depending on the game program, a virtual pad imitating a cross key of a game controller, a joystick, or the like is displayed on a touch screen, and a touch operation on the virtual pad is detected to move a character. For example, when there is a game title that is provided on a game machine that is premised on an operation with a game controller equipped with a cross key or the like and has been continuously developed as a series, when the game title is provided to a smartphone or the like equipped with a touch screen In addition, there is one that accepts the movement of a character by a touch operation on a virtual pad in an attempt to reproduce the operation interface of these game controllers on a smartphone or the like.
このように、タッチスクリーンを備える端末においてゲームプログラムを実行する場合に、タッチスクリーンの任意の位置をタップすることでボールを動かす操作(キャラクタにボールをパスさせる等)と、キャラクタの移動を指示する操作とを切り分けるために、ユーザは、キャラクタを移動させる際、まず、移動対象のキャラクタまたはバーチャルパッドなど、予め移動操作と対応付けられたオブジェクトへタップをする必要がある。このように、ユーザは、キャラクタを移動させることを意図する都度、タッチスクリーンの表示領域の中から、キャラクタの移動を開始させるためのオブジェクトを視認してタップ操作をすることとなる。 As described above, when a game program is executed on a terminal equipped with a touch screen, an operation of moving the ball by tapping an arbitrary position on the touch screen (such as passing the ball to the character) and instructing the character to move are performed. In order to separate the operation, the user first needs to tap an object such as a character to be moved or a virtual pad that is associated with the moving operation in advance. Thus, whenever the user intends to move the character, the user visually recognizes an object for starting the movement of the character from the display area of the touch screen and performs a tap operation.
特に、サッカーゲームのように、チーム間でサッカーボール等の対象物をめぐって対戦するスポーツゲームにおいては、複数のゲームキャラクタの間で対象物をパス等により移動させる機会が多くなるため、サッカーボール等の対象物を動かす操作と、キャラクタの移動を指示する操作とを頻繁に繰り返し得る。そのため、スポーツゲームの操作性をいっそう向上させる技術が必要とされている。 In particular, in a sports game where a team competes with an object such as a soccer ball between teams, such as a soccer game, there are many opportunities to move the object between a plurality of game characters by a pass or the like. The operation of moving the object and the operation of instructing the movement of the character can be frequently repeated. Therefore, a technique for further improving the operability of a sports game is required.
本開示は、タッチスクリーンを備えるコンピュータにおいて、複数のゲームキャラクタにより構成されるチームが他のチームと対象物をめぐって対戦するスポーツゲームにかかるゲームプログラムを実行する場合に、ユーザの操作をいっそう容易にすることで、ゲームに対する興趣性をいっそう向上させる技術を提供することを目的とする。 The present disclosure further facilitates a user's operation when a team including a plurality of game characters executes a game program related to a sports game in which a team is configured to compete with other teams in a computer having a touch screen. Therefore, an object is to provide a technique for further improving the interest of the game.
本開示に示す一実施形態によれば、タッチ操作による入力操作を受け付けるタッチスクリーンと、プロセッサと、メモリとを備えるコンピュータにおいて実行されるゲームプログラムが提供される。ゲームプログラムは、プロセッサに、タッチスクリーンに対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対しドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、ドラッグ操作の方向に基づいて、ユーザが操作対象とするオブジェクトを移動させるステップと、ドラッグ操作が継続している状態からタッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置が、タッチオフとなる直前のタッチ位置から一定範囲内であれば、ドラッグ操作の起点となったタッチ位置と、再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向にオブジェクトを移動させるステップとを実行させる。 According to an embodiment shown in the present disclosure, a game program that is executed on a computer including a touch screen that accepts an input operation by a touch operation, a processor, and a memory is provided. The game program allows the processor to perform a drag operation regardless of whether the user performs a touch operation at the start of the drag operation on an object to be operated when the drag operation on the touch screen is continued. When the user moves the object to be operated based on the direction of the touch and the touch is turned off from the state in which the drag operation is continued, and it is determined that the touch-on is detected again and continued after the touch-off period. If the touch-off period is equal to or shorter than a predetermined period and the touch-on position is within a certain range from the touch position immediately before the touch-off, the touch position that is the starting point of the drag operation and the touch-on again Obj in a direction determined based on the touch position that has been continued. And a step of moving the transfected.
別の実施形態によると、タッチ操作による入力操作を受け付けるタッチスクリーンと、プロセッサと、メモリとを備えるコンピュータにおいて実行される方法が提供される。方法は、コンピュータが、タッチスクリーンに対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対しドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、ドラッグ操作の方向に基づいて、ユーザが操作対象とするオブジェクトを移動させるステップと、コンピュータが、ドラッグ操作が継続している状態からタッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置が、タッチオフとなる直前のタッチ位置から一定範囲内であれば、ドラッグ操作の起点となったタッチ位置と、再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向にオブジェクトを移動させるステップとを含む。 According to another embodiment, there is provided a method executed in a computer including a touch screen that accepts an input operation by a touch operation, a processor, and a memory. In the method, when the drag operation on the touch screen is continued, the computer can perform the drag operation regardless of whether the user performs the touch operation at the start of the drag operation on the object to be operated. Based on the direction, the step of moving the object to be operated by the user, and the computer is touched off from the state where the drag operation is continued, and the touch-off detection and continuation are determined after the touch-off period. If the touch-off period is equal to or less than a certain period and the touch-on position is within a certain range from the touch position immediately before the touch-off, the touch position that is the starting point of the drag operation In a direction determined based on the touch position where touch-on continues And a step of moving objects.
別の実施形態によると、タッチ操作による入力操作を受け付けるタッチスクリーンを備える情報処理装置が提供される。情報処理装置は、記憶部と、制御部とを備える。記憶部は、ゲームプログラムを記憶するように構成されている。制御部は、タッチスクリーンに対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対しドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、ドラッグ操作の方向に基づいて、ユーザが操作対象とするゲームキャラクタを移動させ、ドラッグ操作が継続している状態からタッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置が、タッチオフとなる直前のタッチ位置から一定範囲内であれば、ドラッグ操作の起点となったタッチ位置と、再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向にオブジェクトを移動させる移動制御部を含む。 According to another embodiment, an information processing apparatus including a touch screen that receives an input operation by a touch operation is provided. The information processing apparatus includes a storage unit and a control unit. The storage unit is configured to store a game program. When the drag operation on the touch screen is continued, the control unit performs the drag operation in the direction of the drag operation regardless of whether or not the user performs a touch operation on the object to be operated. Based on this, when the user moves the game character to be operated and the touch-off is performed from the state where the drag operation is continued, and the touch-off is detected again and continued after the touch-off period, the touch-off is determined. Is within a certain period, and if the touch-on position is within a certain range from the touch position immediately before the touch-off, the touch position that is the starting point of the drag operation and the touch-on again are continued. Includes a movement control unit that moves the object in a direction determined based on the touch position. .
一実施形態によると、タッチスクリーンを備えるコンピュータにおいて、タッチスクリーンに表示されるゲームキャラクタの操作を、より一層容易にすることができ、ゲームの興趣性を向上させることができる。 According to one embodiment, in a computer having a touch screen, the operation of the game character displayed on the touch screen can be further facilitated, and the fun of the game can be improved.
以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。 Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, the same parts are denoted by the same reference numerals. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
<実施の形態1>
本実施形態において、ユーザは、例えばスマートフォンなどの、タッチスクリーンを搭載した情報処理装置を操作して、ゲームサーバと、スマートフォンとの間でゲームに関するデータを送受信しながらゲームを進行させる。ゲームは、ユーザが一人でプレイするシングルプレイと、ユーザが他のユーザとともにプレイするマルチプレイとに対応する。
<
In the present embodiment, a user operates an information processing apparatus equipped with a touch screen such as a smartphone, for example, and advances the game while transmitting and receiving data related to the game between the game server and the smartphone. The game corresponds to single play where the user plays alone and multi-play where the user plays with other users.
図1は、実施の形態のゲーム配信システム1の構成を示す図である。図1に示すように、ゲーム配信システム1は、ユーザが使用する情報処理装置と、サーバ20とを含み、これらの装置がネットワーク80によって互いに通信可能に接続されている。
FIG. 1 is a diagram illustrating a configuration of a
図1の例では、ユーザが使用する情報処理装置として、携帯端末10A、携帯端末10Bおよび携帯端末10C(以下、携帯端末10A、10B、10Cなどの携帯端末を総称して「携帯端末10」と記載することもある)など複数の携帯端末を示している。携帯端末10Aと携帯端末10Bとは、無線基地局81と通信することにより、ネットワーク80と接続する。携帯端末10Cは、家屋などの施設に設置される無線ルータ82と通信することにより、ネットワーク80と接続する。携帯端末10は、タッチスクリーンを備える端末であり、例えば、スマートフォン、ファブレット、タブレットなどである。
In the example of FIG. 1, as information processing devices used by a user, portable terminals 10 </ b> A, 10 </ b> B, and 10 </ b> C (hereinafter, portable terminals such as the portable terminals 10 </ b> A, 10 </ b> B, and 10 </ b> C are collectively referred to as “mobile terminal 10”). A plurality of portable terminals are shown. The mobile terminal 10 </ b> A and the mobile terminal 10 </ b> B are connected to the
携帯端末10は、ゲームプログラムを実行することにより、ゲームプログラムに応じたゲームをプレイする環境をユーザに対して提供する。携帯端末10は、例えば、アプリ等を配信するプラットフォームを介してゲームプログラムをインストールする。携帯端末10は、携帯端末10にインストールされたゲームプログラム、または、予めプリインストールされているゲームプログラムを実行することで、ユーザによるゲームのプレイを可能とする。携帯端末10は、ゲームプログラムを読み込んで実行することにより、携帯端末10と、サーバ20とを通信接続して、ゲームの進行に応じてゲームに関連するデータを携帯端末10とサーバ20との間で送受信する。
The mobile terminal 10 provides a user with an environment for playing a game according to the game program by executing the game program. For example, the mobile terminal 10 installs a game program via a platform that distributes applications and the like. The mobile terminal 10 enables a user to play a game by executing a game program installed in the mobile terminal 10 or a game program preinstalled in advance. The mobile terminal 10 reads and executes the game program to establish communication connection between the mobile terminal 10 and the
サーバ20は、ゲームのプレイに必要なデータを、適宜、携帯端末10へ送信することで、携帯端末10でのゲームのプレイを進行させる。サーバ20は、ゲームをプレイする各ユーザの、ゲームに関連する各種データを管理する。サーバ20は、携帯端末10と通信し、各ユーザのゲームの進行に応じて、画像、音声、テキストデータその他のデータを携帯端末10へ送信する。
The
例えば、サーバ20は、各ユーザがゲームのストーリーを進行させた進行状況、ゲーム内に登場するゲームキャラクタのうち各ユーザが使用可能なゲームキャラクタの情報、ゲームキャラクタの能力を示すパラメータ、ゲームキャラクタが使用する道具の性能を示すパラメータその他の各種データを管理する。また、サーバ20は、ゲームの運営者がユーザに対してキャンペーン、ゲームの進行における不具合の発生、不具合の解消その他のゲームの運営に関連する情報等をユーザに通知する処理を行う。
For example, the
ゲームプログラムは、ユーザがゲームをプレイするモードとして、一人のユーザがプレイする場合(シングルプレイ)と、複数人のユーザが協同してプレイする場合(マルチプレイ)とに対応している。例えば、ゲーム配信システム1において、サーバ20が、マルチプレイに参加するユーザを特定して各ユーザの各携帯端末10と通信すること等により、マルチプレイでゲームをプレイする環境を各ユーザに提供する。
The game program corresponds to a mode in which a user plays a game when a single user plays (single play) and when a plurality of users play in cooperation (multiplay). For example, in the
ゲーム配信システム1は、マルチプレイに対応することにより、例えば、テニスゲームであれば、各ユーザでチームを結成してダブルスの試合を行うことを可能とする。また、ゲーム配信システム1は、サッカーゲームであれば、各ユーザが同一のサッカーチームのメンバーとなって試合を行うことを可能とする。また、ゲーム配信システム1は、アクションゲームであれば、各ユーザでチームを結成して、クエストモードなど比較的強力なキャラクタと対戦するゲームモードを複数のユーザがプレイすることを可能とする。また、ゲーム配信システム1は、マルチプレイに対応することにより、ユーザ同士が対戦することを可能とする。
The
<構成>
サーバ20のハードウェアの構成を説明する。サーバ20は、通信IF(Interface)22と、入出力IF23と、メモリ25と、ストレージ26と、プロセッサ29とを備え、これらが通信バスを介して互いに接続する。
<Configuration>
The hardware configuration of the
通信IF22は、例えばLAN(Local Area Network)規格など各種の通信規格に対応しており、携帯端末10など外部の通信機器との間でデータを送受信するためのインタフェースとして機能する。 The communication IF 22 corresponds to various communication standards such as a LAN (Local Area Network) standard, and functions as an interface for transmitting and receiving data to and from an external communication device such as the mobile terminal 10.
入出力IF23は、サーバ20への情報の入力を受け付けるとともに、サーバ20の外部へ情報を出力するためのインタフェースとして機能する。入出力IF23は、マウス、キーボード等の情報入力機器の接続を受け付ける入力受付部と、画像等を表示するためのディスプレイ等の情報出力機器の接続を受け付ける出力部とを含む。
The input / output IF 23 functions as an interface for receiving information input to the
メモリ25は、処理に使用されるデータ等を記憶するための記憶装置である。メモリ25は、例えば、プロセッサ29が処理を行う際に一時的に使用するための作業領域をプロセッサ29に提供する。メモリ25は、ROM(Read Only Memory)、RAM(Random Access Memory)等の記憶装置を含んで構成されている。
The
ストレージ26は、プロセッサ29が読み込んで実行するための各種プログラム及びデータを記憶するための記憶装置である。ストレージ26が記憶する情報は、ゲームプログラム、ゲームプログラムに関連する情報、ゲームプログラムをプレイするユーザの情報その他の情報を含む。ストレージ26は、HDD(Hard Disk Drive)、フラッシュメモリ等の記憶装置を含んで構成されている。
The
プロセッサ29は、ストレージ26に記憶されるプログラム等を読み込んで実行することにより、サーバ20の動作を制御する。プロセッサ29は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、GPU(Graphics Processing Unit)等を含んで構成される。
The processor 29 controls the operation of the
図2は、携帯端末10の構成を示すブロック図である。図2を参照して、携帯端末10は、アンテナ110と、無線通信IF120と、タッチスクリーン130と、入出力IF140と、記憶部150と、音声処理部160と、マイク170と、スピーカ180と、制御部190とを含む。
FIG. 2 is a block diagram illustrating a configuration of the mobile terminal 10. With reference to FIG. 2, the mobile terminal 10 includes an antenna 110, a wireless communication IF 120, a
アンテナ110は、携帯端末10が発する信号を電波として空間へ放射する。また、アンテナ110は、空間から電波を受信して受信信号を無線通信IF120へ与える。 The antenna 110 radiates a signal emitted from the mobile terminal 10 to space as a radio wave. Further, the antenna 110 receives radio waves from the space and gives a received signal to the wireless communication IF 120.
無線通信IF120は、携帯端末10が他の通信機器と通信するため、アンテナ110等を介して信号を送受信するための変復調処理などを行う。無線通信IF120は、チューナー、高周波回路などを含む無線通信用の通信モジュールであり、携帯端末10が送受信する無線信号の変復調や周波数変換を行い、受信信号を制御部190へ与える。
The wireless communication IF 120 performs modulation / demodulation processing for transmitting and receiving signals via the antenna 110 and the like so that the mobile terminal 10 communicates with other communication devices. The wireless communication IF 120 is a communication module for wireless communication including a tuner, a high frequency circuit, and the like, performs modulation / demodulation and frequency conversion of a wireless signal transmitted / received by the mobile terminal 10, and provides a received signal to the
タッチスクリーン130は、ユーザからの入力を受け付けて、ユーザに対し情報をディスプレイ132に出力する。タッチスクリーン130は、ユーザの入力操作を受け付けるための部材(タッチパネル131)を含む。また、タッチスクリーン130は、メニュー画面や、ゲームの進行を画面に表示するための部材(ディスプレイ132)を含む。タッチパネル131は、例えば静電容量方式のものを用いることによって、ユーザの指などが接近したことを検出する。ディスプレイ132は、例えばLCD(Liquid Crystal Display)、有機EL(electroluminescence)その他の表示装置によって実現される。
The
入出力IF140は、携帯端末10への情報の入力を受け付けるとともに、携帯端末10の外部へ情報を出力するためのインタフェースとして機能する。 The input / output IF 140 functions as an interface for receiving information input to the mobile terminal 10 and outputting information to the outside of the mobile terminal 10.
記憶部150は、フラッシュメモリ、RAM(Random Access Memory)等により構成され、携帯端末10が使用するプログラム、および、携帯端末10がサーバ20から受信する各種データ等を記憶する。
The
音声処理部160は、音声信号の変復調を行う。音声処理部160は、マイク170から与えられる信号を変調して、変調後の信号を制御部190へ与える。また、音声処理部160は、音声信号をスピーカ180へ与える。音声処理部160は、例えば、音声処理用のプロセッサによって実現される。マイク170は、音声信号の入力を受け付けて制御部190へ出力するための音声入力部として機能する。スピーカ180は、音声信号を、携帯端末10の外部へ出力するための音声出力部として機能する。
The audio processing unit 160 performs modulation / demodulation of the audio signal. The audio processing unit 160 modulates the signal given from the microphone 170 and gives the modulated signal to the
制御部190は、記憶部150に記憶されるプログラムを読み込んで実行することにより、携帯端末10の動作を制御する。制御部190は、例えば、アプリケーションプロセッサによって実現される。
The
携帯端末10がゲームプログラム151を実行する処理について、より詳細に説明する。ある局面において、記憶部150は、ゲームプログラム151と、ゲーム情報152と、ユーザ情報153とを記憶する。携帯端末10は、例えば、サーバ20からゲームプログラムをダウンロードして記憶部150に記憶させる。また、携帯端末10は、ゲームの進行に伴いサーバ20と通信することで、ゲーム情報152およびユーザ情報153等の各種のデータをサーバ20と送受信する。
A process in which the mobile terminal 10 executes the
ゲームプログラム151は、携帯端末10においてゲームを進行させるためのプログラムである。ゲーム情報152は、ゲームプログラム151が参照する各種のデータを含む。ゲーム情報152は、例えば、ゲームにおいて仮想空間に配置するオブジェクトの情報、オブジェクトに対応付けられた効果の情報(ゲームキャラクタに設定されるスキルの情報などを含む)などを含む。ユーザ情報153は、ゲームをプレイするユーザについての情報を含む。ユーザ情報153は、例えば、ゲームをプレイする携帯端末10のユーザを識別する情報、マルチプレイ時に協同してゲームをプレイする他のユーザを識別する情報その他の情報を含む。
The
制御部190は、ゲームプログラム151を読み込んで実行することにより、入力操作受付部191と、ゲーム進行処理部192と、移動操作検出部193と、カメラ配置制御部194と、オブジェクト制御部195と、表示制御部196と、の各機能を発揮する。
The
入力操作受付部191は、タッチスクリーン130の出力に基づいて、ユーザの入力操作を受け付ける。具体的には、入力操作受付部191は、ユーザの指などがタッチパネル131に接近したことを、タッチスクリーン130を構成する面の横軸および縦軸からなる座標系の座標として検出する。
The input operation accepting unit 191 accepts a user input operation based on the output of the
入力操作受付部191は、タッチスクリーン130に対するユーザの操作を判別する。入力操作受付部191は、例えば、(1)「接近操作」、(2)「リリース操作」、(3)「タップ操作」、(4)「ダブルタップ操作」、(5)「長押し操作(ロングタッチ操作)」、(6)「ドラッグ操作(スワイプ操作)」、(7)「ムーブ操作」、(8)「フリック操作」、その他のユーザの操作を判別する。入力操作受付部191が判別するユーザの操作は、上記に限られない。例えば、タッチパネル131が、ユーザがタッチパネル131に対して押下する圧力の大きさを検出可能な機構を有する場合、入力操作受付部191は、ユーザが押下した圧力の大きさを判別する。また、制御部190は、タッチスクリーン130へのユーザの指などの接近を検出している状態を、「タッチオン状態」と判別する。制御部190は、タッチスクリーン130へのユーザの指などの接近を検出しない状態を、「タッチオフ状態」と判別する。制御部190は、タッチスクリーン130が逐次出力するユーザの指などの接近位置を示す座標を、「タッチナウ」の座標として受け付ける。
The input operation reception unit 191 determines a user operation on the
ここで、(1)「接近操作」とは、ユーザが指などをタッチスクリーン130に接近させる操作である。タッチスクリーン130は、ユーザの指などが接近したこと(ユーザの指などがタッチスクリーン130に接触したことを含む)をタッチパネル131により検出し、検出したタッチスクリーン130の座標に応じた信号を制御部190へ出力する。制御部190は、タッチスクリーン130へのユーザの指などの接近を検出しない状態から、接近を検出したときに、状態が「タッチオン状態」になったと判別する。
Here, (1) “approach operation” is an operation in which the user brings a finger or the like closer to the
(2)「リリース操作」とは、ユーザがタッチスクリーン130に指などを接近させることで操作する状態を止める操作である。入力操作受付部191は、例えば、ユーザが指などをタッチスクリーン130に接触させている状態から、指を離す操作をしたときに、ユーザの操作を「リリース操作」と判別する。制御部190は、タッチスクリーン130へのユーザの指などの接近を検出している状態から、接近を検出しない状態になったときに、状態が「タッチオン状態」から「タッチオフ状態」になったと判別する。
(2) “Release operation” is an operation for stopping a state in which the user operates by bringing a finger or the like closer to the
(3)「タップ操作」とは、ユーザがタッチスクリーン130に対して指などを接近させる接近操作をした後に、接近操作をした位置でリリース操作を行うことである。入力操作受付部191は、接近操作が検出されない状態(ユーザの指などがタッチパネル131から離れており、タッチパネル131がユーザの指などの接近を検出していない状態)から、タッチスクリーン130の出力に基づいて、ユーザの指などが接近したことを検出した場合に、その検出した座標を「初期タッチ位置」として保持する。入力操作受付部191は、初期タッチ位置の座標と、リリース操作をする直前に(タッチオフ状態が検出される直前に)タッチスクリーン130により検出されている座標とがほぼ同一である場合(接近操作が検出された座標から一定範囲内の座標においてリリース操作にかかる座標が検出された場合)に、ユーザの操作を「タップ操作」と判別する。
(3) “Tap operation” refers to performing a release operation at a position where the user performs an approach operation after the user performs an approach operation to bring a finger or the like closer to the
(4)「ダブルタップ操作」とは、ユーザがタップ操作を一定時間内に2回行う操作である。入力操作受付部191は、例えば、ユーザの操作をタップ操作と判別してから一定時間内に、タップ操作にかかる座標で再びタップ操作を判別した場合に、ユーザの操作を「ダブルタップ操作」と判別する。 (4) The “double tap operation” is an operation in which the user performs the tap operation twice within a predetermined time. For example, the input operation reception unit 191 determines that the user operation is “double tap operation” when the user operation is determined to be the tap operation and the tap operation is determined again with the coordinates related to the tap operation within a certain time after the user operation is determined to be the tap operation. Determine.
(5)「長押し操作」とは、ユーザがタッチスクリーン130を押し続ける操作である。タッチスクリーン130は、ユーザの操作を検出して接近操作を判別してから、接近操作が検出された座標において接近操作が継続している時間が一定時間を超えた場合に、ユーザの操作を「長押し操作」(「長押し操作」を、「ロングタッチ操作」と称することもある)と判別する。
(5) “Long press operation” is an operation in which the user continues to press the
(6)「ドラッグ操作」とは、ユーザがタッチスクリーン130に指などを接近させた接近状態を維持したまま、指をスライドさせる操作である。
(6) “Drag operation” is an operation of sliding a finger while maintaining an approaching state in which the user brings a finger or the like close to the
(7)「ムーブ操作」とは、ユーザがタッチスクリーン130において、接近操作を維持しつつ、タッチスクリーン130に指などを接近させている位置を移動させてリリース操作を行う一連の操作をいう。
(7) “Move operation” refers to a series of operations in which the user performs a release operation by moving a position where a finger or the like is approaching the
(8)「フリック操作」は、ユーザがムーブ操作を予め定められた時間よりも短い時間で行う操作をいう。フリック操作は、ユーザがタッチスクリーン130で指を弾くような操作である。制御部190は、例えば、ユーザがムーブ操作を行う時間と比較するための複数の閾値を保持し、ユーザがタッチスクリーン130において指などを接近させている位置を一定距離移動させるまでの時間が第1の閾値よりも短い場合(比較的素早く指を弾く場合)は、フリック操作が「強フリック」であると判定し、第1の閾値よりも大きく第2の閾値(第2の閾値を、第1の閾値よりも大きく設定する)よりも小さい場合に、フリック操作が「弱フリック」であると判定することとしてもよい。
(8) “Flick operation” refers to an operation in which a user performs a move operation in a time shorter than a predetermined time. The flick operation is an operation in which the user flips a finger on the
ゲーム進行処理部192は、ユーザの操作に応じて、各種のプログラムを呼び出す等によりゲームを進行させる処理を行う。例えば、ゲーム進行処理部192は、サーバ20と通信し、ゲームの進行に応じてサーバ20へデータを送信する処理、サーバ20からゲームに関連するデータを受信する処理、ゲームの進行に応じてユーザに報酬を付与する処理、時間の経過を計測する処理その他の処理を行う。
The game
移動操作検出部193は、タッチスクリーン130に対するユーザの入力操作に基づいて、ゲームに登場するキャラクタ(以下、「ゲームキャラクタ」と称することもある)を移動させる入力操作の操作内容を検出する。例えば、ゲームプログラム151がスポーツゲームである場合、移動操作検出部193は、ユーザの入力操作に基づいて、ゲームキャラクタを移動させる方向を検出する(移動操作検出部193は、ユーザがゲームキャラクタの移動方向を指定する入力操作を受け付ける)。
The movement
具体的には、移動操作検出部193は、タッチスクリーン130からユーザの指が離れた状態から、ユーザが指をタッチスクリーン130に接近させて、入力操作受付部191がタッチパネル131にユーザの指が接近したことを検出した座標を初期タッチ位置として、ユーザがドラッグ操作を行った場合に、初期タッチ位置の座標とタッチスクリーン130の検出結果とに基づいて、ゲームキャラクタの移動方向を検出する。移動操作検出部193の詳細な処理は、後述する。
Specifically, the movement
カメラ配置制御部194は、仮想空間に配置される各オブジェクトを、どのようにユーザに見せるかを決定する。具体的には、カメラ配置制御部194は、制御部190がゲームプログラム151を読み込んで実行することで生成される仮想空間において、仮想カメラの配置(カメラワーク)を制御する。制御部190は、仮想空間における仮想カメラの撮影画像をディスプレイ132に表示することで、ユーザに対しゲームのプレイ環境を提供する。
The camera placement control unit 194 determines how to show each object placed in the virtual space to the user. Specifically, the camera arrangement control unit 194 controls the arrangement (camera work) of the virtual camera in the virtual space generated when the
オブジェクト制御部195は、携帯端末10がゲームプログラム151を実行することにより進行されるゲームに登場する各種オブジェクト、および、入力操作受付部191が受け付けたユーザの操作内容に基づいて生成される各種オブジェクト(例えば、GUI(Graphical User Interface)画面など)の生成、変形、移動などの処理を制御する。オブジェクト制御部195は、例えば、ユーザがゲームキャラクタを移動させるためのタッチスクリーン130に対する入力操作に基づいて、ゲームキャラクタの移動方向を示すオブジェクトを生成し、生成したオブジェクトを変形する。
The object control unit 195 includes various objects that appear in the game that is progressed by the mobile terminal 10 executing the
表示制御部196は、仮想カメラのカメラワークに従った画像をディスプレイ132に出力する。表示制御部196は、仮想空間内における仮想カメラの配置に応じて、ディスプレイ132の表示内容を決定し、決定した表示内容に従う画像、テキスト等の各種の情報をディスプレイ132に出力する。
The
図3は、サーバ20の機能的な構成を示すブロック図である。図3を参照して、サーバ20の詳細な構成を説明する。サーバ20は、プログラムに従って動作することにより、通信部220と、記憶部250と、制御部290としての機能を発揮する。
FIG. 3 is a block diagram illustrating a functional configuration of the
通信部220は、サーバ20が携帯端末10などの外部の通信機器と通信するためのインタフェースとして機能する。
The communication unit 220 functions as an interface for the
記憶部250は、携帯端末10においてユーザがゲームを進行させるための各種プログラムおよびデータを記憶する。ある局面において、記憶部250は、ゲームプログラム251と、ゲーム情報252と、ユーザ情報253とを記憶する。
The
ゲームプログラム251は、サーバ20が携帯端末10と通信して、携帯端末10においてゲームを進行させるためのプログラムである。ゲームプログラム251は、ゲームを進行させるための各種データであるゲーム情報252およびユーザ情報253等を参照して、ユーザの入力操作に応じてゲームを進行させる。ゲームプログラム251は、制御部290に実行されることにより、携帯端末10とデータを送受信する処理、携帯端末10のユーザが行った操作内容に応じてゲームを進行させる処理、ゲームをプレイするユーザの情報を更新する処理その他の処理をサーバ20に行わせる。
The
ゲーム情報252は、ゲームプログラム251が参照する各種のデータを含む。ゲーム情報252は、オブジェクト管理テーブル252Aと、パッシブスキル管理テーブル252Bと、アクティブスキル管理テーブル252Cとを含む。
The
オブジェクト管理テーブル252Aは、ゲームの仮想空間内に配置されるオブジェクトの設定を示す。携帯端末10は、ゲームプログラム151を実行することにより、仮想空間内に配置されるオブジェクトを、仮想空間内に配置される仮想カメラによって撮影した画像をディスプレイ132に表示することでゲームを進行させる。
The object management table 252A shows the setting of objects arranged in the virtual space of the game. By executing the
ここで、オブジェクトとしては、例えば、ユーザが操作するゲームキャラクタを示すオブジェクト、ゲームキャラクタが装着する装着対象物を示すオブジェクトなど様々なものがある。制御部190は、ユーザがタッチスクリーン130に対して予め定められた入力操作を行うこと、ゲームの進行に伴い一定の条件を満たすこと、その他の様々な事象の発生を契機として、オブジェクトに対応付けられた処理を行う。
Here, for example, there are various objects such as an object indicating a game character operated by the user, an object indicating a wearing target worn by the game character, and the like. The
例えば、あるオブジェクトに対してユーザがタッチスクリーン130に対して接近操作を行うことで、制御部190は、オブジェクトを、ユーザによって選択された状態とする。また、例えば、制御部190は、ユーザによるドラッグ操作を受け付けることで、ユーザが移動対象とするオブジェクトを、ユーザの入力操作に応じて移動させる等の処理を行う。また、例えば、制御部190は、ユーザがオブジェクトに対して行うタッチ操作を受け付けることで、ユーザに対し、ゲームを有利に進めるための報酬を付与する等の処理を行う。
For example, when the user performs an approach operation on the
パッシブスキル管理テーブル252Bは、オブジェクトを識別する情報と、オブジェクトに対応付けられたパッシブスキルの情報とが対応付けられている。ここで、パッシブスキルとは、例えば、ゲームにおいて予め定められた条件が満たされたときに発動され、ユーザがゲームを有利に進行させることができるものである。例えば、パッシブスキルが発動した場合に、ゲームキャラクタの移動速度が向上する等の、ゲームを有利に進行させられる効果を発揮させる。 In the passive skill management table 252B, information for identifying an object is associated with information on passive skills associated with the object. Here, the passive skill is activated when, for example, a predetermined condition is satisfied in the game, and the user can advantageously advance the game. For example, when the passive skill is activated, the game character can be advantageously advanced, such as the moving speed of the game character is improved.
アクティブスキル管理テーブル252Cは、オブジェクトを識別する情報と、オブジェクトに対応付けられたアクティブスキルの情報とが対応付けられている。ここで、アクティブスキルとは、例えば、ゲームにおいて予め定められた条件が満たされたときに発動可能な状態となり、ユーザから、スキルを発動させるための入力操作を受け付けることにより、ユーザがゲームを有利に進行させることができるものである。 In the active skill management table 252C, information for identifying an object is associated with information on an active skill associated with the object. Here, the active skill is, for example, in a state where it can be activated when a predetermined condition is satisfied in the game, and by receiving an input operation for activating the skill from the user, the user has an advantage in the game. It can be made to progress.
ユーザ情報253は、ゲームをプレイするユーザについての情報である。ユーザ情報253は、ユーザ管理テーブル253Aを含む。ユーザ管理テーブル253Aは、各ユーザを識別する情報と、ユーザがゲームを進行させた度合いを示す情報と、ユーザがゲーム内で保有するアイテム、ゲームキャラクタ、ゲームキャラクタが使用する装着物等の情報その他の情報を含む。
The
制御部290は、記憶部250に記憶されるゲームプログラム251を実行することにより、送受信部291、サーバ処理部292、データ管理部293、マッチング部294、計測部295としての機能を発揮する。
The control unit 290 executes functions of the transmission / reception unit 291, the
送受信部291は、ゲームプログラム151を実行する携帯端末10から、各種情報を受信し、携帯端末10に対し、各種情報を送信する。携帯端末10とサーバ20とは、ユーザに関連付けられるオブジェクトを仮想空間に配置する要求、オブジェクトを削除する要求、オブジェクトを移動させる要求、ユーザが獲得する報酬に応じて各種パラメータを更新する要求、ゲームを進行させるための画像、音声その他のデータ、サーバ20から携帯端末10へ送信される通知などの情報を送受信する。
The transmission / reception unit 291 receives various types of information from the mobile terminal 10 that executes the
サーバ処理部292は、サーバ20全体の動作を制御し、各種のプログラムを呼び出す等によりゲームの進行に必要な処理を行う。サーバ処理部292は、例えば、携帯端末10から受信した情報に基づいて、ゲーム情報252、ユーザ情報253、などのデータを更新し、携帯端末10に各種データを送信することでゲームを進行させる。
The
データ管理部293は、サーバ処理部292の処理結果に従って、記憶部250に記憶される各種データを更新する処理、データベースにレコードを追加/更新/削除する処理などを行う。
The
マッチング部294は、複数のユーザを関連付けるための一連の処理を行う。マッチング部294は、例えば、ユーザがマルチプレイを行うための入力操作を行った場合に、ゲームを協同してプレイさせるユーザを関連付ける処理などを行う。 The matching unit 294 performs a series of processes for associating a plurality of users. For example, when the user performs an input operation for performing multi-play, the matching unit 294 performs processing for associating a user who plays a game in cooperation.
計測部295は、時間を計測する処理を行う。計測部295は、例えば、仮想空間に配置される各オブジェクトについて時間の経過を計測する。また、計測部295は、ゲームが進行している時間を計測する。サーバ20は、携帯端末10から、携帯端末10においてゲームプログラム151を実行して計測される各種の計測結果の情報を受信し、受信した情報と、計測部295の計測結果とを照合することで、携帯端末10とサーバ20とで、各種の時間に関する情報を同期させる。
The
<実施の形態1の構成のまとめ>
以上のように、実施の形態のゲーム配信システム1の構成を説明してきた。本実施形態において、ゲームプログラム151は、例えばスポーツゲームであり、仮想空間内の仮想カメラの配置に応じた画面をタッチスクリーン130に表示させることでゲームを進行させる。
<Summary of Configuration of
As described above, the configuration of the
例えば、ゲームプログラム151がスポーツゲームである場合、ゲーム進行処理部192は、ユーザの操作に応じてストーリーを進行させ、画像、テキストなどディスプレイ132に表示するデータを決定する処理、スポーツの対戦相手の選択をユーザから受け付ける処理、ユーザの操作に応じてスポーツの試合を進める処理などの基本的な処理を行う。
For example, when the
例えば、ゲームプログラム151がスポーツゲームである場合、カメラ配置制御部194は、スポーツの試合を行うための仮想空間における仮想カメラの配置個所および撮影軸の方向を、スポーツの試合の進展に応じて、逐次、決定する。カメラ配置制御部194は、仮想カメラのカメラワークを制御する。カメラ配置制御部194の詳細な処理は、後述する。
For example, when the
<動作>
図面を参照して、実施の形態のゲーム配信システム1を構成する各装置の動作を説明する。
<Operation>
With reference to the drawings, the operation of each device constituting the
図4は、移動操作検出部193が、ユーザの入力操作に応じてゲームキャラクタを移動させる方向を検出する処理を示す図である。移動操作検出部193は、ユーザがタッチスクリーン130を押していない状態から、指などをタッチパネル131に接近させてタッチスクリーン130を押した位置(初期タッチ位置)を起点と設定する。入力操作受付部191は、ユーザの操作をドラッグ操作と判別している場合に、起点となる座標と、タッチスクリーン130がユーザの指などの接近を検出している座標とに基づいて、ゲームキャラクタを移動させる方向を検出する。
FIG. 4 is a diagram illustrating processing in which the movement
図4の状態(A)は、タッチスクリーン130からユーザの指が離れた状態から、ユーザが指をタッチスクリーン130に接近させた状態を示す。入力操作受付部191は、ユーザの指がタッチパネル131に接近したことを検出し、検出した座標を初期タッチ位置としてメモリに保持する。
A state (A) in FIG. 4 shows a state in which the user brings his / her finger close to the
図4の例では、メモリが保持する初期タッチ位置の座標を、初期タッチ位置座標155として示す。入力操作受付部191は、タッチスクリーン130の検出結果(ユーザの指がタッチスクリーン130に接近している座標、および、ユーザの指がタッチスクリーン130に接近していることを検出していないこと(検出結果「null」)、タッチオフ状態)を、一定フレーム分、バッファメモリ153に格納する。バッファメモリ153は、タッチスクリーン130における検出結果を、各フレームについて一定フレーム分(図3の例では、メモリ領域fp〔0〕〜メモリ領域fp〔10〕までの11フレーム分)、格納することができる。バッファメモリ153は、例えばリングバッファとして実現することができるが、これに限られない。
In the example of FIG. 4, the coordinates of the initial touch position held by the memory are indicated as initial touch position coordinates 155. The input operation reception unit 191 does not detect the detection result of the touch screen 130 (the coordinates at which the user's finger is approaching the
状態(A)の例では、ユーザがタッチスクリーン130を押した位置(タッチオン座標)を、押下位置30A(タッチスクリーン130の座標(x0,y0))として示す。
In the example of the state (A), a position where the user presses the touch screen 130 (touch-on coordinates) is shown as a
図4の状態(B)は、ユーザがタッチスクリーン130に対してドラッグ操作を行って、タッチスクリーン130に対する押下位置を、押下位置30Aから押下位置30B(タッチスクリーン130の座標(x9,y9))まで10フレーム(メモリ領域fp〔0〕〜メモリ領域fp〔9〕までの10フレーム分)で移動させたことを示す。入力操作受付部191は、タッチスクリーン130の検出結果をバッファメモリ153に格納し、バッファメモリ153に保持される値を参照して、タッチスクリーン130に対するユーザの操作をドラッグ操作と判別する。
In the state (B) of FIG. 4, the user performs a drag operation on the
図4の状態(C)は、ユーザがタッチスクリーン130を押している位置を、押下位置30Bから押下位置30C(タッチスクリーン130の座標(x14,y14))まで、5フレーム(メモリ領域fp〔10〕、fp〔0〕、fp〔1〕、fp〔2〕、fp〔3〕の5フレーム分)で移動させたことを示す。
In the state (C) of FIG. 4, the position where the user is pressing the
図4の状態(D)は、移動操作検出部193が、状態(B)および状態(C)のそれぞれにおいて、ユーザがゲームキャラクタを移動させる方向を指定する入力操作の検出結果を示す。移動操作検出部193は、バッファメモリ153において、タッチスクリーン130が検出する押下位置の座標を書き込む対象となるメモリ領域がいずれであるかを示す情報(バッファメモリ153の書き込み位置)を管理している。
The state (D) of FIG. 4 shows the detection result of the input operation in which the movement
状態(B)において、タッチナウの座標を、座標(x9、y9)とする。移動操作検出部193は、入力操作受付部191の判別結果に基づいて、ユーザがドラッグ操作を行ったことを検出する。移動操作検出部193は、初期タッチ位置の座標31A(タッチオンの座標)を起点として、座標31A(タッチオンの座標)と座標31B(タッチナウの座標)とによって規定されるベクトル32B((y9−y0)/(x9−x0))を、ゲームキャラクタを移動させる方向として検出する。
In the state (B), the coordinates of the touch now are coordinates (x9, y9). The movement
状態(C)において、タッチナウの座標を、座標(x14、y14)とする。移動操作検出部193は、入力操作受付部191の判別結果に基づいて、ユーザがドラッグ操作を行ったことを検出する。移動操作検出部193は、初期タッチ位置の座標31A(タッチオンの座標)を起点として、座標31A(タッチオンの座標)と座標31C(タッチナウの座標)とによって規定されるベクトル31C((y14−y0)/(x14−x0))を、ゲームキャラクタを移動させる方向として検出する。
In the state (C), the coordinates of the touch now are coordinates (x14, y14). The movement
<ゲームキャラクタを移動させるための画面表示例>
図5から図7を参照して、オブジェクト制御部195が、移動操作検出部193の検出結果に基づいて、オブジェクトとしてのゲームキャラクタを移動させる画面例を詳しく説明する。
<Screen display example for moving a game character>
With reference to FIGS. 5 to 7, an example of a screen on which the object control unit 195 moves the game character as an object based on the detection result of the movement
例えば、ゲームプログラム151は、仮想空間内において、複数のゲームキャラクタにより構成されるチームが他のチームと対象物をめぐって対戦するスポーツゲームにかかるものであり、具体的にはサッカーゲームである。ゲームプログラム151は、入力操作を受け付けることにより、ゲームのプレイヤであるユーザが操作するゲームキャラクタと、ゲームキャラクタと対戦する相手側キャラクタとの間で、サッカーボールをめぐって、ドリブル、タックル、パス、シュートなどの動作を行わせてゲームを進行させる。
For example, the
カメラ配置制御部194は、ドリブルを行っているゲームキャラクタを、例えば画面の中央に位置するように、ドリブルによるゲームキャラクタの移動にあわせて仮想カメラを移動させる。サッカーゲームのように、チーム同士が対戦するスポーツゲームである場合、複数のゲームキャラクタがそれぞれ対象物(サッカーボールなど)をパスなどにより移動させつつゲームを進行させるので、ユーザが、他のゲームキャラクタへサッカーボールをパスするか、相手側チームのゴールにシュートを打ち込むか等の判断を臨機応変に行えるよう、対象物を保持するゲームキャラクタの周囲の状況を容易に把握できる位置に仮想カメラを配置することとしている。 The camera arrangement control unit 194 moves the virtual camera in accordance with the movement of the game character by dribbling so that the dribbling game character is positioned at the center of the screen, for example. In the case of a sports game in which teams play against each other like a soccer game, a plurality of game characters move the target (soccer ball, etc.) while moving the object (such as a soccer ball) by a pass or the like. Place a virtual camera in a position where you can easily grasp the surroundings of the game character holding the target so that you can make decisions on whether to pass the soccer ball or hit the goal of the opponent team. To do.
図5は、ボール137を保持するゲームキャラクタにドリブル動作を行わせる入力操作と、ボール137に関連付けられた動作として他のゲームキャラクタにボール137をパスするための入力操作とを、ゲームプログラム151を実行する装置が受け付けるための画面の表示例を示す図である。
FIG. 5 shows an input operation for causing the game character holding the
図5の状態(A)は、タッチオフの状態で、制御部190が、ボール137と関連付けられるゲームキャラクタ(ボールを保持するゲームキャラクタ)をタッチスクリーン130の中央付近に表示するよう仮想カメラの配置を制御している状態を示す。
The state (A) in FIG. 5 is a touch-off state, and the
状態(A)の例では、制御部190は、ユーザが操作する対象のチームを構成するゲームキャラクタ134と、自チームのゲームキャラクタのうちユーザが操作対象とするゲームキャラクタ135(ボール137を保持するゲームキャラクタは、ユーザが操作対象とするゲームキャラクタとする)と、対戦相手となる他のチームのゲームキャラクタ136とをタッチスクリーン130に表示させている。
In the example of the state (A), the
状態(B)は、制御部190が、移動操作検出部193によって検出されるゲームキャラクタの移動方向に従って、ユーザが操作対象とするゲームキャラクタ135を、ボール137を保持したままドリブルさせてタッチスクリーン130に表示する例を示す図である。制御部190は、初期タッチ位置に基づく座標を起点とし、タッチナウの座標に基づく座標を終点として定まる弾性オブジェクト187をタッチスクリーン130に表示する。制御部190は、初期タッチ位置に基づく座標に、弾性状のオブジェクトを表示し、起点から、タッチナウの座標へ引き伸ばされるように弾性オブジェクト187を表示する。このような弾性オブジェクト187をタッチスクリーン130に表示することで、ゲームプログラム151を実行する携帯端末10は、ユーザに対し、ゲームキャラクタ135の移動方向を提示することができる。ユーザは、ドリブル中のゲームキャラクタ135を、弾性オブジェクト187の形状を視認することで容易に把握することができる。制御部190は、弾性オブジェクト187のほかにも、ゲームキャラクタ135の移動方向をユーザに提示するオブジェクトとして、例えば矢印状のオブジェクトなどをタッチスクリーン130に表示することとしてもよい。
In the state (B), the
関連技術におけるゲームプログラムのように、ゲームキャラクタへの移動を指示する操作と、ボールを動かす操作とを切り分けるために、移動対象のキャラクタまたはバーチャルパッドなど、予め移動操作と対応付けられたオブジェクトへのタップを必要とする場合と、本実施形態のゲームプログラム151とを比較する。本実施形態のゲームプログラム151は、ドラッグ操作時の起点となる座標(初期タッチ位置)と、タッチを継続している座標(タッチナウ)とに基づいてゲームキャラクタ135の移動方向を決定しているため、ゲームキャラクタ135を移動させるためのタッチスクリーン130への入力操作を、予め移動操作と対応付けられたオブジェクトへのタップであるか否かにかかわらず受け付けることができ、ユーザの操作をいっそう容易にすることができる。そのためゲームに対する興趣性をいっそう向上させることができる。
Like a game program in related technology, in order to separate an operation for instructing movement to a game character and an operation for moving a ball, an object previously associated with the movement operation, such as a character to be moved or a virtual pad, is used. The case where a tap is required is compared with the
状態(C)は、制御部190が、入力操作受付部191によってタップ操作が検出された場合に、ボール137と関連付けられたゲームキャラクタ135(ドリブル中のゲームキャラクタ)に、タップ操作が検出された座標に基づきボールをパスする動作を行わせる場合のタッチスクリーン130の表示例を示す図である。
In the state (C), when the
状態(C)に示すように、制御部190は、タッチスクリーン130に対する入力操作に基づいて、ユーザが、座標138に示される位置にタップ操作を行ったことを検出する。
As shown in the state (C), the
状態(D)は、状態(C)でタップ操作が検出された座標に基づいて、制御部190が、ボール137を移動させつつ、ボール137およびボール137から一定距離以内でボール137に接近しているゲームキャラクタに基づいて仮想カメラの配置を制御する例を示す。制御部190は、状態(C)で座標138へのタップ操作を検出すると、状態(C)でボール137に関連付けられていたゲームキャラクタ135と、ボール137との関連付けを解除し、当該ゲームキャラクタ135が座標138へ向けてボールをけり出すように、ボール137を移動させる。カメラ配置制御部194は、ボール137の位置に基づいて、ボール137の移動に伴って仮想カメラを移動させる。カメラ配置制御部194は、タッチスクリーン130の中央付近にボール137が位置するように仮想カメラの配置を制御する。こうすることで、ユーザは、ボール137の周囲の状況を容易に把握することができ、ボール137との距離を縮めていくゲームキャラクタ(状態(D)の、操作対象のゲームキャラクタ135)を容易に視認することができる。
In the state (D), the
本実施形態では、タッチスクリーン130に対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対しドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、ドラッグ操作の方向に基づいてゲームキャラクタを仮想空間内で移動させ、タッチスクリーン130の任意の位置に対するタップ操作が行われた場合に、タッチオフが検出されるまでタッチ操作がされていた座標に基づいて、ゲームキャラクタに、ボール137に関連付けられた動作(タップ位置へのパス)を行わせる。このように、本実施形態によると、サッカーボールをゲームキャラクタ間で移動させる操作(パス)と、キャラクタの移動を指示する操作(ドリブル)とを容易に切り分けることができる。
In the present embodiment, when the drag operation on the
<ゲームキャラクタの移動方向を示すオブジェクトを再描画する例>
図6は、ゲームキャラクタの移動方向を示すオブジェクトを、タッチスクリーン130への入力操作に応じて再描画するか否かの表示例を示す図である。
<Example of redrawing an object indicating the moving direction of the game character>
FIG. 6 is a diagram illustrating a display example of whether or not an object indicating the moving direction of the game character is redrawn according to an input operation on the
制御部190は、ゲームキャラクタ135をドラッグ操作で移動させる入力操作を受け付けている場合に、一瞬のタッチオフ(例えば1〜3フレーム程度の、予め定められたフレーム以内に再度のタッチオンを検出)があったとしても、再度のタッチオンが、タッチオフ直前のタッチ位置から一定範囲内であれば、一瞬のタッチオフにかかわらず、ドラッグ操作が維持されているものとして処理をする。このように、制御部190は、ドラッグ操作が継続している状態からタッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置(座標)が、タッチオフとなる直前のタッチ位置の座標から一定範囲内であれば、ドラッグ操作の起点となったタッチ位置と、再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向にゲームキャラクタを移動させる。
When the
また、制御部190は、一瞬のタッチオフの後、再度のタッチオンが、タッチオフ直前のタッチ位置から一定範囲を超えてなされた場合に、新たな起点に基づいて弾性オブジェクト187を描画してゲームキャラクタ135にドリブルを継続させる。このように、制御部190は、この再度のタッチオンの検出および継続を判別した場合に、再度のタッチオンの位置が、タッチオフとなる直前のタッチ位置から一定範囲を超えた範囲外である場合は、再度のタッチオンにかかるタッチ位置と、再度のタッチオンを継続しているタッチ位置とに基づいて定まる方向にゲームキャラクタを移動させる。
In addition, after a momentary touch-off, the
図6の状態(A)は、ユーザによるドラッグ操作を検出してボール137を保持するゲームキャラクタ135をドリブルさせている状態で、入力操作受付部191が、一定フレーム以下のタッチオフを検出した後に再度のタッチオンが、タッチオフ直前のタッチ位置から一定距離内でなされた状態を示す。
The state (A) in FIG. 6 is a state in which the drag operation by the user is detected and the
状態(B)は、状態(A)において再度のタッチオンがタッチオフ直前のタッチ位置から一定距離内でなされたことにより、制御部190が、弾性オブジェクト187の起点を維持したまま、タッチナウの位置に基づき弾性オブジェクト187をタッチスクリーン130に表示させている状態を示す。
The state (B) is based on the position of the touch now while the
状態(C)は、ユーザによるドラッグ操作を検出してボール137を保持するゲームキャラクタ135をドリブルさせている状態で、入力操作受付部191が、一定フレーム以下のタッチオフを検出した後に再度のタッチオンが、タッチオフ直前のタッチ位置から一定距離を超えてなされた状態を示す。
The state (C) is a state in which the drag operation by the user is detected and the
状態(D)は、状態(C)において再度のタッチオンがタッチオフ直前のタッチ位置から一定距離を超えてなされたことにより、制御部190が、弾性オブジェクト187の起点を、状態(C)に示すタッチ位置を初期タッチ位置として、タッチナウの位置に基づきタッチスクリーン130に弾性オブジェクト187を表示させている状態を示す。
In the state (D), when the touch-on in the state (C) is performed again beyond a certain distance from the touch position immediately before the touch-off, the
このように、サッカーゲームのような、複数のゲームキャラクタにより構成されるチームが他のチームと対象物(ボール)をめぐって対戦するスポーツゲームにおいては、チーム間の攻守の切り替わりが頻繁に起こりうるため、ユーザがタッチスクリーン130で視認したい領域が、試合の進行に応じて頻繁に切り替わりうる。
In this way, in a sports game such as a soccer game in which a team composed of a plurality of game characters battles against another team over an object (ball), the switching of offense and defense between teams can occur frequently. The area that the user wants to visually recognize on the
例えば、対戦相手のチームにボールが保持されている場合、自チームがディフェンスをすることになるため、ユーザは、対戦相手のチームに得点されないよう、自チームのゴール側の領域を視認しようとすることがある。一方、対戦相手のチームからボールを奪い、攻撃をする場合は、相手側チームのゴールに向けてゲームキャラクタを移動させることになるため、相手側チームのゴール側の領域を視認する機会が増える。一方、タッチスクリーン130に対するタッチ操作で入力操作を受け付ける場合、ユーザは、自らの指でタッチスクリーン130を覆ってしまうため、ゲームの進行に応じて、ゲームキャラクタを移動させるためにタッチスクリーン130に指を接触させる位置を容易に切り替えることができるようにすることで、ユーザの操作性がいっそう向上する。
For example, if the opponent's team holds the ball, the team will defend, so the user will try to see the area on the goal side so that the opponent's team will not score Sometimes. On the other hand, when the player takes the ball from the opponent team and attacks, the game character is moved toward the goal of the opponent team, so the opportunity to visually recognize the goal side area of the opponent team increases. On the other hand, when accepting an input operation by a touch operation on the
<フリック操作に応じた動作>
図7は、ドラッグ操作によりゲームキャラクタを移動させている状態で、フリック操作に応じた動作を行わせる表示例を示す図である。
<Operation according to flick operation>
FIG. 7 is a diagram illustrating a display example in which an action corresponding to the flick operation is performed in a state where the game character is moved by the drag operation.
制御部190は、ドラッグ操作によりゲームキャラクタを移動させている状態で、タッチオンしたままフリック操作を受け付けることで、パス、シュートその他の動作をゲームキャラクタに行わせる。また、制御部190は、ドラッグ操作によりゲームキャラクタを移動させている状態で、ユーザがタッチスクリーン130から指を離してタッチオフを検出し、タッチオフの期間が一定以内(例えば、数フレーム以内など一定フレーム以内)で、タッチスクリーン130の任意の位置でフリック操作を検出すると、フリック操作に応じた動作をゲームキャラクタに行わせる。このように、制御部190は、ドラッグ操作が継続している状態からタッチオフを検出し、当該タッチオフとなる期間の後に再度のタッチオンを検出するまでの当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンにかかるユーザの操作内容がフリック操作である場合に、当該フリック操作に基づいて対象物に関連付けられた動作をゲームキャラクタに行わせる。
The
図7の状態(A)は、ドラッグ操作により、ドラッグ操作の方向に基づいてゲームキャラクタを移動させる入力操作を受け付けている状態において、制御部190が、ユーザがタッチスクリーン130に指を接近させたまま入力するフリック操作を検出している状態を示す。
In the state (A) of FIG. 7, the
状態(B)は、状態(A)においてフリック操作を検出することにより、ボール137と関連付けられているゲームキャラクタ(状態(A)のゲームキャラクタ135)が、ボール137を、フリック操作の方向に基づいてパスまたはシュートしている状態を示す。
In the state (B), by detecting the flick operation in the state (A), the game character associated with the ball 137 (the
これにより、ユーザは、タッチスクリーン130に指を接触させて、ドラッグ操作によりゲームキャラクタを移動させつつ、タッチスクリーン130に指を接触させたまま、フリック操作によるボールの操作をすることができ、ユーザの操作を容易にすることができる。
Accordingly, the user can operate the ball by the flick operation while bringing the finger into contact with the
状態(C)は、ドラッグ操作により、ドラッグ操作の方向に基づいてゲームキャラクタを移動させる入力操作を受け付けている状態において、制御部190が、ユーザがタッチスクリーン130から指を離し、ドラッグ操作においてタッチオンを継続させていた位置から一定距離以上離れた位置でフリック操作をしたことを検出している状態を示す。
In the state (C), in a state where an input operation for moving the game character based on the direction of the drag operation is received by the drag operation, the
状態(D)は、状態(C)においてフリック操作を検出することにより、ボール137と関連付けられているゲームキャラクタ(状態(C)のゲームキャラクタ135)が、ボール137を、フリック操作の方向に基づいてパスまたはシュートしている状態を示す。
In the state (D), by detecting the flick operation in the state (C), the game character associated with the ball 137 (the
例えば、ドリブルでゲームキャラクタを移動させるため、ユーザがタッチスクリーン130の辺に近い位置でドラッグ操作を行っていた場合に、フリック操作の方向でボールをパスさせたいときに、フリック操作の方向によっては、フリック操作をするためのタッチスクリーン130上の領域に限りがあることがある。状態(C)の例では、タッチスクリーン130の左側の辺に近い領域でドラッグ操作を行っており、この状態で、ゲームキャラクタ135に、左側にパスをさせたいときがある。この場合においても、状態(D)に示すように、ドラッグ操作においてタッチオンを継続させていた位置から一定距離以上離れた位置でフリック操作を受け付けることにより、フリック操作の方向に応じたボール等のオブジェクトの移動を可能とする。
For example, when the user is performing a drag operation at a position close to the side of the
このように、ドラッグ操作の位置から離れた位置で、タップ操作とフリック操作とを切り分けて入力を受け付けることで、タップ操作の場合はタップ位置へのパスを可能とするとともに、フリック操作によってフリックの方向へのパスを可能とすることができ、ユーザの操作をいっそう容易にすることができる。ここで、フリック操作が「強フリック」であるか「弱フリック」であるかに応じて、ボールなどのオブジェクトの移動の態様を異ならせることとしてもよい。例えば、フリック操作が「強フリック」である場合は、ゲームキャラクタがボールを大きく放物線を描くようにパスさせる(ロングパス)動作を行わせ、フリック操作が「弱フリック」である場合は、ゲームキャラクタがボールを転がすようにパスさせる(ショートパス)動作を行わせる。 In this way, by accepting input by separating the tap operation and the flick operation at a position away from the position of the drag operation, in the case of the tap operation, a path to the tap position is made possible, and the flick operation performs flick operation. The path in the direction can be made possible, and the user's operation can be made easier. Here, depending on whether the flick operation is “strong flick” or “weak flick”, the mode of movement of an object such as a ball may be varied. For example, when the flick operation is “strong flick”, the game character performs an action of making the ball pass a large parabola (long pass), and when the flick operation is “weak flick”, the game character Make the ball pass as if rolling (short pass).
図8および図9を参照して、ゲームキャラクタに、対象物に関連付けられた動作を行わせる処理を説明する。 With reference to FIG. 8 and FIG. 9, a process for causing the game character to perform an action associated with the object will be described.
図8は、ゲームキャラクタの移動および動作を行わせる処理を示すフローチャートである。制御部190は、タッチオフの状態(図5の状態(A))からタッチオンを検出することにより、図8に示す処理を開始する。
FIG. 8 is a flowchart showing a process for moving and moving the game character. The
ステップS801において、制御部190は、タッチオフの状態からタッチオンを検出した際の初期のタッチ位置の座標をメモリに保持する(初期タッチ位置座標155)。
In step S <b> 801, the
ステップS803において、制御部190は、タッチオンを検出した後、一定時間以内にタッチオフを検出したか否かを判定する(いわゆる短押しか否かを判定する)。短押しであると判定される場合は、ユーザの入力操作が「タップ操作」であるか、「フリック操作」であるかを以降の処理で制御部190が判定することとなる。また、長押しであると判定される場合は、ユーザの入力操作が「ドラッグ操作」であるか「ロングタップ操作」であるかを以降の処理で制御部190が判定することとなる。制御部190は、ステップS803において一定時間以内にタッチオフを検出した場合に(ステップS803においてYES)、ステップS805の処理を行い、そうでない場合に(ステップS803においてNO)、ステップS815の処理を行う。
In step S803, after detecting the touch-on, the
ステップS805において、制御部190は、タッチオフ直前にタッチスクリーン130においてユーザの指の接近が検出されていた座標と、初期タッチ位置とを比較して、ユーザの指が初期タッチ位置から一定距離以上移動したか否かを判定する。制御部190は、ステップS805においてユーザの指が一定距離以上移動したと判定する場合(ステップS805においてYES)、ステップS807の処理を行い、そうでない場合(ステップS805においてNO)、ステップS813の処理を行う。
In step S805, the
ステップS807において、制御部190は、初期タッチ位置と、タッチオフ直前にタッチスクリーン130においてユーザの指の接近が検出されていた座標とに基づいて、ユーザの指が初期タッチ位置から移動した移動量が閾値を超えるか否かを判定することで、「強フリック」か「弱フリック」かを判定する。ステップS807において、一定時間内の移動量が閾値を超える場合(ステップS807においてYES)、制御部190は、ステップS809の処理を行い、そうでない場合(ステップS807においてNO)、ステップS811の処理を行う。
In step S807, the
ステップS809において、制御部190は、ユーザの入力操作を「強フリック」と判別し、判別結果に応じた動作をゲームキャラクタに行わせる。
In step S809, the
ステップS811において、制御部190は、ユーザの入力操作を「弱フリック」と判別し、判別結果に応じた動作をゲームキャラクタに行わせる。
In step S811, the
ステップS813において、制御部190は、ユーザの入力操作を「タップ操作」と判別し、判別結果に応じた動作をゲームキャラクタに行わせる。
In step S813, the
ステップS815において、制御部190は、タッチ操作が継続している座標(タッチナウの座標)と、初期タッチ位置とが一定距離以上離れているか否かを判定することで、ドラッグ操作を判別する。ステップS815において、制御部190は、タッチナウの位置と初期タッチ位置とが一定距離以上離れていると判定する場合(ステップS815においてYES)、ステップS817の処理を行い、そうでない場合(ステップS815においてNO)、ステップS819の処理を行う。
In step S815, the
ステップS817において、制御部190は、ユーザの入力操作を「ドラッグ操作」と判別し、ドラッグ操作の方向に応じてゲームキャラクタを移動させる(例えば、図5の状態(B)など)。制御部190は、ステップS817の処理を行うと、後述する図9のステップS1の処理を行う。
In step S817, the
ステップS819において、制御部190は、ユーザの入力操作を「ロングタッチ操作」と判別し、判別結果に応じた動作をゲームキャラクタに行わせる。
In step S819, the
図9は、ゲームキャラクタの移動および動作を行わせる処理を示すフローチャートである。制御部190は、図8に示すステップS817の処理を行うことでユーザの入力操作を「ドラッグ操作」と判別すると、図9に示す処理を開始する。
FIG. 9 is a flowchart showing processing for moving and moving the game character. When the
ステップS831において、制御部190は、タッチオフを検出したか否かを判定し、タッチオフが検出されない間(ステップS831においてNO)、ステップS835の処理を行い、タッチオフが検出されると(ステップS831においてYES)、ステップS833の処理を行う。
In step S831,
ステップS833において、制御部190は、ステップS831でタッチオフを検出した後、タッチオフの期間が一定時間以内か(例えば、一定フレーム以内に、再度のタッチオンが検出されたか)を判定する。制御部190は、一定時間内に再度のタッチオンを検出した場合(ステップS833においてYES)、ステップS837の処理を行い、そうでない場合(ステップS833においてNO)、ステップS851の処理を行う。
In step S833, after detecting the touch-off in step S831, the
ステップS835において、制御部190は、ユーザの入力操作を「ドラッグ操作」と判別し、ドラッグ操作の方向に基づいて、ゲームキャラクタを移動させ、ステップS831の処理を行う。
In step S835, the
ステップS837におおいて、制御部190は、ステップS833で検出した再度のタッチオンから一定時間内にタッチオフを検出するか否かを判定することで、ステップS833の再度のタッチオンが短押しであるか否かを判定する。短押しであると判定される場合は、ユーザの入力操作が「タップ操作」であるか、「フリック操作」であるかを以降の処理で制御部190が判定する。また、長押しであると判定される場合は、ユーザの入力操作が「ドラッグ操作」であるか「ロングタップ操作」であるかを以降の処理で制御部190が判定する。ステップS837において、制御部190は、ステップS833の再度のタッチオンが短押しであると判定する場合(ステップS837においてYES)、ステップS838の処理を行い、そうでなく長押しと判定する場合(ステップS837においてNO)、ステップS841の処理を行う。
In step S837, the
ステップS838において、制御部190は、ステップS833で、タッチスクリーン130において、タッチオフの状態から再度のタッチオンを検出した位置を初期のタッチ位置として設定する。
In step S838, the
ステップS839において、制御部190は、タッチスクリーン130において、ステップS833で検出した再度のタッチオンの位置(座標)が、ステップS831で検出したタッチオフの直前にタッチ操作がされていた位置から一定範囲外であるか否かを判定する。制御部190は、一定範囲外であると判定される場合に(ステップS839においてYES)、図8に示すステップS2の処理を行い、そうでない場合に(ステップS839においてNO)、ステップS853の処理を行う。
In step S839, the
ステップS841において、制御部190は、ステップS833で、タッチオフの状態から、再度のタッチオンを検出した位置が、ステップS831で検出したタッチオフの直前にタッチ操作がされていた位置から一定範囲内であるか否かを判定する。制御部190は、一定範囲内であると判定される場合に(ステップS841においてYES)、ステップS845の処理を行い、そうでない場合に(ステップS841においてNO)、ステップS847の処理を行う。
In step S841, in step S833, the
ステップS845において、制御部190は、ユーザの入力操作を「ドラッグ操作」と判別し、ステップS801で保持される初期のタッチ位置の座標を起点とし、タッチナウの座標に基づいてゲームキャラクタを移動させる。
In step S845, the
ステップS847において、制御部190は、ステップS833でタッチオフの状態から再度のタッチオンを検出した位置を初期のタッチ位置と設定し、図8に示すステップS3の処理を行うことで、ユーザの入力操作が「ドラッグ操作」であるか「ロングタッチ操作」であるかを判別する。
In step S847, the
ステップS851において、制御部190は、ドラッグ操作を継続したままフリック操作の入力を行ったか否かを判定するために、ステップS831でタッチオフを検出した場合に、タッチオフが検出されるより前の一定時間内にタッチ位置が一定距離以上移動したか否かを判定する。制御部190は、タッチ位置が一定距離以上移動したと判定してユーザの入力操作が「フリック操作」と判定される場合に(ステップS851においてYES)、図8に示すステップS4の処理を行って、フリック操作が「強フリック」であるか「弱フリック」であるかを判別する。制御部190は、ステップS851でタッチ位置が一定距離以上移動していないと判定される場合に(ステップS851においてNO)、ゲームキャラクタを移動させる等の処理を終了する。
In step S851, the
ステップS853において、制御部190は、ステップS833で検出した再度のタッチオンの位置からステップS837で検出したタッチオフの直前のタッチオンの位置まで、一定距離以上タッチ位置が移動したか否かを判定することで、フリック操作が入力されたか否かを判定する。制御部190は、ステップS833で検出した再度のタッチオンによりフリック操作が入力されたと判定される場合に(ステップS853においてYES)、図8に示すステップS4の処理を行って、フリック操作が「強フリック」であるか「弱フリック」であるかを判別する。制御部190は、ステップS853でタッチ位置が一定距離以上移動していないと判定される場合に(ステップS853においてNO)、ゲームキャラクタを移動させる等の処理を終了する。
In step S853, the
<変形例>
上記実施例では、ゲームキャラクタがサッカーボールを保持している場合に、ドラッグ操作によりゲームキャラクタを移動させ、フリック操作またはタップ操作によりサッカーボールをパスまたはシュート等の移動をさせる例を説明した。この他にも、ユーザが操作するチームのゲームキャラクタがボールを保持せず、敵側のチームのゲームキャラクタがボールを保持している場合に、ゲームキャラクタをドラッグ操作により移動させ、タップ操作またはドラッグ操作によりボールに対してタックル、スライディング等の動作をゲームキャラクタに行わせることとしてもよい。
<Modification>
In the above embodiment, an example has been described in which when a game character holds a soccer ball, the game character is moved by a drag operation, and the soccer ball is moved by a flick operation or a tap operation, such as passing or shooting. In addition to this, when the game character of the team operated by the user does not hold the ball and the game character of the enemy team holds the ball, the game character is moved by a drag operation, and a tap operation or a drag is performed. It is good also as making a game character perform operations, such as tackle and sliding, with respect to a ball | bowl by operation.
また、ユーザがタッチパネルを押下する強度に応じて、ゲームキャラクタが対象物を移動させる動作(サッカーボールをけり出す動作)を制御することとしてもよい。例えば、タッチパネルが、ユーザによる押下の強度を検出する場合、押下の強度に応じて、タップ操作によるパスの際のボールの挙動を、地面を転がすようなパスとするか、ボールを大きくけり出すようなパスとするかを切り分けることとしてもよい。また、ユーザがタッチスクリーン130に対して指などを接近させる時間の長さに応じて、ゲームキャラクタが対象物を移動させる動作を制御することとしてもよい。すなわち、ユーザの操作内容が、タップ操作かロングタップかに応じて、タップ操作である場合はタップ位置に向けて地面を転がすようなパスを行わせ、ロングタップである場合はタップ位置に向けてボールを大きくけり出すようなパスを行わせることとしてもよい。
Moreover, it is good also as controlling the operation | movement (action which kicks out a soccer ball) which a game character moves a target object according to the intensity | strength in which a user presses a touch panel. For example, when the touch panel detects the strength of the pressing by the user, the behavior of the ball in the pass by the tap operation is a path that rolls on the ground or the ball is pushed out depending on the pressing strength. It is good also as carving whether it is set as a pass. Further, the movement of the game character to move the object may be controlled according to the length of time for which the user brings his / her finger or the like closer to the
また、図8および図9の説明では、制御部190がドラッグ操作を判別し、タッチオフを検出した後に一定時間内に再度のタッチオンを検出した場合に、再度のタッチオンが長押しでドラッグ操作であればゲームキャラクタを移動させ、再度のタッチオンが短押しであればタップ操作またはフリック操作であるかに応じてゲームキャラクタに動作を行わせることとしているが、これに限られない。ドラッグ操作を継続している際のタッチオンが検出されていた座標においてタッチオフが検出されるフレームと同フレームで、タッチオフが検出される直前にタッチオンの状態にあった座標と、当該座標から一定距離以上離れた位置でタッチオンが検出された場合に、ステップS837以降の処理を行うこととしてもよい。
In the description of FIG. 8 and FIG. 9, if the
以上のように各実施形態のゲーム配信システムを構成する携帯端末10およびサーバ20の動作について説明してきたが、携帯端末10で行われる各処理をサーバ20で行うこととしてもよいし、サーバ20で行われる処理を携帯端末10で行うこととしてもよい。
As described above, the operations of the mobile terminal 10 and the
例えば、携帯端末10は、タッチスクリーン130に対するユーザの入力操作を受け付けて、受け付けた操作内容をサーバ20へ送信する。サーバ20は、ユーザの入力操作を携帯端末10から受け付けて、ゲームを進行させるための各処理を行い、仮想カメラの配置に基づいて携帯端末10に表示させるための表示画面を生成し、生成した表示画面を、逐次、携帯端末10に表示する。このように、ゲームを進行させるための処理の大部分をサーバ20が担うこととしてもよい。また、ゲームを進行させるための処理の大部分を携帯端末10が担うこととしてもよい。
For example, the mobile terminal 10 receives a user input operation on the
今回開示された実施の形態はすべての点で例示であって制限的なものでないと考えられるべきである。この発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 The embodiment disclosed this time must be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.
10 携帯端末、20 サーバ、22 通信IF、23 入出力IF、25 メモリ、26 ストレージ、29 プロセッサ、80 ネットワーク、81 無線基地局、82 無線ルータ、110 アンテナ、120 無線通信IF、130 タッチスクリーン、131 タッチパネル、132 ディスプレイ、134 ゲームキャラクタ、135 ゲームキャラクタ、136 ゲームキャラクタ、137 ボール、138 座標、150 記憶部、151 ゲームプログラム、153 バッファメモリ、155 初期タッチ位置座標、160 音声処理部、170 マイク、180 スピーカ、187 弾性オブジェクト、190 制御部、191 入力操作受付部、192 ゲーム進行処理部、193 移動操作検出部、194 カメラ配置制御部、195 オブジェクト制御部、196 表示制御部、220 通信部、250 記憶部、251 ゲームプログラム、252 ゲーム情報、253 ユーザ情報、290 制御部、291 送受信部、292 サーバ処理部、293 データ管理部、294 マッチング部、295 計測部。
10 mobile terminal, 20 server, 22 communication IF, 23 input / output IF, 25 memory, 26 storage, 29 processor, 80 network, 81 wireless base station, 82 wireless router, 110 antenna, 120 wireless communication IF, 130 touch screen, 131 Touch panel, 132 display, 134 game character, 135 game character, 136 game character, 137 ball, 138 coordinates, 150 storage unit, 151 game program, 153 buffer memory, 155 initial touch position coordinates, 160 sound processing unit, 170 microphone, 180 Speaker, 187 elastic object, 190 control unit, 191 input operation reception unit, 192 game progress processing unit, 193 movement operation detection unit, 194 camera placement control unit, 195 o Ject control unit, 196 display control unit, 220 communication unit, 250 storage unit, 251 game program, 252 game information, 253 user information, 290 control unit, 291 transmission / reception unit, 292 server processing unit, 293 data management unit, 294
Claims (7)
前記ゲームプログラムは、タッチ操作による入力操作を受け付けるタッチスクリーンと、プロセッサと、メモリとを備えるコンピュータにおいて実行されるものであり、
前記ゲームプログラムは、前記プロセッサに、
前記タッチスクリーンに対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対し前記ドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、前記ドラッグ操作の方向に基づいて、前記ユーザが操作対象とする前記オブジェクトを移動させるステップと、
前記ドラッグ操作が継続している状態から前記タッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置が、前記タッチオフとなる直前のタッチ位置から一定範囲内であれば、前記ドラッグ操作の起点となったタッチ位置と、前記再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向に前記オブジェクトを移動させるステップとを実行させる、ゲームプログラム。 A game program,
The game program is executed in a computer including a touch screen that accepts an input operation by a touch operation, a processor, and a memory.
The game program is stored in the processor.
When the drag operation on the touch screen is continued, regardless of whether or not the user has performed a touch operation on the object to be operated by the user at the start of the drag operation, based on the direction of the drag operation. Moving the object to be operated by the user;
When the touch-off is performed from the state in which the drag operation is continued, and it is determined that the touch-on is detected again and continued after the touch-off period, the touch-off period is equal to or less than a predetermined period, and the touch-on is performed again. If the position is within a certain range from the touch position immediately before the touch-off, the direction determined based on the touch position that is the starting point of the drag operation and the touch position where the second touch-on is continued A game program for executing an object moving step.
前記再度のタッチオンの検出および継続を判別した場合に、前記再度のタッチオンの位置が、前記タッチオフとなる直前のタッチ位置から一定範囲を超えた範囲外である場合は、前記再度のタッチオンにかかるタッチ位置と、前記再度のタッチオンを継続しているタッチ位置とに基づいて定まる方向に前記ゲームキャラクタを移動させるステップを実行させる、請求項1に記載のゲームプログラム。 The game program is further stored in the processor.
When it is determined whether the second touch-on is detected and continued, if the second touch-on position is outside the range beyond a certain range from the touch position immediately before the touch-off, the touch related to the second touch-on is performed. The game program according to claim 1, wherein a step of moving the game character in a direction determined based on a position and a touch position where the second touch-on is continued is executed.
前記オブジェクトを移動させるステップは、前記タッチスクリーンの任意の位置に対するタッチオンおよびタッチオフがなされるタップ操作が行われた場合に、前記タッチオフが検出された座標に基づいて、前記操作対象とするゲームキャラクタに、前記ゲームキャラクタと対応付けられる対象物を移動させる動作を行わせることを含む、請求項1または2に記載のゲームプログラム。 The object to be operated by the user includes a game character,
In the step of moving the object, when a tap operation for touch-on and touch-off at an arbitrary position on the touch screen is performed, the game character to be operated is determined based on the coordinates at which the touch-off is detected. The game program according to claim 1, further comprising performing an operation of moving an object associated with the game character.
前記ユーザの操作内容をドラッグ操作であると判別した場合に、前記ドラッグ操作の初期タッチ位置に基づく座標を起点として、前記ドラッグ操作によりタッチオンを継続している位置に基づく座標に向けて描画されるオブジェクトを前記タッチスクリーンに表示させるステップを実行させる、請求項1から4のいずれか1項に記載のゲームプログラム。 The game program is further transmitted to the processor.
When it is determined that the user's operation content is a drag operation, the drawing is performed from the coordinates based on the initial touch position of the drag operation as a starting point toward the coordinates based on the position where the touch-on is continued by the drag operation. The game program of any one of Claim 1 to 4 which performs the step which displays an object on the said touch screen.
前記方法は、
前記コンピュータが、前記タッチスクリーンに対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対し前記ドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、前記ドラッグ操作の方向に基づいて、前記ユーザが操作対象とする前記オブジェクトを移動させるステップと、
前記コンピュータが、前記ドラッグ操作が継続している状態から前記タッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置が、前記タッチオフとなる直前のタッチ位置から一定範囲内であれば、前記ドラッグ操作の起点となったタッチ位置と、前記再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向に前記オブジェクトを移動させるステップとを含む、方法。 A method executed in a computer including a touch screen that accepts an input operation by a touch operation, a processor, and a memory,
The method
When the computer continues to perform a drag operation on the touch screen, the drag operation is performed regardless of whether the user performs a touch operation on the object to be operated by the user at the start of the drag operation. Moving the object to be operated by the user based on the direction of:
When the computer becomes the touch-off from the state where the drag operation is continued and determines the detection and the continuation of the touch-on again after the touch-off period, the touch-off period is a certain period or less, If the position of the touch-on again is within a certain range from the touch position immediately before the touch-off, based on the touch position where the drag operation is started and the touch position where the touch-on is continued again Moving the object in a fixed direction.
前記記憶部は、ゲームプログラムを記憶するように構成されており、
前記制御部は、
前記タッチスクリーンに対するドラッグ操作が継続している場合に、ユーザが操作対象とするオブジェクトに対し前記ドラッグ操作の開始時にユーザによりタッチ操作が行われたか否かにかかわらず、前記ドラッグ操作の方向に基づいて、前記ユーザが操作対象とする前記ゲームキャラクタを移動させ、
前記ドラッグ操作が継続している状態から前記タッチオフとなり、当該タッチオフとなる期間の後に再度のタッチオンの検出および継続を判別した場合に、当該タッチオフとなる期間が一定期間以下であり、再度のタッチオンの位置が、前記タッチオフとなる直前のタッチ位置から一定範囲内であれば、前記ドラッグ操作の起点となったタッチ位置と、前記再度のタッチオンが継続されているタッチ位置とに基づいて定まる方向に前記オブジェクトを移動させる移動制御部を含む、情報処理装置。
An information processing apparatus including a touch screen that accepts an input operation by a touch operation, a control unit, and a storage unit,
The storage unit is configured to store a game program,
The controller is
When the drag operation on the touch screen is continued, regardless of whether or not the user has performed a touch operation on the object to be operated by the user at the start of the drag operation, based on the direction of the drag operation. Moving the game character to be operated by the user,
When the touch-off is performed from the state in which the drag operation is continued, and it is determined that the touch-on is detected again and continued after the touch-off period, the touch-off period is equal to or less than a predetermined period, and the touch-on is performed again. If the position is within a certain range from the touch position immediately before the touch-off, the direction determined based on the touch position that is the starting point of the drag operation and the touch position where the second touch-on is continued An information processing apparatus including a movement control unit that moves an object.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017185498A JP2018020150A (en) | 2017-09-26 | 2017-09-26 | Game program, method, and information processor with touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017185498A JP2018020150A (en) | 2017-09-26 | 2017-09-26 | Game program, method, and information processor with touch screen |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016084273A Division JP2017192538A (en) | 2016-04-20 | 2016-04-20 | Game program, method, and information processor with touch screen |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018020150A true JP2018020150A (en) | 2018-02-08 |
Family
ID=61164979
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017185498A Pending JP2018020150A (en) | 2017-09-26 | 2017-09-26 | Game program, method, and information processor with touch screen |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018020150A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109847354A (en) * | 2018-12-19 | 2019-06-07 | 网易(杭州)网络有限公司 | The method and device of virtual lens control in a kind of game |
-
2017
- 2017-09-26 JP JP2017185498A patent/JP2018020150A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109847354A (en) * | 2018-12-19 | 2019-06-07 | 网易(杭州)网络有限公司 | The method and device of virtual lens control in a kind of game |
US11717752B2 (en) | 2018-12-19 | 2023-08-08 | Netease (Hangzhou) Network Co., Ltd. | Method and apparatus for controlling virtual camera in game |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11290543B2 (en) | Scene switching method based on mobile terminal | |
JP6450875B1 (en) | GAME PROGRAM, GAME METHOD, AND INFORMATION PROCESSING DEVICE | |
JP2020096778A (en) | Game program, method, and information processor | |
JP6225279B1 (en) | GAME METHOD AND GAME PROGRAM | |
JP2020022574A (en) | Game program, method, and information processing device | |
JP2017192538A (en) | Game program, method, and information processor with touch screen | |
JP2017192537A (en) | Game program, method, and information processor with touch screen | |
JP6002345B1 (en) | Information processing apparatus including game program, method, and touch screen | |
JP6673796B2 (en) | GAME PROGRAM, GAME PROVIDING METHOD, AND INFORMATION PROCESSING DEVICE | |
JP6924564B2 (en) | Game program | |
JP2018020150A (en) | Game program, method, and information processor with touch screen | |
JP2018033972A (en) | Game program, method and information processing device including touch screen | |
JP6174202B1 (en) | Information processing apparatus provided with game program, method, and touch screen | |
JP6002344B1 (en) | Information processing apparatus including game program, method, and touch screen | |
JP2017221676A (en) | Game program, method, and information processor with touch screen | |
JP2020110603A (en) | Game program, method, and information processing unit | |
JP6209243B1 (en) | Information processing apparatus provided with game program, method, and touch screen | |
JP6554125B2 (en) | Game method and game program | |
JP7216154B2 (en) | Game program, method and information processing device with touch screen | |
JP7532474B2 (en) | PROGRAM AND INFORMATION PROCESSING APPARATUS | |
JP6668425B2 (en) | Game program, method, and information processing device | |
JP6404376B2 (en) | GAME PROGRAM, METHOD, AND INFORMATION PROCESSING DEVICE | |
US20220355189A1 (en) | Game program, game method, and information processing device | |
JP2017185189A (en) | Game program, method, and information processor including touch screen | |
JP6225234B1 (en) | GAME METHOD AND GAME PROGRAM |