JP2018102987A - Information processing method, apparatus, and program for causing computer to execute information processing method - Google Patents

Information processing method, apparatus, and program for causing computer to execute information processing method Download PDF

Info

Publication number
JP2018102987A
JP2018102987A JP2018070700A JP2018070700A JP2018102987A JP 2018102987 A JP2018102987 A JP 2018102987A JP 2018070700 A JP2018070700 A JP 2018070700A JP 2018070700 A JP2018070700 A JP 2018070700A JP 2018102987 A JP2018102987 A JP 2018102987A
Authority
JP
Japan
Prior art keywords
character
game
virtual camera
attack
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.)
Granted
Application number
JP2018070700A
Other languages
Japanese (ja)
Other versions
JP2018102987A5 (en
JP6907148B2 (en
Inventor
優 坂本
Masaru Sakamoto
優 坂本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Colopl Inc
Original Assignee
Colopl Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2016249057A external-priority patent/JP6318228B1/en
Application filed by Colopl Inc filed Critical Colopl Inc
Priority to JP2018070700A priority Critical patent/JP6907148B2/en
Publication of JP2018102987A publication Critical patent/JP2018102987A/en
Publication of JP2018102987A5 publication Critical patent/JP2018102987A5/ja
Priority to JP2021107249A priority patent/JP2021178183A/en
Application granted granted Critical
Publication of JP6907148B2 publication Critical patent/JP6907148B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an information processing method capable of enhancing game properties.SOLUTION: The information processing method is implemented by a computer to display an image photographed by a virtual camera VC disposed in a virtual space in a game. The method comprises: receiving a movement operation and an attack operation of a game character CA1 in the virtual space; upon receiving the movement operation, controlling the virtual camera VC to follow the game character CA1 moving in the virtual space; upon receiving the attack operation, directing the game character CA1 to an enemy character CA2 subjected to the attach motion; and upon directing the game character CA1 to the enemy character CA2, controlling the virtual camera VC to photograph the game character CA1 from a predetermined direction.SELECTED DRAWING: Figure 10

Description

本開示は、情報処理方法、装置、及び当該情報処理方法をコンピュータに実行させるためのプログラムに関する。   The present disclosure relates to an information processing method, an apparatus, and a program for causing a computer to execute the information processing method.

特許文献1は、ゲームにおける仮想カメラのカメラワークを開示する。この方法では、仮想カメラの注視点が撮影対象となる対象物の位置に設定される。仮想カメラは、その位置が移動した場合であっても撮影方向が常に注視点に向くように制御される。   Patent document 1 discloses the camera work of the virtual camera in a game. In this method, the gazing point of the virtual camera is set to the position of the object to be imaged. The virtual camera is controlled so that the shooting direction always faces the gazing point even when the position of the virtual camera moves.

特開2001−195608号公報JP 2001-195608 A

特許文献1記載の方法は、対象物を常に捉えることができるものの、カメラの動きが単純である。ゲーム性を高めるためには、カメラワークを改善する余地がある。   Although the method described in Patent Document 1 can always capture an object, the movement of the camera is simple. There is room for improving camera work in order to improve game performance.

本開示に係る方法は、ゲームにおける仮想空間に配置された仮想カメラによって撮影された画像を表示するためにコンピュータによって実行される情報処理方法である。この方法は、前記仮想空間においてキャラクタを移動させる移動操作及び前記キャラクタに攻撃動作を行わせる攻撃操作を受け付けるステップと、前記移動操作が受け付けられた場合、前記仮想空間を移動するキャラクタを追尾するように前記仮想カメラを制御するステップと、前記攻撃操作が受け付けられた場合、前記キャラクタを前記攻撃動作の対象となる対象キャラクタに向かせるステップと、前記攻撃操作が受け付けられたことによって前記キャラクタが前記対象キャラクタに向けられた場合、予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップと、を有する。   The method according to the present disclosure is an information processing method executed by a computer to display an image captured by a virtual camera arranged in a virtual space in a game. In this method, a step of accepting a moving operation for moving a character in the virtual space and an attack operation for causing the character to perform an attacking action; and when the moving operation is accepted, the character moving in the virtual space is tracked. Controlling the virtual camera, and when the attack operation is received, directing the character to a target character that is a target of the attack action, and the character is Controlling the virtual camera so that the character is photographed from a predetermined direction when directed to the target character.

本開示によれば、ゲーム性を高めることができる方法、装置及びプログラムが提供される。   According to the present disclosure, a method, an apparatus, and a program that can improve game performance are provided.

一実施形態のゲーム提供システムの構成を示す図である。It is a figure which shows the structure of the game provision system of one Embodiment. 携帯端末の構成を示すブロック図である。It is a block diagram which shows the structure of a portable terminal. サーバの機能的な構成を示すブロック図である。It is a block diagram which shows the functional structure of a server. 入力操作受付部が入力操作の種類を検知する処理を説明する図である。It is a figure explaining the process which an input operation reception part detects the kind of input operation. 移動方向検出部がユーザの入力操作に応じてゲームキャラクタを移動させる方向を検出する処理を説明する図である。It is a figure explaining the process which a moving direction detection part detects the direction which moves a game character according to a user's input operation. カメラ配置制御部が仮想カメラを制御する処理を説明する図である。カメラ配置制御部が仮想カメラを制御する処理を説明する図である。It is a figure explaining the process which a camera arrangement | positioning control part controls a virtual camera. It is a figure explaining the process which a camera arrangement | positioning control part controls a virtual camera. ユーザによる入力操作に応じて変化するカメラワーク及び操作オブジェクトを説明する図である。It is a figure explaining the camera work and operation object which change according to input operation by a user. 移動操作時の処理を説明するフローチャートである。It is a flowchart explaining the process at the time of movement operation. 仮想カメラの撮影方向がゲームのイベントによって変更される場合の画面例である。It is an example of a screen when the shooting direction of the virtual camera is changed by a game event. 交戦時における仮想カメラの撮影方向を説明するための画面例である。It is an example of a screen for demonstrating the imaging | photography direction of the virtual camera at the time of a battle. 攻撃操作時の処理を説明するフローチャートである。It is a flowchart explaining the process at the time of attack operation. オブジェクト制御部がコンボデータに基づいてゲームキャラクタに攻撃動作を実行させたときのアクションの一例を示す図である。It is a figure which shows an example of an action when an object control part makes a game character perform attack action based on combo data. フリック操作時の処理を説明するフローチャートである。It is a flowchart explaining the process at the time of a flick operation. フリック操作に基づく動作処理を説明するフローチャートである。It is a flowchart explaining the operation | movement process based on a flick operation.

以下、図面を参照しつつ、本開示の一実施形態について説明する。以下の説明では、同一の部品又は構成要素には同一の符号が付される。それらの名称及び機能は同一である。したがって、それらについての詳細な説明は繰り返さない。   Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. In the following description, the same parts or components are denoted by the same reference numerals. Their names and functions are the same. Therefore, detailed description thereof will not be repeated.

[技術思想]
ゲームの一例として、ユーザによる入力操作に応じて、キャラクタがゲームの仮想空間を移動したり、ゲームの仮想空間に配置された敵キャラクタと交戦したりするゲームがある。ユーザには、ゲームの仮想空間に配置された仮想カメラにより撮像された画像がゲーム画面として提供される。ゲームの世界観を効果的に演出したり、ユーザのゲームへの没入感又はキャラクタとの一体感を高めたりするためには、この仮想カメラのカメラワークが重要になる。カメラワークとは、仮想カメラの撮影手法である。カメラワークの一例としては、固定撮影、パン、ティルト、ズームイン、ズームアウト、フォーカスイン、フォーカスアウト、又はトラック(追跡)などがある。
[Technology]
As an example of the game, there is a game in which a character moves in a virtual space of the game or engages with an enemy character arranged in the virtual space of the game in accordance with an input operation by a user. The user is provided with an image captured by a virtual camera arranged in the virtual space of the game as a game screen. The camera work of this virtual camera is important in order to effectively produce a world view of the game and to enhance the user's sense of immersion in the game or a sense of unity with the character. Camera work is a method for photographing a virtual camera. Examples of camera work include fixed shooting, pan, tilt, zoom in, zoom out, focus in, focus out, or track (tracking).

例えば、キャラクタが移動する場合には、移動の躍動感、迫力などを演出するために、キャラクタを追跡するカメラワークをすることがある。また、例えば、キャラクタが交戦する場合には、交戦時の臨場感、迫力、キャラクタとの一体感などを演出するために、キャラクタの背後から追跡するカメラワークをすることがある。このように、ゲーム性を高めるためには、シーンに応じたカメラワークが重要となる。   For example, when the character moves, camera work may be performed to track the character in order to produce a dynamic feeling of movement, force, and the like. Further, for example, when a character engages in a battle, there is a case where the camera work is tracked from behind the character in order to produce a sense of realism, force, and a sense of unity with the character. Thus, camera work according to the scene is important in order to improve game performance.

さらに、スマートフォンなどのタッチスクリーンを備える情報処理装置がゲームプログラムを実行する場合、タッチスクリーンにはゲームの画面が表示される。情報処理装置は、ゲームの画面上でユーザによる入力操作を受け付ける。ユーザによる入力操作には、タッチスクリーン上で指をドラッグさせる操作など、操作方向に意味を持たせた操作が含まれることがある。このような方向性のある入力操作は、キャラクタの移動方向、攻撃方向、攻撃パターンなどを指定する際に用いられる。ユーザは、ゲームの仮想空間におけるキャラクタの向きを意識して方向性のある入力操作を行う。したがって、カメラワークは、ゲームの演出だけでなく、ユーザによる入力操作の操作性を考慮する必要がある。本実施形態は、上述した課題の少なくとも1つを解決する。   Furthermore, when an information processing apparatus including a touch screen such as a smartphone executes a game program, a game screen is displayed on the touch screen. The information processing apparatus accepts an input operation by the user on the game screen. The input operation by the user may include an operation having a meaning in the operation direction, such as an operation of dragging a finger on the touch screen. Such a directional input operation is used when a character moving direction, an attack direction, an attack pattern, and the like are designated. The user performs a directional input operation in consideration of the direction of the character in the game virtual space. Therefore, camera work needs to consider not only the effect of the game but also the operability of the input operation by the user. The present embodiment solves at least one of the problems described above.

[ゲーム提供システム]
本実施形態において、ユーザは、例えばスマートフォンなどの、タッチスクリーンを搭載した情報処理装置を操作する。ユーザは、ゲームサーバとスマートフォンとの間でゲームに関するデータを送受信させながらゲームを進行させる。
[Game provision system]
In the present embodiment, the user operates an information processing apparatus equipped with a touch screen such as a smartphone. The user advances the game while transmitting and receiving data related to the game between the game server and the smartphone.

図1は、一実施形態のゲーム提供システムの構成を示す図である。図1に示されるよう
に、ゲーム提供システム1は、ユーザにより使用される情報処理装置と、サーバ20とを
含み、これらの装置がネットワーク80によって互いに通信可能に接続されている。
FIG. 1 is a diagram illustrating a configuration of a game providing system according to an embodiment. As shown in FIG. 1, the game providing system 1 includes an information processing device used by a user and a server 20, and these devices are communicably connected to each other via a network 80.

図1の例では、ユーザにより使用される情報処理装置として、携帯端末10A、携帯端末10B及び携帯端末10Cなど複数の携帯端末を示している。以下、携帯端末10A、10B、10Cなどの携帯端末を「携帯端末10」と総称することもある。携帯端末10A及び携帯端末10Bは、無線基地局81と通信することにより、ネットワーク80と接続する。携帯端末10Cは、家屋などの施設に設置される無線ルータ82と通信することにより、ネットワーク80と接続する。携帯端末10は、例えばタッチスクリーンを備える端末であり、一例として、スマートフォン、ファブレット、タブレットなどのコンピュータである。   In the example of FIG. 1, a plurality of portable terminals such as the portable terminal 10A, the portable terminal 10B, and the portable terminal 10C are illustrated as information processing apparatuses used by the user. Hereinafter, portable terminals such as the portable terminals 10 </ b> A, 10 </ b> B, and 10 </ b> C may be collectively referred to as “mobile terminal 10”. The mobile terminal 10 </ b> A and the mobile terminal 10 </ b> B are connected to the network 80 by communicating with the radio base station 81. The mobile terminal 10C is connected to the network 80 by communicating with a wireless router 82 installed in a facility such as a house. The mobile terminal 10 is a terminal including a touch screen, for example, and as an example, is a computer such as a smartphone, a fablet, or a tablet.

携帯端末10は、ゲームプログラムを実行することにより、ゲームプログラムに応じたゲームをプレイする環境をユーザに対して提供する。携帯端末10には、例えば、アプリなどを配信するプラットフォームを介してゲームプログラムがインストールされる。携帯端末10は、携帯端末10にインストールされたゲームプログラム、又は、予めプリインストールされているゲームプログラムを実行することで、ユーザによるゲームのプレイを可能とする。携帯端末10は、ゲームプログラムを読み込んで実行することにより、サーバ20と通信接続し、ゲームの進行に応じてゲームに関連するデータをサーバ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, a game program is installed in the mobile terminal 10 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 pre-installed in advance. The mobile terminal 10 reads and executes the game program to establish communication connection with the server 20 and transmit / receive data related to the game to / from the server 20 as the game progresses.

サーバ20は、ゲームのプレイに必要なデータを、適宜のタイミングで携帯端末10へ送信することで、携帯端末10でのゲームのプレイを進行させる。サーバ20は、ゲームをプレイする各ユーザの、ゲームに関連する各種データを管理する。サーバ20は、携帯端末10と通信し、各ユーザのゲームの進行に応じて、画像、音声、テキストデータ、その他のデータなどを携帯端末10へ送信する。   The server 20 advances the game play on the mobile terminal 10 by transmitting data necessary for playing the game to the mobile terminal 10 at an appropriate timing. The server 20 manages various data related to the game of each user who plays the game. The server 20 communicates with the mobile terminal 10 and transmits images, sounds, text data, and other data to the mobile terminal 10 in accordance with the progress of each user's game.

例えば、サーバ20は、各ユーザがゲームのストーリーを進行させた進行状況、ゲーム内に登場するキャラクタ(以下、「ゲームキャラクタ」ともいう。)のうち各ユーザが使用可能なゲームキャラクタの情報、ゲームキャラクタの能力を示すパラメータ、ゲームキャラクタが使用する道具の性能を示すパラメータ、その他の各種データなどを管理する。また、サーバ20は、ゲームの運営者によりユーザに対して行われるキャンペーン、ゲームの進行における不具合の発生、不具合の解消、その他のゲームの運営に関連する情報などをユーザに通知する処理を行う。   For example, the server 20 includes information on game characters that can be used by each user among the progress of each user's progress in the game story, characters that appear in the game (hereinafter also referred to as “game characters”), It manages parameters indicating the ability of the character, parameters indicating the performance of the tool used by the game character, and other various data. In addition, the server 20 performs a process of notifying the user of a campaign performed by the game operator for the user, occurrence of a defect in the progress of the game, resolution of the defect, other information related to game management, and the like.

ゲームプログラムは、ユーザがゲームをプレイするモードとして、一人のユーザがプレイするシングルプレイと、複数人のユーザが協同してプレイするマルチプレイとに対応している。例えば、ゲーム提供システム1において、サーバ20は、マルチプレイに参加するユーザを特定して各ユーザの各携帯端末10と通信することなどにより、マルチプレイでゲームをプレイする環境を各ユーザに提供する。   The game program corresponds to a single play in which one user plays and a multiplay in which a plurality of users play in cooperation as modes in which the user plays a game. For example, in the game providing system 1, the server 20 provides each user with an environment for playing a game in multiplay by identifying users participating in multiplay and communicating with each mobile terminal 10 of each user.

ゲーム提供システム1は、マルチプレイに対応することにより、例えば、アクションゲームであれば、各ユーザでチームを結成して、クエストモードなど比較的強力なキャラクタと対戦するゲームモードを複数のユーザがプレイすることを可能とする。また、ゲーム提供システム1は、サッカーゲームであれば、各ユーザが同一のサッカーチームのメンバーとなって試合を行うことを可能とする。また、ゲーム提供システム1は、テニスゲームであれば、各ユーザでチームを結成してダブルスの試合を行うことを可能とする。   For example, if the game providing system 1 is an action game, a plurality of users play a game mode in which each user forms a team and plays against a relatively powerful character such as a quest mode. Make it possible. Moreover, if the game providing system 1 is a soccer game, each user can play a game as a member of the same soccer team. Moreover, if it is a tennis game, the game provision system 1 will be able to form a team with each user and to play a doubles game.

[構成]
サーバ20のハードウェアの構成を説明する。サーバ20は、通信IF(Interface)22と、入出力IF23と、メモリ25と、ストレージ26と、プロセッサ29とを備え、これらが通信バスを介して互いに接続する。
[Constitution]
The hardware configuration of the server 20 will be described. The server 20 includes a communication IF (Interface) 22, an input / output IF 23, a memory 25, a storage 26, and a processor 29, which are connected to each other via a communication bus.

通信IF22は、通信機器であり、例えばLAN(Local Area Network)規格など各種の通信規格に対応しており、携帯端末10などの外部の通信機器との間でデータを送受信するためのインタフェースとして機能する。   The communication IF 22 is a communication device and supports 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. To do.

入出力IF23は、インタフェース機器であり、サーバ20への情報の入力を受け付けるとともに、サーバ20の外部へ情報を出力するためのインタフェースとして機能する。入出力IF23は、マウス、キーボードなどの情報入力機器の接続を受け付ける入力受付部と、画像などを表示するためのディスプレイなどの情報出力機器の接続を受け付ける出力部とを含む。   The input / output IF 23 is an interface device and functions as an interface for accepting input of information to the server 20 and outputting information to the outside of the server 20. The input / output IF 23 includes an input receiving unit that accepts connection of an information input device such as a mouse and a keyboard, and an output unit that accepts connection of an information output device such as a display for displaying an image or the like.

メモリ25は、記憶装置であり、例えば、処理に使用されるデータなどを記憶するために用いられる。メモリ25は、例えば、プロセッサ29が処理を行う際に一時的に使用するための作業領域をプロセッサ29に提供する。メモリ25は、ROM(Read Only Memory)、RAM(Random Access Memory)などを含んで構成される。   The memory 25 is a storage device, and is used for storing data used for processing, for example. For example, the memory 25 provides the processor 29 with a work area for temporary use when the processor 29 performs processing. The memory 25 includes a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.

ストレージ26は、記憶装置であり、例えば、プロセッサ29が読み込んで実行するための各種プログラム及びデータを記憶するために用いられる。ストレージ26が記憶する情報は、ゲームプログラム、ゲームプログラムに関連する情報、ゲームプログラムをプレイするユーザの情報、その他の情報を含む。ストレージ26は、例えば、HDD(Hard Disk Drive)、フラッシュメモリなどを含んで構成される。   The storage 26 is a storage device, and is used for storing various programs and data to be read and executed by the processor 29, for example. Information stored in the storage 26 includes a game program, information related to the game program, information of a user who plays the game program, and other information. The storage 26 includes, for example, an HDD (Hard Disk Drive), a flash memory, and the like.

プロセッサ29は、演算装置であり、ストレージ26に記憶されるプログラムなどを読み込んで実行することにより、サーバ20の動作を制御する。プロセッサ29は、例えば、CPU(Central Processing Unit)、MPU(Micro Processing Unit)、GPU(Graphics Processing Unit)などを含んで構成される。   The processor 29 is an arithmetic unit, and controls the operation of the server 20 by reading and executing a program stored in the storage 26. The processor 29 includes, for example, a CPU (Central Processing Unit), an MPU (Micro Processing Unit), a GPU (Graphics Processing Unit), and the like.

図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. As shown in FIG. 2, the mobile terminal 10 includes an antenna 110, a wireless communication IF 120, a touch screen 130, an input / output IF 140, a storage unit 150, a sound processing unit 160, a microphone 170, and a speaker 180. The control unit 190 is included.

アンテナ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 control unit 190.

タッチスクリーン130は、ユーザからの入力操作を受け付けて、ユーザに対し情報をディスプレイ132に出力する。タッチスクリーン130は、ユーザの入力操作を受け付けるための部材であるタッチパネル131を含む。また、タッチスクリーン130は、メニュー画面や、ゲームの進行を画面に表示するための部材であるディスプレイ132を含む。タッチパネル131は、例えば、静電容量方式のものを用いることによって、ユーザの指などが接近したことを検出する。ディスプレイ132は、例えば、LCD(Liquid Crystal Display)、有機EL(electroluminescence)、その他の表示装置によって実現される。   The touch screen 130 receives an input operation from the user and outputs information to the display 132 to the user. The touch screen 130 includes a touch panel 131 that is a member for receiving a user input operation. The touch screen 130 includes a menu screen and a display 132 that is a member for displaying the progress of the game on the screen. The touch panel 131 detects, for example, that a user's finger or the like has approached by using a capacitance type touch panel. The display 132 is realized by, for example, an LCD (Liquid Crystal Display), an organic EL (electroluminescence), or other display device.

入出力IF140は、インタフェース機器であり、携帯端末10への情報の入力を受け付けるとともに、携帯端末10の外部へ情報を出力するためのインタフェースとして機能する。   The input / output IF 140 is an interface device, and receives an input of information to the mobile terminal 10 and functions as an interface for outputting information to the outside of the mobile terminal 10.

記憶部150は、記憶装置であり、フラッシュメモリ、RAM(Random Access Memory)などにより構成され、携帯端末10が使用するプログラム、携帯端末10がサーバ20から受信する各種データ、その他の各種データを記憶する。   The storage unit 150 is a storage device, and includes a flash memory, a RAM (Random Access Memory), and the like, and stores programs used by the mobile terminal 10, various data received by the mobile terminal 10 from the server 20, and other various data. To do.

音声処理部160は、演算装置であり、音声信号の変復調を行う。音声処理部160は、マイク170から与えられる信号を変調して、変調後の信号を制御部190へ与える。また、音声処理部160は、音声信号をスピーカ180へ与える。音声処理部160は、例えば、音声処理用のプロセッサによって実現される。マイク170は、音声信号の入力を受け付けて制御部190へ出力するための音声入力部として機能する。スピーカ180は、音声信号を、携帯端末10の外部へ出力するための音声出力部として機能する。   The audio processing unit 160 is an arithmetic device and performs modulation / demodulation of an audio signal. The audio processing unit 160 modulates the signal given from the microphone 170 and gives the modulated signal to the control unit 190. In addition, the audio processing unit 160 provides an audio signal to the speaker 180. The sound processing unit 160 is realized by, for example, a sound processing processor. The microphone 170 functions as an audio input unit for receiving an input of an audio signal and outputting it to the control unit 190. The speaker 180 functions as an audio output unit for outputting an audio signal to the outside of the mobile terminal 10.

制御部190は、演算装置であり、記憶部150に記憶されるプログラムを読み込んで実行することにより、携帯端末10の動作を制御する。制御部190は、例えば、アプリケーションプロセッサによって実現される。   The control unit 190 is an arithmetic device, and controls the operation of the mobile terminal 10 by reading and executing a program stored in the storage unit 150. The control unit 190 is realized by an application processor, for example.

携帯端末10がゲームプログラム151を実行する処理について、より詳細に説明する。ある局面において、記憶部150は、ゲームプログラム151と、ゲーム情報152と、ユーザ情報153とを記憶する。携帯端末10は、例えば、サーバ20からゲームプログラムをダウンロードして記憶部150に記憶させる。また、携帯端末10は、ゲームの進行に伴いサーバ20と通信することで、ゲーム情報152及びユーザ情報153などの各種のデータをサーバ20と送受信する。   A process in which the mobile terminal 10 executes the game program 151 will be described in more detail. In one aspect, the storage unit 150 stores a game program 151, game information 152, and user information 153. For example, the mobile terminal 10 downloads a game program from the server 20 and stores the game program in the storage unit 150. Moreover, the portable terminal 10 transmits / receives various data, such as the game information 152 and the user information 153, with the server 20 by communicating with the server 20 with progress of a game.

ゲームプログラム151は、携帯端末10においてゲームを進行させるためのプログラムである。ゲーム情報152は、ゲームプログラム151が参照する各種のデータを含む。ゲーム情報152は、例えば、ゲームにおいて仮想空間に配置されるオブジェクトの情報、オブジェクトに対応付けられた効果の情報(ゲームキャラクタに設定されるスキルの情報などを含む)基準モーションデータ、コンボデータなどを含む。基準モーションデータは、各ゲームキャラクタの動作を定義する。動作は、入力操作に対応付けて定義されてもよい。コンボデータは、所定の条件で発生するコンボによってゲームキャラクタに実行させる動作の内容(例えば、攻撃動作の種類、攻撃力、動きなど)を定義する。ユーザ情報153は、ゲームをプレイするユーザについての情報を含む。ユーザ情報153は、例えば、ゲームをプレイする携帯端末10のユーザを識別する情報、マルチプレイ時に協働してゲームをプレイする他のユーザを識別する情報、その他の情報を含む。その他の情報は、例えば、タッチパネル131の履歴データなどを含む。履歴データは、タッチパネル131の操作履歴である。   The game program 151 is a program for causing the mobile terminal 10 to advance a game. The game information 152 includes various data referred to by the game program 151. The game information 152 includes, for example, information on objects arranged in the virtual space in the game, information on effects associated with the objects (including information on skills set for game characters, etc.), reference motion data, combo data, and the like. Including. The reference motion data defines the action of each game character. The action may be defined in association with the input operation. The combo data defines the content of an action (for example, attack action type, attack power, movement, etc.) to be executed by the game character by a combo generated under a predetermined condition. The user information 153 includes information about the user who plays the game. The user information 153 includes, for example, information for identifying a user of the mobile terminal 10 playing a game, information for identifying another user who plays a game in cooperation with multi-play, and other information. Other information includes, for example, history data of the touch panel 131 and the like. The history data is an operation history of the touch panel 131.

制御部190は、ゲームプログラム151を読み込んで実行することにより、入力操作受付部191と、ゲーム進行処理部192と、移動方向検出部193と、カメラ配置制御部194と、オブジェクト制御部195と、表示制御部196と、の各機能を発揮する。   The control unit 190 reads and executes the game program 151, whereby an input operation receiving unit 191, a game progress processing unit 192, a moving direction detection unit 193, a camera arrangement control unit 194, an object control unit 195, Each function of the display control unit 196 is exhibited.

入力操作受付部191は、タッチスクリーン130の出力に基づいて、ユーザの入力操作を受け付ける。具体的には、入力操作受付部191は、ユーザの指などがタッチパネル131に接近したことを、タッチスクリーン130を構成する面の横軸及び縦軸からなる座標系の座標として検出する。   The input operation accepting unit 191 accepts a user input operation based on the output of the touch screen 130. Specifically, the input operation receiving unit 191 detects that a user's finger or the like has approached the touch panel 131 as coordinates in a coordinate system including a horizontal axis and a vertical axis of a surface constituting the touch screen 130.

入力操作受付部191は、タッチスクリーン130に対するユーザの操作を判別する。入力操作受付部191は、例えば、(1)「接近操作」、(2)「リリース操作」、(3)「タップ操作」、(4)「ダブルタップ操作」、(5)「長押し操作(ロングタッチ操作)」、(6)「ドラッグ操作(スワイプ操作)」、(7)「ムーブ操作」、(8)「フリック操作」、その他のユーザの操作を判別する。入力操作受付部191が判別するユーザの操作は、上記に限られない。例えば、タッチパネル131が、ユーザがタッチパネル131に対して押下する圧力の大きさを検出可能な機構を有する場合、入力操作受付部191は、ユーザにより押下された圧力の大きさを判別する。   The input operation reception unit 191 determines a user operation on the touch screen 130. The input operation accepting unit 191 includes, for example, (1) “approach operation”, (2) “release operation”, (3) “tap operation”, (4) “double tap operation”, (5) “long press operation ( (Long touch operation) ”, (6)“ drag operation (swipe operation) ”, (7)“ move operation ”, (8)“ flick operation ”, and other user operations. The user operation determined by the input operation receiving unit 191 is not limited to the above. For example, when the touch panel 131 has a mechanism that can detect the magnitude of the pressure that the user presses against the touch panel 131, the input operation reception unit 191 determines the magnitude of the pressure that is pressed by the user.

(1)「接近操作」とは、ユーザが指などをタッチスクリーン130に接近させる操作である。タッチスクリーン130は、ユーザの指などが接近したこと(ユーザの指などがタッチスクリーン130に接触したことを含む)をタッチパネル131により検出し、検出したタッチスクリーン130の座標に応じた信号を制御部190へ出力する。制御部190は、タッチスクリーン130へのユーザの指などの接近を検出しない状態から、接近を検出したときに、状態が「タッチオン状態」になったと判別する。   (1) The “approach operation” is an operation in which the user brings a finger or the like closer to the touch screen 130. The touch screen 130 detects that the user's finger or the like has approached (including that the user's finger or the like has touched the touch screen 130) by the touch panel 131, and outputs a signal corresponding to the detected coordinates of the touch screen 130 to the control unit. Output to 190. The control unit 190 determines that the state is the “touch-on state” when the approach is detected from the state in which the approach of the user's finger or the like to the touch screen 130 is not detected.

(2)「リリース操作」とは、ユーザがタッチスクリーン130を接近操作している状態を止める操作である。入力操作受付部191は、例えば、ユーザが指などをタッチスクリーン130に接触させている状態から、指を離す操作をしたときに、ユーザの操作を「リリース操作」と判別する。制御部190は、タッチスクリーン130へのユーザの指などの接近を検出している状態から、接近を検出しない状態になったときに、状態が「タッチオン状態」から「タッチオフ状態」になったと判別する。   (2) “Release operation” is an operation for stopping the state in which the user is operating the touch screen 130 to approach. For example, when the user performs an operation of releasing his / her finger from a state where the user touches the touch screen 130 with the finger or the like, the input operation receiving unit 191 determines that the user's operation is a “release operation”. The control unit 190 determines that the state is changed from the “touch-on state” to the “touch-off state” when the approach is not detected from the state in which the approach of the user's finger or the like to the touch screen 130 is detected. To do.

(3)「タップ操作」とは、ユーザがタッチスクリーン130に対して指などを接近させる接近操作をした後に、接近操作をした位置でリリース操作を行うことである。入力操作受付部191は、接近操作が検出されない状態(ユーザの指などがタッチパネル131から離れており、タッチパネル131がユーザの指などの接近を検出していない状態)から、タッチスクリーン130の出力に基づいて、ユーザの指などが接近したことを検出した場合に、その検出した座標を「初期タッチ位置」として保持する。入力操作受付部191は、初期タッチ位置の座標と、リリース操作をした座標とがほぼ同一である場合(接近操作が検出された座標から一定範囲内の座標においてリリース操作の座標が検出された場合)に、ユーザの操作を「タップ操作」と判別する。   (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 touch screen 130. The input operation reception unit 191 outputs the touch screen 130 from the state where the approach operation is not detected (the user's finger or the like is away from the touch panel 131 and the touch panel 131 does not detect the approach of the user's finger or the like). Based on this, when it is detected that the user's finger or the like has approached, the detected coordinates are held as the “initial touch position”. When the coordinates of the initial touch position and the coordinates of the release operation are substantially the same (when the coordinates of the release operation are detected in the coordinates within a certain range from the coordinates where the approach operation is detected) ), The user's operation is determined as a “tap operation”.

(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 touch screen 130. The touch screen 130 detects the user's operation and discriminates the approaching operation. When the time during which the approaching operation continues at the coordinates where the approaching operation is detected exceeds a certain time, the touch screen 130 determines the user's operation as “ “Long press operation” (the “long press operation” may be referred to as “long touch operation”).

(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 touch screen 130.

(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 touch screen 130 while maintaining the approach operation on the touch screen 130.

(8)「フリック操作」は、ユーザがムーブ操作を予め定められた時間よりも短い時間で行う操作をいう。フリック操作は、ユーザがタッチスクリーン130で指を弾くような操作である。   (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 touch screen 130.

入力操作受付部191は、所定期間のユーザの入力操作の判別結果を記憶部150に操作履歴として記憶する。入力操作受付部191により行われる入力操作の種類を検知する詳細な処理は、後述する。   The input operation reception unit 191 stores the determination result of the user's input operation for a predetermined period in the storage unit 150 as an operation history. Detailed processing for detecting the type of input operation performed by the input operation receiving unit 191 will be described later.

ゲーム進行処理部192は、ユーザの操作に応じて、各種のプログラムを呼び出すなどによりゲームを進行させる処理を行う。例えば、ゲーム進行処理部192は、サーバ20と通信し、ゲームの進行に応じてサーバ20へデータを送信する処理、サーバ20からゲームに関連するデータを受信する処理、ゲームの進行に応じてユーザに報酬を付与する処理、時間の経過を計測する処理、その他の処理を行う。   The game progress processing unit 192 performs a process of advancing the game by calling various programs in accordance with a user operation. For example, the game progress processing unit 192 communicates with the server 20 to transmit data to the server 20 according to the progress of the game, to receive data related to the game from the server 20, and to the user according to the progress of the game. A process for giving a reward, a process for measuring the passage of time, and other processes are performed.

移動方向検出部193は、タッチスクリーン130に対するユーザの入力操作が移動操作である場合、ゲームに登場するキャラクタであるゲームキャラクタを移動させる入力操作の操作内容を検出する。移動操作とは、ゲームキャラクタの移動方向を指示する入力操作であり、方向性のある操作である。移動操作の一例としては、所定条件下のドラッグ操作又はフリック操作である。例えばゲームプログラム151がアクションゲームである場合、移動方向検出部193は、ユーザのドラッグ操作又はフリック操作に基づいて、ゲームキャラクタを移動させる方向を検出する。   When the user input operation on the touch screen 130 is a movement operation, the movement direction detection unit 193 detects the operation content of the input operation for moving a game character that is a character appearing in the game. The moving operation is an input operation for instructing the moving direction of the game character, and is a directional operation. An example of the moving operation is a drag operation or a flick operation under a predetermined condition. For example, when the game program 151 is an action game, the movement direction detection unit 193 detects the direction in which the game character is moved based on the user's drag operation or flick operation.

具体的には、移動方向検出部193は、タッチスクリーン130からユーザの指が離れた状態から、ユーザが指をタッチスクリーン130に接近させて、入力操作受付部191がタッチパネル131にユーザの指が接近したことを検出した座標を初期タッチ位置として、ユーザがドラッグ操作を行った場合に、初期タッチ位置の座標とタッチスクリーン130の検出結果とに基づいて、ゲームキャラクタの移動方向を検出する。移動方向検出部193の詳細な処理は、後述する。   Specifically, the movement direction detection unit 193 causes the user to move the finger closer to the touch screen 130 from a state in which the user's finger is separated from the touch screen 130, and the input operation reception unit 191 causes the touch panel 131 to move the user's finger. When the user performs a drag operation using the detected coordinates as the initial touch position, the moving direction of the game character is detected based on the initial touch position coordinates and the detection result of the touch screen 130. Detailed processing of the movement direction detection unit 193 will be described later.

カメラ配置制御部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 placement control unit 194 controls the placement and shooting direction (camera work) of the virtual camera in the virtual space generated by the control unit 190 reading and executing the game program 151. The arrangement and shooting direction of the virtual camera are defined by the coordinates and direction of the virtual space. The control unit 190 provides the game play environment to the user by displaying the captured image of the virtual camera in the virtual space on the display 132.

オブジェクト制御部195は、携帯端末10がゲームプログラム151を実行することにより進行されるゲームに登場する各種オブジェクト、及び、入力操作受付部191が受け付けたユーザの操作内容に基づいて生成される各種オブジェクト(例えば、GUI(Graphical User Interface)画面など)の生成、変形、移動などの処理を制御する。オブジェクト制御部195は、例えば、タッチスクリーン130に対する入力操作に基づいて、ユーザの操作を示す操作オブジェクトを生成する。操作オブジェクトの詳細については後述する。   The object control unit 195 includes various objects that appear in a game that is progressed by the mobile terminal 10 executing the game program 151, and various objects that are generated based on the user operation content received by the input operation receiving unit 191. Processes such as generation, transformation, and movement (for example, a GUI (Graphical User Interface) screen) are controlled. For example, the object control unit 195 generates an operation object indicating a user operation based on an input operation on the touch screen 130. Details of the operation object will be described later.

表示制御部196は、仮想カメラのカメラワークに従った画像をディスプレイ132に出力する。表示制御部196は、仮想空間内における仮想カメラの配置及び撮影方向に応じて、ディスプレイ132の表示内容を決定し、決定した表示内容に従う画像、テキストなどの各種の情報をディスプレイ132に出力する。   The display control unit 196 outputs an image according to the camera work of the virtual camera to the display 132. The display control unit 196 determines the display content of the display 132 according to the placement and shooting direction of the virtual camera in the virtual space, and outputs various types of information such as images and text according to the determined display content to the display 132.

図3は、サーバ20の機能的な構成を示すブロック図である。図3を参照して、サーバ20の詳細な構成を説明する。サーバ20は、一般的なコンピュータとして構成され、プログラムに従って動作することにより、通信部220と、記憶部250と、制御部290としての機能を発揮する。   FIG. 3 is a block diagram illustrating a functional configuration of the server 20. The detailed configuration of the server 20 will be described with reference to FIG. The server 20 is configured as a general computer and functions as the communication unit 220, the storage unit 250, and the control unit 290 by operating according to a program.

通信部220は、通信機器であり、サーバ20が携帯端末10などの外部の通信機器と通信するためのインタフェースとして機能する。   The communication unit 220 is a communication device, and functions as an interface for the server 20 to communicate with an external communication device such as the mobile terminal 10.

記憶部250は、記憶装置であり、携帯端末10においてユーザがゲームを進行させるための各種プログラム及びデータを記憶する。ある局面において、記憶部250は、ゲームプログラム251と、ゲーム情報252と、ユーザ情報253とを記憶する。   The storage unit 250 is a storage device, and stores various programs and data for the user to advance the game in the mobile terminal 10. In one aspect, the storage unit 250 stores a game program 251, game information 252, and user information 253.

ゲームプログラム251は、サーバ20が携帯端末10と通信して、携帯端末10においてゲームを進行させるためのプログラムである。ゲームプログラム251は、ゲームを進行させるための各種データであるゲーム情報252及びユーザ情報253などを参照して、ユーザの入力操作に応じてゲームを進行させる。ゲームプログラム251は、制御部290に実行されることにより、携帯端末10とデータを送受信する処理、携帯端末10のユーザが行った操作内容に応じてゲームを進行させる処理、ゲームをプレイするユーザの情報を更新する処理、その他の処理をサーバ20に行わせる。   The game program 251 is a program for allowing the server 20 to communicate with the mobile terminal 10 and advance the game on the mobile terminal 10. The game program 251 refers to the game information 252 and user information 253 that are various data for proceeding with the game, and causes the game to proceed according to the user's input operation. The game program 251 is executed by the control unit 290, thereby processing to transmit / receive data to / from the mobile terminal 10, processing to advance the game in accordance with the operation content performed by the user of the mobile terminal 10, and user's playing the game The server 20 is caused to perform processing for updating information and other processing.

ゲーム情報252は、ゲームプログラム251が参照する各種のデータを含む。ゲーム情報252は、オブジェクト管理テーブル252Aと、パッシブスキル管理テーブル252Bと、アクティブスキル管理テーブル252Cとを含む。   The game information 252 includes various data referred to by the game program 251. The game information 252 includes an object management table 252A, a passive skill management table 252B, and an active skill management table 252C.

オブジェクト管理テーブル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 game program 151, the mobile terminal 10 causes the display 132 to display an image photographed by the virtual camera disposed in the virtual space and the object disposed in the virtual space to advance the game. .

ここで、オブジェクトとしては、例えば、ユーザが操作するゲームキャラクタを示すオブジェクト、ゲームキャラクタが装着する対象物を示すオブジェクトなど様々なものがある。これらオブジェクトは、ユーザがタッチスクリーン130に対して予め定められた入力操作を行うこと、ゲームの進行に伴い一定の条件を満たすこと、その他の様々な事象の発生を契機として、オブジェクトに対応付けられた処理が行われる。   Here, there are various objects such as an object indicating a game character operated by the user and an object indicating an object worn by the game character. These objects are associated with objects when the user performs a predetermined input operation on the touch screen 130, meets certain conditions as the game progresses, and other various events occur. Processing is performed.

例えば、あるオブジェクトに対してユーザがタッチスクリーン130に対して接近操作を行うことで、オブジェクトがユーザに選択された状態となる。また、例えば、ユーザがタップ操作を行うことで、ユーザに選択されているオブジェクトがユーザの入力操作に応じて攻撃するなどの処理が行われる。また、例えば、ユーザがドラッグ操作を行うことで、ユーザに選択されているオブジェクトがユーザの入力操作に応じて移動するなどの処理が行われる。また、例えば、ユーザがオブジェクトに対してロングタッチ操作をすることで、ユーザに対し、ゲームを有利に進めるための報酬が付与されるなどの処理が行われる。   For example, when the user performs an approach operation on the touch screen 130 with respect to an object, the object is selected by the user. In addition, for example, when the user performs a tap operation, an object selected by the user attacks according to the user's input operation. Further, for example, when the user performs a drag operation, a process such as moving an object selected by the user according to the user's input operation is performed. In addition, for example, when the user performs a long touch operation on the object, a process is performed such that a reward for favoring the game is given to the user.

パッシブスキル管理テーブル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 user information 253 is information about the user who plays the game. The user information 253 includes a user management table 253A. The user management table 253A includes information for identifying each user, information indicating the degree of progress of the game by the user, information held by the user in the game, game characters, information used by the game character, and the like. Information.

制御部290は、記憶部250に記憶されるゲームプログラム251を実行することにより、送受信部291、サーバ処理部292、データ管理部293、マッチング部294、計測部295としての機能を発揮する。   The control unit 290 executes functions of the transmission / reception unit 291, the server processing unit 292, the data management unit 293, the matching unit 294, and the measurement unit 295 by executing the game program 251 stored in the storage unit 250.

送受信部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 game program 151, and transmits various types of information to the mobile terminal 10. The mobile terminal 10 and the server 20 include a request to place an object associated with the user in the virtual space, a request to delete the object, a request to move the object, a request to update various parameters according to a reward acquired by the user, Information such as an image, audio, and other data for advancing, and a notification transmitted from the server 20 to the mobile terminal 10 are transmitted and received.

サーバ処理部292は、サーバ20全体の動作を制御し、各種のプログラムを呼び出すなどによりゲームの進行に必要な処理を行う。サーバ処理部292は、例えば、携帯端末10から受信した情報に基づいて、ゲーム情報252、ユーザ情報253などのデータを更新し、携帯端末10に各種データを送信することでゲームを進行させる。   The server processing unit 292 controls the operation of the entire server 20 and performs processing necessary for the progress of the game by calling various programs. For example, the server processing unit 292 updates data such as the game information 252 and the user information 253 based on information received from the mobile terminal 10, and transmits various data to the mobile terminal 10 to advance the game.

データ管理部293は、サーバ処理部292の処理結果に従って、記憶部250に記憶される各種データを更新する処理、データベースにレコードを追加/更新/削除する処理などを行う。   The data management unit 293 performs processing for updating various data stored in the storage unit 250, processing for adding / updating / deleting records to the database, and the like according to the processing result of the server processing unit 292.

マッチング部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 measurement unit 295 performs processing for measuring time. For example, the measurement unit 295 measures the passage of time for each object arranged in the virtual space. Moreover, the measurement part 295 measures the time for which the game is progressing. The server 20 receives information on various measurement results measured by executing the game program 151 on the mobile terminal 10 from the mobile terminal 10, and collates the received information with the measurement results of the measurement unit 295. The information regarding various times is synchronized between the mobile terminal 10 and the server 20.

[実施形態の構成のまとめ]
以上のように、実施形態のゲーム提供システム1の構成を説明してきた。本実施形態において、ゲームプログラム151は、例えばアクションゲームであり、仮想空間内の仮想カメラの配置及び撮影方向に応じた画像をタッチスクリーン130に表示させることでゲームを進行させる。
[Summary of Configuration of Embodiment]
As described above, the configuration of the game providing system 1 according to the embodiment has been described. In the present embodiment, the game program 151 is, for example, an action game, and the game is advanced by causing the touch screen 130 to display an image corresponding to the arrangement and shooting direction of the virtual camera in the virtual space.

例えば、ゲームプログラム151がアクションゲームである場合、ゲーム進行処理部192は、ユーザの操作に応じてストーリーを進行させ、画像、テキストなどディスプレイ132に表示するデータを決定する処理、交戦相手又は仲間の選択をユーザから受け付ける処理、ユーザの操作に応じてアクションゲームを進める処理などの基本的な処理を行う。   For example, when the game program 151 is an action game, the game progress processing unit 192 advances the story according to the user's operation, determines the data to be displayed on the display 132 such as an image or text, Basic processing such as processing for accepting selection from the user and processing for advancing the action game in accordance with the user's operation is performed.

例えば、ゲームプログラム151がアクションゲームである場合、カメラ配置制御部194は、アクションゲームを行うための仮想空間における仮想カメラの配置位置及び撮影方向を、アクションゲームの進展に応じて、逐次、決定する。カメラ配置制御部194は、仮想カメラのカメラワークを制御する。カメラ配置制御部194の詳細な処理は、後述する。   For example, when the game program 151 is an action game, the camera placement control unit 194 sequentially determines the placement position and shooting direction of the virtual camera in the virtual space for playing the action game according to the progress of the action game. . The camera arrangement control unit 194 controls camera work of the virtual camera. Detailed processing of the camera arrangement control unit 194 will be described later.

例えば、表示制御部196は、ゲームキャラクタを一定領域に表示させるよう仮想カメラを配置した状態で、ゲームキャラクタに第1の動作(例えば、移動動作)を行わせるための入力操作を受け付けて、受け付けた入力操作に応じてゲームキャラクタに第1の動作を行わせる画面表示をする。   For example, the display control unit 196 receives and accepts an input operation for causing the game character to perform a first action (for example, a movement action) in a state where a virtual camera is arranged to display the game character in a certain area. In response to the input operation, the game character is displayed on the screen.

[動作]
図面を参照して、実施形態のゲーム提供システム1を構成する各装置の動作を説明する。
[Operation]
With reference to drawings, operation | movement of each apparatus which comprises the game provision system 1 of embodiment is demonstrated.

(入力操作の検知)
図4は、入力操作受付部191が入力操作の種類を検知する処理を説明する図である。図4の例では、ユーザ情報153を記憶する記憶部150の配列fp[0]〜配列fp[10]までの11個の配列のそれぞれに、タッチパネル131により検知されたタッチスクリーン130上の位置を示す履歴情報が格納されている。履歴情報は、所定の期間毎(例えば、フレームレート毎)に履歴情報テーブルに格納される。履歴情報が格納される配列の個数は限定されず、任意の個数であってよい。また、履歴情報テーブルでは、タッチオフからタッチオンになった場合に検知された履歴情報を、初期位置座標として記憶部150に記憶してもよい。
(Detection of input operation)
FIG. 4 is a diagram illustrating processing in which the input operation receiving unit 191 detects the type of input operation. In the example of FIG. 4, the position on the touch screen 130 detected by the touch panel 131 is set in each of 11 arrays from the array fp [0] to the array fp [10] of the storage unit 150 that stores the user information 153. The history information shown is stored. The history information is stored in the history information table every predetermined period (for example, every frame rate). The number of arrays in which history information is stored is not limited and may be any number. In the history information table, history information detected when touch-on is performed from touch-off may be stored in the storage unit 150 as initial position coordinates.

図4に示されるように、例えば、配列fp[0]〜配列fp[9]に、履歴情報(x0、y0)が格納されており、配列fp[10]にnull値が格納された場合、入力操作受付部191は、入力操作はタップ操作であると判別する。また、例えば、タッチナウ状態において履歴情報が変化した後に、null値が格納された場合、入力操作受付部191はnull値が格納された配列fp[5]の直前の配列fp[3]および配列fp[4]に格納されている履歴情報を参照する。そして、入力操作受付部191は、配列fp[3]および配列fp[4]の履歴情報がそれぞれ示す位置の間の距離が予め設定された閾値以上である場合、入力操作はフリック操作であると判別する。また、入力操作受付部191は、タッチナウ状態において履歴情報が変化した後に、例えば配列fp[4]〜fp[10]に履歴情報(x15、y15)が格納された場合、入力操作はドラッグ操作であると判別する。   As illustrated in FIG. 4, for example, when history information (x0, y0) is stored in the array fp [0] to the array fp [9] and a null value is stored in the array fp [10], The input operation reception unit 191 determines that the input operation is a tap operation. For example, when the null value is stored after the history information is changed in the touch now state, the input operation reception unit 191 has the array fp [3] and the array fp immediately before the array fp [5] in which the null value is stored. Refer to the history information stored in [4]. The input operation reception unit 191 determines that the input operation is a flick operation when the distance between the positions indicated by the history information of the arrays fp [3] and fp [4] is greater than or equal to a preset threshold value. Determine. Further, after the history information changes in the touch now state, for example, when the history information (x15, y15) is stored in the arrays fp [4] to fp [10], the input operation reception unit 191 performs the input operation by a drag operation. Determine that there is.

(移動方向の検知)
図5は、移動方向検出部193がユーザの入力操作に応じてゲームキャラクタを移動させる方向を検出する処理を説明する図である。移動方向検出部193は、ユーザがタッチスクリーン130を押していない状態から、指などをタッチパネル131に接近させてタッチスクリーン130を押した位置(初期タッチ位置)を起点と設定する。入力操作受付部191は、ユーザの操作をドラッグ操作と判別している場合に、起点となる座標と、タッチスクリーン130がユーザの指などの接近を検出している座標とに基づいて、ゲームキャラクタを移動させる方向を検出する。
(Detection of moving direction)
FIG. 5 is a diagram illustrating a process in which the moving direction detection unit 193 detects a direction in which the game character is moved in accordance with a user input operation. The movement direction detection unit 193 sets a position (initial touch position) where the user presses the touch screen 130 by bringing a finger or the like closer to the touch panel 131 from the state where the user is not pressing the touch screen 130 as a starting point. When the input operation reception unit 191 determines that the user's operation is a drag operation, the input operation receiving unit 191 determines the game character based on the coordinates that are the starting point and the coordinates that the touch screen 130 detects the approach of the user's finger or the like. The direction to move is detected.

図5の状態(A)は、タッチスクリーン130からユーザの指が離れた状態から、ユーザが指をタッチスクリーン130に接近させた状態を示す。入力操作受付部191は、ユーザの指がタッチパネル131に接近したことを検出し、検出した座標を初期タッチ位置として記憶部150にユーザ情報153として保持する。   A state (A) in FIG. 5 shows a state in which the user brings his / her finger closer to the touch screen 130 from a state in which the user's finger has left the touch screen 130. The input operation reception unit 191 detects that the user's finger has approached the touch panel 131 and stores the detected coordinates as user information 153 in the storage unit 150 as an initial touch position.

図5の例では、記憶部150が保持する初期タッチ位置の座標を、初期タッチ位置座標155として示す。入力操作受付部191は、タッチスクリーン130の検出結果(ユーザの指がタッチスクリーン130に接近している座標、及び、ユーザの指がタッチスクリーン130に接近していることを検出していないこと(検出結果「null」))を、一定フレーム分、ユーザ情報153としてバッファメモリに格納する。バッファメモリは、タッチスクリーン130における検出結果を、各フレームについて一定フレーム分(図5の例では、配列fp〔0〕〜配列fp〔10〕までの11フレーム分)、格納することができる。バッファメモリは、例えばリングバッファとして実現することができる。   In the example of FIG. 5, the coordinates of the initial touch position held by the storage unit 150 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 touch screen 130 and the fact that the user's finger is approaching the touch screen 130 ( The detection result “null”)) is stored in the buffer memory as user information 153 for a certain number of frames. The buffer memory can store the detection results on the touch screen 130 for each frame (in the example of FIG. 5, 11 frames from the array fp [0] to the array fp [10] in the example of FIG. 5). The buffer memory can be realized as a ring buffer, for example.

状態(A)の例では、ユーザがタッチスクリーン130を押した位置を、押下位置30A(タッチスクリーン130の座標(x0,y0))として示す。   In the example of the state (A), the position where the user pressed the touch screen 130 is shown as a pressed position 30A (coordinates (x0, y0) of the touch screen 130).

図5の状態(B)は、ユーザがタッチスクリーン130に対してドラッグ操作を行って、タッチスクリーン130に対する押下位置を、押下位置30Aから押下位置30B(タッチスクリーン130の座標(x9,y9))まで10フレーム(配列fp〔0〕〜配列fp〔9〕までの10フレーム分)で移動させたことを示す。入力操作受付部191は、タッチスクリーン130の検出結果をユーザ情報153としてバッファメモリに格納し、バッファメモリに保持される値を参照して、タッチスクリーン130に対するユーザの操作をドラッグ操作と判別する。   In the state (B) of FIG. 5, the user performs a drag operation on the touch screen 130, and the pressing position on the touch screen 130 is changed from the pressing position 30A to the pressing position 30B (coordinates (x9, y9) of the touch screen 130). It is shown that the frame is moved by 10 frames (10 frames from array fp [0] to array fp [9]). The input operation reception unit 191 stores the detection result of the touch screen 130 in the buffer memory as user information 153, and refers to the value held in the buffer memory to determine that the user's operation on the touch screen 130 is a drag operation.

図5の状態(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. 5, the position where the user is pressing the touch screen 130 is set to 5 frames (array fp [10], from the pressed position 30B to the pressed position 30C (coordinates (x14, y14) of the touch screen 130), This indicates that the movement is performed by 5 frames (fp [0], fp [1], fp [2], and fp [3]).

図5の状態(D)は、移動方向検出部193が、状態(B)及び状態(C)のそれぞれにおいて、ユーザがゲームキャラクタを移動させる方向を指定する入力操作の検出結果を示す。移動方向検出部193は、バッファメモリにおいて、タッチスクリーン130が検出する押下位置の座標を書き込む対象となるメモリ領域がいずれであるかを示す情報(バッファメモリの書き込み位置)を管理している。   The state (D) of FIG. 5 shows the detection result of the input operation in which the movement direction detection unit 193 designates the direction in which the user moves the game character in each of the state (B) and the state (C). The movement direction detection unit 193 manages information (buffer memory writing position) indicating which memory area is the target of writing the coordinates of the pressed position detected by the touch screen 130 in the buffer memory.

状態(B)において、移動方向検出部193は、入力操作受付部191の判別結果に基づいて、初期タッチ位置を示す座標31A(座標(x0,y0))から座標31B(座標(x9,y9))までユーザがドラッグ操作を行ったことを検出する。移動方向検出部193は、初期タッチ位置の座標31Aを起点として、座標31Aと座標31Bとによって規定されるベクトル32B((y9−y0)/(x9−x0))を、ゲームキャラクタを移動させる方向として検出する。   In the state (B), the movement direction detection unit 193 determines from the coordinate 31A (coordinate (x0, y0)) indicating the initial touch position to the coordinate 31B (coordinate (x9, y9)) based on the determination result of the input operation reception unit 191. ) Until the user performs a drag operation. The moving direction detection unit 193 moves the game character in a vector 32B ((y9-y0) / (x9-x0)) defined by the coordinates 31A and the coordinates 31B, starting from the coordinates 31A of the initial touch position. Detect as.

状態(C)において、移動方向検出部193は、入力操作受付部191の判別結果に基づいて、座標31B(座標(x9,y9))から座標31C(座標(x14,y14))までユーザがドラッグ操作を行ったことを検出する。移動方向検出部193は、初期タッチ位置の座標31Aを起点として、座標31Aと座標31Cとによって規定されるベクトル32C((y14−y0)/(x14−x0))を、ゲームキャラクタを移動させる方向として検出する。   In the state (C), the movement direction detection unit 193 drags the user from the coordinate 31B (coordinate (x9, y9)) to the coordinate 31C (coordinate (x14, y14)) based on the determination result of the input operation reception unit 191. Detects that an operation has been performed. The movement direction detection unit 193 moves the game character along a vector 32C ((y14−y0) / (x14−x0)) defined by the coordinates 31A and the coordinates 31C, starting from the coordinates 31A of the initial touch position. Detect as.

このように、移動方向検出部193は、ユーザの指が接近していない状態からタッチスクリーン130に接近したことを検出した第1のタッチ位置から、接近していることを検出したまま第2のタッチ位置へ検出位置が移動した場合に、接近していることを検出している間、第1のタッチ位置を起点とし第2のタッチ位置へ向かう方向である操作方向を、ゲームキャラクタCA1の仮想空間における移動方向として決定する。   As described above, the moving direction detection unit 193 detects the approach from the first touch position where it is detected that the user's finger is not approaching from the state where the user's finger is approaching, while the second approach is detected. When the detection position moves to the touch position, while detecting the approach, the operation direction, which is the direction from the first touch position to the second touch position, is assumed to be the virtual character of the game character CA1. It is determined as the moving direction in space.

(仮想カメラの制御)
図6は、カメラ配置制御部194が仮想カメラVCを制御する処理を説明する図である。図6では、仮想カメラVCがゲームキャラクタCA1を背後から追尾するカメラワークを説明する。図6の状態(A)では、ゲームキャラクタCA1が方向D1(移動方向)に向かって移動する様子が示されている。例えば、入力操作受付部191がユーザによる入力操作をドラッグ操作と判定し、移動方向検出部193がゲームキャラクタCA1の移動方向を方向D1と検出したとき、オブジェクト制御部195は、ゲームキャラクタCA1の正面を方向D1に向け、ゲームキャラクタCA1を方向D1へ移動させる。カメラ配置制御部194は、ゲームキャラクタCA1の背後から追尾するように、仮想カメラVCの配置位置及び撮影方向を制御する。ゲームキャラクタCA1の背後から追尾する場合、カメラ配置制御部194は、撮影方向DVとゲームキャラクタCA1の向き(方向D1)とがなす角度θ1(対応関係)は0°となる。カメラ配置制御部194は、カメラ視界の中央付近にゲームキャラクタCA1が表示されるように、仮想カメラVCを配置する。
(Control of virtual camera)
FIG. 6 is a diagram illustrating a process in which the camera arrangement control unit 194 controls the virtual camera VC. In FIG. 6, the camera work in which the virtual camera VC tracks the game character CA1 from behind will be described. In the state (A) of FIG. 6, the game character CA1 is shown moving in the direction D1 (movement direction). For example, when the input operation accepting unit 191 determines that the input operation by the user is a drag operation and the movement direction detection unit 193 detects the movement direction of the game character CA1 as the direction D1, the object control unit 195 displays the front of the game character CA1. Is directed in the direction D1, and the game character CA1 is moved in the direction D1. The camera arrangement control unit 194 controls the arrangement position and shooting direction of the virtual camera VC so as to track from behind the game character CA1. When tracking from behind the game character CA1, the camera arrangement control unit 194 makes an angle θ1 (corresponding relationship) between the shooting direction DV and the direction of the game character CA1 (direction D1) 0 °. The camera arrangement control unit 194 arranges the virtual camera VC so that the game character CA1 is displayed near the center of the camera view.

図6の状態(B)では、ユーザによるドラッグ操作により移動方向が方向D1から方向D2へ変更された様子を示す。この場合、オブジェクト制御部195は、ゲームキャラクタCA1の正面を方向D2に向け、ゲームキャラクタCA1を方向D2へ移動させる。このとき、カメラ配置制御部194は、撮影方向DVとゲームキャラクタCA1の向き(方向D1)とがなす角度θ1(対応関係)が0°となるように、仮想カメラVCの配置位置及び撮影方向DVを変更する。なお、カメラ配置制御部194は、変化前後の移動方向の変化角度θ2を検出し、検出された変化角度θ2を仮想カメラVCの変化角度θ3としてもよい。   The state (B) in FIG. 6 shows a state where the moving direction is changed from the direction D1 to the direction D2 by a drag operation by the user. In this case, the object control unit 195 moves the game character CA1 in the direction D2 while facing the front of the game character CA1 in the direction D2. At this time, the camera arrangement control unit 194 arranges the virtual camera VC and the shooting direction DV so that an angle θ1 (corresponding relationship) between the shooting direction DV and the direction (direction D1) of the game character CA1 is 0 °. To change. Note that the camera arrangement control unit 194 may detect the change angle θ2 in the movement direction before and after the change, and may use the detected change angle θ2 as the change angle θ3 of the virtual camera VC.

このように、カメラ配置制御部194は、ユーザによる入力操作に応じて移動方向が変化するゲームキャラクタCA1を背後から追尾するようなカメラワークを提供する。   As described above, the camera arrangement control unit 194 provides camera work for tracking the game character CA1 whose movement direction changes according to the input operation by the user from behind.

(移動操作時の画面例)
図7は、ユーザによる入力操作に応じて変化するカメラワーク及び操作オブジェクトを説明する図である。画面例(A)〜画面例(D)は、タッチスクリーン130に表示された画像である。画面例(A)〜画面例(D)では、表示制御部196が、カメラ配置制御部194によりゲームキャラクタCA1の背後から撮影された画像を、タッチスクリーン130に表示させている。入力操作受付部191によりユーザによる入力操作が受け付けられたとき、オブジェクト制御部195は、ユーザの入力操作に応じて操作オブジェクトを生成する。表示制御部196は、仮想カメラVCにより撮影された画像上に操作オブジェクトを重畳させて、タッチスクリーン130に表示させる。
(Example of screen when moving)
FIG. 7 is a diagram for explaining camera work and operation objects that change in response to an input operation by a user. Screen examples (A) to (D) are images displayed on the touch screen 130. In the screen examples (A) to (D), the display control unit 196 causes the touch screen 130 to display an image taken from behind the game character CA1 by the camera arrangement control unit 194. When an input operation by the user is received by the input operation receiving unit 191, the object control unit 195 generates an operation object according to the user's input operation. The display control unit 196 causes the operation object to be superimposed on the image captured by the virtual camera VC and displayed on the touch screen 130.

画面例(A)は、ユーザがタッチスクリーン130に指などを接近させた操作をしたときの画面の一例である。入力操作受付部191によりユーザがタッチスクリーン130の第1位置300Aに指などを接近させた操作をしたと判定されたとき、オブジェクト制御部195は、入力操作に応答して円形の操作オブジェクト300を生成する。表示制御部196は、生成された円形の操作オブジェクト300をタッチ位置である第1位置300Aに表示させる。画面例(A)では、撮影方向を方向VD1、ゲームキャラクタCA1の向きを方向CD1で示している。撮影方向である方向VD1とゲームキャラクタCA1の向きである方向CD1の対応関係(なす角度)は0°である。   The screen example (A) is an example of a screen when the user performs an operation with a finger or the like approaching the touch screen 130. When it is determined by the input operation receiving unit 191 that the user has performed an operation with a finger or the like approaching the first position 300A of the touch screen 130, the object control unit 195 moves the circular operation object 300 in response to the input operation. Generate. The display control unit 196 displays the generated circular operation object 300 at the first position 300A that is the touch position. In the screen example (A), the shooting direction is indicated by the direction VD1, and the direction of the game character CA1 is indicated by the direction CD1. The correspondence (angle formed) between the direction VD1 as the shooting direction and the direction CD1 as the direction of the game character CA1 is 0 °.

画面例(B)は、画面例(A)の第1位置300Aを起点としてユーザがドラッグ操作をしたときの画面の一例である。入力操作受付部191は、起点である第1位置300Aから終点である第2位置300Bまでのドラッグ操作を受け付ける。入力操作受付部191によりドラッグ操作が受け付けられた場合、オブジェクト制御部195は、ドラッグ操作の操作結果を示す操作オブジェクト300を生成する。ドラッグ操作の操作結果を示す操作オブジェクト300は、ドラッグ操作の起点となる位置と終点となる位置とを関連付けることで、操作結果(例えば操作方向)を表現する。画面例(B)の例では、オブジェクト制御部195は、起点及び終点に対応する位置に操作オブジェクト300の端部がそれぞれ位置するように、第1位置300Aから第2位置300Bに至るまで引き延ばされた操作オブジェクト300を生成している。表示制御部196は、引き延ばされた操作オブジェクト300をタッチスクリーン130に表示させる。この状態における操作方向及び撮影方向が図示されている。操作方向は方向SD1(図中右上方向)であり、撮影方向は方向VD1(図中上方向)である。方向SD1と方向VD1とのなす角はθ4である。   Screen example (B) is an example of a screen when the user performs a drag operation starting from first position 300A of screen example (A). The input operation accepting unit 191 accepts a drag operation from the first position 300A as a starting point to the second position 300B as an end point. When the drag operation is received by the input operation receiving unit 191, the object control unit 195 generates an operation object 300 indicating the operation result of the drag operation. The operation object 300 indicating the operation result of the drag operation expresses the operation result (for example, the operation direction) by associating the position that is the starting point of the drag operation and the position that is the end point. In the example of the screen example (B), the object control unit 195 extends from the first position 300A to the second position 300B so that the end of the operation object 300 is located at the position corresponding to the start point and the end point. The extended operation object 300 is generated. The display control unit 196 displays the extended operation object 300 on the touch screen 130. The operation direction and shooting direction in this state are shown. The operation direction is a direction SD1 (upper right direction in the figure), and the shooting direction is a direction VD1 (upward direction in the figure). The angle formed by the direction SD1 and the direction VD1 is θ4.

さらに、移動方向検出部193は、ドラッグ操作が受け付けられた場合、ゲームキャラクタCA1の移動方向を、操作方向である方向SD1と同一の方向に決定する。オブジェクト制御部195は、ゲームキャラクタCA1を移動方向に向け、移動を開始させる。   Furthermore, when the drag operation is accepted, the movement direction detection unit 193 determines the movement direction of the game character CA1 as the same direction as the direction SD1 that is the operation direction. The object control unit 195 directs the game character CA1 in the moving direction and starts moving.

画面例(B)においてゲームキャラクタCA1の向きが変更されると、カメラ配置制御部194は、ゲームキャラクタCA1の背後を追尾するように仮想カメラVCの配置位置及び撮影方向を制御する。具体的には、方向SD1と方向VD1とのなす角であるθ4分だけ、撮影方向が注視点(ゲームキャラクタCA1)を中心として右回転する。さらに、仮想カメラVCの配置位置は、ゲームキャラクタCA1又は移動目的地が画面の中央にくるように制御される。これにより、タッチスクリーン130に表示される画像は、画面例(B)から画面例(C)へ遷移する。   When the orientation of the game character CA1 is changed in the screen example (B), the camera placement control unit 194 controls the placement position and shooting direction of the virtual camera VC so as to track the back of the game character CA1. Specifically, the shooting direction rotates clockwise around the point of sight (game character CA1) by θ4, which is an angle formed by the direction SD1 and the direction VD1. Further, the arrangement position of the virtual camera VC is controlled so that the game character CA1 or the moving destination is at the center of the screen. Thereby, the image displayed on the touch screen 130 changes from the screen example (B) to the screen example (C).

画面例(C)は、画面例(B)における仮想カメラの撮影方向を変更したときの画面の一例である。画面例(C)に示されるように、仮想カメラVCの撮影方向が方向VD1から方向VD2へ変更されたとき、画面例(B)におけるユーザによる操作方向である方向SD1、つまり、操作オブジェクト300の延在方向(伸び方向)は、ゲームの仮想空間内において変更されることになる。画面例(C)において、操作方向は、方向SD1と方向VD1とのなす角であるθ4分だけ右回転された方向SD2となる。このため、移動方向検出部193は、操作方向と移動方向との対応関係が仮想カメラVCの撮影方向の変更前後で維持されるように、操作方向の起点の位置を変更する。さらに、オブジェクト制御部195は、操作方向と移動方向との対応関係が仮想カメラVCの撮影方向の変更前後で維持されるように、操作オブジェクト300の起点の位置を変更する。   Screen example (C) is an example of a screen when the shooting direction of the virtual camera in screen example (B) is changed. As shown in the screen example (C), when the shooting direction of the virtual camera VC is changed from the direction VD1 to the direction VD2, the direction SD1 that is the operation direction by the user in the screen example (B), that is, the operation object 300 The extending direction (extension direction) is changed in the virtual space of the game. In the screen example (C), the operation direction is a direction SD2 that is rotated to the right by θ4, which is an angle formed by the direction SD1 and the direction VD1. For this reason, the movement direction detection unit 193 changes the position of the starting point of the operation direction so that the correspondence between the operation direction and the movement direction is maintained before and after the change of the shooting direction of the virtual camera VC. Furthermore, the object control unit 195 changes the position of the starting point of the operation object 300 so that the correspondence between the operation direction and the movement direction is maintained before and after the change of the shooting direction of the virtual camera VC.

画面例(D)は、操作方向の起点の位置、及び、操作オブジェクト300の起点の位置を変更したときの画面の一例である。移動方向検出部193は、3つの手法の何れかを用いて、操作方向の起点の位置を変更する。   The screen example (D) is an example of a screen when the position of the starting point in the operation direction and the position of the starting point of the operation object 300 are changed. The movement direction detection unit 193 changes the position of the starting point in the operation direction using any of the three methods.

第1の手法は、相対量を用いる手法である。移動方向検出部193は、撮影方向の変更前(画面例(A))における撮影方向(方向VD1)とゲームキャラクタCA1の向きとがなす角度を相対量とする。カメラ配置制御部194は、ゲームキャラクタCA1の背後から追尾する場合、撮影方向DVとゲームキャラクタCA1の向きとがなす角度θ1(相対量)を0°に設定している。このため、移動方向検出部193は、操作方向と撮影方向(方向VD2)とのなす角度が0°となるように、操作方向の起点の位置を変更する。これにより、操作方向の起点の位置が第1位置300Aから第2位置300Cへ変更される。同様に、オブジェクト制御部195は、操作オブジェクト300の伸び方向と撮影方向(方向VD2)とのなす角度が0°となるように、操作オブジェクト300の端部の位置を変更する。これにより、操作オブジェクト300の端部の位置は、第1位置300Aから第2位置300Cへ変更される。第1の手法により、画面例(D)において、ゲームキャラクタCA1の移動方向と操作方向とが一致する。   The first method is a method using a relative amount. The movement direction detection unit 193 uses the angle formed by the shooting direction (direction VD1) and the direction of the game character CA1 before the change of the shooting direction (screen example (A)) as a relative amount. When tracking from behind the game character CA1, the camera arrangement control unit 194 sets an angle θ1 (relative amount) between the shooting direction DV and the direction of the game character CA1 to 0 °. For this reason, the moving direction detection unit 193 changes the position of the starting point of the operation direction so that the angle formed by the operation direction and the shooting direction (direction VD2) is 0 °. Thereby, the position of the starting point in the operation direction is changed from the first position 300A to the second position 300C. Similarly, the object control unit 195 changes the position of the end of the operation object 300 so that the angle formed by the extension direction of the operation object 300 and the shooting direction (direction VD2) is 0 °. As a result, the position of the end of the operation object 300 is changed from the first position 300A to the second position 300C. According to the first method, the movement direction and the operation direction of the game character CA1 coincide with each other in the screen example (D).

第2の手法は、変化量を用いる手法である。移動方向検出部193は、撮影方向の変更前(画面例(A))における撮影方向(方向VD1)と撮影方向の変更後(画面例(C))における撮影方向(方向VD2)とのなす角度θ4(例えば右回転を正とする変化量)に基づいて、操作方向の起点の位置を変更する。移動方向検出部193は、操作方向である方向SD2を角度θ4だけ逆方向(左方向)に回転させるように操作方向の起点の位置を変更する。これにより、操作方向の起点の位置が第1位置300Aから第2位置300Cへ変更される。同様に、オブジェクト制御部195は、操作オブジェクト300の伸び方向を角度θ4だけ逆方向(左方向)に回転させるように操作オブジェクト300の端部の位置を変更する。これにより、操作オブジェクト300の端部の位置は、第1位置300Aから第2位置300Cへ変更される。第2の手法により、画面例(D)において、ゲームキャラクタCA1の移動方向と操作方向とが一致する。   The second method is a method using a change amount. The movement direction detection unit 193 forms an angle between the shooting direction (direction VD1) before the change of the shooting direction (screen example (A)) and the shooting direction (direction VD2) after the change of the shooting direction (screen example (C)). Based on θ4 (for example, the amount of change in which the rightward rotation is positive), the position of the starting point in the operation direction is changed. The movement direction detector 193 changes the position of the starting point of the operation direction so as to rotate the direction SD2 as the operation direction in the reverse direction (left direction) by the angle θ4. Thereby, the position of the starting point in the operation direction is changed from the first position 300A to the second position 300C. Similarly, the object control unit 195 changes the position of the end of the operation object 300 so that the extending direction of the operation object 300 is rotated in the reverse direction (left direction) by the angle θ4. As a result, the position of the end of the operation object 300 is changed from the first position 300A to the second position 300C. By the second method, the moving direction and the operation direction of the game character CA1 coincide with each other in the screen example (D).

第3の手法は、第1の手法の変形例であり、予め定められた固定値を用いる例である。第1の手法では、移動方向検出部193は、操作方向と撮影方向(方向VD2)とのなす角度が、撮影方向DVとゲームキャラクタCA1の向きとのなす角度θ1(相対量)と同一となるように制御している。ここで、相対量である角度θ1が0°の場合、つまり、仮想カメラVCがゲームキャラクタCA1の背後からゲームキャラクタCA1を撮影するように制御されている場合には、撮影方向DV及びゲームキャラクタCA1の向きは、タッチスクリーン130上において下から上へと向かう方向と必ず一致する。よって、移動方向検出部193は、操作方向の起点の位置を、操作方向がタッチスクリーン130上において下から上へと向かう方向と一致するように変更する。これにより、操作方向の起点の位置が第1位置300Aから第2位置300Cへ変更される。同様に、オブジェクト制御部195は、操作オブジェクト300の端部の位置を、操作オブジェクト300がタッチスクリーン130上において下から上へと向かう方向と一致するように変更する。これにより、操作オブジェクト300の端部の位置は、第1位置300Aから第2位置300Cへ変更される。第3の手法により、画面例(D)において、ゲームキャラクタCA1の移動方向と操作方向とが一致する。   The third method is a modification of the first method and uses a predetermined fixed value. In the first method, the movement direction detection unit 193 has the same angle θ1 (relative amount) between the shooting direction DV and the direction of the game character CA1 as the angle between the operation direction and the shooting direction (direction VD2). So that it is controlled. Here, when the angle θ1, which is a relative amount, is 0 °, that is, when the virtual camera VC is controlled to shoot the game character CA1 from behind the game character CA1, the shooting direction DV and the game character CA1. The direction of is always the same as the direction from bottom to top on the touch screen 130. Therefore, the movement direction detection unit 193 changes the position of the starting point of the operation direction so that the operation direction matches the direction from the bottom to the top on the touch screen 130. Thereby, the position of the starting point in the operation direction is changed from the first position 300A to the second position 300C. Similarly, the object control unit 195 changes the position of the end of the operation object 300 so that the operation object 300 matches the direction from the bottom to the top on the touch screen 130. As a result, the position of the end of the operation object 300 is changed from the first position 300A to the second position 300C. According to the third method, the movement direction and the operation direction of the game character CA1 coincide with each other in the screen example (D).

(移動操作時のフローチャート)
図8は、移動操作時の処理を説明するフローチャートである。図8のフローチャートは、制御部190がゲームプログラム151を実行することによりアクションゲームを進行させる処理を示すフローチャートである。
(Flow chart for moving operation)
FIG. 8 is a flowchart for explaining processing during a moving operation. The flowchart in FIG. 8 is a flowchart illustrating a process in which the control unit 190 advances the action game by executing the game program 151.

ステップS10において、制御部190は、入力操作が受け付けられたか否かを判定する。   In step S10, the control unit 190 determines whether an input operation has been accepted.

入力操作が受け付けられたと判定されると(ステップS10:Yes)、ステップS12において、制御部190は、初期タッチ位置に操作オブジェクトを表示させる(図7の画面例(A)に対応する)。オブジェクト制御部195は、入力操作に応答して円形の操作オブジェクト300を生成する。表示制御部196は、生成された円形の操作オブジェクト300をタッチ位置である第1位置300Aに表示させる。初期タッチ位置は、操作方向を決定する起点(操作オブジェクトの端部位置)の初期値となる。   If it is determined that the input operation has been accepted (step S10: Yes), in step S12, the control unit 190 displays an operation object at the initial touch position (corresponding to the screen example (A) in FIG. 7). The object control unit 195 generates a circular operation object 300 in response to the input operation. The display control unit 196 displays the generated circular operation object 300 at the first position 300A that is the touch position. The initial touch position is an initial value of a starting point (end position of the operation object) for determining the operation direction.

ステップS14において、制御部190は、入力操作がドラッグ操作であるか否かを判定する。制御部190は、タッチスクリーン130の履歴情報を用いて、ドラッグ操作であるか否かを判定する(図4参照)。   In step S14, the control unit 190 determines whether or not the input operation is a drag operation. The control unit 190 determines whether the operation is a drag operation using the history information of the touch screen 130 (see FIG. 4).

入力操作がドラッグ操作であると判定されると(ステップS14:Yes)、ステップS16において、制御部190は、起点(第1位置300A)からドラッグ方向(方向SD1)へ伸びる操作オブジェクト300を表示させる(図7の画面例(B)に対応する)。制御部190は、タッチスクリーン130の履歴情報を用いて、操作オブジェクト300を生成して、タッチスクリーン130に表示させる。   If it is determined that the input operation is a drag operation (step S14: Yes), in step S16, the control unit 190 displays the operation object 300 extending from the starting point (first position 300A) in the drag direction (direction SD1). (Corresponding to the screen example (B) in FIG. 7). The control unit 190 generates the operation object 300 using the history information of the touch screen 130 and displays the operation object 300 on the touch screen 130.

ステップS18において、制御部190は、タッチスクリーン130の履歴情報を用いて、ドラッグ操作のドラッグ方向(方向SD1)を検出する(図5参照)。そして、制御部190は、ドラッグ方向(方向SD1)に基づいてゲームキャラクタCA1の移動方向及びゲームキャラクタCA1の向きを決定する。そして、制御部190は、移動方向に従ってゲームキャラクタCA1をドラッグ方向(方向SD1)へ移動させる(図7の画面例(B)に対応する)。   In step S18, the control unit 190 detects the drag direction (direction SD1) of the drag operation using the history information of the touch screen 130 (see FIG. 5). Then, the control unit 190 determines the moving direction of the game character CA1 and the direction of the game character CA1 based on the drag direction (direction SD1). Then, the control unit 190 moves the game character CA1 in the drag direction (direction SD1) according to the movement direction (corresponding to the screen example (B) in FIG. 7).

ステップS20において、制御部190は、仮想カメラVCの撮影方向をゲームキャラクタCA1の向きと一致させる(図6及び図7の画面例(C)に対応する)。   In step S20, the control unit 190 matches the shooting direction of the virtual camera VC with the direction of the game character CA1 (corresponding to the screen examples (C) in FIGS. 6 and 7).

ステップS22において、制御部190は、操作方向の起点の位置及び操作オブジェクト300の端部位置を変更する(図7の画面例(D)に対応する)。制御部190は、相対量、変化量、又は、予め定められた方向を用いて操作方向の起点の位置及び操作オブジェクト300の起点の位置を第1位置300Aから第2位置300Cへ変更する。   In step S22, the control unit 190 changes the position of the starting point in the operation direction and the end position of the operation object 300 (corresponding to the screen example (D) in FIG. 7). The control unit 190 changes the position of the starting point of the operation direction and the position of the starting point of the operation object 300 from the first position 300A to the second position 300C using a relative amount, a change amount, or a predetermined direction.

ステップS24において、制御部190は、ドラッグ操作が完了したか否かを判定する。ドラッグ操作が完了していないと判定されると(ステップS24:No)、制御部190は、上述したステップS16からステップS24まで処理を再実行する。これにより、ユーザの指が接近していることをタッチスクリーン130が検出している間、つまり、ドラグ操作が継続されている間、操作オブジェクトが表示され、操作方向の起点の位置及び操作オブジェクト300の起点の位置が適宜変更されることになる。   In step S24, the control unit 190 determines whether or not the drag operation is completed. If it is determined that the drag operation has not been completed (step S24: No), the control unit 190 re-executes the processing from step S16 to step S24 described above. Thereby, while the touch screen 130 detects that the user's finger is approaching, that is, while the drag operation is continued, the operation object is displayed, and the position of the operation direction starting point and the operation object 300 are displayed. The position of the starting point is changed as appropriate.

ドラッグ操作が完了したと判定されると(ステップS24:Yes)、ステップS26として、制御部190は、ゲームキャラクタCA1の移動を終了する。そして、ステップS28として、制御部190は、操作オブジェクト300の表示を終了する。   If it is determined that the drag operation is completed (step S24: Yes), the control unit 190 ends the movement of the game character CA1 as step S26. In step S28, the control unit 190 ends the display of the operation object 300.

一方、入力操作がドラッグ操作でないと判定されると(ステップS14:No)、ステップS24において、制御部190は、入力操作に応じた動作をゲームキャラクタCA1に実行させる。例えば、タップ操作であれば、攻撃対象を決定し、ゲームキャラクタCA1に攻撃動作を実行させる。そして、ステップS28として、制御部190は、操作オブジェクト300の表示を終了する。   On the other hand, if it is determined that the input operation is not a drag operation (step S14: No), in step S24, the control unit 190 causes the game character CA1 to perform an action corresponding to the input operation. For example, in the case of a tap operation, an attack target is determined and the game character CA1 is caused to perform an attack action. In step S28, the control unit 190 ends the display of the operation object 300.

入力操作が受け付けられていないと判定された場合(ステップS10:No)、又は、操作オブジェクト300の表示を終了すると、図8に示されるフローチャートは終了する。そして、制御部190は、所定の条件が満たされるまで図8に示されるフローチャートを最初から実行する。以上で、移動操作時の一連の処理が終了する。   When it is determined that the input operation is not accepted (step S10: No), or when the display of the operation object 300 is finished, the flowchart shown in FIG. 8 is finished. Then, the control unit 190 executes the flowchart shown in FIG. 8 from the beginning until a predetermined condition is satisfied. Thus, a series of processes at the time of the moving operation is completed.

(移動操作時の他の画面例)
上述の説明では、移動方向検出部193による操作方向の起点の位置の変更タイミング、及び、オブジェクト制御部195よる操作オブジェクト300の端部の位置の変更タイミングは、ゲームキャラクタCA1の向きに応じて仮想カメラVCの撮影方向が変化したときである。しかし、仮想カメラVCの撮影方向は、ゲームキャラクタCA1の向きに応じて変更される例に限定されない。
(Other screen examples during move operation)
In the above description, the timing for changing the position of the starting point of the operation direction by the movement direction detection unit 193 and the timing for changing the position of the end of the operation object 300 by the object control unit 195 are virtual according to the orientation of the game character CA1. This is when the shooting direction of the camera VC changes. However, the shooting direction of the virtual camera VC is not limited to the example that is changed according to the direction of the game character CA1.

図9は、仮想カメラVCの撮影方向がゲームのイベントによって変更される場合の画面例である。図9の画面例(A)〜画面例(D)は、タッチスクリーン130に表示された画像である。画面例(A),(B)では、表示制御部196が、カメラ配置制御部194により、移動するゲームキャラクタCA1の背後から撮影された画像を、タッチスクリーン130に表示させている。つまり、操作方向である方向SD1と撮影方向である方向VD1は一致している。   FIG. 9 is a screen example when the shooting direction of the virtual camera VC is changed by a game event. Screen examples (A) to (D) in FIG. 9 are images displayed on the touch screen 130. In screen examples (A) and (B), the display control unit 196 causes the camera arrangement control unit 194 to display an image taken from behind the moving game character CA1 on the touch screen 130. That is, the direction SD1 that is the operation direction and the direction VD1 that is the shooting direction are the same.

画面例(B)は、ゲームのイベントとして画面右上の火山M1が爆発したときの画面の一例である。カメラ配置制御部194は、爆発中の火山M1にユーザの注目を集めるカメラワークを行い、ユーザのゲームへの関心を高める工夫を行う。例えば、注目対象となる火山M1とゲームキャラクタCA1とが視界に入る方向に撮影方向を変更する。これにより、タッチスクリーン130に表示される画像は、画面例(B)は画面例(C)へ遷移する。   Screen example (B) is an example of a screen when volcano M1 at the upper right of the screen exploded as a game event. The camera arrangement control unit 194 performs a camera work for attracting the user's attention to the exploding volcano M <b> 1 and devise to increase the user's interest in the game. For example, the shooting direction is changed so that the target volcano M1 and the game character CA1 enter the field of view. As a result, the image displayed on the touch screen 130 changes from the screen example (B) to the screen example (C).

画面例(C)は、仮想カメラVCの撮影方向が90°右回転されたときの画面の一例である。画面例(C)では、ゲームキャラクタCA1を横から捉えるように仮想カメラVCの撮影方向が方向VD1から方向VD2へ変更される。図7の例と同様に、画面例(B)におけるユーザによる操作方向である方向SD1、つまり、操作オブジェクト300の延在方向(伸び方向)は、ゲームの仮想空間内において変更されることになる。よって、図7の例と同様に、移動方向検出部193は、操作方向と移動方向との対応関係が仮想カメラVCの撮影方向の変更前後で維持されるように、操作方向の起点の位置を変更する。さらに、オブジェクト制御部195は、操作方向と移動方向との対応関係が仮想カメラVCの撮影方向の変更前後で維持されるように、操作オブジェクト300の起点の位置を変更する。これにより、画面例(D)において、ゲームキャラクタCA1の移動方向と操作方向とが一致する。   The screen example (C) is an example of a screen when the shooting direction of the virtual camera VC is rotated 90 degrees to the right. In the screen example (C), the shooting direction of the virtual camera VC is changed from the direction VD1 to the direction VD2 so as to capture the game character CA1 from the side. Similarly to the example of FIG. 7, the direction SD1 that is the operation direction by the user in the screen example (B), that is, the extending direction (extending direction) of the operation object 300 is changed in the virtual space of the game. . Therefore, as in the example of FIG. 7, the movement direction detection unit 193 determines the position of the starting point of the operation direction so that the correspondence between the operation direction and the movement direction is maintained before and after the change of the shooting direction of the virtual camera VC. change. Furthermore, the object control unit 195 changes the position of the starting point of the operation object 300 so that the correspondence between the operation direction and the movement direction is maintained before and after the change of the shooting direction of the virtual camera VC. Thereby, in the example screen (D), the movement direction of the game character CA1 and the operation direction match.

(起点位置を変更する処理のまとめ)
制御部190は、仮想カメラVCの撮影方向が変更された場合、タッチスクリーン130上で操作された操作方向をキャラクタの移動方向と一致させる。このため、仮想カメラVCの撮影方向が変更された場合であっても、ユーザは操作方向を修正することなく撮影方向の変更前にドラッグ操作した方向へキャラクタを移動させることができる。さらに、制御部190は、カメラワークと操作方向とを連動させることで、カメラワークを自在に変更することができるので、種々のユーザ体験を提供することができる。
(Summary of processing to change the starting position)
When the shooting direction of the virtual camera VC is changed, the control unit 190 matches the operation direction operated on the touch screen 130 with the moving direction of the character. For this reason, even when the shooting direction of the virtual camera VC is changed, the user can move the character in the dragged direction before changing the shooting direction without correcting the operation direction. Furthermore, the control unit 190 can freely change the camera work by linking the camera work and the operation direction, so that various user experiences can be provided.

(交戦時のカメラワークの概要)
一般的なアクションゲームにおいては、ゲームキャラクタCA1が仮想空間のフィールドを移動するシーンだけでなく、仮想空間に配置された敵キャラクタ(対象キャラクタの一例)と交戦するシーンが存在する。
(Overview of camera work during engagement)
In a general action game, not only a scene in which the game character CA1 moves in a virtual space field, but also a scene in which an enemy character (an example of a target character) placed in the virtual space is engaged.

ユーザは、シーンに応じて、仮想空間においてキャラクタを移動させる移動操作だけでなく、ゲームキャラクタCA1に攻撃動作を行わせる攻撃動作を入力する。移動操作は、上述のとおり、ゲームキャラクタの移動方向を指示する入力操作であり、方向性のある操作である。移動操作の一例としては、所定条件下のドラッグ操作又はフリック操作である。一方、攻撃操作は、ゲームキャラクタCA1に攻撃動作を行わせる入力操作である。基本的な攻撃操作の一例としては、タップ操作である。なお、攻撃操作には、タップ操作と組み合わされたフリック操作を含む。詳細については後述する。   The user inputs not only a moving operation for moving the character in the virtual space but also an attacking action for causing the game character CA1 to perform an attacking action according to the scene. As described above, the moving operation is an input operation for instructing the moving direction of the game character, and is a directional operation. An example of the moving operation is a drag operation or a flick operation under a predetermined condition. On the other hand, the attack operation is an input operation for causing the game character CA1 to perform an attack action. An example of a basic attack operation is a tap operation. The attack operation includes a flick operation combined with a tap operation. Details will be described later.

カメラ配置制御部194は、ユーザによる入力操作に応じて移動方向が変化するゲームキャラクタCA1を背後から追尾するようなカメラワークを提供する。つまり、カメラ配置制御部194が仮想カメラVCの撮影方向を変更する契機(トリガ)は、ユーザによる移動操作である。ここで、カメラ配置制御部194は、仮想カメラVCの撮影方向を変更する契機(トリガ)として攻撃操作をさらに含む。これにより、敵キャラクタとの交戦時において、臨場感、迫力、キャラクタとの一体感などを演出するためのカメラワークを瞬時に提供することができる。   The camera arrangement control unit 194 provides camera work for tracking the game character CA1 whose movement direction changes according to an input operation by the user from behind. That is, the trigger (trigger) for the camera arrangement control unit 194 to change the shooting direction of the virtual camera VC is a moving operation by the user. Here, the camera arrangement control unit 194 further includes an attack operation as a trigger (trigger) for changing the shooting direction of the virtual camera VC. Thereby, at the time of a battle with an enemy character, the camera work for producing a sense of presence, power, a sense of unity with a character, etc. can be provided instantaneously.

(交戦時の画面例)
図10は、交戦時における仮想カメラVCの撮影方向を説明するための画面例である。図10の画面例(A)〜画面例(D)は、タッチスクリーン130に表示された画像である。画面例(A)〜画面例(D)では、表示制御部196が、カメラ配置制御部194により、ゲームキャラクタCA1を撮影した画像を、タッチスクリーン130に表示させている。入力操作受付部191によりユーザによる入力操作が受け付けられたとき、オブジェクト制御部195は、ユーザの入力操作に応じて操作オブジェクトを生成する。表示制御部196は、仮想カメラVCにより撮影された画像上に操作オブジェクトを重畳させて、タッチスクリーン130に表示させる。
(Screen example during engagement)
FIG. 10 is an example of a screen for explaining the shooting direction of the virtual camera VC during the battle. Screen examples (A) to (D) in FIG. 10 are images displayed on the touch screen 130. In the screen examples (A) to (D), the display control unit 196 causes the camera arrangement control unit 194 to display an image of the game character CA1 displayed on the touch screen 130. When an input operation by the user is received by the input operation receiving unit 191, the object control unit 195 generates an operation object according to the user's input operation. The display control unit 196 causes the operation object to be superimposed on the image captured by the virtual camera VC and displayed on the touch screen 130.

画面例(A)は、移動操作時において敵キャラクタCA2が視界に入ったときの画面の一例である。画面例(A)では、撮影方向を方向VD1、ゲームキャラクタCA1の向きを方向D3で示している。   The screen example (A) is an example of a screen when the enemy character CA2 enters the field of view during the movement operation. In the screen example (A), the shooting direction is indicated by the direction VD1, and the direction of the game character CA1 is indicated by the direction D3.

画面例(B)は、画面例(A)の状況において、攻撃操作であるタップ操作が行われたときの画面の一例である。オブジェクト制御部195は、タップ操作に応答して円形の操作オブジェクト300を生成する。表示制御部196は、生成された円形の操作オブジェクト300をタッチ位置に表示させる。このとき、敵キャラクタCA2とゲームキャラクタCA1との距離が予め定められた距離内にある場合、敵キャラクタCA2を攻撃対象として決定する(ロックオン)。ゲームキャラクタCA1は、ロックオンされた敵キャラクタCA2の方向D4へ向けられる。カメラ配置制御部194は、仮想カメラVCがゲームキャラクタCA1を背後から撮影するように、仮想カメラVCを制御する。仮想カメラVCの撮影方向は、ゲームキャラクタCA1の向きである方向D4と同一方向である方向VD2へ変更される。これにより、タッチスクリーン130に表示される画像は、画面例(B)は画面例(C)へ遷移する。   Screen example (B) is an example of a screen when a tap operation that is an attack operation is performed in the situation of screen example (A). The object control unit 195 generates a circular operation object 300 in response to the tap operation. The display control unit 196 displays the generated circular operation object 300 at the touch position. At this time, if the distance between the enemy character CA2 and the game character CA1 is within a predetermined distance, the enemy character CA2 is determined as an attack target (lock-on). The game character CA1 is directed in the direction D4 of the enemy character CA2 that is locked on. The camera arrangement control unit 194 controls the virtual camera VC so that the virtual camera VC captures the game character CA1 from behind. The shooting direction of the virtual camera VC is changed to the direction VD2 that is the same direction as the direction D4 that is the direction of the game character CA1. As a result, the image displayed on the touch screen 130 changes from the screen example (B) to the screen example (C).

画面例(C)は、攻撃操作に応じて仮想カメラVCの撮影方向が変更されたときの画面の一例である。そして、画面例(D)は、敵キャラクタに対して攻撃操作を実行しているときの画面の一例である。このように、タップ操作という方向性の無い操作がなされた場合であっても、仮想カメラVCの撮影方向が変更され、臨場感のある交戦画面が提供される。   The screen example (C) is an example of the screen when the shooting direction of the virtual camera VC is changed according to the attack operation. The screen example (D) is an example of a screen when an attack operation is performed on an enemy character. In this way, even when a non-directional operation such as a tap operation is performed, the shooting direction of the virtual camera VC is changed, and a realistic battle screen is provided.

(攻撃操作時のフローチャート)
図11は、攻撃操作時の処理を説明するフローチャートである。図11のフローチャートは、制御部190がゲームプログラム151を実行することによりアクションゲームを進行させる処理を示すフローチャートである。
(Flow chart for attack operation)
FIG. 11 is a flowchart for explaining processing during an attack operation. The flowchart of FIG. 11 is a flowchart illustrating a process of causing the control unit 190 to advance the action game by executing the game program 151.

ステップS30において、制御部190は、入力操作が受け付けられたか否かを判定する。制御部190は、入力操作として、仮想空間においてゲームキャラクタCA1を移動させる移動操作及びゲームキャラクタCA1に攻撃動作を行わせる攻撃操作を受け付けることができる。   In step S30, the control unit 190 determines whether an input operation has been accepted. The control unit 190 can accept a moving operation for moving the game character CA1 in the virtual space and an attacking operation for causing the game character CA1 to perform an attacking action as input operations.

入力操作が受け付けられたと判定されると(ステップS30:Yes)、ステップS32において、制御部190は、初期タッチ位置に操作オブジェクトを表示させる(図10の画面例(B)に対応する)。オブジェクト制御部195は、入力操作に応答して円形の操作オブジェクト300を生成する。表示制御部196は、生成された円形の操作オブジェクト300をタッチ位置に表示させる。   If it is determined that the input operation has been received (step S30: Yes), in step S32, the control unit 190 displays an operation object at the initial touch position (corresponding to the screen example (B) in FIG. 10). The object control unit 195 generates a circular operation object 300 in response to the input operation. The display control unit 196 displays the generated circular operation object 300 at the touch position.

ステップS34において、制御部190は、入力操作がタップ操作であるか否かを判定する。制御部190は、タッチスクリーン130の履歴情報を用いて、タップ操作であるか否かを判定する(図4参照)。   In step S34, the control unit 190 determines whether or not the input operation is a tap operation. The control unit 190 uses the history information on the touch screen 130 to determine whether the operation is a tap operation (see FIG. 4).

入力操作がタップ操作であると判定されると(ステップS34:Yes)、ステップS36において、制御部190は、攻撃範囲内に敵キャラクタが存在するか否かを判定する。攻撃範囲は、ゲームキャラクタCA1を基準として予め設定される。   If it is determined that the input operation is a tap operation (step S34: Yes), in step S36, the control unit 190 determines whether an enemy character exists within the attack range. The attack range is set in advance with the game character CA1 as a reference.

攻撃範囲内に敵キャラクタが存在すると判定されると(ステップS36:Yes)、ステップS38において、制御部190は、攻撃対象となる敵キャラクタを特定する。制御部190は、攻撃範囲内に複数の敵キャラクタが存在する場合には、例えばゲームキャラクタCA1に最も近接した敵キャラクタを攻撃対象にする。   If it is determined that there is an enemy character within the attack range (step S36: Yes), in step S38, the control unit 190 specifies an enemy character that is an attack target. When there are a plurality of enemy characters within the attack range, the control unit 190 sets, for example, the enemy character closest to the game character CA1 as an attack target.

ステップS40として、制御部190は、ゲームキャラクタCA1を攻撃動作の対象となる敵キャラクタCA2の位置と、ゲームキャラクタCA1の位置とに基づいて、ゲームキャラクタCA1を敵キャラクタCA2に向けさせる(図10の画面例(B)に対応する)。   As step S40, the control unit 190 directs the game character CA1 to the enemy character CA2 based on the position of the enemy character CA2 that is the target of the attack action and the position of the game character CA1 (FIG. 10). Corresponding to screen example (B)).

ステップS42として、制御部190は、仮想カメラVCの撮影方向をゲームキャラクタCA1の向きに基づいて決定する。制御部190は、ゲームキャラクタCA1の向きに対して予め定められた方向からキャラクタを撮影するように制御する。ゲームキャラクタCA1の向きに対して予め定められた方向とは、例えば、ゲームキャラクタCA1の背後から撮影する方向、ゲームキャラクタCA1の横から撮影する方向、ゲームキャラクタCA1の上から撮影する方向などである。具体的な一例として、制御部190は、仮想カメラVCの撮影方向をゲームキャラクタCA1の向きと一致させ、ゲームキャラクタCA1の背後から撮影するように、仮想カメラVCを制御する(図10の画面例(C)に対応する)。   As step S42, the control unit 190 determines the shooting direction of the virtual camera VC based on the direction of the game character CA1. The control unit 190 performs control so that the character is photographed from a predetermined direction with respect to the direction of the game character CA1. The predetermined direction with respect to the direction of the game character CA1 is, for example, a direction of shooting from behind the game character CA1, a direction of shooting from the side of the game character CA1, a direction of shooting from above the game character CA1, and the like. . As a specific example, the control unit 190 controls the virtual camera VC so that the shooting direction of the virtual camera VC coincides with the direction of the game character CA1 and shooting is performed from behind the game character CA1 (screen example in FIG. 10). Corresponding to (C)).

ステップS44として、制御部190は、ゲームキャラクタCA1に攻撃動作を実行させる(図10の画面例(D)に対応する)。ステップS46として、制御部190は、操作オブジェクト300の表示を終了する。   In step S44, the control unit 190 causes the game character CA1 to perform an attack action (corresponding to the screen example (D) in FIG. 10). In step S46, the control unit 190 ends the display of the operation object 300.

一方、入力操作がタップ操作でないと判定されると(ステップS34:No)、ステップS48において、制御部190は、入力操作に応じた動作をゲームキャラクタCA1に実行させる。このとき、入力操作がドラッグ操作などの移動操作であれば、制御部190は、図8で説明したとおり、ゲームキャラクタCA1を移動させるとともに、仮想空間を移動するゲームキャラクタCA1を追尾するように仮想カメラVCを制御する。そして、ステップS46として、制御部190は、操作オブジェクト300の表示を終了する。   On the other hand, if it is determined that the input operation is not a tap operation (step S34: No), in step S48, the control unit 190 causes the game character CA1 to perform an action corresponding to the input operation. At this time, if the input operation is a moving operation such as a drag operation, the control unit 190 moves the game character CA1 as described in FIG. 8 and virtually tracks the game character CA1 moving in the virtual space. Control the camera VC. In step S46, the control unit 190 ends the display of the operation object 300.

また、攻撃範囲内に敵キャラクタが存在しないと判定されると(ステップS36:No)、ステップS46として、制御部190は、操作オブジェクト300の表示を終了する。   If it is determined that there is no enemy character within the attack range (step S36: No), the control unit 190 ends the display of the operation object 300 as step S46.

入力操作が受け付けられていないと判定された場合(ステップS30:No)、又は、操作オブジェクト300の表示を終了すると、図11に示されるフローチャートは終了する。そして、制御部190は、所定の条件が満たされるまで図11に示されるフローチャートを最初から実行する。以上で、攻撃操作時の一連の処理が終了する。   When it is determined that the input operation is not accepted (step S30: No), or when the display of the operation object 300 is finished, the flowchart shown in FIG. 11 is finished. Then, the control unit 190 executes the flowchart shown in FIG. 11 from the beginning until a predetermined condition is satisfied. Thus, a series of processing at the time of the attack operation is completed.

(交戦時における連撃攻撃)
アクションゲームにおいては、予め定められた期間内に攻撃操作を連続して受け付けた場合、連撃攻撃(いわゆるコンボ攻撃)を発生させることがある。このようなコンボ攻撃の内容は、ゲーム情報152にコンボデータとして定義されている。コンボ攻撃に多様性を持たせるために、コンボ攻撃中の攻撃操作に方向性のある入力操作を採用することがある。例えば、タップ操作、タップ操作、フリック操作という一連の入力操作に基づくコンボ攻撃である。
(Sequential attacks during engagement)
In an action game, a continuous attack (so-called combo attack) may occur when attack operations are continuously received within a predetermined period. The content of such a combo attack is defined as combo data in the game information 152. In order to give diversity to the combo attack, a directional input operation may be employed for the attack operation during the combo attack. For example, a combo attack based on a series of input operations such as a tap operation, a tap operation, and a flick operation.

図12は、オブジェクト制御部195がコンボデータに基づいてゲームキャラクタCA1に攻撃動作を実行させたときのアクションの一例を示す図である。図12の状態(A)は、アクションa1を示す。図12の状態(B)は、アクションa2を示す。図12の状態(C)は、アクションa3を示す。入力操作受付部191がタップ操作を受け付けると、オブジェクト制御部195は、図12の状態(A)に示されるように、ゲームキャラクタCA1にアクションa1を実行させる。続いて、入力操作受付部191が予め定められた期間内に再びタップ操作を受け付けると、オブジェクト制御部195は、図12の状態(B)に示すアクションa2をゲームキャラクタCA1に実行させる。続いて、入力操作受付部191が予め定められた期間内にフリック操作を受け付けると、オブジェクト制御部195は、図12の状態(C)に示すアクションa3をゲームキャラクタCA1に実行させる。アクションa3は、アクションa1、a2より演出を派手にしたり、攻撃力を大きくしたりするように設定してもよい。また、アクションa3のためのフリック操作の代わりに、タップ操作が3回続けられることによって、オブジェクト制御部195は、他の演出が派手であったり攻撃力が大きかったりするアクションをゲームキャラクタCA1に実行させてもよい。一実施形態によれば、タッチスクリーン130によるタッチ操作でコンボ攻撃をゲームキャラクタCA1に実行させるゲームであっても、コンボの流れを分岐させることができる。このように、コンボ攻撃中の攻撃操作に方向性のある入力操作を採用することで、ユーザは多様な操作によって次々と流れるようにゲームキャラクタCA1に攻撃させることができる。よって、ゲームの趣向性が向上する。   FIG. 12 is a diagram illustrating an example of an action when the object control unit 195 causes the game character CA1 to perform an attack action based on the combo data. The state (A) in FIG. 12 shows action a1. The state (B) of FIG. 12 shows action a2. The state (C) of FIG. 12 shows action a3. When the input operation accepting unit 191 accepts the tap operation, the object control unit 195 causes the game character CA1 to execute the action a1, as shown in the state (A) of FIG. Subsequently, when the input operation receiving unit 191 receives the tap operation again within a predetermined period, the object control unit 195 causes the game character CA1 to execute the action a2 shown in the state (B) of FIG. Subsequently, when the input operation receiving unit 191 receives a flick operation within a predetermined period, the object control unit 195 causes the game character CA1 to execute the action a3 shown in the state (C) of FIG. The action a3 may be set so that the production is more flashy than the actions a1 and a2, or the attack power is increased. Further, instead of the flick operation for the action a3, the tap operation is continued three times, so that the object control unit 195 performs an action on the game character CA1 in which other effects are flashy or the attack power is large. You may let them. According to one embodiment, even in a game that causes the game character CA1 to execute a combo attack by a touch operation using the touch screen 130, the flow of the combo can be branched. Thus, by adopting a directional input operation for the attack operation during the combo attack, the user can cause the game character CA1 to attack so as to flow one after another by various operations. Therefore, the game preference is improved.

(連撃攻撃時のカメラワーク)
連撃攻撃時においても、制御部190は、図11に示された攻撃操作時のフローチャートに沿って処理を実行する。入力操作が連撃攻撃の最初の攻撃操作であるか否かは、2回目の攻撃操作が入力されることによって初めて確定する。したがって、タップ操作が通常のタップ操作であるか連撃操作となるかに関わらず、制御部190は、図11に示された攻撃操作時のフローチャートに沿って処理を実行する。つまり、制御部190は、事後的に連撃操作となる最初のタップ操作に応じて、図11に示された攻撃操作時のフローチャートに沿って処理を実行する。
(Camera work during continuous attack)
Even during the continuous attack, the control unit 190 executes the process according to the flowchart of the attack operation shown in FIG. Whether or not the input operation is the first attack operation of the continuous attack is determined only when the second attack operation is input. Therefore, regardless of whether the tap operation is a normal tap operation or a continuous attack operation, the control unit 190 executes the process according to the flowchart for the attack operation shown in FIG. That is, the control unit 190 executes the process according to the flowchart at the time of the attack operation shown in FIG. 11 in response to the first tap operation that becomes a continuous attack operation afterwards.

このため、ステップS40として、制御部190は、所定期間内に連続する攻撃操作が受け付けられた場合、所定期間内に連続する攻撃操作のうち最初の攻撃動作の対象となる敵キャラクタCA2にゲームキャラクタCA1を向かせることになる。そして、ステップS42として、制御部190は、予め定められた方向からゲームキャラクタCA1を撮影するように仮想カメラVCを制御する。   For this reason, as a step S40, when a continuous attack operation is received within a predetermined period, the control unit 190 sets the game character as the enemy character CA2 that is the target of the first attack action among the continuous attack operations within the predetermined period. I will turn CA1. In step S42, the control unit 190 controls the virtual camera VC so that the game character CA1 is photographed from a predetermined direction.

そして、制御部190は、2回目以降のタップ操作が行われた場合、所定期間前にタップ操作が行われていたか否かを判定する。制御部190は、所定期間前にタップ操作が行われていない場合、2回目のタップ操作については、図11に示された攻撃操作時のフローチャートに沿って処理を実行する。この場合、制御部190は、2回目のタップ操作によって攻撃対象となる敵キャラクタCA2にゲームキャラクタCA1を向かせることになる。そして、ステップS42として、制御部190は、予め定められた方向からゲームキャラクタCA1を撮影するように仮想カメラVCを制御する。   And the control part 190 determines whether tap operation was performed before the predetermined period, when the tap operation after the 2nd time was performed. When the tap operation has not been performed before the predetermined period, the control unit 190 executes the process according to the flowchart for the attack operation shown in FIG. 11 for the second tap operation. In this case, the control unit 190 directs the game character CA1 to the enemy character CA2 to be attacked by the second tap operation. In step S42, the control unit 190 controls the virtual camera VC so that the game character CA1 is photographed from a predetermined direction.

一方、制御部190は、所定期間前にタップ操作が行われていた場合、当該タップ操作については、図11に示された攻撃操作時のフローチャートのうち、ステップS42については実行しない。つまり、制御部190は、予め定められた期間内に2回目以降の攻撃操作が行われた場合には、最初の攻撃操作に基づいて決定された仮想カメラVCの撮影方向を、所定期間内に連続する攻撃操作を受け付けている間は変更しない。これにより、ゲームキャラクタCA1の攻撃によって敵キャラクタCA2の位置が変化し、それに伴ってゲームキャラクタCA1の向きが変更された場合であっても、仮想カメラVCの撮影方向は変更されないことになる。制御部190は、ユーザにキャラクタの向きを一度理解させた後は、固定されたアングルで連撃の様子を提供することにより、ユーザがキャラクタの向きを見失うことが無い状態で、連撃中のキャラクタや対象キャラクタを種々の角度から確認させることができる。   On the other hand, when the tap operation has been performed before a predetermined period, the control unit 190 does not execute step S42 in the flowchart for the attack operation illustrated in FIG. That is, the control unit 190 determines the shooting direction of the virtual camera VC determined based on the first attack operation within a predetermined period when the second and subsequent attack operations are performed within a predetermined period. Do not change while accepting consecutive attack operations. Thereby, even if the position of the enemy character CA2 changes due to the attack of the game character CA1, and the direction of the game character CA1 is changed accordingly, the shooting direction of the virtual camera VC is not changed. After the control unit 190 makes the user understand the direction of the character once, the control unit 190 provides the state of the continuous attack at a fixed angle, so that the user does not lose sight of the direction of the character. The character and the target character can be confirmed from various angles.

同様に、制御部190は、コンボ攻撃中の攻撃操作に方向性のある入力操作が含まれていた場合であっても、最初の攻撃操作に基づいて決定された仮想カメラVCの撮影方向を、所定期間内に連続する攻撃操作を受け付けている間は変更しない。以下では、フリック操作がコンボ攻撃中の攻撃操作に含まれる場合の例を詳細に説明する。   Similarly, even when the attack operation during the combo attack includes a directional input operation, the control unit 190 determines the shooting direction of the virtual camera VC determined based on the first attack operation. It is not changed while accepting consecutive attack operations within a predetermined period. Hereinafter, an example in which the flick operation is included in the attack operation during the combo attack will be described in detail.

図13は、フリック操作時の処理を説明するフローチャートである。図13のフローチャートは、制御部190がゲームプログラム151を実行することによりアクションゲームを進行させる処理を示すフローチャートである。   FIG. 13 is a flowchart for explaining processing during a flick operation. The flowchart in FIG. 13 is a flowchart illustrating a process in which the control unit 190 advances the action game by executing the game program 151.

ステップS50において、制御部190は、入力操作が受け付けられたか否かを判定する。制御部190は、入力操作として、仮想空間においてゲームキャラクタCA1を移動させる移動操作及びゲームキャラクタCA1に攻撃動作を行わせる攻撃操作を受け付けることができる。   In step S50, the control unit 190 determines whether an input operation has been accepted. The control unit 190 can accept a moving operation for moving the game character CA1 in the virtual space and an attacking operation for causing the game character CA1 to perform an attacking action as input operations.

入力操作が受け付けられたと判定されると(ステップS50:Yes)、ステップS32において、制御部190は、初期タッチ位置に操作オブジェクトを表示させる(図10の画面例(B)に対応する)。オブジェクト制御部195は、入力操作に応答して円形の操作オブジェクト300を生成する。表示制御部196は、生成された円形の操作オブジェクト300をタッチ位置に表示させる。   If it is determined that the input operation has been accepted (step S50: Yes), in step S32, the control unit 190 displays an operation object at the initial touch position (corresponding to the screen example (B) in FIG. 10). The object control unit 195 generates a circular operation object 300 in response to the input operation. The display control unit 196 displays the generated circular operation object 300 at the touch position.

ステップS54において、制御部190は、入力操作がフリック操作であるか否かを判定する。制御部190は、タッチスクリーン130の履歴情報を用いて、フリック操作であるか否かを判定する(図4参照)。   In step S54, the control unit 190 determines whether or not the input operation is a flick operation. The control unit 190 determines whether the operation is a flick operation using the history information of the touch screen 130 (see FIG. 4).

入力操作がフリック操作であると判定されると(ステップS54:Yes)、ステップS56において、制御部190は、初期タッチ位置からフリック方向へ延びる操作オブジェクトを表示させる。   If it is determined that the input operation is a flick operation (step S54: Yes), in step S56, the control unit 190 displays an operation object extending in the flick direction from the initial touch position.

ステップS58において、制御部190は、ゲームキャラクタCA1が向いている方向を特定する。例えば記憶部150には、ゲームキャラクタCA1の顔が向いている方向または直前の移動操作の進行方向等を示す情報が記憶されている。制御部190は、ゲームキャラクタCA1に実行させたアクション、他のオブジェクトからの作用などに基づいて、記憶部150に記憶された情報が示す方向の中からゲームキャラクタCA1が向いている方向を選択する。次に、制御部190は、選択した結果に基づき、記憶部150を参照してゲームキャラクタCA1の向いている方向を特定する。   In step S58, the control unit 190 specifies the direction in which the game character CA1 is facing. For example, the storage unit 150 stores information indicating the direction in which the face of the game character CA1 is facing or the traveling direction of the previous movement operation. Control unit 190 selects the direction in which game character CA1 is facing from the directions indicated by the information stored in storage unit 150 based on the action executed by game character CA1 and the action from other objects. . Next, based on the selected result, the control unit 190 refers to the storage unit 150 and identifies the direction in which the game character CA1 is facing.

ステップS60において、制御部190は、フリック操作の方向とタッチスクリーン130に表示される画面においてゲームキャラクタCA1が向いている方向とを比較する。   In step S60, control unit 190 compares the direction of the flick operation with the direction in which game character CA1 is facing on the screen displayed on touch screen 130.

ステップS62において、制御部190は、ステップS60における比較結果に応じたアクションを、ゲームキャラクタCA1に実行させる。この処理の詳細は、図14に示されたフローチャートを用いて後述する。   In step S62, the control unit 190 causes the game character CA1 to perform an action corresponding to the comparison result in step S60. Details of this process will be described later with reference to the flowchart shown in FIG.

ステップS46として、制御部190は、操作オブジェクト300の表示を終了する。   In step S46, the control unit 190 ends the display of the operation object 300.

一方、入力操作がフリック操作でないと判定されると(ステップS54:No)、ステップS66において、制御部190は、入力操作に応じた動作をゲームキャラクタCA1に実行させる。そして、ステップS46として、制御部190は、操作オブジェクト300の表示を終了する。   On the other hand, if it is determined that the input operation is not a flick operation (step S54: No), in step S66, the control unit 190 causes the game character CA1 to perform an action corresponding to the input operation. In step S46, the control unit 190 ends the display of the operation object 300.

入力操作が受け付けられていないと判定された場合(ステップS50:No)、又は、操作オブジェクト300の表示を終了すると、図13に示されるフローチャートは終了する。そして、制御部190は、所定の条件が満たされるまで図13に示されるフローチャートを最初から実行する。以上で、攻撃操作時の一連の処理が終了する。   When it is determined that the input operation is not accepted (step S50: No), or when the display of the operation object 300 is ended, the flowchart illustrated in FIG. 13 ends. Then, the control unit 190 executes the flowchart shown in FIG. 13 from the beginning until a predetermined condition is satisfied. Thus, a series of processing at the time of the attack operation is completed.

図14は、図13に示されたフリック操作に基づく動作処理を説明するフローチャートである。制御部190は、図14に示されるフローチャートに従い、比較結果に応じたアクションをゲームキャラクタCA1に実行させる。   FIG. 14 is a flowchart for explaining an operation process based on the flick operation shown in FIG. The control unit 190 causes the game character CA1 to perform an action according to the comparison result according to the flowchart shown in FIG.

ステップS70において、制御部190は、図14に示されたステップS50においてフリック操作を受け付ける前の所定期間内に、攻撃動作を行なうためのタップ操作を受け付けたか否かを判定する。   In step S70, control unit 190 determines whether or not a tap operation for performing an attack operation has been received within a predetermined period before the flick operation is received in step S50 shown in FIG.

フリック操作の所定期間前に攻撃動作を行なうためのタップ操作を受け付けたと判定されると(ステップS70:Yes)、ステップS72において、制御部190は、フリック操作の方向はゲームキャラクタCA1が向いている方向と所定関係にあるか否かを判定する。所定関係は、例えばゲームキャラクタCA1が向いている方向を軸として、フリック操作の方向が当該軸から左右一定の範囲(例えば、左右それぞれに30度以内、45度以内等)となることとしてもよい。   If it is determined that a tap operation for performing an attacking action has been received before a predetermined period of the flick operation (step S70: Yes), in step S72, the control unit 190 is directed to the game character CA1 in the direction of the flick operation. It is determined whether or not there is a predetermined relationship with the direction. The predetermined relationship may be such that, for example, the direction in which the game character CA1 is facing is an axis, and the direction of the flick operation is within a certain range from the axis to the left and right (for example, within 30 degrees and 45 degrees within each of the left and right). .

フリック操作の方向はゲームキャラクタCA1が向いている方向により定まる一定範囲の方向に含まれていると判定されると(ステップS72:Yes)、ステップS74として、制御部190は、前回の攻撃動作に対応する操作がタップ操作であり、且つ、今回の操作がフリック操作であることに基づく攻撃動作を、ゲームキャラクタCA1に実行させる。このように、連続してゲームキャラクタCA1に攻撃動作を実行させる場合、毎回同じ攻撃動作をゲームキャラクタCA1に実行させるのではなく、異なる攻撃動作をゲームキャラクタCA1に実行させることができる。従って、攻撃動作が多様になる。ステップS72が終了すると、図14に示されるフローチャートが終了する。   If it is determined that the direction of the flick operation is included in a certain range of directions determined by the direction in which the game character CA1 is facing (step S72: Yes), the control unit 190 performs the previous attack action as step S74. The game character CA1 is caused to perform an attack action based on the corresponding operation being a tap operation and the current operation being a flick operation. As described above, when the game character CA1 continuously executes the attack action, the game character CA1 can execute different attack actions instead of causing the game character CA1 to execute the same attack action each time. Therefore, the attacking action becomes diverse. When step S72 ends, the flowchart shown in FIG. 14 ends.

一方、フリック操作の方向はゲームキャラクタCA1が向いている方向と所定関係にないと判定されると(ステップS72:No)、ステップS76として、制御部190は、ゲームキャラクタCA1に、攻撃動作を実行することなくフリック操作の方向に移動するための回避動作を実行させる。それに続けて、ステップS78として、制御部190は、ゲームキャラクタCA1に攻撃動作を実行させる。ステップS78において制御部190がゲームキャラクタCA1に実行させる攻撃動作は、タップ操作に基づく攻撃動作とは異なってもよい。この場合、ゲームキャラクタCA1による攻撃動作がより多様となり、ゲームの趣向性が向上する。ステップS78が終了すると、図14に示されるフローチャートが終了する。   On the other hand, when it is determined that the direction of the flick operation is not in a predetermined relationship with the direction in which the game character CA1 is facing (No at Step S72), the control unit 190 performs an attack action on the game character CA1 as Step S76. The avoidance operation for moving in the direction of the flick operation is performed without performing the operation. Subsequently to step S78, the control unit 190 causes the game character CA1 to perform an attack action. In step S78, the attack action that the control unit 190 causes the game character CA1 to execute may be different from the attack action based on the tap operation. In this case, the attacking action by the game character CA1 becomes more diverse, and the game preference is improved. When step S78 ends, the flowchart shown in FIG. 14 ends.

一方、フリック操作の所定期間前に攻撃動作を行なうためのタップ操作を受け付けていないと判定されると(ステップS70:No)、ステップS80において、制御部190は、ゲームキャラクタCA1に回避動作を実行させ、攻撃動作を実行させない。そして、ステップS82において、制御部190は、仮想カメラVCの向きをゲームキャラクタCA1の向きに基づいて決定する。ステップS82が終了すると、図14に示されるフローチャートが終了する。   On the other hand, when it is determined that the tap operation for performing the attacking operation is not received before the predetermined period of the flick operation (step S70: No), in step S80, control unit 190 performs the avoidance operation on game character CA1. And do not execute the attack action. In step S82, the control unit 190 determines the orientation of the virtual camera VC based on the orientation of the game character CA1. When step S82 ends, the flowchart shown in FIG. 14 ends.

このように、制御部190は、ゲームキャラクタCA1が向いている方向とフリック操作の方向とに応じて、ゲームキャラクタCA1に攻撃動作を実行させたり回避動作を実行させたりするなど、アクションを分けることができるので、ゲームの趣向性が向上する。特に、攻撃対象に対する入力操作に多様性を持たせることができる。   In this way, the control unit 190 divides actions such as causing the game character CA1 to perform an attack action or an avoidance action in accordance with the direction in which the game character CA1 is facing and the direction of the flick operation. Can improve the taste of the game. In particular, it is possible to give diversity to the input operation for the attack target.

また、制御部190は、コンボ攻撃の最初の攻撃操作に基づいて仮想カメラVCの撮影方向を決定し、コンボ攻撃中においては撮影方向を変更しない。このため、ユーザにゲームキャラクタCA1の向きを一度理解させた後は、固定されたアングルで連撃の様子を提供することにより、フリック操作が入力し易くなる。   Further, the control unit 190 determines the shooting direction of the virtual camera VC based on the first attack operation of the combo attack, and does not change the shooting direction during the combo attack. For this reason, after letting the user understand the orientation of the game character CA1 once, flicking operation becomes easy to input by providing the state of continuous attack at a fixed angle.

また、フリック操作は、ゲーム中の素早い操作が必要とされる場面において、ユーザが直感的に素早く入力する操作である。本実施形態では、フリック操作の方向に応じて攻撃動作または回避動作を選択できるため、直感的に攻撃と回避とを選択することができる。よって、ゲームの趣向性が向上する。   Further, the flick operation is an operation that the user inputs intuitively and quickly in a scene where a quick operation is required during the game. In the present embodiment, since the attack action or the avoidance action can be selected according to the direction of the flick operation, the attack and the avoidance can be selected intuitively. Therefore, the game preference is improved.

(変形例1)
カメラ配置制御部194は、移動操作を受け付けたときに、ゲームキャラクタCA1をその背後から追尾するように仮想カメラVCを制御するだけなく、ゲームキャラクタCA1を他の角度から追尾するように仮想カメラVCを制御してもよい。例えば、カメラ配置制御部194は、ゲームキャラクタCA1を斜め後から追尾してもよい。あるいは、カメラ配置制御部194は、固定アングルでゲームキャラクタCA1を追尾してもよい。固定アングルの場合、図6の状態(A)から状態(B)へゲームキャラクタCA1が変更されたときであっても、仮想カメラVCの視野内におけるゲームキャラクタCA1の位置が維持される。この場合、移動操作に基づいてゲームキャラクタCA1が移動すると、カメラ配置制御部194は、ゲームキャラクタCA1を仮想カメラVCにおける視野の所定位置に捉えるように、かつ、仮想カメラVCの移動量と向きの変動量がいずれも最小となるように、仮想カメラVCの位置および向きを調整する。
(Modification 1)
When the camera placement control unit 194 receives a moving operation, the camera placement control unit 194 not only controls the virtual camera VC so as to track the game character CA1 from behind, but also controls the virtual camera VC so as to track the game character CA1 from another angle. May be controlled. For example, the camera arrangement control unit 194 may track the game character CA1 from behind. Alternatively, the camera arrangement control unit 194 may track the game character CA1 at a fixed angle. In the case of the fixed angle, the position of the game character CA1 within the field of view of the virtual camera VC is maintained even when the game character CA1 is changed from the state (A) to the state (B) in FIG. In this case, when the game character CA1 moves based on the moving operation, the camera arrangement control unit 194 captures the game character CA1 at a predetermined position in the field of view of the virtual camera VC and changes the movement amount and direction of the virtual camera VC. The position and orientation of the virtual camera VC are adjusted so that the amount of change is minimized.

また、カメラ配置制御部194は、攻撃操作を受け付けたときに、ゲームキャラクタCA1をその背後から撮影するように仮想カメラVCを制御するだけなく、ゲームキャラクタCA1を他の角度から撮影するように仮想カメラVCを制御してもよい。   In addition, when accepting an attack operation, the camera arrangement control unit 194 not only controls the virtual camera VC so that the game character CA1 is photographed from behind, but also virtually captures the game character CA1 from other angles. The camera VC may be controlled.

さらに、実施形態では、カメラ配置制御部194は、コンボ攻撃中においてはコンボ攻撃の最初の攻撃操作に基づいて仮想カメラVCの撮影方向を決定し、以降のコンボ攻撃中の撮影方向を固定する例を説明したが、これに限定されない。例えば、カメラ配置制御部194は、攻撃操作(コンボ攻撃操作を含む)を受け付けた場合には、常にゲームキャラクタCA1をその背後から撮影するように仮想カメラVCを制御してもよい。つまり、コンボ攻撃中においては、最初の攻撃操作に基づいて決定された仮想カメラVCの撮影方向(ゲームキャラクタCA1をその背後から撮影する方向)を維持するように、仮想カメラの撮影方向を変更し続ける。この場合、制御部190は、図14のステップS74、ステップS78の攻撃時において、攻撃対象となる敵キャラクタCA2にゲームキャラクタCA1を向かせ、ゲームキャラクタCA1の向きに応じて仮想カメラVCの撮影方向を制御する(図11のステップS40及びS42に相当する処理が行われる)。これにより、戦闘シーンにおいては、ゲームキャラクタCA1は常に敵キャラクタCA2に正面から対峙し、常にゲームキャラクタCA1の背後から観察するゲーム画面が提供される。このようなカメラワークとすることにより、ユーザがキャラクタの向きを見失うことが無いため、攻撃操作に方向性のある入力操作が含まれる場合であっても、操作性を向上させることができる。   Furthermore, in the embodiment, the camera arrangement control unit 194 determines the shooting direction of the virtual camera VC based on the first attack operation of the combo attack during the combo attack, and fixes the shooting direction during the subsequent combo attack. However, the present invention is not limited to this. For example, when an attack operation (including a combo attack operation) is accepted, the camera arrangement control unit 194 may control the virtual camera VC so that the game character CA1 is always shot from behind. That is, during the combo attack, the shooting direction of the virtual camera is changed so as to maintain the shooting direction of the virtual camera VC determined based on the first attack operation (the direction in which the game character CA1 is shot from behind). to continue. In this case, the control unit 190 directs the game character CA1 to the enemy character CA2 to be attacked at the time of the attack in step S74 and step S78 in FIG. 14, and the shooting direction of the virtual camera VC according to the direction of the game character CA1. (The processing corresponding to steps S40 and S42 in FIG. 11 is performed). Thereby, in the battle scene, a game screen is provided in which the game character CA1 always faces the enemy character CA2 from the front and is always observed from behind the game character CA1. By using such camera work, the user does not lose sight of the character's direction, so that the operability can be improved even when the attack operation includes a directional input operation.

(変形例2)
ドラッグ操作の操作結果を示す操作オブジェクト300は、図7の状態(B)に示された例に限定されるものではなく、複数のオブジェクトを用いて操作結果が表現されもよい。
(Modification 2)
The operation object 300 indicating the operation result of the drag operation is not limited to the example shown in the state (B) of FIG. 7, and the operation result may be expressed using a plurality of objects.

(変形例3)
状態(A)〜(D)において、操作オブジェクト300は表示されなくてもよい。つまり、操作オブジェクト300の端部は変更されず、操作方向の起点だけ変更される場合であってもよい。
(Modification 3)
In the states (A) to (D), the operation object 300 may not be displayed. That is, the end of the operation object 300 may not be changed, and only the starting point in the operation direction may be changed.

(変形例4)
連撃操作中に含まれている操作は、フリック操作である例を説明したが、ドラッグ操作であってもよい。
(Modification 4)
The operation included during the continuous hit operation has been described as an example of a flick operation, but may be a drag operation.

(変形例5)
上述したゲーム処理の全てを携帯端末10又はサーバ20が単体で実行してもよい。
(Modification 5)
The mobile terminal 10 or the server 20 may execute all the game processes described above alone.

以上、本開示の実施形態について説明したが、本開示の技術的範囲は、本実施形態の説明によって限定的に解釈されるべきではない。本実施形態は一例であって、特許請求の範囲の記載事項に基づいて、様々な実施形態の変更が可能であることが当業者によって理解されるところである。本開示の技術的範囲は、特許請求の範囲の記載事項及びその均等の範囲に基づいて定められるべきである。   As mentioned above, although embodiment of this indication was described, the technical scope of this indication should not be interpreted limitedly by explanation of this embodiment. This embodiment is an example, and it is understood by those skilled in the art that various embodiments can be changed based on the description in the claims. The technical scope of the present disclosure should be determined based on the matters described in the claims and the equivalents thereof.

本開示の主題は、例えば以下のような項目として示される。   The subject matter of the present disclosure is indicated as, for example, the following items.

(項目1)
ゲームにおける仮想空間に配置された仮想カメラ(例えば仮想カメラVC)によって撮影された画像を表示するためにコンピュータ(例えば携帯端末10又はサーバ20)によって実行される情報処理方法であって、
前記仮想空間においてキャラクタ(例えばゲームキャラクタCA1)を移動させる移動操作(例えばドラッグ操作)及び前記キャラクタに攻撃動作を行わせる攻撃操作(例えばタップ操作)を受け付けるステップ(例えばステップS10及びステップS30)と、
前記移動操作が受け付けられた場合、前記仮想空間を移動するキャラクタを追尾するように前記仮想カメラを制御するステップ(例えばステップS20)と、
前記攻撃操作が受け付けられた場合、前記キャラクタを前記攻撃動作の対象となる対象キャラクタ(例えば敵キャラクタCA2)に向かせるステップ(例えばステップS40)と、
前記攻撃操作が受け付けられたことによって前記キャラクタが前記対象キャラクタに向けられた場合、予め定められた方向(例えばゲームキャラクタCA1の背後)から前記キャラクタを撮影するように前記仮想カメラを制御するステップ(例えばステップS42)と、
を有する情報処理方法。
この開示では、移動操作時においては仮想カメラがキャラクタを追尾するように制御され、攻撃操作時においては移動操作をトリガとせずにキャラクタを予め定められた方向から撮影するように仮想カメラが制御される。このように、この開示は、移動操作時においてはキャラクタの移動の流動感と臨場感とを増加させるカメラワークを提供でき、かつ、攻撃操作時においては移動操作が入力されなくても交戦時に適したカメラワークを提供できる。よって、この開示によればゲーム性を高めることができる。
(Item 1)
An information processing method executed by a computer (for example, the mobile terminal 10 or the server 20) to display an image shot by a virtual camera (for example, a virtual camera VC) arranged in a virtual space in a game,
Receiving a movement operation (for example, a drag operation) for moving a character (for example, game character CA1) in the virtual space and an attack operation (for example, a tap operation) for causing the character to perform an attack operation (for example, step S10 and step S30);
A step of controlling the virtual camera so as to track a character moving in the virtual space when the moving operation is accepted (for example, step S20);
When the attack operation is accepted, the step of directing the character to a target character (for example, the enemy character CA2) that is the target of the attack action (for example, the enemy character CA2);
A step of controlling the virtual camera so as to shoot the character from a predetermined direction (for example, behind the game character CA1) when the character is directed to the target character by receiving the attack operation ( For example, step S42)
An information processing method comprising:
In this disclosure, the virtual camera is controlled to track the character during the movement operation, and the virtual camera is controlled to capture the character from a predetermined direction without using the movement operation as a trigger during the attack operation. The Thus, this disclosure can provide camera work that increases the fluidity and presence of character movement during a movement operation, and is suitable for engagement even when no movement operation is input during an attack operation. Can provide camera work. Therefore, according to this disclosure, the game performance can be improved.

(項目2)
前記キャラクタを前記対象キャラクタに向かせるステップでは、所定期間内に連続する前記攻撃操作が受け付けられた場合、前記所定期間内に連続する前記攻撃操作のうち最初の攻撃動作の対象となる前記対象キャラクタに前記キャラクタを向かせ、
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記最初の攻撃操作が受け付けられたことによって前記キャラクタが前記対象キャラクタに向けられた場合、予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御する、項目1に記載の情報処理方法。
この開示では、いわゆる連撃操作が行われた場合、最初の攻撃操作に基づいて予め定められた方向からキャラクタを撮影するように仮想カメラが制御される。よって、この開示によれば、連撃操作の開始時においてユーザにキャラクタの向きを理解させ、連撃操作に方向性のある入力操作が含まれていた場合であっても連撃操作を入力し易くすることができる。
(Item 2)
In the step of directing the character to the target character, the target character that is the target of the first attack action among the attack operations that are continued within the predetermined period when the attack operation is received within the predetermined period. Point the character to
In the step of controlling the virtual camera so as to shoot the character from the predetermined direction, when the first attack operation is accepted and the character is directed to the target character, a predetermined value is set. The information processing method according to item 1, wherein the virtual camera is controlled to shoot the character from a direction.
In this disclosure, when a so-called continuous attack operation is performed, the virtual camera is controlled so as to capture a character from a predetermined direction based on the first attack operation. Therefore, according to this disclosure, at the start of the continuous attack operation, the user understands the direction of the character, and even if the continuous operation includes a directional input operation, the continuous operation is input. Can be made easier.

(項目3)
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記最初の攻撃操作に基づいて決定された前記仮想カメラの撮影方向を、前記所定期間内に連続する前記攻撃操作を受け付けている間は変更しない、項目2に記載の情報処理方法。
この開示では、連撃中にキャラクタの向きが変更された場合であっても、最初の攻撃操作に基づいて設定された仮想カメラの撮影方向が固定される。このように、この開示は、ユーザにキャラクタの向きを一度理解させた後は、固定されたアングルで連撃の様子を提供することにより、ユーザがキャラクタの向きを見失うことが無い状態で、連撃中のキャラクタや対象キャラクタを種々の角度から確認させることができる。
(Item 3)
In the step of controlling the virtual camera to shoot the character from the predetermined direction, the shooting direction of the virtual camera determined based on the first attacking operation is continued within the predetermined period. The information processing method according to item 2, wherein the information is not changed while an attack operation is received.
In this disclosure, the shooting direction of the virtual camera set based on the first attack operation is fixed even when the direction of the character is changed during the continuous hit. Thus, this disclosure provides the user with an understanding of the orientation of the character once, and provides a state of continuous strike at a fixed angle, so that the user does not lose sight of the orientation of the character. It is possible to confirm the character being shot and the target character from various angles.

(項目4)
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記所定期間内に連続する前記攻撃操作を受け付けている間、前記最初の攻撃操作に基づいて決定された前記仮想カメラの撮影方向を維持するように、前記仮想カメラの撮影方向を変更し続ける、項目2に記載の情報処理方法。
この開示では、連撃中は、最初の攻撃操作に基づいて決定された仮想カメラの撮影方向を維持するように、仮想カメラの撮影方向が変更され続ける。このように、この開示は、連撃中のキャラクタの向きと撮影方向とを一定に保つことにより、ユーザがキャラクタの向きを見失うことが無い状態で、連撃中のキャラクタや対象キャラクタを確認させることができる。
(Item 4)
In the step of controlling the virtual camera to shoot the character from the predetermined direction, the virtual camera is determined based on the first attack operation while receiving the attack operation continuous within the predetermined period. Item 3. The information processing method according to Item 2, wherein the shooting direction of the virtual camera is continuously changed so as to maintain the shooting direction of the virtual camera.
In this disclosure, the shooting direction of the virtual camera is continuously changed so as to maintain the shooting direction of the virtual camera determined based on the initial attack operation during the continuous hit. As described above, this disclosure keeps the direction and shooting direction of the character under consecutive hits constant, and allows the user to check the character and target character under consecutive hits without losing sight of the direction of the character. be able to.

(項目5)
前記所定期間内に連続する前記攻撃操作は、フリック操作を含み、
前記攻撃動作は、前記キャラクタの向きと前記フリック操作の方向に基づいて決定される、項目2〜4のいずれか一項に記載の情報処理方法。
この開示によれば、連撃操作に方向性のあるフリック操作が含まれていた場合であっても連撃操作を入力し易くすることができる。
(Item 5)
The attack operation continuous within the predetermined period includes a flick operation,
The information processing method according to any one of Items 2 to 4, wherein the attacking action is determined based on a direction of the character and a direction of the flick operation.
According to this disclosure, even if a continuous flick operation includes a directional flick operation, it is possible to easily input the continuous operation.

(項目6)
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記キャラクタの背後から前記キャラクタを撮影するように前記仮想カメラを制御する項目1〜5のいずれか一項に記載の情報処理方法。
この開示によれば、交戦時の臨場感やキャラクタとの一体感を高めることができる。
(Item 6)
In the step of controlling the virtual camera to shoot the character from the predetermined direction, any one of items 1 to 5 for controlling the virtual camera to shoot the character from behind the character. Information processing method described in 1.
According to this disclosure, it is possible to enhance a sense of presence and a sense of unity with the character during the battle.

(項目7)
前記仮想空間を移動する前記キャラクタを追尾するように前記仮想カメラを制御するステップでは、前記キャラクタの背後から前記キャラクタを撮影するように前記仮想カメラを制御する、項目6に記載の情報処理方法。
この開示によれば、移動操作中から攻撃操作中に遷移するときに、カメラの動きが横方向(パン)になるので、急激な画面変化(視点変化)を抑えることができる。
(Item 7)
7. The information processing method according to item 6, wherein in the step of controlling the virtual camera so as to track the character moving in the virtual space, the virtual camera is controlled so that the character is photographed from behind the character.
According to this disclosure, when the transition is made from the movement operation to the attack operation, the movement of the camera is in the horizontal direction (pan), so that a rapid screen change (viewpoint change) can be suppressed.

(項目8)
前記仮想空間を移動する前記キャラクタを追尾するように前記仮想カメラを制御するステップでは、前記キャラクタを前記仮想カメラにおける視野の所定位置に捉えるように、かつ、前記仮想カメラの移動量および向きの変化量が最小となるように、前記仮想カメラを制御する、項目6に記載の情報処理方法。
この開示によれば、移動シーンと攻撃シーンとで視点変化が大きくなるため、移動と交戦とのシーンの切り替わりをユーザに容易に理解させることができるとともに、交戦時のユーザの緊張感を高めることができる。
(Item 8)
In the step of controlling the virtual camera to track the character moving in the virtual space, the character is captured at a predetermined position in the field of view of the virtual camera, and the movement amount and direction of the virtual camera are changed. Item 7. The information processing method according to Item 6, wherein the virtual camera is controlled so that the amount is minimized.
According to this disclosure, the viewpoint change between the movement scene and the attack scene becomes large, so that the user can easily understand the switching of the scene between the movement and the battle, and the tension of the user during the battle is enhanced. Can do.

(項目9)
項目1〜8のいずれか一項に記載の方法をコンピュータに実行させる、プログラム。
(Item 9)
A program that causes a computer to execute the method according to any one of items 1 to 8.

(項目10)
項目9に記載のプログラムを格納したメモリと、
前記メモリに結合され、前記プログラムを実行するためのプロセッサとを備える、装置。
(Item 10)
A memory storing the program according to item 9, and
And a processor coupled to the memory for executing the program.

1…ゲーム提供システム、10…携帯端末、20…サーバ、25…メモリ、26…ストレージ、29…プロセッサ、130…タッチスクリーン、150…記憶部、151…ゲームプログラム、190…制御部、191…入力操作受付部、192…ゲーム進行処理部、193…移動方向検出部、194…カメラ配置制御部、195…オブジェクト制御部、196…表示制御部、220…通信部、250…記憶部、251…ゲームプログラム、290…制御部、291…送受信部、292…サーバ処理部、293…データ管理部、294…マッチング部、295…計測部、300…操作オブジェクト、CA1…ゲームキャラクタ(キャラクタの一例)、CA2…敵キャラクタ。   DESCRIPTION OF SYMBOLS 1 ... Game provision system, 10 ... Portable terminal, 20 ... Server, 25 ... Memory, 26 ... Storage, 29 ... Processor, 130 ... Touch screen, 150 ... Memory | storage part, 151 ... Game program, 190 ... Control part, 191 ... Input Operation accepting unit, 192 ... Game progress processing unit, 193 ... Moving direction detection unit, 194 ... Camera placement control unit, 195 ... Object control unit, 196 ... Display control unit, 220 ... Communication unit, 250 ... Storage unit, 251 ... Game Program, 290 ... Control unit, 291 ... Transmission / reception unit, 292 ... Server processing unit, 293 ... Data management unit, 294 ... Matching unit, 295 ... Measurement unit, 300 ... Operation object, CA1 ... Game character (example of character), CA2 ... enemy characters.

Claims (10)

ゲームにおける仮想空間に配置された仮想カメラによって撮影された画像を表示するためにコンピュータによって実行される情報処理方法であって、
前記仮想空間においてキャラクタを移動させる移動操作及び前記キャラクタに攻撃動作を行わせる攻撃操作を受け付けるステップと、
前記移動操作が受け付けられた場合、前記仮想空間を移動するキャラクタを追尾するように前記仮想カメラを制御するステップと、
前記攻撃操作が受け付けられた場合、前記キャラクタを前記攻撃動作の対象となる対象キャラクタに向かせるステップと、
前記攻撃操作が受け付けられたことによって前記キャラクタが前記対象キャラクタに向けられた場合、予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップと、
を有する情報処理方法。
An information processing method executed by a computer to display an image taken by a virtual camera arranged in a virtual space in a game,
Receiving a moving operation for moving a character in the virtual space and an attack operation for causing the character to perform an attacking action;
If the moving operation is accepted, controlling the virtual camera to track a character moving in the virtual space;
When the attack operation is accepted, directing the character to the target character that is the target of the attack action;
Controlling the virtual camera to shoot the character from a predetermined direction when the character is directed to the target character due to the acceptance of the attack operation;
An information processing method comprising:
前記キャラクタを前記対象キャラクタに向かせるステップでは、所定期間内に連続する前記攻撃操作が受け付けられた場合、前記所定期間内に連続する前記攻撃操作のうち最初の攻撃動作の対象となる前記対象キャラクタに前記キャラクタを向かせ、
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記最初の攻撃操作が受け付けられたことによって前記キャラクタが前記対象キャラクタに向けられた場合、予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御する、請求項1に記載の情報処理方法。
In the step of directing the character to the target character, the target character that is the target of the first attack action among the attack operations that are continued within the predetermined period when the attack operation is received within the predetermined period. Point the character to
In the step of controlling the virtual camera so as to shoot the character from the predetermined direction, when the first attack operation is accepted and the character is directed to the target character, a predetermined value is set. The information processing method according to claim 1, wherein the virtual camera is controlled to shoot the character from a direction.
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記最初の攻撃操作に基づいて決定された前記仮想カメラの撮影方向を、前記所定期間内に連続する前記攻撃操作を受け付けている間は変更しない、請求項2に記載の情報処理方法。   In the step of controlling the virtual camera to shoot the character from the predetermined direction, the shooting direction of the virtual camera determined based on the first attacking operation is continued within the predetermined period. The information processing method according to claim 2, wherein the information is not changed while an attack operation is received. 前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記所定期間内に連続する前記攻撃操作を受け付けている間、前記最初の攻撃操作に基づいて決定された前記仮想カメラの撮影方向を維持するように、前記仮想カメラの撮影方向を変更し続ける、請求項2に記載の情報処理方法。   In the step of controlling the virtual camera to shoot the character from the predetermined direction, the virtual camera is determined based on the first attack operation while receiving the attack operation continuous within the predetermined period. The information processing method according to claim 2, wherein the shooting direction of the virtual camera is continuously changed so as to maintain the shooting direction of the virtual camera. 前記所定期間内に連続する前記攻撃操作は、フリック操作を含み、
前記攻撃動作は、前記キャラクタの向きと前記フリック操作の方向に基づいて決定される、請求項2〜4のいずれか一項に記載の情報処理方法。
The attack operation continuous within the predetermined period includes a flick operation,
The information processing method according to any one of claims 2 to 4, wherein the attacking action is determined based on a direction of the character and a direction of the flick operation.
前記予め定められた方向から前記キャラクタを撮影するように前記仮想カメラを制御するステップでは、前記キャラクタの背後から前記キャラクタを撮影するように前記仮想カメラを制御する請求項1〜5のいずれか一項に記載の情報処理方法。   6. The step of controlling the virtual camera to shoot the character from the predetermined direction controls the virtual camera to shoot the character from behind the character. Information processing method according to item. 前記仮想空間を移動する前記キャラクタを追尾するように前記仮想カメラを制御するステップでは、前記キャラクタの背後から前記キャラクタを撮影するように前記仮想カメラを制御する、請求項6に記載の情報処理方法。   The information processing method according to claim 6, wherein, in the step of controlling the virtual camera so as to track the character moving in the virtual space, the virtual camera is controlled so as to photograph the character from behind the character. . 前記仮想空間を移動する前記キャラクタを追尾するように前記仮想カメラを制御するステップでは、前記キャラクタを前記仮想カメラにおける視野の所定位置に捉えるように、かつ、前記仮想カメラの移動量および向きの変化量が最小となるように、前記仮想カメラを制御する、請求項6に記載の情報処理方法。   In the step of controlling the virtual camera to track the character moving in the virtual space, the character is captured at a predetermined position in the field of view of the virtual camera, and the movement amount and direction of the virtual camera are changed. The information processing method according to claim 6, wherein the virtual camera is controlled so that the amount is minimized. 請求項1〜8のいずれか一項に記載の方法をコンピュータに実行させる、プログラム。   The program which makes a computer perform the method as described in any one of Claims 1-8. 請求項9に記載のプログラムを格納したメモリと、
前記メモリに結合され、前記プログラムを実行するためのプロセッサとを備える、装置。
A memory storing the program according to claim 9;
And a processor coupled to the memory for executing the program.
JP2018070700A 2016-12-22 2018-04-02 An information processing method, a device, and a program for causing a computer to execute the information processing method. Active JP6907148B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018070700A JP6907148B2 (en) 2016-12-22 2018-04-02 An information processing method, a device, and a program for causing a computer to execute the information processing method.
JP2021107249A JP2021178183A (en) 2018-04-02 2021-06-29 Information processing method, apparatus, and program for causing computer to execute information processing method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016249057A JP6318228B1 (en) 2016-12-22 2016-12-22 Information processing method, apparatus, and program for causing computer to execute information processing method
JP2018070700A JP6907148B2 (en) 2016-12-22 2018-04-02 An information processing method, a device, and a program for causing a computer to execute the information processing method.

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016249057A Division JP6318228B1 (en) 2016-12-22 2016-12-22 Information processing method, apparatus, and program for causing computer to execute information processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021107249A Division JP2021178183A (en) 2018-04-02 2021-06-29 Information processing method, apparatus, and program for causing computer to execute information processing method

Publications (3)

Publication Number Publication Date
JP2018102987A true JP2018102987A (en) 2018-07-05
JP2018102987A5 JP2018102987A5 (en) 2020-01-30
JP6907148B2 JP6907148B2 (en) 2021-07-21

Family

ID=62784996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018070700A Active JP6907148B2 (en) 2016-12-22 2018-04-02 An information processing method, a device, and a program for causing a computer to execute the information processing method.

Country Status (1)

Country Link
JP (1) JP6907148B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020062179A (en) * 2018-10-16 2020-04-23 株式会社セガゲームス Information processor and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004223284A (en) * 2004-05-06 2004-08-12 Nintendo Co Ltd Game device and memory medium thereof
JP2008229290A (en) * 2007-03-22 2008-10-02 Tsutomu Ishizaka Battle system
JP2010273987A (en) * 2009-05-29 2010-12-09 Namco Bandai Games Inc Program, information storage medium and image forming system
JP6318228B1 (en) * 2016-12-22 2018-04-25 株式会社コロプラ Information processing method, apparatus, and program for causing computer to execute information processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004223284A (en) * 2004-05-06 2004-08-12 Nintendo Co Ltd Game device and memory medium thereof
JP2008229290A (en) * 2007-03-22 2008-10-02 Tsutomu Ishizaka Battle system
JP2010273987A (en) * 2009-05-29 2010-12-09 Namco Bandai Games Inc Program, information storage medium and image forming system
JP6318228B1 (en) * 2016-12-22 2018-04-25 株式会社コロプラ Information processing method, apparatus, and program for causing computer to execute information processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"ファンタジーライフLINK!のバトル攻略", [ONLINE], JPN6017039597, 2015, ISSN: 0004401806 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020062179A (en) * 2018-10-16 2020-04-23 株式会社セガゲームス Information processor and program

Also Published As

Publication number Publication date
JP6907148B2 (en) 2021-07-21

Similar Documents

Publication Publication Date Title
JP6318279B1 (en) Information processing method, apparatus, and program for causing computer to execute information processing method
JP6438198B2 (en) Program and game device
JP6318228B1 (en) Information processing method, apparatus, and program for causing computer to execute information processing method
JP6244445B1 (en) Information processing method, apparatus, and program for causing computer to execute information processing method
JP6002345B1 (en) Information processing apparatus including game program, method, and touch screen
JP6673796B2 (en) GAME PROGRAM, GAME PROVIDING METHOD, AND INFORMATION PROCESSING DEVICE
JP6907148B2 (en) An information processing method, a device, and a program for causing a computer to execute the information processing method.
JP6924564B2 (en) Game program
JP6336168B1 (en) Information processing method, apparatus, and program for causing computer to execute information processing method
JP2017192538A (en) Game program, method, and information processor with touch screen
JP2017192537A (en) Game program, method, and information processor with touch screen
JP6263293B1 (en) Information processing method, apparatus, and program for causing computer to execute information processing method
JP6902461B2 (en) An information processing method, a device, and a program for causing a computer to execute the information processing method.
JP2018102909A (en) Information processing method, apparatus, and program for causing computer to execute information processing method
JP2021178183A (en) Information processing method, apparatus, and program for causing computer to execute information processing method
KR102205901B1 (en) Method for providing augmented reality, and the computing device
JP6174202B1 (en) Information processing apparatus provided with game program, method, and touch screen
JP6554506B2 (en) INFORMATION PROCESSING METHOD, INFORMATION PROCESSING DEVICE, AND INFORMATION PROCESSING PROGRAM
US10095266B2 (en) System and method for interfacing between a display and a controller
JP6002344B1 (en) Information processing apparatus including game program, method, and touch screen
JP6306771B1 (en) Information processing method, information processing apparatus, and information processing program
JP2018153639A (en) Information processing method, apparatus, and program for implementing information processing method in computer
JP2017221676A (en) Game program, method, and information processor with touch screen
JP2018033972A (en) Game program, method and information processing device including touch screen
JP2018020150A (en) Game program, method, and information processor with touch screen

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20191015

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191210

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A132

Effective date: 20201204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210122

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: 20210608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210630

R150 Certificate of patent or registration of utility model

Ref document number: 6907148

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150