JP2020162840A - Program, information processing device and information processing method - Google Patents

Program, information processing device and information processing method Download PDF

Info

Publication number
JP2020162840A
JP2020162840A JP2019065864A JP2019065864A JP2020162840A JP 2020162840 A JP2020162840 A JP 2020162840A JP 2019065864 A JP2019065864 A JP 2019065864A JP 2019065864 A JP2019065864 A JP 2019065864A JP 2020162840 A JP2020162840 A JP 2020162840A
Authority
JP
Japan
Prior art keywords
touch position
area
touch
instruction
position information
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
JP2019065864A
Other languages
Japanese (ja)
Other versions
JP6961881B2 (en
Inventor
岡村 憲明
Noriaki Okamura
憲明 岡村
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.)
Konami Digital Entertainment Co Ltd
Original Assignee
Konami Digital Entertainment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Konami Digital Entertainment Co Ltd filed Critical Konami Digital Entertainment Co Ltd
Priority to JP2019065864A priority Critical patent/JP6961881B2/en
Publication of JP2020162840A publication Critical patent/JP2020162840A/en
Application granted granted Critical
Publication of JP6961881B2 publication Critical patent/JP6961881B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

To reduce the possibility that an erroneous input is performed even in the case that a deviation in a touch position to a touch panel can occur.SOLUTION: A program related to a prescribed game causes a processor 11 to function as a touch information acquisition part 113 for acquiring information showing a touch position P of a touch to a touch panel 12, an operation area allocation part 114 for allocating a first area and a second area to the touch panel 12, and a game control part 111 for determining contents of an instruction related to a game on the basis of the touch position P. The game control part 111 changes an instruction related to the game from a first instruction corresponding to the first area to a second instruction corresponding to the second area if a moving speed of the touch panel P satisfies a prescribed speed condition in the case that the touch position P is moved from the first area to the second area in a state in which the touch to the touch panel 12 continues, and maintains the instruction related to the game to the first instruction in the case that the moving speed of the touch position P does not satisfy the prescribed speed condition.SELECTED DRAWING: Figure 4

Description

本発明は、プログラム、情報処理装置及び情報処理方法に関する。 The present invention relates to programs, information processing devices and information processing methods.

タッチパネルを用いて、ユーザからの指示の入力を受け付ける機器が普及している(例えば、特許文献1参照)。 Devices that accept input of instructions from users using a touch panel have become widespread (see, for example, Patent Document 1).

特開2014−044455号公報Japanese Unexamined Patent Publication No. 2014-0444555

ところで、タッチパネルに、所望の指示を入力するための所定の入力領域が設けられている場合がある。このような場合、ユーザは、タッチパネルの所定の入力領域をタッチすることで、所望の指示を入力することができる。 By the way, the touch panel may be provided with a predetermined input area for inputting a desired instruction. In such a case, the user can input a desired instruction by touching a predetermined input area of the touch panel.

しかし、例えば、ユーザが所望の指示を変更するつもりがない場合でも、ユーザのタッチ位置が、所定の入力領域とは異なる位置にずれてしまうことがある。ユーザのタッチ位置が、所定の入力領域からずれてしまう場合、ユーザの所望する指示と異なる指示が入力されるという問題があった。 However, for example, even if the user does not intend to change the desired instruction, the user's touch position may shift to a position different from the predetermined input area. When the touch position of the user deviates from a predetermined input area, there is a problem that an instruction different from the instruction desired by the user is input.

本発明は、上述した事情を鑑みてなされてものであり、タッチパネルへのタッチ位置にずれが生じうる場合であっても、誤った入力がなされる可能性を低減することを可能とする技術の提供を、解決課題の一つとする。 The present invention has been made in view of the above-mentioned circumstances, and is a technique capable of reducing the possibility of erroneous input even when the touch position on the touch panel may be displaced. Providing is one of the solutions.

以上の課題を解決するために、本発明の一態様に係るプログラムは、プロセッサを、タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルに、第1領域及び第2領域を割り当てる領域割当部と、前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定する指示部と、して機能させ、前記指示部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、ことを特徴とする。 In order to solve the above problems, in a program according to one aspect of the present invention, a processor is provided with an acquisition unit for acquiring touch position information indicating a touch position of a touch with respect to a touch panel, and a first region and a second region on the touch panel. The area allocation unit that allocates the area and the instruction unit that determines the content of the instruction related to the game based on the touch position indicated by the touch position information are made to function, and the instruction unit continues to touch the touch panel. When the touch position indicated by the touch position information moves from the first region to the second region, or when the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, The instruction related to the game is changed from the first instruction associated with the first area to the second instruction associated with the second area, and the moving speed of the touch position indicated by the touch position information is changed. Is not satisfied with the predetermined speed condition, the instruction relating to the game is maintained in the first instruction.

第1実施形態に係る端末装置の外観の一例を示す説明図である。It is explanatory drawing which shows an example of the appearance of the terminal apparatus which concerns on 1st Embodiment. 入力領域がタッチされた場合の端末装置の外観の一例を示す説明図である。It is explanatory drawing which shows an example of the appearance of the terminal apparatus when an input area is touched. 入力領域がタッチされた場合の端末装置の外観の別の例を示す説明図である。It is explanatory drawing which shows another example of the appearance of the terminal apparatus when an input area is touched. 端末装置の構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the structure of a terminal device. 端末装置のハードウェア構成の一例を示すハードウェア構成図である。It is a hardware configuration diagram which shows an example of the hardware configuration of a terminal device. 端末装置の動作の一例を示す説明図である。It is explanatory drawing which shows an example of the operation of a terminal device. 端末装置の動作の別の例を示す説明図である。It is explanatory drawing which shows another example of operation of a terminal apparatus. 端末装置の動作の別の例を示す説明図である。It is explanatory drawing which shows another example of operation of a terminal apparatus. 端末装置の動作の別の例を示す説明図である。It is explanatory drawing which shows another example of operation of a terminal apparatus. 端末装置の動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation of a terminal device. タッチ継続処理の一例を示すフローチャートである。It is a flowchart which shows an example of touch continuation processing. 第2実施形態に係る端末装置の構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of the structure of the terminal apparatus which concerns on 2nd Embodiment. タッチパネルに対する入力領域の割り当ての変更方法の一例を示す説明図である。It is explanatory drawing which shows an example of the method of changing the allocation of an input area with respect to a touch panel. タッチパネルに対する入力領域の割り当ての変更方法の別の例を示す説明図である。It is explanatory drawing which shows another example of the method of changing the allocation of an input area to a touch panel. タッチパネルに対する入力領域の割り当ての変更方法の別の例を示す説明図である。It is explanatory drawing which shows another example of the method of changing the allocation of an input area to a touch panel. タッチパネルに対する入力領域の割り当ての変更方法の別の例を示す説明図である。It is explanatory drawing which shows another example of the method of changing the allocation of an input area to a touch panel. タッチパネルに対する入力領域の割り当ての変更方法の別の例を示す説明図である。It is explanatory drawing which shows another example of the method of changing the allocation of an input area to a touch panel. タッチ継続処理の一例を示すフローチャートである。It is a flowchart which shows an example of touch continuation processing. 変形例1に係る操作領域の一例を示す説明図である。It is explanatory drawing which shows an example of the operation area which concerns on modification 1. FIG. 変形例1に係る入力領域の割り当ての変更方法の一例を示す説明図である。It is explanatory drawing which shows an example of the method of changing the allocation of the input area which concerns on modification 1. 変形例2に係る操作領域の一例を示す説明図である。It is explanatory drawing which shows an example of the operation area which concerns on modification 2. 変形例2に係る入力領域及びニュートラル領域の割り当ての変更方法の一例を示す説明図である。It is explanatory drawing which shows an example of the method of changing the allocation of an input area and a neutral area which concerns on modification 2. FIG. 変形例2に係る入力領域及びニュートラル領域の割り当ての変更方法の別の例を示す説明図である。It is explanatory drawing which shows another example of the method of changing the allocation of an input area and a neutral area which concerns on modification 2. FIG. 変形例3に係る端末装置の動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation of the terminal apparatus which concerns on modification 3. 変形例10に係る情報処理システムの構成の一例を示すブロック図である。It is a block diagram which shows an example of the structure of the information processing system which concerns on modification 10.

以下、本発明を実施するための形態について図面を参照して説明する。なお、各図において、各部の寸法及び縮尺は、実際のものと適宜に異ならせてある。また、以下に述べる実施の形態は、本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの形態に限られるものではない。 Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. In each drawing, the dimensions and scale of each part are appropriately different from the actual ones. Further, since the embodiments described below are suitable specific examples of the present invention, various technically preferable limitations are attached, but the scope of the present invention particularly limits the present invention in the following description. Unless otherwise stated, the present invention is not limited to these forms.

[1.第1実施形態]
先ず、図1から図3を参照しながら、第1実施形態に係る端末装置10の概要の一例について説明する。
[1. First Embodiment]
First, an example of an outline of the terminal device 10 according to the first embodiment will be described with reference to FIGS. 1 to 3.

図1は、第1実施形態に係る端末装置10の外観の一例を説明するための説明図である。端末装置10は、例えば、スマートフォン、タブレット端末、又は、携帯用のゲーム装置等の、可搬型の情報処理装置である。但し、端末装置10は、例えば、業務用のゲーム装置、又は、デスクトップ型のパーソナルコンピュータ等の、据置型の情報処理装置であってもよい。 FIG. 1 is an explanatory diagram for explaining an example of the appearance of the terminal device 10 according to the first embodiment. The terminal device 10 is a portable information processing device such as a smartphone, a tablet terminal, or a portable game device. However, the terminal device 10 may be a stationary information processing device such as a game device for business use or a desktop personal computer.

端末装置10は、タッチパネル12を有する。タッチパネル12は、各種画像を表示する機能(例えば、図4に示す表示部120)と、端末装置10に対するユーザからの指示の入力を受け付ける機能(例えば、図4に示す入力部122)とを有する。具体的には、タッチパネル12は、図2に示すように、ユーザの指FG等の物体がタッチパネル12に接触している場合に、当該物体のタッチパネル12における接触位置であるタッチ位置Pを検出し、検出したタッチ位置Pを示すタッチ位置情報を周期的に出力する。以下では、タッチパネル12に対して接触する物体が、ユーザの指FGである場合を、一例として説明する。 The terminal device 10 has a touch panel 12. The touch panel 12 has a function of displaying various images (for example, the display unit 120 shown in FIG. 4) and a function of receiving an input of an instruction from a user to the terminal device 10 (for example, an input unit 122 shown in FIG. 4). .. Specifically, as shown in FIG. 2, when an object such as a user's finger FG is in contact with the touch panel 12, the touch panel 12 detects a touch position P which is a contact position of the object on the touch panel 12. , The touch position information indicating the detected touch position P is periodically output. In the following, a case where the object in contact with the touch panel 12 is a user's finger FG will be described as an example.

本実施形態では、説明の便宜上、図1に示すように、タッチパネル12に固定された座標系であるタッチパネル座標系ΣSを導入する。具体的には、タッチパネル座標系ΣSとは、例えば、タッチパネル12の所定箇所に固定された原点Osを有し、互いに直交するXs軸及びYs軸を有する2軸の直交座標系である。また、以下では、Xs軸の矢印の指す方向は+Xs方向と称され、+Xs方向の逆方向は−Xs方向と称される。同様に、Ys軸の矢印の指す方向は+Ys方向と称され、+Ys方向の逆方向は−Ys方向と称される。 In the present embodiment, for convenience of explanation, as shown in FIG. 1, a touch panel coordinate system ΣS, which is a coordinate system fixed to the touch panel 12, is introduced. Specifically, the touch panel coordinate system ΣS is, for example, a two-axis Cartesian coordinate system having an origin Os fixed at a predetermined position on the touch panel 12 and having an Xs axis and a Ys axis orthogonal to each other. Further, in the following, the direction pointed by the arrow on the Xs axis is referred to as the + Xs direction, and the direction opposite to the + Xs direction is referred to as the −Xs direction. Similarly, the direction indicated by the arrow on the Ys axis is referred to as the + Ys direction, and the direction opposite to the + Ys direction is referred to as the −Ys direction.

端末装置10は、所定のゲームに係るプログラム(「プログラム」の一例)を実行することで、所定のゲームに係る画像をタッチパネル12に表示する。例えば、端末装置10は、所定のゲームを実行する場合、所定のゲームに係る仮想空間SPと、当該仮想空間SPに存在する所定のゲームに係るキャラクタCRと、バーチャルパッドとを、タッチパネル12に表示する。以下では、バーチャルパッドが表示される領域を操作領域Vと称する。ここで、バーチャルパッドの表示される操作領域Vとは、ユーザによるキャラクタCRの操作に係る入力を受け付けるための領域である。 The terminal device 10 displays an image related to a predetermined game on the touch panel 12 by executing a program related to the predetermined game (an example of the “program”). For example, when the terminal device 10 executes a predetermined game, the virtual space SP related to the predetermined game, the character CR related to the predetermined game existing in the virtual space SP, and the virtual pad are displayed on the touch panel 12. To do. In the following, the area where the virtual pad is displayed is referred to as an operation area V. Here, the operation area V on which the virtual pad is displayed is an area for receiving an input related to the operation of the character CR by the user.

なお、本実施形態では、操作領域Vが、基準位置Ovを中心とする円BDvの内側の領域である場合を一例として想定する。但し、操作領域Vは、円形に限定されない。例えば、タッチパネル12の画面左半分が操作領域Vに設定されてもよい。また、本実施形態では、操作領域Vが、タッチパネル12において、ユーザに視認可能な態様で表示される場合を、一例として想定する。但し、操作領域Vは、タッチパネル12において、ユーザに視認されないように設けられた仮想的な領域であってもよい。本実施形態では、後述する図4に示す操作領域割当部(「領域割当部」の一例)が、操作領域Vを、所定のゲームの起動時にタッチパネル12上の所定の位置に割り当てる。 In this embodiment, it is assumed that the operation area V is an area inside the circle BDv centered on the reference position Ov as an example. However, the operation area V is not limited to a circular shape. For example, the left half of the screen of the touch panel 12 may be set in the operation area V. Further, in the present embodiment, a case where the operation area V is displayed on the touch panel 12 in a manner visible to the user is assumed as an example. However, the operation area V may be a virtual area provided on the touch panel 12 so as not to be visually recognized by the user. In the present embodiment, the operation area allocation unit (an example of the “area allocation unit”) shown in FIG. 4 described later allocates the operation area V to a predetermined position on the touch panel 12 when a predetermined game is started.

本実施形態では、図1に示すように、操作領域Vが、タッチパネル座標系ΣSにおけるキャラクタCRの顔が向く方向の指示を入力するための領域である2個の入力領域RD(RDr及びRDl)を含む場合を、一例として想定する。但し、入力領域RDは、仮想空間SPにおけるキャラクタCRの顔が向く方向の指示を入力するための領域であってもよい。なお、本実施形態において、キャラクタCRの顔が向く方向とは、「ゲームに係る操作方向」の一例である。「ゲームに係る操作方向」は、「ゲームに係る指示」の内容の一例である。なお、「ゲームに係る指示」は、「ゲームに係る操作方向」に関する指示に限定されず、例えば、所定のゲームに係るキャラクタCRからの質問に対する回答(例えば、YES/NO等)を選択する指示であってもよい。また、入力領域RDr及びRDlの一方は「第1領域」の一例であり、入力領域RDr及びRDlの他方は「第2領域」の一例である。また、入力領域RDr及びRDlの一方に対応付けられた指示は「第1の指示」の一例であり、入力領域RDr及びRDlの他方に対応付けられた指示は「第2の指示」の一例である。 In the present embodiment, as shown in FIG. 1, the operation area V is two input areas RD (RDr and RDl) in which the operation area V is an area for inputting an instruction in the direction in which the face of the character CR in the touch panel coordinate system ΣS faces. Is assumed as an example. However, the input area RD may be an area for inputting an instruction in the direction in which the face of the character CR in the virtual space SP faces. In the present embodiment, the direction in which the face of the character CR faces is an example of the "operation direction related to the game". The "operation direction related to the game" is an example of the contents of the "instruction related to the game". The "instruction related to the game" is not limited to the instruction related to the "operation direction related to the game", and is, for example, an instruction to select an answer (for example, YES / NO) to a question from the character CR related to a predetermined game. It may be. Further, one of the input regions RDr and RDl is an example of the "first region", and the other of the input regions RDr and RDl is an example of the "second region". Further, the instruction associated with one of the input areas RDr and RDl is an example of the "first instruction", and the instruction associated with the other of the input areas RDr and RDl is an example of the "second instruction". is there.

本実施形態において、端末装置10は、一例として、基準位置Ovを中心とする円BDvの内側の領域のうち、境界線BDrlよりも+Xs方向に位置する領域を入力領域RDrとして設定し、境界線BDrlよりも−Xs方向に位置する領域を入力領域RDlとして設定する。境界線BDrlは、基準位置Ovを通り、Ys軸に沿って延在する線である。次に、図2及び図3を参照して、操作領域Vを用いた操作の概要を説明する。 In the present embodiment, as an example, the terminal device 10 sets a region located in the + Xs direction from the boundary line BDrl in the region inside the circle BDv centered on the reference position Ov as the input region RDr, and sets the boundary line. The area located in the −Xs direction from BDrl is set as the input area RDl. The boundary line BDrl is a line that passes through the reference position Ov and extends along the Ys axis. Next, an outline of the operation using the operation area V will be described with reference to FIGS. 2 and 3.

図2は、入力領域RDがタッチされた場合の端末装置10の外観の一例を説明するための説明図である。ユーザは、操作領域Vのうち、入力領域RDr及びRDlの何れかの領域にタッチすることで、キャラクタCRの顔の向きを変えることができる。図2に示す例では、入力領域RDrがタッチされている。 FIG. 2 is an explanatory diagram for explaining an example of the appearance of the terminal device 10 when the input area RD is touched. The user can change the direction of the face of the character CR by touching any of the input areas RDr and RDl in the operation area V. In the example shown in FIG. 2, the input area RDr is touched.

端末装置10は、タッチ位置Pが入力領域RDrに存在する場合、キャラクタCRの顔が向く方向を、+Xs方向とする旨の指示を受け付ける。この結果、+Xs方向を向いた顔のキャラクタCRが、タッチパネル12に表示される。 When the touch position P exists in the input area RDr, the terminal device 10 receives an instruction that the direction in which the face of the character CR faces is the + Xs direction. As a result, the character CR of the face facing the + Xs direction is displayed on the touch panel 12.

図3は、入力領域RDがタッチされた場合の端末装置10の外観の別の例を説明するための説明図である。図3に示す例では、入力領域RDlがタッチされている。端末装置10は、タッチ位置Pが入力領域RDlに存在する場合、キャラクタCRの顔が向く方向を、−Xs方向とする旨の指示を受け付ける。この結果、−Xs方向を向いた顔のキャラクタCRが、タッチパネル12に表示される。 FIG. 3 is an explanatory diagram for explaining another example of the appearance of the terminal device 10 when the input area RD is touched. In the example shown in FIG. 3, the input area RDl is touched. When the touch position P exists in the input area RDl, the terminal device 10 receives an instruction to set the direction in which the face of the character CR faces is the −Xs direction. As a result, the character CR of the face facing the −Xs direction is displayed on the touch panel 12.

なお、詳細は後述する図6から図9等で説明するが、本実施形態に係る端末装置10は、入力領域RDr及びRDlの一方から他方にタッチ位置Pが移動した場合、タッチ位置Pの移動速度が所定の速度条件を満たすか否かに応じて、キャラクタCRの顔の向きを変更するか維持するかを決定する。 The details will be described later with reference to FIGS. 6 to 9, but in the terminal device 10 according to the present embodiment, when the touch position P moves from one of the input areas RDr and RDl to the other, the touch position P moves. It is determined whether to change or maintain the face orientation of the character CR depending on whether or not the speed satisfies a predetermined speed condition.

また、タッチパネル12から指FGが離れた場合、キャラクタCRの顔の向きは、予め定められた向きに設定されてもよいし、タッチパネル12から指FGが離れる前と同じ向きに維持されてもよい。予め定められた向きは、例えば、タッチパネル座標系ΣSにおける正面方向(図1に示した向き)であってもよい。以下では、タッチパネル12から指FGが離れた場合に実行される処理は、非タッチ処理とも称される。次に、図4及び図5を参照しながら、端末装置10の構成の一例について説明する。 Further, when the finger FG is separated from the touch panel 12, the face orientation of the character CR may be set to a predetermined orientation, or may be maintained in the same orientation as before the finger FG is separated from the touch panel 12. .. The predetermined direction may be, for example, the front direction (direction shown in FIG. 1) in the touch panel coordinate system ΣS. Hereinafter, the process executed when the finger FG is separated from the touch panel 12 is also referred to as a non-touch process. Next, an example of the configuration of the terminal device 10 will be described with reference to FIGS. 4 and 5.

図4は、端末装置10の構成の一例を示す機能ブロック図である。端末装置10は、端末装置10の各部を制御する制御部110と、画像を表示するための表示部120と、端末装置10のユーザによる指示の入力を受け付ける入力部122と、各種情報を記憶する記憶部130と、端末装置10を振動させる振動発生部140とを有する。 FIG. 4 is a functional block diagram showing an example of the configuration of the terminal device 10. The terminal device 10 stores various information, a control unit 110 that controls each part of the terminal device 10, a display unit 120 for displaying an image, an input unit 122 that receives an input of an instruction by a user of the terminal device 10. It has a storage unit 130 and a vibration generating unit 140 that vibrates the terminal device 10.

表示部120の機能及び入力部122の機能は、図1に示したタッチパネル12により実現される。すなわち、タッチパネル12は、各種画像を表示可能な表示部120として機能し、さらに、端末装置10のユーザからの指示の入力を受け付ける入力部122として機能する。例えば、入力部122として機能するタッチパネル12は、図1で説明したように、タッチパネル12に対して物体が接触している場合に、当該物体のタッチパネル12における接触位置であるタッチ位置Pを検出し、検出したタッチ位置Pを示すタッチ位置情報を周期的に出力する。なお、タッチパネル12は、所定の単位時間(タッチ位置情報を出力する周期より短い時間)内に検出した複数の接触位置の平均をタッチ位置Pとして算出し、算出したタッチ位置Pを示すタッチ位置情報を周期的に出力してもよい。 The function of the display unit 120 and the function of the input unit 122 are realized by the touch panel 12 shown in FIG. That is, the touch panel 12 functions as a display unit 120 capable of displaying various images, and further functions as an input unit 122 that receives an input of an instruction from the user of the terminal device 10. For example, the touch panel 12 functioning as the input unit 122 detects the touch position P, which is the contact position of the object on the touch panel 12, when the object is in contact with the touch panel 12, as described with reference to FIG. , The touch position information indicating the detected touch position P is periodically output. The touch panel 12 calculates the average of a plurality of contact positions detected within a predetermined unit time (a time shorter than the cycle for outputting the touch position information) as the touch position P, and the touch position information indicating the calculated touch position P. May be output periodically.

記憶部130は、所定のゲームに係るプログラムと、タッチパネル12から周期的に出力されるタッチ位置情報の示すタッチ位置Pの履歴を示すタッチ位置履歴情報と、タッチパネル座標系ΣSにおける入力領域RDの位置を示す操作領域情報とを含む各種情報を記憶する。振動発生部140は、タッチパネル12を含む端末装置10全体を振動させる。 The storage unit 130 includes a program related to a predetermined game, touch position history information indicating the history of the touch position P indicated by the touch position information periodically output from the touch panel 12, and the position of the input area RD in the touch panel coordinate system ΣS. Various information including the operation area information indicating the above is stored. The vibration generating unit 140 vibrates the entire terminal device 10 including the touch panel 12.

制御部110は、ゲーム制御部111(「指示部」の一例)と、表示制御部112と、タッチ位置情報取得部113(「取得部」の一例)と、操作領域割当部114(「領域割当部」の一例)と、振動制御部115とを有する。 The control unit 110 includes a game control unit 111 (an example of an "instruction unit"), a display control unit 112, a touch position information acquisition unit 113 (an example of an "acquisition unit"), and an operation area allocation unit 114 ("area allocation"). It has an example) and a vibration control unit 115.

ゲーム制御部111は、所定のゲームの進行を制御する。例えば、ゲーム制御部111は、後述するタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pに基づいて、所定のゲームに係る指示の内容を決定する。具体的には、ゲーム制御部111は、タッチ位置Pが入力領域RDに存在する場合に、キャラクタCRの顔が向く方向を、タッチ位置Pが存在する入力領域RDに対応する方向に設定する。 The game control unit 111 controls the progress of a predetermined game. For example, the game control unit 111 determines the content of the instruction related to a predetermined game based on the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113, which will be described later. Specifically, when the touch position P exists in the input area RD, the game control unit 111 sets the direction in which the face of the character CR faces in the direction corresponding to the input area RD in which the touch position P exists.

なお、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合、ゲーム制御部111は、例えば、タッチ位置Pの移動速度が所定の速度条件を満たすか否かに応じて、所定のゲームに係る指示を変更するか否かを決定する。所定の速度条件とは、例えば、タッチ位置Pが移動した際の移動速度が予め決められた閾値速度以上であることでもよいし、タッチ位置Pが移動した際の加速度が予め決められた閾値加速度以上であることでもよい。 When the touch position P moves from one of the input areas RDr and RDl to the other in a state where the touch to the touch panel 12 is continued, the game control unit 111, for example, moves the touch position P to a predetermined speed. It is determined whether or not to change the instruction related to the predetermined game depending on whether or not the condition is satisfied. The predetermined speed condition may be, for example, that the moving speed when the touch position P moves is equal to or higher than a predetermined threshold speed, or the acceleration when the touch position P moves is a predetermined threshold acceleration. It may be the above.

例えば、タッチ位置Pが入力領域RDlから入力領域RDrに移動した場合で、且つ、タッチ位置Pの移動速度が所定の速度条件を満たす場合には、ゲーム制御部111は、所定のゲームに係る指示を、入力領域RDlに対応付けられた指示から、入力領域RDrに対応付けられた指示に変更する。なお、例えば、タッチ位置Pが入力領域RDlから入力領域RDrに移動した場合であっても、タッチ位置Pの移動速度が所定の速度条件を満さない場合には、ゲーム制御部111は、所定のゲームに係る指示を、入力領域RDlに対応付けられた指示に維持する。なお、所定の速度条件は、速度を用いた条件であればよく、上述の例に限定されない。 For example, when the touch position P moves from the input area RDl to the input area RDr and the moving speed of the touch position P satisfies a predetermined speed condition, the game control unit 111 instructs the predetermined game. Is changed from the instruction associated with the input area RDl to the instruction associated with the input area RDr. For example, even when the touch position P moves from the input area RDl to the input area RDr, if the moving speed of the touch position P does not satisfy a predetermined speed condition, the game control unit 111 determines The instruction related to the game is maintained in the instruction associated with the input area RDl. The predetermined speed condition may be any condition using speed, and is not limited to the above example.

表示制御部112は、表示部120が、仮想空間SP、キャラクタCR、及び、操作領域Vを表示するように、表示部120を制御する。タッチ位置情報取得部113は、指FG等の物体のタッチパネル12に対するタッチのタッチ位置Pを示すタッチ位置情報を取得する。具体的には、タッチ位置情報取得部113は、図1等で説明したように、入力部122として機能するタッチパネル12から周期的に出力されるタッチ位置情報を取得する。 The display control unit 112 controls the display unit 120 so that the display unit 120 displays the virtual space SP, the character CR, and the operation area V. The touch position information acquisition unit 113 acquires touch position information indicating the touch position P of the touch on the touch panel 12 of an object such as a finger FG. Specifically, the touch position information acquisition unit 113 acquires the touch position information periodically output from the touch panel 12 that functions as the input unit 122, as described with reference to FIG.

操作領域割当部114は、例えば、所定のゲームの起動時に、タッチパネル12に入力領域RDr及びRDlを割り当てる。入力領域RDrは、キャラクタCRの顔が向く方向を+Xs方向とする旨の指示を、ゲーム制御部111に入力するための領域である。また、入力領域RDlは、キャラクタCRの顔が向く方向を−Xs方向とする旨の指示を、ゲーム制御部111に入力するための領域である。すなわち、入力領域RDrには、キャラクタCRの顔の向きを+Xs方向とする指示が対応付けられ、入力領域RDlには、キャラクタCRの顔の向きを−Xs方向とする指示が対応付けられている。 The operation area allocation unit 114 allocates the input areas RDr and RDl to the touch panel 12, for example, when a predetermined game is started. The input area RDr is an area for inputting an instruction to the game control unit 111 that the direction in which the face of the character CR faces is the + Xs direction. Further, the input area RDl is an area for inputting an instruction to the game control unit 111 that the direction in which the face of the character CR faces is the −Xs direction. That is, the input area RDr is associated with an instruction to set the face direction of the character CR in the + Xs direction, and the input area RDl is associated with an instruction to set the face direction of the character CR to the −Xs direction. ..

振動制御部115は、ゲーム制御部111が所定のゲームに係る指示を変更した場合、振動発生部140が端末装置10を振動させるように、振動発生部140を制御する。例えば、ゲーム制御部111が、所定のゲームに係る指示を、キャラクタCRの顔が向く方向を+Xs方向とする指示から、キャラクタCRの顔が向く方向を−Xs方向とする指示に変更した場合、振動制御部115は、振動発生部140を制御して端末装置10を振動させる。なお、振動制御部115は、タッチ位置Pが所定の速度条件を満たさずに入力領域RDr及びRDlの一方から他方に移動した場合にも、振動発生部140が端末装置10を振動させるように、振動発生部140を制御してもよい。この場合、タッチ位置Pがずれていることを、ユーザに振動で伝えることができる。 The vibration control unit 115 controls the vibration generation unit 140 so that the vibration generation unit 140 vibrates the terminal device 10 when the game control unit 111 changes the instruction related to a predetermined game. For example, when the game control unit 111 changes the instruction relating to a predetermined game from an instruction in which the direction in which the character CR faces faces is the + Xs direction to an instruction in which the direction in which the character CR faces faces is the −Xs direction. The vibration control unit 115 controls the vibration generation unit 140 to vibrate the terminal device 10. The vibration control unit 115 vibrates the terminal device 10 so that the vibration generation unit 140 vibrates even when the touch position P moves from one of the input regions RDr and RDl to the other without satisfying the predetermined speed condition. The vibration generating unit 140 may be controlled. In this case, it is possible to notify the user by vibration that the touch position P is displaced.

また、振動制御部115は、タッチ位置Pが、入力領域RDに存在しない状態から、入力領域RDに存在する状態に変化した場合、振動発生部140が端末装置10を振動させるように、振動発生部140を制御してもよい。あるいは、振動制御部115は、タッチ位置Pが、入力領域RDに存在する状態から、入力領域RDに存在しない状態に変化した場合に、振動発生部140が端末装置10を振動させるように、振動発生部140を制御してもよい。また、振動制御部115は、ユーザの指FGが、タッチパネル12に対して接触していない状態から、接触している状態に変化した場合に、振動発生部140が端末装置10を振動させるように、振動発生部140を制御してもよい。以下では、ユーザの指FGが、タッチパネル12に対して接触していない状態から、接触している状態に変化することを、「タッチイン」とも称する。 Further, when the touch position P changes from a state where the touch position P does not exist in the input area RD to a state where the touch position P exists in the input area RD, the vibration control unit 115 generates vibration so that the vibration generating unit 140 vibrates the terminal device 10. The unit 140 may be controlled. Alternatively, the vibration control unit 115 vibrates so that the vibration generating unit 140 vibrates the terminal device 10 when the touch position P changes from the state where it exists in the input area RD to the state where it does not exist in the input area RD. The generation unit 140 may be controlled. Further, the vibration control unit 115 causes the vibration generation unit 140 to vibrate the terminal device 10 when the user's finger FG changes from a state in which it is not in contact with the touch panel 12 to a state in which it is in contact with the touch panel 12. , The vibration generating unit 140 may be controlled. Hereinafter, the change from the state in which the user's finger FG is not in contact with the touch panel 12 to the state in which the finger FG is in contact with the touch panel 12 is also referred to as “touch-in”.

なお、端末装置10の構成は、図4に示した例に限定されない。例えば、振動発生部140は、端末装置10から省かれてもよい。この場合、振動制御部115は、制御部110から省かれてもよい。 The configuration of the terminal device 10 is not limited to the example shown in FIG. For example, the vibration generating unit 140 may be omitted from the terminal device 10. In this case, the vibration control unit 115 may be omitted from the control unit 110.

図5は、端末装置10のハードウェア構成の一例を示すハードウェア構成図である。端末装置10は、端末装置10の各部を制御するプロセッサ11(「情報処理装置」の一例)と、各種情報を記憶するメモリ13と、タッチパネル12と、振動発生装置14とを有する。 FIG. 5 is a hardware configuration diagram showing an example of the hardware configuration of the terminal device 10. The terminal device 10 includes a processor 11 (an example of an “information processing device”) that controls each part of the terminal device 10, a memory 13 that stores various information, a touch panel 12, and a vibration generator 14.

メモリ13は、例えば、プロセッサ11の作業領域として機能するRAM(Random Access Memory)等の揮発性メモリと、所定のゲームに係るプログラム等の各種情報を記憶するEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリとを含み、記憶部130として機能する。 The memory 13 is, for example, an EEPROM (Electrically Erasable Programmable Read-Only Memory) that stores various information such as a volatile memory such as a RAM (Random Access Memory) that functions as a work area of the processor 11 and a program related to a predetermined game. It functions as a storage unit 130 including a non-volatile memory such as the above.

プロセッサ11は、例えば、CPU(Central Processing Unit)であり、メモリ13に記憶された所定のゲームに係るプログラムを実行し、当該プログラムに従って動作することで、制御部110として機能する。タッチパネル12は、上述のとおり、表示部120及び入力部122として機能する。振動発生装置14は、例えば、振動を発生する振動モータであり、振動発生部140として機能する。 The processor 11 is, for example, a CPU (Central Processing Unit), and functions as a control unit 110 by executing a program related to a predetermined game stored in the memory 13 and operating according to the program. As described above, the touch panel 12 functions as a display unit 120 and an input unit 122. The vibration generator 14 is, for example, a vibration motor that generates vibration, and functions as a vibration generating unit 140.

なお、プロセッサ11は、CPUに加え、又は、CPUに代えて、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、又は、FPGA(Field Programmable Gate Array)等のハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ11により実現される制御部110の一部又は全部は、DSP等のハードウェアにより実現されてもよい。次に、図6から図9を参照しながら、タッチ位置Pが移動する場合の端末装置10の動作について説明する。 The processor 11 is configured to include hardware such as a GPU (Graphics Processing Unit), a DSP (Digital Signal Processor), or an FPGA (Field Programmable Gate Array) in addition to or in place of the CPU. It may be a thing. In this case, a part or all of the control unit 110 realized by the processor 11 may be realized by hardware such as a DSP. Next, the operation of the terminal device 10 when the touch position P moves will be described with reference to FIGS. 6 to 9.

図6から図9に示す例では、タッチ位置情報取得部113は、タッチパネル12から時間Tcycの周期で出力されるタッチ位置情報を取得する。なお、以下では、時刻tn(nは、0以上の整数)におけるタッチ位置Pは、タッチ位置P[tn]とも称される。また、以下では、時刻t(m−1)におけるタッチ位置P[t(m−1)]を始点とし、時刻tmにおけるタッチ位置P[tm]を終点とするタッチ位置移動ベクトルMVは、タッチ位置移動ベクトルMV[tm]とも称される(mは、1以上の整数)。また、図6から図9に示す例では、時刻t(m−1)から時刻tmまでの時間は、時間Tcycで一定であるため、タッチ位置移動ベクトルMV[tm]の大きさは、タッチ位置P[tm]の移動速度に対応する。例えば、タッチ位置P[tm]の移動速度は、タッチ位置P[t(m−1)]、タッチ位置P[tm]及び時間Tcycに基づいて算出されてもよい。具体的には、タッチ位置P[tm]の移動速度は、式“|MV[tm]|/Tcyc”に基づいて算出されてもよい。 In the example shown in FIGS. 6 to 9, the touch position information acquisition unit 113 acquires the touch position information output from the touch panel 12 in a cycle of time Tcyc. In the following, the touch position P at the time tun (n is an integer of 0 or more) is also referred to as the touch position P [tun]. Further, in the following, the touch position movement vector MV having the touch position P [t (m-1)] at the time t (m-1) as the start point and the touch position P [tm] at the time tm as the end point is the touch position. It is also called a movement vector MV [tm] (m is an integer of 1 or more). Further, in the example shown in FIGS. 6 to 9, since the time from the time t (m-1) to the time tm is constant at the time Tcyc, the magnitude of the touch position movement vector MV [tm] is the touch position. It corresponds to the movement speed of P [tm]. For example, the moving speed of the touch position P [tm] may be calculated based on the touch position P [t (m-1)], the touch position P [tm], and the time Tcyc. Specifically, the moving speed of the touch position P [tm] may be calculated based on the formula “| MV [tm] | / Tcyc”.

図6は、端末装置10の動作の一例を示す説明図である。図6では、タッチ位置Pの移動速度(|MV|/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合を例にして、端末装置10の動作を説明する。なお、図6に示す時刻t10から時刻t14までの期間では、タッチパネル12に対するタッチは、継続している。 FIG. 6 is an explanatory diagram showing an example of the operation of the terminal device 10. In FIG. 6, the operation of the terminal device 10 will be described by taking as an example a case where the moving speed (| MV | / Tcyc) of the touch position P is equal to or higher than the threshold speed TV as a predetermined speed condition. In the period from the time t10 to the time t14 shown in FIG. 6, the touch to the touch panel 12 continues.

時刻t10において、指FGが入力領域RDl内のタッチ位置P[t10]にタッチインする。このため、ゲーム制御部111は、所定のゲームに係る指示の内容を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)に決定する。そして、ゲーム制御部111は、キャラクタCRの顔の向きを、−Xs方向に設定する。 At time t10, the finger FG touches in to the touch position P [t10] in the input area RDl. Therefore, the game control unit 111 determines the content of the instruction relating to the predetermined game as an instruction (instruction associated with the input area RDl) in which the direction of the face of the character CR is the −Xs direction. Then, the game control unit 111 sets the direction of the face of the character CR in the −Xs direction.

時刻t10から時刻t11にかけて、タッチ位置Pは、タッチ位置P[t10]からタッチ位置P[t11]に移動する。タッチ位置P[t11]が入力領域RDlに存在するため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示に維持する。従って、時刻t11では、キャラクタCRの顔の向きは、−Xs方向に維持される。 From the time t10 to the time t11, the touch position P moves from the touch position P [t10] to the touch position P [t11]. Since the touch position P [t11] exists in the input area RDl, the game control unit 111 maintains the instruction relating to the predetermined game as the instruction to set the face direction of the character CR to the −Xs direction. Therefore, at time t11, the face orientation of the character CR is maintained in the −Xs direction.

時刻t11から時刻t12にかけて、タッチ位置Pは、タッチ位置P[t11]からタッチ位置P[t12]に移動する。タッチ位置P[t12]が入力領域RDlに存在するため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示に維持する。従って、時刻t12においても、キャラクタCRの顔の向きは、−Xs方向に維持される。 From the time t11 to the time t12, the touch position P moves from the touch position P [t11] to the touch position P [t12]. Since the touch position P [t12] exists in the input area RDl, the game control unit 111 maintains the instruction relating to the predetermined game as the instruction in which the face direction of the character CR is the −Xs direction. Therefore, even at time t12, the face orientation of the character CR is maintained in the −Xs direction.

時刻t12から時刻t13にかけて、タッチ位置Pは、タッチ位置P[t12]からタッチ位置P[t13]に移動する。タッチ位置P[t13]は、入力領域RDrに存在する。すなわち、タッチ位置Pは、時刻t12から時刻t13にかけて、入力領域RDlから入力領域RDrに移動する。 From the time t12 to the time t13, the touch position P moves from the touch position P [t12] to the touch position P [t13]. The touch position P [t13] exists in the input area RDr. That is, the touch position P moves from the input area RDl to the input area RDr from the time t12 to the time t13.

図6に示す例では、タッチ位置Pがタッチ位置P[t12]からタッチ位置P[t13]に移動した際の移動速度(|MV[t13]|/Tcyc)が閾値速度TV以上である場合を想定する。すなわち、図6に示す例では、ゲーム制御部111は、タッチ位置Pが入力領域RDlから入力領域RDrに移動した際の移動速度が所定の速度条件を満たしていると判定する。このため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)から、キャラクタCRの顔の向きを+Xs方向とする指示(入力領域RDrに対応付けられた指示)に変更する。そして、ゲーム制御部111は、キャラクタCRの顔の向きを、+Xs方向に設定する。従って、時刻t13では、キャラクタCRの顔の向きは、−Xs方向から+Xs方向に変化する。 In the example shown in FIG. 6, the movement speed (| MV [t13] | / Tcyc) when the touch position P moves from the touch position P [t12] to the touch position P [t13] is equal to or higher than the threshold speed TV. Suppose. That is, in the example shown in FIG. 6, the game control unit 111 determines that the moving speed when the touch position P moves from the input area RDl to the input area RDr satisfies a predetermined speed condition. Therefore, the game control unit 111 gives the instruction related to the predetermined game from the instruction that the face direction of the character CR is the −Xs direction (the instruction associated with the input area RDl) to change the face direction of the character CR. The instruction is changed to the + Xs direction (instruction associated with the input area RDr). Then, the game control unit 111 sets the direction of the face of the character CR in the + Xs direction. Therefore, at time t13, the direction of the face of the character CR changes from the −Xs direction to the + Xs direction.

時刻t13から時刻t14にかけて、タッチ位置Pは、タッチ位置P[t13]からタッチ位置P[t14]に移動する。タッチ位置P[t14]が入力領域RDrに存在するため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを+Xs方向とする指示に維持する。従って、時刻t14では、キャラクタCRの顔の向きは、+Xs方向に維持される。 From the time t13 to the time t14, the touch position P moves from the touch position P [t13] to the touch position P [t14]. Since the touch position P [t14] exists in the input area RDr, the game control unit 111 maintains the instruction relating to the predetermined game as the instruction to set the face direction of the character CR to the + Xs direction. Therefore, at time t14, the face orientation of the character CR is maintained in the + Xs direction.

このように、ゲーム制御部111は、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pが入力領域RDlから入力領域RDrに移動した場合、タッチ位置Pの移動速度が所定の速度条件を満たす場合には、所定のゲームに係る指示を、入力領域RDlに対応付けられた指示から、入力領域RDrに対応付けられた指示に変更する。 In this way, when the touch position P moves from the input area RDl to the input area RDr in a state where the touch to the touch panel 12 is continued, the game control unit 111 sets a predetermined speed condition for the moving speed of the touch position P. When satisfied, the instruction relating to the predetermined game is changed from the instruction associated with the input area RDl to the instruction associated with the input area RDr.

例えば、ユーザは、指FGをタッチパネル12に接触させた状態で、指FGを入力領域RDlから入力領域RDrに閾値速度TV以上の速度で動かすことにより、キャラクタCRの顔の向きを−Xs方向から+Xs方向に変化させることができる。 For example, the user moves the finger FG from the input area RDl to the input area RDr at a speed equal to or higher than the threshold speed TV in a state where the finger FG is in contact with the touch panel 12, so that the face direction of the character CR is changed from the −Xs direction. It can be changed in the + Xs direction.

図6に示した例では、時刻t10から時刻t13までの期間に着目した場合、入力領域RDlが「第1領域」に該当し、入力領域RDrが「第2領域」に該当する。また、キャラクタCRの顔の向きが−Xs方向から+Xs方向に変化した後(時刻t13の直後)から時刻t14までの期間に着目した場合、入力領域RDrが「第1領域」に該当し、入力領域RDlが「第2領域」に該当する。次に、図7を参照しながら、タッチ位置Pが入力領域RDlから入力領域RDrに移動しても、所定のゲームに係る指示が変更されない場合の端末装置10の動作について説明する。 In the example shown in FIG. 6, when focusing on the period from the time t10 to the time t13, the input area RDl corresponds to the “first area” and the input area RDr corresponds to the “second area”. Further, when focusing on the period from after the face direction of the character CR changes from the −Xs direction to the + Xs direction (immediately after the time t13) to the time t14, the input area RDr corresponds to the “first area” and is input. The region RDl corresponds to the "second region". Next, with reference to FIG. 7, the operation of the terminal device 10 when the instruction related to the predetermined game is not changed even if the touch position P moves from the input area RDl to the input area RDr will be described.

図7は、端末装置10の動作の別の例を示す説明図である。図7に示す例では、入力領域RDlが「第1領域」に該当し、入力領域RDrが「第2領域」に該当する。図7においても、タッチ位置Pの移動速度(|MV|/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合を例にして、端末装置10の動作を説明する。図7に示す時刻t20から時刻t24までの期間では、タッチパネル12に対するタッチは、継続している。図7では、時刻t20から時刻t22までのタッチ位置Pの動きが、図6の時刻t10から時刻t12までのタッチ位置Pの動きと同じである場合を想定する。このため、図7では、端末装置10の時刻t22以降の動作を説明する。 FIG. 7 is an explanatory diagram showing another example of the operation of the terminal device 10. In the example shown in FIG. 7, the input area RDl corresponds to the “first area” and the input area RDr corresponds to the “second area”. Also in FIG. 7, the operation of the terminal device 10 will be described by taking as an example a case where the moving speed (| MV | / Tcyc) of the touch position P is equal to or higher than the threshold speed TV as a predetermined speed condition. During the period from time t20 to time t24 shown in FIG. 7, touching the touch panel 12 continues. In FIG. 7, it is assumed that the movement of the touch position P from the time t20 to the time t22 is the same as the movement of the touch position P from the time t10 to the time t12 in FIG. Therefore, FIG. 7 describes the operation of the terminal device 10 after the time t22.

時刻t22から時刻t23にかけて、タッチ位置Pは、タッチ位置P[t22]からタッチ位置P[t23]に移動する。タッチ位置P[t23]は、入力領域RDrに存在する。すなわち、タッチ位置Pは、時刻t22から時刻t23にかけて、入力領域RDlから入力領域RDrに移動する。 From the time t22 to the time t23, the touch position P moves from the touch position P [t22] to the touch position P [t23]. The touch position P [t23] exists in the input area RDr. That is, the touch position P moves from the input area RDl to the input area RDr from the time t22 to the time t23.

図7に示す例では、タッチ位置Pがタッチ位置P[t22]からタッチ位置P[t23]に移動した際の移動速度(|MV[t23]|/Tcyc)が閾値速度TV未満である場合を想定する。すなわち、図7に示す例では、ゲーム制御部111は、タッチ位置Pが入力領域RDlから入力領域RDrに移動した際の移動速度が所定の速度条件を満たしていないと判定する。このため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)から、キャラクタCRの顔の向きを+Xs方向とする指示(入力領域RDrに対応付けられた指示)に変更しない。すなわち、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)に維持する。従って、時刻t23では、キャラクタCRの顔の向きは、−Xs方向に維持される。 In the example shown in FIG. 7, the movement speed (| MV [t23] | / Tcyc) when the touch position P moves from the touch position P [t22] to the touch position P [t23] is less than the threshold speed TV. Suppose. That is, in the example shown in FIG. 7, the game control unit 111 determines that the moving speed when the touch position P moves from the input area RDl to the input area RDr does not satisfy the predetermined speed condition. Therefore, the game control unit 111 gives the instruction related to the predetermined game from the instruction that the face direction of the character CR is the −Xs direction (the instruction associated with the input area RDl) to change the face direction of the character CR. Do not change to the instruction in the + Xs direction (instruction associated with the input area RDr). That is, the game control unit 111 maintains the instruction relating to the predetermined game as an instruction (instruction associated with the input area RDl) in which the face direction of the character CR is the −Xs direction. Therefore, at time t23, the face orientation of the character CR is maintained in the −Xs direction.

時刻t23から時刻t24にかけて、タッチ位置Pは、タッチ位置P[t23]からタッチ位置P[t24]に移動する。タッチ位置P[t23]及びタッチ位置P[t24]は、入力領域RDrに存在する。すなわち、タッチ位置Pは、時刻t23から時刻t24にかけて、境界線BDrlを跨がずに入力領域RDr内を移動する。 From the time t23 to the time t24, the touch position P moves from the touch position P [t23] to the touch position P [t24]. The touch position P [t23] and the touch position P [t24] exist in the input area RDr. That is, the touch position P moves in the input region RDr from the time t23 to the time t24 without straddling the boundary line BDrl.

図7に示す例では、タッチ位置Pがタッチ位置P[t23]からタッチ位置P[t24]に移動した際の移動速度(|MV[t24]|/Tcyc)が閾値速度TV未満である場合を想定する。すなわち、図7に示す例では、ゲーム制御部111は、タッチ位置Pの移動速度が所定の速度条件を満たしていないと判定する。このため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)に維持する。従って、時刻t24においても、キャラクタCRの顔の向きは、−Xs方向に維持される。 In the example shown in FIG. 7, the movement speed (| MV [t24] | / Tcyc) when the touch position P moves from the touch position P [t23] to the touch position P [t24] is less than the threshold speed TV. Suppose. That is, in the example shown in FIG. 7, the game control unit 111 determines that the moving speed of the touch position P does not satisfy the predetermined speed condition. Therefore, the game control unit 111 maintains the instruction relating to the predetermined game as an instruction (instruction associated with the input area RDl) in which the face direction of the character CR is the −Xs direction. Therefore, even at time t24, the face orientation of the character CR is maintained in the −Xs direction.

このように、ゲーム制御部111は、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pが入力領域RDlから入力領域RDrに移動した場合、タッチ位置Pの移動速度が所定の速度条件を満たさない場合には、所定のゲームに係る指示を、入力領域RDlに対応付けられた指示に維持する。 In this way, when the touch position P moves from the input area RDl to the input area RDr in a state where the touch to the touch panel 12 is continued, the game control unit 111 sets a predetermined speed condition for the moving speed of the touch position P. If not satisfied, the instruction relating to the predetermined game is maintained in the instruction associated with the input area RDl.

一般的に、ユーザが所定のゲームに係る指示の内容を変更する場合、指FGをある程度の速度で傾けたり移動したりする可能性が高いため、タッチ位置Pの移動速度もある程度の速度に達する可能性が高い。一方、所定のゲームに係る指示の内容を変更する意思がユーザにない場合、ユーザは現在のタッチ位置Pを維持しようとするため、タッチ位置Pが少しずつ移動してしまうことはあっても、タッチ位置Pの移動速度は一定速度未満となる可能性が高い。このため、所定のゲームに係る指示の内容を変更する意思がユーザにあるのかを、タッチ位置Pの移動速度に基づいて推測することにより、誤った指示の実行を抑止することができる。タッチ位置Pが入力領域RDr及びRDlの境界線BDrl付近に存在する場合、又は、入力領域RDが狭い場合等では、ユーザの意図に反してタッチ位置Pが境界線BDrlを跨いで移動する可能性が高くなる。この場合、ユーザが所定のゲームに係る指示の内容を変更する意思があるのかをタッチ位置Pの移動速度に基づいて推測することは、特に有効である。 Generally, when the user changes the content of the instruction related to a predetermined game, the finger FG is likely to be tilted or moved at a certain speed, so that the moving speed of the touch position P also reaches a certain speed. Probability is high. On the other hand, if the user does not intend to change the content of the instruction related to the predetermined game, the user tries to maintain the current touch position P, so that the touch position P may move little by little. The moving speed of the touch position P is likely to be less than a certain speed. Therefore, it is possible to prevent the execution of an erroneous instruction by estimating whether the user intends to change the content of the instruction related to the predetermined game based on the moving speed of the touch position P. When the touch position P exists near the boundary line BDrl of the input areas RDr and RDl, or when the input area RD is narrow, the touch position P may move across the boundary line BDrl against the intention of the user. Will be higher. In this case, it is particularly effective to estimate whether the user intends to change the content of the instruction related to the predetermined game based on the moving speed of the touch position P.

このため、ゲーム制御部111は、タッチ位置Pが入力領域RDr及びRDlの境界線BDrlを跨いで移動した場合で、且つ、タッチ位置Pの移動速度が所定の速度条件を満たす場合、所定のゲームに係る指示の内容を変更する意思がユーザにあるものとして、所定のゲームの進行を制御する。また、ゲーム制御部111は、タッチ位置Pが入力領域RDr及びRDlの境界線BDrlを跨いで移動した場合であっても、タッチ位置Pの移動速度が所定の速度条件を満たさない場合には、所定のゲームに係る指示の内容を変更する意思がユーザにないものとして、所定のゲームの進行を制御する。 Therefore, the game control unit 111 performs a predetermined game when the touch position P moves across the boundary line BDrl of the input areas RDr and RDl and when the moving speed of the touch position P satisfies a predetermined speed condition. It is assumed that the user has an intention to change the content of the instruction relating to the above, and the progress of a predetermined game is controlled. Further, even if the touch position P moves across the boundary line BDrl of the input areas RDr and RDl, the game control unit 111 does not satisfy the predetermined speed condition when the moving speed of the touch position P does not satisfy the predetermined speed condition. It controls the progress of the predetermined game, assuming that the user has no intention of changing the content of the instruction relating to the predetermined game.

例えば、キャラクタCRの顔の向きを変更するつもりがユーザにない場合でも、ゲームに熱中して指に力が入るなどすると、指FGが閾値速度TV未満の速度でゆっくり動く場合がある。この場合、タッチ位置Pが入力領域RDlから入力領域RDrに移動したことに応じて、所定のゲームに係る指示が、キャラクタCRの顔の向きを+Xs方向とする指示(入力領域RDrに対応付けられた指示)に変更されると、ユーザの意図と異なる指示が実行されるという問題が生じる。この問題を解消するために、ゲーム制御部111は、上述したように、タッチ位置Pが入力領域RDlから入力領域RDrに移動した場合であっても、タッチ位置Pの移動速度が所定の速度条件を満たさない場合には、所定のゲームに係る指示を、入力領域RDlに対応付けられた指示に維持する。この結果、ユーザの意図と異なる指示が実行されることを抑止することができる。 For example, even if the user does not intend to change the direction of the face of the character CR, the finger FG may slowly move at a speed lower than the threshold speed TV when the user is absorbed in the game and a force is applied to the finger. In this case, in response to the movement of the touch position P from the input area RDl to the input area RDr, the instruction relating to the predetermined game is associated with the instruction (corresponding to the input area RDr) in which the face direction of the character CR is the + Xs direction. If it is changed to the instruction), there arises a problem that an instruction different from the user's intention is executed. In order to solve this problem, as described above, the game control unit 111 sets the moving speed of the touch position P as a predetermined speed condition even when the touch position P moves from the input area RDl to the input area RDr. If is not satisfied, the instruction relating to the predetermined game is maintained in the instruction associated with the input area RDl. As a result, it is possible to prevent the execution of instructions that are different from the user's intention.

次に、図8を参照しながら、タッチ位置Pが入力領域RDlから入力領域RDrに移動した後に、所定のゲームに係る指示が変更される場合の端末装置10の動作について説明する。 Next, with reference to FIG. 8, the operation of the terminal device 10 when the instruction related to a predetermined game is changed after the touch position P moves from the input area RDl to the input area RDr will be described.

図8は、端末装置10の動作の別の例を示す説明図である。図8においても、タッチ位置Pの移動速度(|MV|/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合を例にして、端末装置10の動作を説明する。図8に示す時刻t30から時刻t34までの期間では、タッチパネル12に対するタッチは、継続している。図8では、時刻t30から時刻t33までのタッチ位置Pの動きが、図7の時刻t20から時刻t23までのタッチ位置Pの動きと同じである場合を想定する。このため、図8では、端末装置10の時刻t33以降の動作を説明する。 FIG. 8 is an explanatory diagram showing another example of the operation of the terminal device 10. Also in FIG. 8, the operation of the terminal device 10 will be described by taking as an example a case where the moving speed (| MV | / Tcyc) of the touch position P is equal to or higher than the threshold speed TV as a predetermined speed condition. During the period from the time t30 to the time t34 shown in FIG. 8, the touch to the touch panel 12 continues. In FIG. 8, it is assumed that the movement of the touch position P from the time t30 to the time t33 is the same as the movement of the touch position P from the time t20 to the time t23 in FIG. Therefore, FIG. 8 describes the operation of the terminal device 10 after the time t33.

時刻t33から時刻t34にかけて、タッチ位置Pは、タッチ位置P[t33]からタッチ位置P[t34]に移動する。タッチ位置P[t33]及びタッチ位置P[t34]は、入力領域RDrに存在する。すなわち、タッチ位置Pは、時刻t33から時刻t34にかけて、境界線BDrlを跨がずに入力領域RDr内を移動する。 From the time t33 to the time t34, the touch position P moves from the touch position P [t33] to the touch position P [t34]. The touch position P [t33] and the touch position P [t34] exist in the input area RDr. That is, the touch position P moves in the input region RDr from the time t33 to the time t34 without straddling the boundary line BDrl.

図8に示す例では、タッチ位置Pがタッチ位置P[t33]からタッチ位置P[t34]に移動した際の移動速度(|MV[t34]|/Tcyc)が閾値速度TV以上である場合を想定する。すなわち、図8に示す例では、ゲーム制御部111は、タッチ位置Pの移動速度が所定の速度条件を満たしていると判定する。このため、ゲーム制御部111は、所定のゲームに係る指示の内容を、キャラクタCRの顔の向きを+Xs方向とする指示(入力領域RDrに対応付けられた指示)に決定する。そして、ゲーム制御部111は、キャラクタCRの顔の向きを、+Xs方向に設定する。従って、時刻t34では、キャラクタCRの顔の向きは、−Xs方向から+Xs方向に変化する。なお、図7で説明したように、タッチ位置Pの移動速度が閾値速度TV未満である場合には、所定のゲームに係る指示は、変更されずに維持される。 In the example shown in FIG. 8, the movement speed (| MV [t34] | / Tcyc) when the touch position P moves from the touch position P [t33] to the touch position P [t34] is equal to or higher than the threshold speed TV. Suppose. That is, in the example shown in FIG. 8, the game control unit 111 determines that the moving speed of the touch position P satisfies a predetermined speed condition. Therefore, the game control unit 111 determines the content of the instruction relating to the predetermined game as an instruction (instruction associated with the input area RDr) in which the face direction of the character CR is the + Xs direction. Then, the game control unit 111 sets the direction of the face of the character CR in the + Xs direction. Therefore, at time t34, the face orientation of the character CR changes from the −Xs direction to the + Xs direction. As described with reference to FIG. 7, when the moving speed of the touch position P is less than the threshold speed TV, the instruction related to the predetermined game is maintained without being changed.

このように、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pの移動速度が所定の速度条件を満たさずに、タッチ位置Pが入力領域RDlから入力領域RDrに移動した後では、ゲーム制御部111は、所定のゲームに係る指示を変更するか維持するかを、タッチ位置Pの移動速度に基づいて決定する。例えば、ゲーム制御部111は、タッチ位置Pの移動速度が所定の速度条件を満たさずに、タッチ位置Pが入力領域RDlから入力領域RDrに移動した後、タッチ位置Pの移動速度が所定の速度条件を満たしたとき、所定のゲームに係る指示を、入力領域RDrに対応付けられた指示に変更する。換言すれば、タッチ位置Pの移動速度が所定の速度条件を満たさずに、タッチ位置Pが入力領域RDlから入力領域RDrに移動した後では、タッチ位置Pの移動速度が所定の速度条件を満たす直前まで、所定のゲームに係る指示は、入力領域RDlに対応付けられた指示に維持される。 As described above, in the state where the touch to the touch panel 12 is continued, after the moving speed of the touch position P does not satisfy the predetermined speed condition and the touch position P moves from the input area RDl to the input area RDr, the game The control unit 111 determines whether to change or maintain the instruction related to the predetermined game based on the moving speed of the touch position P. For example, in the game control unit 111, after the touch position P moves from the input area RDl to the input area RDr without satisfying the predetermined speed condition, the movement speed of the touch position P is the predetermined speed. When the condition is satisfied, the instruction relating to the predetermined game is changed to the instruction associated with the input area RDr. In other words, after the moving speed of the touch position P does not satisfy the predetermined speed condition and the touch position P moves from the input area RDl to the input area RDr, the moving speed of the touch position P satisfies the predetermined speed condition. Until immediately before, the instruction relating to the predetermined game is maintained by the instruction associated with the input area RDl.

例えば、ユーザは、時刻t30から時刻t33までの間、意図せず指FGを閾値速度TV未満の速度でゆっくり動かしていた場合でも、時刻t33以降に、指FGを閾値速度TV以上の速度で動かすことにより、キャラクタCRの顔の向きを−Xs方向から+Xs方向に変化させることができる。なお、タッチ位置Pの移動先が入力領域RDlである場合には、キャラクタCRの顔の向きは−Xs方向に維持される。 For example, even if the user unintentionally moves the finger FG slowly at a speed lower than the threshold speed TV from time t30 to time t33, the user moves the finger FG at a speed equal to or higher than the threshold speed TV after time t33. Thereby, the direction of the face of the character CR can be changed from the −Xs direction to the + Xs direction. When the destination of the touch position P is the input area RDl, the face orientation of the character CR is maintained in the −Xs direction.

図8に示した例では、時刻t30から時刻t34までの期間に着目した場合、入力領域RDlが「第1領域」に該当し、入力領域RDrが「第2領域」に該当する。また、キャラクタCRの顔の向きが−Xs方向から+Xs方向に変化した時刻t34以降の期間に着目した場合、入力領域RDrが「第1領域」に該当し、入力領域RDlが「第2領域」に該当する。 In the example shown in FIG. 8, when focusing on the period from the time t30 to the time t34, the input area RDl corresponds to the “first area” and the input area RDr corresponds to the “second area”. Further, when focusing on the period after the time t34 when the face direction of the character CR changes from the −Xs direction to the + Xs direction, the input area RDr corresponds to the “first area” and the input area RDl is the “second area”. Corresponds to.

なお、図6から図8に示した例では、タッチ位置Pの移動速度は、2点間の座標によって算出されたが、境界線BDrlに直行する方向等の特定方向の移動速度であってもよい。次に、図9を参照しながら、所定の速度条件がタッチ位置Pの特定方向の移動速度に関する条件である場合の端末装置10の動作について説明する。 In the examples shown in FIGS. 6 to 8, the moving speed of the touch position P was calculated from the coordinates between the two points, but even if the moving speed is in a specific direction such as a direction perpendicular to the boundary line BDrl. Good. Next, with reference to FIG. 9, the operation of the terminal device 10 when the predetermined speed condition is a condition relating to the moving speed of the touch position P in a specific direction will be described.

図9は、端末装置10の動作の別の例を示す説明図である。図9では、タッチ位置Pにおける+Xs方向の移動速度(MVx/Tcyc)が閾値速度TVx以上であることが所定の速度条件である場合を例にして、端末装置10の動作を説明する。符号MVxは、タッチ位置移動ベクトルMVにおける+Xs方向の成分を示す。以下では、タッチ位置移動ベクトルMV[tn]における+Xs方向の成分Mvxは、成分Mvx[tn]とも称される(nは、0以上の整数)。なお、タッチ位置Pにおける+Xs方向の移動速度は、「タッチ位置の移動速度」の一例である。また、図9に示す例では、+Xs方向は、入力領域RDr及びRDlの境界線BDrlに垂直な方向に該当する。また、図9に示す例では、入力領域RDlが「第1領域」に該当し、入力領域RDrが「第2領域」に該当する。 FIG. 9 is an explanatory diagram showing another example of the operation of the terminal device 10. In FIG. 9, the operation of the terminal device 10 will be described by taking as an example a case where the moving speed (MVx / Tcyc) in the + Xs direction at the touch position P is equal to or higher than the threshold speed TVx under a predetermined speed condition. The symbol MVx indicates a component in the + Xs direction in the touch position movement vector MV. In the following, the component Mvx in the + Xs direction in the touch position movement vector MV [tun] is also referred to as the component Mvx [tun] (n is an integer of 0 or more). The moving speed in the + Xs direction at the touch position P is an example of the “moving speed of the touch position”. Further, in the example shown in FIG. 9, the + Xs direction corresponds to the direction perpendicular to the boundary line BDrl of the input regions RDr and RDl. Further, in the example shown in FIG. 9, the input area RDl corresponds to the “first area”, and the input area RDr corresponds to the “second area”.

図9に示す時刻t40から時刻t44までの期間では、タッチパネル12に対するタッチは、継続している。図9では、時刻t40から時刻t43までのタッチ位置Pの動きが、図8の時刻t30から時刻t33までのタッチ位置Pの動きと同じである場合を想定する。また、タッチ位置Pにおける+Xs方向の移動速度は、時刻t40から時刻t41までの期間、時刻t41から時刻t42までの期間、及び、時刻t42から時刻t43までの期間の各々の期間において、所定の速度条件を満たしていない。このため、時刻t40から時刻t43までの端末装置10の動作は、図8の時刻t30から時刻t33までの端末装置10の動作と同様である。従って、図9では、端末装置10の時刻t43以降の動作を説明する。 During the period from the time t40 to the time t44 shown in FIG. 9, the touch to the touch panel 12 continues. In FIG. 9, it is assumed that the movement of the touch position P from the time t40 to the time t43 is the same as the movement of the touch position P from the time t30 to the time t33 in FIG. The moving speed in the + Xs direction at the touch position P is a predetermined speed in each of the period from time t40 to time t41, the period from time t41 to time t42, and the period from time t42 to time t43. The conditions are not met. Therefore, the operation of the terminal device 10 from the time t40 to the time t43 is the same as the operation of the terminal device 10 from the time t30 to the time t33 in FIG. Therefore, FIG. 9 describes the operation of the terminal device 10 after the time t43.

時刻t43から時刻t44にかけて、タッチ位置Pは、タッチ位置P[t43]からタッチ位置P[t44]に移動する。タッチ位置P[t43]及びタッチ位置P[t44]は、入力領域RDrに存在する。すなわち、タッチ位置Pは、時刻t43から時刻t44にかけて、境界線BDrlを跨がずに入力領域RDr内を移動する。 From time t43 to time t44, the touch position P moves from the touch position P [t43] to the touch position P [t44]. The touch position P [t43] and the touch position P [t44] exist in the input area RDr. That is, the touch position P moves in the input region RDr from the time t43 to the time t44 without straddling the boundary line BDrl.

図9に示す例では、タッチ位置Pがタッチ位置P[t43]からタッチ位置P[t44]に移動した際の+Xs方向の移動速度(MVx[t44]/Tcyc)が閾値速度TVx未満である場合を想定する。すなわち、図9に示す例では、ゲーム制御部111は、タッチ位置Pの移動速度が所定の速度条件を満たしていないと判定する。このため、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)から、キャラクタCRの顔の向きを+Xs方向とする指示(入力領域RDrに対応付けられた指示)に変更しない。すなわち、ゲーム制御部111は、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)に維持する。従って、時刻t44では、キャラクタCRの顔の向きは、−Xs方向に維持される。なお、図9の例とは異なるが、時刻t43から時刻t44までの期間におけるタッチ位置Pの+Xs方向の移動速度が閾値速度TVx以上である場合には、所定のゲームに係る指示は、キャラクタCRの顔の向きを+Xs方向とする指示(入力領域RDrに対応付けられた指示)に変更される。 In the example shown in FIG. 9, when the moving speed (MVx [t44] / Tcyc) in the + Xs direction when the touch position P moves from the touch position P [t43] to the touch position P [t44] is less than the threshold speed TVx. Is assumed. That is, in the example shown in FIG. 9, the game control unit 111 determines that the moving speed of the touch position P does not satisfy the predetermined speed condition. Therefore, the game control unit 111 gives the instruction related to the predetermined game from the instruction that the face direction of the character CR is the −Xs direction (the instruction associated with the input area RDl) to change the face direction of the character CR. Do not change to the instruction in the + Xs direction (instruction associated with the input area RDr). That is, the game control unit 111 maintains the instruction relating to the predetermined game as an instruction (instruction associated with the input area RDl) in which the face direction of the character CR is the −Xs direction. Therefore, at time t44, the face orientation of the character CR is maintained in the −Xs direction. Although different from the example of FIG. 9, when the moving speed of the touch position P in the + Xs direction in the period from the time t43 to the time t44 is equal to or higher than the threshold speed TVx, the instruction relating to the predetermined game is the character CR. The direction of the face is changed to the + Xs direction (instruction associated with the input area RDr).

このように、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pの移動速度が所定の速度条件を満たさずに、タッチ位置Pが入力領域RDlから入力領域RDrに移動した後では、ゲーム制御部111は、所定のゲームに係る指示を変更するか維持するかを、タッチ位置Pの+Xs方向の移動速度に基づいて決定する。例えば、ゲーム制御部111は、タッチ位置Pが、+Xs方向の移動速度が閾値速度TVx未満の状態で入力領域RDlから入力領域RDrに移動した後では、タッチ位置Pの+Xs方向の移動速度が閾値速度TVx以上になる直前まで、所定のゲームに係る指示は、入力領域RDlに対応付けられた指示に維持される。すなわち、タッチ位置Pが、+Xs方向の移動速度が閾値速度TVx未満の状態で入力領域RDlから入力領域RDrに移動した場合、タッチ位置Pの+Xs方向の移動速度が閾値速度TVx以上になったとき、所定のゲームに係る指示は、入力領域RDrに対応付けられた指示に変更される。 As described above, in the state where the touch to the touch panel 12 is continued, after the moving speed of the touch position P does not satisfy the predetermined speed condition and the touch position P moves from the input area RDl to the input area RDr, the game The control unit 111 determines whether to change or maintain the instruction related to the predetermined game based on the moving speed of the touch position P in the + Xs direction. For example, in the game control unit 111, after the touch position P moves from the input area RDl to the input area RDr in a state where the movement speed in the + Xs direction is less than the threshold speed TVx, the movement speed of the touch position P in the + Xs direction is the threshold value. Until immediately before the speed becomes TVx or higher, the instruction relating to the predetermined game is maintained by the instruction associated with the input area RDl. That is, when the touch position P moves from the input area RDl to the input area RDr in a state where the moving speed in the + Xs direction is less than the threshold speed TVx, when the moving speed of the touch position P in the + Xs direction becomes equal to or higher than the threshold speed TVx. , The instruction relating to the predetermined game is changed to the instruction associated with the input area RDr.

例えば、ユーザが電車内で指FGをタッチパネル12に接触させている場合、電車の揺れ等によって、ユーザが指FGを意図せず動かす場合がある。この場合、例えば、図8等の所定の速度条件に用いられた閾値速度TV以上の速度で指FGが動いても、タッチ位置Pの+Xs方向の移動速度が閾値速度TVx未満であれば、所定のゲームに係る指示は、変更されずに維持される。 For example, when the user brings the finger FG into contact with the touch panel 12 in the train, the user may unintentionally move the finger FG due to the shaking of the train or the like. In this case, for example, even if the finger FG moves at a speed equal to or higher than the threshold speed TV used for the predetermined speed condition shown in FIG. 8, if the moving speed of the touch position P in the + Xs direction is less than the threshold speed TVx, it is predetermined. The instructions for the game remain unchanged.

ここで、図9に示す例において、タッチ位置Pがタッチ位置P[t43]からタッチ位置P[t44]に移動した際の移動速度(|MV[t44]|/Tcyc)は、図8等の所定の速度条件に用いられた閾値速度TV以上である。このため、図9に示す例において、所定の速度条件が図8等で想定した所定の速度条件と同じである場合には、時刻t44に、所定のゲームに係る指示は、入力領域RDrに対応付けられた指示に変更される。従って、タッチ位置Pにおける+Xs方向の移動速度(MVx/Tcyc)が閾値速度TVx以上であることが所定の速度条件である場合、タッチ位置Pの移動速度(|MV|/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合に比べて、ユーザの意図と異なる指示が実行されることを低減することができる。 Here, in the example shown in FIG. 9, the moving speed (| MV [t44] | / Tcyc) when the touch position P moves from the touch position P [t43] to the touch position P [t44] is shown in FIG. It is equal to or higher than the threshold speed TV used for a predetermined speed condition. Therefore, in the example shown in FIG. 9, when the predetermined speed condition is the same as the predetermined speed condition assumed in FIG. 8 and the like, the instruction relating to the predetermined game corresponds to the input area RDr at the time t44. It will be changed to the attached instruction. Therefore, when the predetermined speed condition is that the moving speed (MVx / Tcyc) in the + Xs direction at the touch position P is equal to or higher than the threshold speed TVx, the moving speed (| MV | / Tcyc) at the touch position P is the threshold speed TV. Compared with the case where the above is a predetermined speed condition, it is possible to reduce the execution of an instruction different from the user's intention.

なお、タッチ位置Pの移動速度は、例えば、タッチ位置Pが入力領域RDrから入力領域RDlに移動する場合、−Xs方向の移動速度であってもよい。すなわち、タッチ位置Pの移動速度は、境界線BDrlに直行する方向等の特定方向の移動速度であってもよい。 The moving speed of the touch position P may be, for example, the moving speed in the −Xs direction when the touch position P moves from the input area RDr to the input area RDl. That is, the moving speed of the touch position P may be a moving speed in a specific direction such as a direction orthogonal to the boundary line BDrl.

図9に示したように、タッチ位置Pの移動速度を特定方向の移動速度とすることにより、ノイズを排除する可能性を高めることができる。例えば、ユーザが所定のゲームに係る指示の内容を変更する場合、ユーザは境界線BDrlに直行する方向(+Xs方向、又は、−Xs方向)に指FGを動かすはずである。なお、ユーザが境界線BDrlに沿う方向(+Ys方向、又は−Ys方向)に指FGを動かしても所定のゲームに係る指示の内容を変更することはできない。このため、境界線BDrlに沿う方向にタッチ位置Pが移動したとしても、この場合のタッチ位置の移動は、端末装置10を保持するユーザの腕又は端末装置10が何かにぶつかった等のノイズである可能性が高いことになる。従って、後述する図9に示すように、タッチ位置Pが閾値速度TV以上の移動速度で移動した場合であっても、ゲーム制御部111は、境界線BDrlに沿う方向の移動を無視して所定のゲームに係る指示を維持するようにしてもよい。 As shown in FIG. 9, by setting the moving speed of the touch position P as the moving speed in a specific direction, the possibility of eliminating noise can be increased. For example, when the user changes the content of the instruction relating to a predetermined game, the user should move the finger FG in the direction orthogonal to the boundary line BDrl (+ Xs direction or −Xs direction). Even if the user moves the finger FG in the direction along the boundary line BDrl (+ Ys direction or -Ys direction), the content of the instruction related to the predetermined game cannot be changed. Therefore, even if the touch position P moves in the direction along the boundary line BDrl, the movement of the touch position in this case is noise such as the arm of the user holding the terminal device 10 or the terminal device 10 hitting something. Is likely to be. Therefore, as shown in FIG. 9 to be described later, even when the touch position P moves at a moving speed equal to or higher than the threshold speed TV, the game control unit 111 ignores the movement in the direction along the boundary line BDrl and determines the predetermined value. You may try to keep the instructions for the game.

なお、図6から図9に示した動作では、所定の速度条件を満たしているか判定するために時刻tmに参照されるタッチ位置Pの移動速度(+Xs方向の移動速度も含む)として、時刻t(m−1)から時刻tmまでの期間におけるタッチ位置Pの移動速度を例示している。しかし、時刻tmに参照されるタッチ位置Pの移動速度は、図6から図9に示した例に限定されない。例えば、時刻t43に参照されるタッチ位置Pの移動速度は、時刻t42から時刻t43までの期間より前の期間(例えば、時刻t41から時刻t42までの期間)におけるタッチ位置Pの移動速度でもよい。あるいは、時刻t43に参照されるタッチ位置Pの移動速度は、時刻t42から時刻t43までの期間におけるタッチ位置Pの移動速度と、時刻t41から時刻t42までの期間におけるタッチ位置Pの移動速度との平均でもよい。また、時刻t43に参照されるタッチ位置Pの移動速度は、時刻t42から時刻t43までの期間におけるタッチ位置Pの移動速度と、時刻t41から時刻t42までの期間におけるタッチ位置Pの移動速度と、時刻t40から時刻t41までの期間におけるタッチ位置Pの移動速度との平均でもよい。従って、例えば、タッチ位置Pが境界線BDrlを跨いで移動した場合に着目すると、タッチ位置Pの移動速度は、タッチ位置Pが境界線BDrlを跨いだ時刻に基づく期間の移動速度であってもよい。次に、図10及び図11を参照しながら、端末装置10の動作フローについて説明する。 In the operation shown in FIGS. 6 to 9, the time t is set as the moving speed of the touch position P (including the moving speed in the + Xs direction) referred to at the time tm in order to determine whether the predetermined speed condition is satisfied. The moving speed of the touch position P in the period from (m-1) to the time tm is illustrated. However, the moving speed of the touch position P referred to at the time tm is not limited to the examples shown in FIGS. 6 to 9. For example, the moving speed of the touch position P referred to at time t43 may be the moving speed of the touch position P in a period before the period from time t42 to time t43 (for example, the period from time t41 to time t42). Alternatively, the moving speed of the touch position P referred to at the time t43 is the moving speed of the touch position P in the period from the time t42 to the time t43 and the moving speed of the touch position P in the period from the time t41 to the time t42. It may be average. The moving speed of the touch position P referred to at the time t43 includes the moving speed of the touch position P in the period from the time t42 to the time t43, the moving speed of the touch position P in the period from the time t41 to the time t42, and so on. It may be the average of the moving speed of the touch position P in the period from the time t40 to the time t41. Therefore, for example, focusing on the case where the touch position P moves across the boundary line BDrl, the moving speed of the touch position P is a moving speed for a period based on the time when the touch position P straddles the boundary line BDrl. Good. Next, the operation flow of the terminal device 10 will be described with reference to FIGS. 10 and 11.

図10は、端末装置10の動作の一例を示すフローチャートである。図10に示すステップS100の処理は、例えば、端末装置10のユーザが、所定のゲームを開始させる旨の所定の開始操作をタッチパネル12から入力した場合に実行される。 FIG. 10 is a flowchart showing an example of the operation of the terminal device 10. The process of step S100 shown in FIG. 10 is executed, for example, when the user of the terminal device 10 inputs a predetermined start operation to start a predetermined game from the touch panel 12.

先ず、ステップS100において、操作領域割当部114は、入力領域RDr及びRDlをタッチパネル12の予め決められた位置(「初期状態」の一例)に割り当てる。例えば、操作領域割当部114は、記憶部130に記憶されている操作領域情報を取得し、入力領域RDr及びRDlの各々が割り当てられる領域を特定する。そして、操作領域割当部114は、タッチパネル12のうちの操作領域情報に基づいて特定した領域に、入力領域RDr及びRDlを割り当てる。これにより、入力領域RDr及びRDlを含む操作領域Vが、タッチパネル12の予め決められた位置に割り当てられる。操作領域割当部114は、ステップS100の処理を実行した後、処理をステップS102に進める。 First, in step S100, the operation area allocation unit 114 allocates the input areas RDr and RDl to predetermined positions (an example of the "initial state") of the touch panel 12. For example, the operation area allocation unit 114 acquires the operation area information stored in the storage unit 130, and specifies an area to which each of the input areas RDr and RDl is allocated. Then, the operation area allocation unit 114 allocates the input areas RDr and RDl to the areas specified based on the operation area information in the touch panel 12. As a result, the operation area V including the input areas RDr and RDl is assigned to a predetermined position on the touch panel 12. After executing the process of step S100, the operation area allocation unit 114 advances the process to step S102.

ステップS102において、表示制御部112は、仮想空間SP、キャラクタCR、及び、操作領域Vを表示部120に表示させるための表示情報を生成し、当該表示情報に基づく画像を表示部120が表示するように、表示部120を制御する。なお、所定のゲームの開始時のキャラクタCRの顔の向きは、予め決められている。表示制御部112は、ステップS102の処理を実行した後、処理をステップS104に進める。 In step S102, the display control unit 112 generates display information for displaying the virtual space SP, the character CR, and the operation area V on the display unit 120, and the display unit 120 displays an image based on the display information. As such, the display unit 120 is controlled. The orientation of the character CR's face at the start of a predetermined game is predetermined. After executing the process of step S102, the display control unit 112 advances the process to step S104.

ステップS104において、タッチ位置情報取得部113は、タッチパネル12がタッチ位置情報を出力したか否かを判定する。ステップS104における判定の結果が肯定の場合、タッチ位置情報取得部113は、処理をステップS106に進める。一方、ステップS104における判定の結果が否定の場合、タッチ位置情報取得部113は、処理をステップS118に進める。 In step S104, the touch position information acquisition unit 113 determines whether or not the touch panel 12 has output the touch position information. If the result of the determination in step S104 is affirmative, the touch position information acquisition unit 113 advances the process to step S106. On the other hand, if the result of the determination in step S104 is negative, the touch position information acquisition unit 113 advances the process to step S118.

ステップS106において、タッチ位置情報取得部113は、タッチパネル12から出力されたタッチ位置情報を取得する。そして、タッチ位置情報取得部113は、ステップS106で取得したタッチ位置情報に基づいて、記憶部130に記憶されているタッチ位置履歴情報を更新する。具体的には、タッチ位置情報取得部113は、ステップS106で取得したタッチ位置情報を、当該タッチ位置情報を取得した時刻と対応付けた上で、タッチ位置履歴情報に含ませる。なお、タッチ位置履歴情報は、各時刻におけるタッチ位置Pが、入力領域RDr及びRDlの何れに存在するかを示す情報を含んでいてもよい。なお、以下の説明では、時刻tmは、ステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報に対応付けられた時刻を意味する。タッチ位置情報取得部113は、ステップS106の処理を実行した後、処理をステップS108に進める。 In step S106, the touch position information acquisition unit 113 acquires the touch position information output from the touch panel 12. Then, the touch position information acquisition unit 113 updates the touch position history information stored in the storage unit 130 based on the touch position information acquired in step S106. Specifically, the touch position information acquisition unit 113 associates the touch position information acquired in step S106 with the time when the touch position information is acquired, and then includes the touch position information in the touch position history information. The touch position history information may include information indicating whether the touch position P at each time exists in the input area RDr or RDl. In the following description, the time tm means the time associated with the touch position information acquired by the touch position information acquisition unit 113 in step S106. After executing the process of step S106, the touch position information acquisition unit 113 advances the process to step S108.

ステップS108において、ゲーム制御部111は、記憶部130に記憶されている操作領域情報を取得し、入力領域RDr及びRDlの各々の位置を特定する。そして、ゲーム制御部111は、処理をステップS110に進める。 In step S108, the game control unit 111 acquires the operation area information stored in the storage unit 130 and specifies the positions of the input areas RDr and RDl. Then, the game control unit 111 advances the process to step S110.

ステップS110において、ゲーム制御部111は、ステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDr及びRDlの何れかの領域に存在するか否かを判定する。ステップS110における判定の結果が肯定の場合、ゲーム制御部111は、処理をステップS112に進める。一方、ステップS110における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS118に進める。なお、ゲーム制御部111は、ステップS110の判定結果に基づいて、タッチ位置履歴情報を更新してもよい。 In step S110, the game control unit 111 determines whether or not the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S106 exists in any of the input areas RDr and RDl. judge. If the result of the determination in step S110 is affirmative, the game control unit 111 advances the process to step S112. On the other hand, if the result of the determination in step S110 is negative, the game control unit 111 advances the process to step S118. The game control unit 111 may update the touch position history information based on the determination result in step S110.

ステップS112において、ゲーム制御部111は、タッチ位置履歴情報を参照し、タッチパネル12への最新のタッチが入力領域RDへの最初のタッチであるか否かを判定する。なお、タッチパネル12への最新のタッチは、ステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報に対応するタッチである。 In step S112, the game control unit 111 refers to the touch position history information and determines whether or not the latest touch on the touch panel 12 is the first touch on the input area RD. The latest touch to the touch panel 12 is a touch corresponding to the touch position information acquired by the touch position information acquisition unit 113 in step S106.

例えば、ゲーム制御部111は、時刻tmから時間Tcyc遡った時刻t(m−1)にタッチ位置情報が取得されていない場合、タッチパネル12への最新のタッチが入力領域RDへの最初のタッチであると判定する。また、ゲーム制御部111は、時刻t(m−1)にタッチ位置情報が取得されていた場合、時刻t(m−1)に取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDr及びRDlの何れかの領域に存在するか否かを判定する。そして、ゲーム制御部111は、時刻t(m−1)に取得されたタッチ位置情報の示すタッチ位置Pが、入力領域RDr及びRDlの何れの領域にも存在しない場合、タッチパネル12への最新のタッチが入力領域RDへの最初のタッチであると判定する。 For example, when the game control unit 111 does not acquire the touch position information at the time t (m-1) retroactive from the time tm, the latest touch on the touch panel 12 is the first touch on the input area RD. Judge that there is. Further, in the game control unit 111, when the touch position information is acquired at the time t (m-1), the touch position P indicated by the touch position information acquired at the time t (m-1) is the input area RDr. And whether or not it exists in any region of RDl. Then, when the touch position P indicated by the touch position information acquired at the time t (m-1) does not exist in any of the input areas RDr and RDl, the game control unit 111 updates the touch panel 12 to the latest. It is determined that the touch is the first touch to the input area RD.

ステップS112における判定の結果が肯定の場合、ゲーム制御部111は、処理をステップS114に進める。一方、ステップS112における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS120に進める。 If the result of the determination in step S112 is affirmative, the game control unit 111 advances the process to step S114. On the other hand, if the result of the determination in step S112 is negative, the game control unit 111 advances the process to step S120.

ステップS114において、振動制御部115は、振動発生部140が端末装置10を振動させるように、振動発生部140を制御する。そして、振動制御部115は、処理をステップS116に進める。 In step S114, the vibration control unit 115 controls the vibration generation unit 140 so that the vibration generation unit 140 vibrates the terminal device 10. Then, the vibration control unit 115 advances the process to step S116.

ステップS116において、ゲーム制御部111は、キャラクタCRの顔が向く方向を決定する。具体的には、ゲーム制御部111は、キャラクタCRの顔が向く方向を、ステップS110で判定されたタッチ位置Pが存在する入力領域RDに対応する方向に設定する。 In step S116, the game control unit 111 determines the direction in which the face of the character CR faces. Specifically, the game control unit 111 sets the direction in which the face of the character CR faces is the direction corresponding to the input region RD in which the touch position P determined in step S110 exists.

ゲーム制御部111は、ステップS116の処理を実行した後、処理をステップS140に進める。なお、指FGがタッチパネル12に接触していない場合(S104:N)、又は、タッチ位置Pが入力領域RDに存在しない場合(S110:N)には、ゲーム制御部111は、ステップS118において非タッチ処理を実行した後、処理をステップS140に進める。非タッチ処理については、図3で説明しているため、説明を省略する。また、タッチパネル12への最新のタッチが入力領域RDへの最初のタッチでない場合(S112:N)には、ゲーム制御部111は、ステップS120においてタッチ継続処理を実行した後、処理をステップS140に進める。タッチ継続処理については、図11で説明する。 After executing the process of step S116, the game control unit 111 advances the process to step S140. When the finger FG is not in contact with the touch panel 12 (S104: N), or when the touch position P does not exist in the input area RD (S110: N), the game control unit 111 is not in step S118. After executing the touch process, the process proceeds to step S140. Since the non-touch processing is described with reference to FIG. 3, the description thereof will be omitted. If the latest touch to the touch panel 12 is not the first touch to the input area RD (S112: N), the game control unit 111 executes the touch continuation process in step S120, and then shifts the process to step S140. Proceed. The touch continuation process will be described with reference to FIG.

ステップS140において、表示制御部112は、仮想空間SP、キャラクタCR、及び、操作領域Vを表示部120に表示させるための表示情報を生成し、当該表示情報に基づく画像を表示部120が表示するように、表示部120を制御する。ステップS140の処理が実行されることにより、キャラクタCRの顔が、ステップS116又は後述する図11のステップS132等で設定された方向を向いた状態で表示される。表示制御部112は、ステップS140の処理を実行した後、処理をステップS142に進める。 In step S140, the display control unit 112 generates display information for displaying the virtual space SP, the character CR, and the operation area V on the display unit 120, and the display unit 120 displays an image based on the display information. As such, the display unit 120 is controlled. By executing the process of step S140, the face of the character CR is displayed in a state of facing the direction set in step S116 or step S132 of FIG. 11 described later. After executing the process of step S140, the display control unit 112 advances the process to step S142.

ステップS142において、ゲーム制御部111は、ユーザが、所定のゲームを終了させる旨の所定の終了操作をタッチパネル12から入力したか否かを判定する。ステップS142における判定の結果が肯定の場合、ゲーム制御部111は、所定のゲームを終了させる。一方、ステップS142における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS104に戻し、ゲームを継続させる。次に、図11を参照しながら、ステップS120のタッチ継続処理について説明する。 In step S142, the game control unit 111 determines whether or not the user has input a predetermined end operation to end the predetermined game from the touch panel 12. If the result of the determination in step S142 is affirmative, the game control unit 111 ends the predetermined game. On the other hand, if the result of the determination in step S142 is negative, the game control unit 111 returns the process to step S104 and continues the game. Next, the touch continuation process in step S120 will be described with reference to FIG.

図11は、タッチ継続処理の一例を示すフローチャートである。ステップS122の処理は、例えば、図10のステップS112における判定の結果が否定の場合に実行される。 FIG. 11 is a flowchart showing an example of touch continuation processing. The process of step S122 is executed, for example, when the result of the determination in step S112 of FIG. 10 is negative.

ステップS122において、ゲーム制御部111は、タッチ位置Pが入力領域RDr及びRDlの境界線BDrlを跨いで移動したか否かを判定する。具体的には、ゲーム制御部111は、タッチ位置履歴情報を参照し、タッチ位置Pが入力領域RDr及びRDlの一方から他方に移動したか否かを判定する。例えば、ゲーム制御部111は、図10のステップS106で取得されたタッチ位置情報の示すタッチ位置P[tm]と、時刻tmから時間Tcyc遡った時刻t(m−1)におけるタッチ位置P[t(m−1)]とが互いに異なる入力領域RDに存在するか否かを判定する。ステップS122における判定の結果が肯定の場合、ゲーム制御部111は、処理をステップS126に進める。一方、ステップS122における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS124に進める。 In step S122, the game control unit 111 determines whether or not the touch position P has moved across the boundary line BDrl of the input areas RDr and RDl. Specifically, the game control unit 111 refers to the touch position history information and determines whether or not the touch position P has moved from one of the input areas RDr and RDl to the other. For example, the game control unit 111 has a touch position P [tm] indicated by the touch position information acquired in step S106 of FIG. 10 and a touch position P [t] at a time t (m-1) retroactive by time Tcyc from the time tm. It is determined whether or not (m-1)] exists in different input areas RDs. If the result of the determination in step S122 is affirmative, the game control unit 111 advances the process to step S126. On the other hand, if the result of the determination in step S122 is negative, the game control unit 111 advances the process to step S124.

ステップS124において、ゲーム制御部111は、時刻tmから時間Tcyc遡った時刻t(m−1)におけるキャラクタCRの顔の向きが、タッチ位置P[t(m−1)]が存在する入力領域RDに対応する方向と一致しているか否かを判定する。例えば、図6に示した例において、時刻t14が時刻tmである場合、時刻t13におけるキャラクタCRの顔の向きが、タッチ位置P[t13]が存在する入力領域RDrに対応する+Xs方向に一致しているため、ステップS124における判定の結果は、肯定となる。また、例えば、図7に示した例において、時刻t24が時刻tmである場合、時刻t23におけるキャラクタCRの顔の向きが、タッチ位置P[t23]が存在する入力領域RDrに対応する+Xs方向に一致していないため、ステップS124における判定の結果は、否定となる。 In step S124, the game control unit 111 determines that the face orientation of the character CR at the time t (m-1) retroactive from the time tm is the input region RD in which the touch position P [t (m-1)] exists. It is determined whether or not it matches the direction corresponding to. For example, in the example shown in FIG. 6, when the time t14 is the time tm, the direction of the face of the character CR at the time t13 coincides with the + Xs direction corresponding to the input region RDr in which the touch position P [t13] exists. Therefore, the result of the determination in step S124 is affirmative. Further, for example, in the example shown in FIG. 7, when the time t24 is the time tm, the face direction of the character CR at the time t23 is in the + Xs direction corresponding to the input region RDr in which the touch position P [t23] exists. Since they do not match, the result of the determination in step S124 is negative.

ステップS124における判定の結果が肯定の場合、ゲーム制御部111は、ステップS134においてキャラクタCRの顔が向く方向を変更せずに維持した後、処理を図10のステップS140に進める。一方、ステップS124における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS126に進める。 If the result of the determination in step S124 is affirmative, the game control unit 111 maintains the direction in which the face of the character CR faces in step S134 without changing, and then proceeds to the process in step S140 of FIG. On the other hand, if the result of the determination in step S124 is negative, the game control unit 111 advances the process to step S126.

ステップS126において、ゲーム制御部111は、タッチ位置履歴情報を参照し、タッチ位置Pの移動速度を算出する。例えば、ゲーム制御部111は、図9で説明したように、時刻t(m−1)におけるタッチ位置P[t(m−1)]と、時刻tmにおけるタッチ位置P[tm]と、時刻tmから時刻t(m−1)までの時間Tcycとに基づいて、タッチ位置Pの移動速度を算出する。なお、ゲーム制御部111は、タッチ位置Pの移動速度として、タッチ位置Pが移動した際の加速度を算出してもよい。ゲーム制御部111は、ステップS126の処理を実行した後、処理をステップS128に進める。 In step S126, the game control unit 111 refers to the touch position history information and calculates the moving speed of the touch position P. For example, the game control unit 111 has a touch position P [t (m-1)] at time t (m-1), a touch position P [tm] at time tm, and a time tm, as described with reference to FIG. The moving speed of the touch position P is calculated based on the time Tcyc from to time t (m-1). The game control unit 111 may calculate the acceleration when the touch position P moves as the moving speed of the touch position P. After executing the process of step S126, the game control unit 111 advances the process to step S128.

ステップS128において、ゲーム制御部111は、ステップS126において算出したタッチ位置Pの移動速度が、所定の速度条件を満たすか否かを判定する。例えば、タッチ位置Pの移動速度(MV/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合、ゲーム制御部111は、ステップS126において算出したタッチ位置Pの移動速度が閾値速度TV以上であるか否かを判定する。また、例えば、タッチ位置Pにおける+Xs方向の移動速度(MVx/Tcyc)が閾値速度TVx以上であることが所定の速度条件である場合、ゲーム制御部111は、ステップS126において算出したタッチ位置Pの移動速度のうちの+Xs方向の成分が閾値速度TVx以上であるか否かを判定する。 In step S128, the game control unit 111 determines whether or not the moving speed of the touch position P calculated in step S126 satisfies a predetermined speed condition. For example, when the moving speed (MV / Tcyc) of the touch position P is equal to or higher than the threshold speed TV under the predetermined speed condition, the game control unit 111 determines that the moving speed of the touch position P calculated in step S126 is the threshold speed. Determine if it is TV or higher. Further, for example, when the predetermined speed condition is that the moving speed (MVx / Tcyc) in the + Xs direction at the touch position P is equal to or higher than the threshold speed TVx, the game control unit 111 determines the touch position P calculated in step S126. It is determined whether or not the component in the + Xs direction of the moving speed is equal to or higher than the threshold speed TVx.

ステップS128における判定の結果が肯定の場合、ゲーム制御部111は、処理をステップS130に進める。一方、ステップS128における判定の結果が否定の場合、ゲーム制御部111は、ステップS134においてキャラクタCRの顔が向く方向を変更せずに維持した後、処理を図10のステップS140に進める。 If the result of the determination in step S128 is affirmative, the game control unit 111 advances the process to step S130. On the other hand, if the result of the determination in step S128 is negative, the game control unit 111 maintains the direction in which the face of the character CR faces in step S134 without changing, and then proceeds to the process in step S140 of FIG.

ステップS130において、振動制御部115は、振動発生部140が端末装置10を振動させるように、振動発生部140を制御する。そして、振動制御部115は、処理をステップS132に進める。 In step S130, the vibration control unit 115 controls the vibration generation unit 140 so that the vibration generation unit 140 vibrates the terminal device 10. Then, the vibration control unit 115 advances the process to step S132.

ステップS132において、ゲーム制御部111は、キャラクタCRの顔が向く方向を、図10のステップS110で判定されたタッチ位置Pが存在する入力領域RDに対応する方向に変更する。すなわち、タッチ位置Pの移動速度が所定の速度条件を満たす場合、キャラクタCRの顔の向きは、タッチ位置P[tm]が存在する入力領域RDに対応する方向に設定される。ゲーム制御部111は、ステップS132の処理を実行した後、処理を図10のステップS140に進める。 In step S132, the game control unit 111 changes the direction in which the face of the character CR faces to the direction corresponding to the input region RD in which the touch position P determined in step S110 of FIG. 10 exists. That is, when the moving speed of the touch position P satisfies a predetermined speed condition, the face orientation of the character CR is set to the direction corresponding to the input region RD in which the touch position P [tm] exists. After executing the process of step S132, the game control unit 111 advances the process to step S140 of FIG.

このように、ゲーム制御部111は、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合、タッチ位置Pの移動速度に基づいて、所定のゲームに係る指示を変更するか否かを決定する。 As described above, when the touch position P moves from one of the input areas RDr and RDl to the other in the state where the touch to the touch panel 12 is continued, the game control unit 111 is based on the moving speed of the touch position P. Decide whether to change the instructions for a given game.

なお、端末装置10の動作は、図10及び図11に示した例に限定されない。例えば、図10のステップS118の非タッチ処理は、省かれてもよい。この場合、例えば、ゲーム制御部111は、ステップS104において、タッチパネル12がタッチ位置情報を出力していないと判定されると、特定の処理を実行することなく、処理をステップS140に進めてもよい。あるいは、ゲーム制御部111は、ステップS110において、最新のタッチ位置Pが入力領域RDの外部に存在すると判定した場合、特定の処理を実行することなく、処理をステップS140に進めてもよい。また、図11のステップS126及びS128の一連の処理は、ステップS122の処理の前に実行されてもよい。また、ステップS128における判定の結果が否定の場合(すなわち、タッチ位置Pが所定の速度条件を満たさずに境界線BDrlを跨いで移動した場合)、端末装置10を振動させる処理が実行されてもよい。タッチ位置Pが所定の速度条件を満たさずに境界線BDrlを跨いで移動した場合に端末装置10を振動させる際の振動パターンは、ステップS130において端末装置10を振動させる際の振動パターンと同じでもよいし、ステップS130において端末装置10を振動させる際の振動パターンと異なっていてもよい。あるいは、タッチ位置Pが所定の速度条件を満たさずに境界線BDrlを跨いで移動したことに応じて振動制御部115が振動発生部140を制御して端末装置10を振動させる場合、ステップS130の処理は省かれてもよい。 The operation of the terminal device 10 is not limited to the examples shown in FIGS. 10 and 11. For example, the non-touch process in step S118 of FIG. 10 may be omitted. In this case, for example, if it is determined in step S104 that the touch panel 12 does not output the touch position information, the game control unit 111 may proceed to step S140 without executing a specific process. .. Alternatively, if the game control unit 111 determines in step S110 that the latest touch position P exists outside the input area RD, the game control unit 111 may proceed to step S140 without executing a specific process. Further, the series of processes of steps S126 and S128 of FIG. 11 may be executed before the process of step S122. Further, when the result of the determination in step S128 is negative (that is, when the touch position P moves across the boundary line BDrl without satisfying the predetermined speed condition), even if the process of vibrating the terminal device 10 is executed. Good. The vibration pattern when the terminal device 10 is vibrated when the touch position P does not satisfy the predetermined speed condition and moves across the boundary line BDrl may be the same as the vibration pattern when the terminal device 10 is vibrated in step S130. Alternatively, it may be different from the vibration pattern when the terminal device 10 is vibrated in step S130. Alternatively, when the vibration control unit 115 controls the vibration generation unit 140 to vibrate the terminal device 10 in response to the touch position P moving across the boundary line BDrl without satisfying the predetermined speed condition, step S130. The process may be omitted.

以上、第1実施形態では、ゲーム制御部111は、タッチパネル12に対するタッチが継続されている状態において、タッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合、タッチ位置Pの移動速度に基づいて、所定のゲームに係る指示を変更するか否かを判定する。具体的には、ゲーム制御部111は、タッチ位置情報の示すタッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合であって、タッチ位置Pの移動速度が所定の速度条件を満たす場合には、所定のゲームに係る指示を、入力領域RDr及びRDlの一方に対応付けられた指示から、入力領域RDr及びRDlの他方に対応付けられた指示に変更する。また、ゲーム制御部111は、タッチ位置情報の示すタッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合であっても、タッチ位置Pの移動速度が所定の速度条件を満さない場合には、所定のゲームに係る指示を入力領域RDr及びRDlの一方に対応付けられた指示に維持する。 As described above, in the first embodiment, in the game control unit 111, the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 is the input areas RDr and RDl in a state where the touch to the touch panel 12 is continued. When moving from one to the other, it is determined whether or not to change the instruction related to the predetermined game based on the moving speed of the touch position P. Specifically, in the game control unit 111, the touch position P indicated by the touch position information is moved from one of the input areas RDr and RDl to the other, and the moving speed of the touch position P satisfies a predetermined speed condition. In the case, the instruction relating to the predetermined game is changed from the instruction associated with one of the input areas RDr and RDl to the instruction associated with the other of the input areas RDr and RDl. Further, in the game control unit 111, even when the touch position P indicated by the touch position information moves from one of the input areas RDr and RDl to the other, the moving speed of the touch position P does not satisfy a predetermined speed condition. In the case, the instruction relating to the predetermined game is maintained in the instruction associated with one of the input areas RDr and RDl.

このため、本実施形態によれば、例えば、ユーザが所定のゲームに係る指示を変更するつもりがないにもかかわらず、タッチ位置Pが徐々にずれていく場合であっても、タッチ位置Pの移動速度が所定の速度条件を満さない場合には、所定のゲームに係る指示は、変更されない。従って、タッチ位置Pの移動速度が所定の速度条件を満さない場合には所定のゲームに係る指示を変更しない本実施形態によれば、所定のゲームに係る指示の変更にタッチ位置Pの移動速度が考慮されない場合に比べて、誤った入力がなされる可能性を低減することができる。すなわち、本実施形態によれば、タッチパネル12へのタッチ位置Pにずれが生じうる場合であっても、誤った入力がなされる可能性を低減することができる。 Therefore, according to the present embodiment, for example, even if the touch position P gradually shifts even though the user does not intend to change the instruction related to the predetermined game, the touch position P If the movement speed does not satisfy the predetermined speed condition, the instruction relating to the predetermined game is not changed. Therefore, when the moving speed of the touch position P does not satisfy the predetermined speed condition, the instruction related to the predetermined game is not changed. According to the present embodiment, the movement of the touch position P is changed to change the instruction related to the predetermined game. It is possible to reduce the possibility of erroneous input as compared to the case where speed is not taken into consideration. That is, according to the present embodiment, even when the touch position P on the touch panel 12 may be displaced, the possibility that an erroneous input is made can be reduced.

また、ゲーム制御部111は、タッチ位置Pが、所定の速度条件を満たさない移動速度で入力領域RDr及びRDlの一方から他方に移動した場合、タッチ位置Pの移動速度が所定の速度条件を満たしたとき、所定のゲームに係る指示を、入力領域RDr及びRDlの一方に対応付けられた指示から入力領域RDr及びRDlの他方に対応付けられた指示に変更する。これにより、本実施形態では、例えば、ユーザが所定のゲームに係る指示の内容を変更するつもりで指FGを移動させたにもかかわらず、所定のゲームに係る指示が変更されないことを低減することができる。すなわち、本実施形態によれば、ユーザの意図する指示とは異なる指示が実行なされる可能性を低減することができる。 Further, in the game control unit 111, when the touch position P moves from one of the input areas RDr and RDl to the other at a moving speed that does not satisfy the predetermined speed condition, the moving speed of the touch position P satisfies the predetermined speed condition. At that time, the instruction relating to the predetermined game is changed from the instruction associated with one of the input areas RDr and RDl to the instruction associated with the other of the input areas RDr and RDl. Thereby, in the present embodiment, for example, it is possible to reduce that the instruction related to the predetermined game is not changed even though the user moves the finger FG with the intention of changing the content of the instruction related to the predetermined game. Can be done. That is, according to the present embodiment, it is possible to reduce the possibility that an instruction different from the instruction intended by the user is executed.

[2.第2実施形態]
次に、図12から図18を参照しながら、第2実施形態に係る端末装置10Aについて説明する。
[2. Second Embodiment]
Next, the terminal device 10A according to the second embodiment will be described with reference to FIGS. 12 to 18.

図12は、第2実施形態に係る端末装置10Aの構成の一例を示す機能ブロック図である。図1乃至図11で説明した要素と同様の要素については、同様の符号を付し、詳細な説明を省略する。また、端末装置10Aのハードウェア構成については、端末装置10のハードウェア構成と同様であるため、説明を省略する。端末装置10Aは、図4に示した制御部110の代わりに制御部110Aを有することを除いて、図4に示した端末装置10と同様である。例えば、端末装置10Aは、端末装置10Aの各部を制御する制御部110Aと、画像を表示するための表示部120と、端末装置10Aのユーザによる指示の入力を受け付ける入力部122と、各種情報を記憶する記憶部130と、端末装置10Aを振動させる振動発生部140とを有する。 FIG. 12 is a functional block diagram showing an example of the configuration of the terminal device 10A according to the second embodiment. The same elements as those described with reference to FIGS. 1 to 11 are designated by the same reference numerals, and detailed description thereof will be omitted. Further, since the hardware configuration of the terminal device 10A is the same as the hardware configuration of the terminal device 10, the description thereof will be omitted. The terminal device 10A is the same as the terminal device 10 shown in FIG. 4, except that the control unit 110A is provided in place of the control unit 110 shown in FIG. For example, the terminal device 10A has a control unit 110A that controls each part of the terminal device 10A, a display unit 120 for displaying an image, an input unit 122 that receives an input of an instruction by a user of the terminal device 10A, and various information. It has a storage unit 130 for storing and a vibration generating unit 140 for vibrating the terminal device 10A.

制御部110Aは、ゲーム制御部111と、表示制御部112と、タッチ位置情報取得部113と、操作領域割当部114A(「領域割当部」の一例)と、振動制御部115とを有する。すなわち、制御部110Aは、図4に示した操作領域割当部114の代わりに操作領域割当部114Aを有することを除いて、図4に示した制御部110と同様である。このため、図12では、操作領域割当部114Aについて説明する。 The control unit 110A includes a game control unit 111, a display control unit 112, a touch position information acquisition unit 113, an operation area allocation unit 114A (an example of the “area allocation unit”), and a vibration control unit 115. That is, the control unit 110A is the same as the control unit 110 shown in FIG. 4, except that the operation area allocation unit 114A is provided instead of the operation area allocation unit 114 shown in FIG. Therefore, in FIG. 12, the operation area allocation unit 114A will be described.

操作領域割当部114Aは、タッチパネル12に対するタッチが継続されている状態において、タッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合で、且つ、タッチ位置Pの移動速度が所定の速度条件を満たさない場合、最新のタッチ位置Pに基づいて、入力領域RDr及びRDlのタッチパネル12への割り当てを変更する。図13から図17を参照しながら、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法について説明する。 In the operation area allocation unit 114A, when the touch position P moves from one of the input areas RDr and RDl to the other in a state where the touch to the touch panel 12 is continued, the moving speed of the touch position P is a predetermined speed. If the condition is not satisfied, the assignment of the input areas RDr and RDl to the touch panel 12 is changed based on the latest touch position P. A method of changing the allocation of the input areas RDr and RDl to the touch panel 12 will be described with reference to FIGS. 13 to 17.

図13は、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法の一例を示す説明図である。以下では、時刻tnにおける操作領域Vは、操作領域V[tn]とも称され、時刻tnにおける基準位置Ovは、基準位置Ov[tn]とも称される。また、時刻tnにおける入力領域RDrは、入力領域RDr[tn]とも称され、時刻tnにおける入力領域RDlは、入力領域RDl[tn]とも称される。また、時刻tnにおける境界線BDrlは、境界線BDrl[tn]とも称される。 FIG. 13 is an explanatory diagram showing an example of a method of changing the allocation of the input areas RDr and RDl to the touch panel 12. Hereinafter, the operation area V at the time tun is also referred to as the operation area V [tun], and the reference position Ov at the time tun is also referred to as the reference position Ov [tun]. Further, the input area RDr at the time tun is also referred to as an input area RDr [tun], and the input area RDl at the time tun is also referred to as an input area RDl [tun]. Further, the boundary line BDrl at the time tun is also referred to as the boundary line BDrl [tun].

図13に示す例では、タッチ位置P[t24]を図示していないが、時刻t20から時刻t24までの期間においてタッチパネル12に対するタッチは、継続している。図13では、時刻t20から時刻t23までのタッチ位置Pの動きが、図7の時刻t20から時刻t23までのタッチ位置Pの動きと同じである場合を想定する。このため、時刻t20から時刻t23までの端末装置10Aの動作は、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更するための処理が時刻t23以降に実行されることを除いて、図7の時刻t20から時刻t23までの端末装置10の動作と同様である。 In the example shown in FIG. 13, the touch position P [t24] is not shown, but the touch to the touch panel 12 continues during the period from the time t20 to the time t24. In FIG. 13, it is assumed that the movement of the touch position P from the time t20 to the time t23 is the same as the movement of the touch position P from the time t20 to the time t23 in FIG. Therefore, the operation of the terminal device 10A from the time t20 to the time t23 is the time shown in FIG. 7 except that the process for changing the allocation of the input areas RDr and RDl to the touch panel 12 is executed after the time t23. The operation is the same as that of the terminal device 10 from t20 to time t23.

例えば、時刻t22から時刻t23にかけて、タッチ位置Pは、閾値速度TV未満の移動速度(|MV[t23]|/Tcyc)で、入力領域RDl[t23]内のタッチ位置P[t22]から入力領域RDr[t23]内のタッチ位置P[t23]に移動する。ゲーム制御部111は、タッチ位置Pの移動速度が所定の速度条件を満たしていないため、所定のゲームに係る指示を、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)に維持する。 For example, from time t22 to time t23, the touch position P has a movement speed (| MV [t23] | / Tcyc) less than the threshold speed TV, and is from the touch position P [t22] in the input area RDl [t23] to the input area. It moves to the touch position P [t23] in RDr [t23]. Since the moving speed of the touch position P does not satisfy the predetermined speed condition, the game control unit 111 gives an instruction related to the predetermined game to set the face direction of the character CR to the −Xs direction (corresponding to the input area RDl). Keep in the attached instructions).

また、時刻t23では、操作領域割当部114Aは、タッチ位置Pが入力領域RDl[t23]から入力領域RDr[t23]に移動した場合におけるタッチ位置Pの移動速度が所定の速度条件を満たさないため、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更する処理を開始する。例えば、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、入力領域RDr及びRDlの各々の位置を移動させる。 Further, at time t23, in the operation area allocation unit 114A, the moving speed of the touch position P when the touch position P moves from the input area RDl [t23] to the input area RDr [t23] does not satisfy a predetermined speed condition. , Start the process of changing the allocation of the input areas RDr and RDl to the touch panel 12. For example, the operation area allocation unit 114A moves the respective positions of the input areas RDr and RDl based on the movement of the touch position P.

図13に示す例では、操作領域割当部114Aは、先ず、タッチパネル座標系ΣSにおける基準位置Ov[t23]及びタッチ位置P[t23]に基づいて、割り当て変更後の基準位置Ov[t24]を決定する。例えば、操作領域割当部114Aは、タッチ位置P[t23]のXs軸座標値に正の所定値を加算した値を基準位置Ov[t24]のXs軸座標値に決定し、基準位置Ov[t23]のYs軸座標値を基準位置Ov[t24]のYs軸座標値に決定する。そして、操作領域割当部114Aは、基準位置Ov[t23]を始点とし、基準位置Ov[t24]を終点とする操作領域移動ベクトルVmvに対応する移動量だけ、入力領域RDr及びRDlを+Xs方向(境界線BDrlに直行する方向)に移動させる。これにより、操作領域割当部114Aは、タッチ位置P[t23]が入力領域RDl[t24]に存在するように、タッチパネル座標系ΣSにおける基準位置Ov、入力領域RDr及びRDlの位置を修正することができる。 In the example shown in FIG. 13, the operation area allocation unit 114A first determines the reference position Ov [t24] after the allocation change based on the reference position Ov [t23] and the touch position P [t23] in the touch panel coordinate system ΣS. To do. For example, the operation area allocation unit 114A determines the value obtained by adding a positive predetermined value to the Xs-axis coordinate value of the touch position P [t23] as the Xs-axis coordinate value of the reference position Ov [t24], and determines the reference position Ov [t23]. ] Is determined as the Ys-axis coordinate value of the reference position Ov [t24]. Then, the operation area allocation unit 114A sets the input areas RDr and RDl in the + Xs direction by the amount of movement corresponding to the operation area movement vector Vmv having the reference position Ov [t23] as the start point and the reference position Ov [t24] as the end point. Move in the direction perpendicular to the boundary line BDrl). As a result, the operation area allocation unit 114A can correct the positions of the reference position Ov, the input areas RDr, and RDl in the touch panel coordinate system ΣS so that the touch position P [t23] exists in the input area RDl [t24]. it can.

図13に示す例では、タッチ位置Pが閾値速度TV未満の移動速度で移動しているため、例えば、指FGの現在(時刻t23)の位置に対応するタッチ位置P[t23]が入力領域RDlに存在しているとユーザが認識している可能性が高い。このため、ユーザの認識に合わせて、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更することにより、ユーザの操作性を向上させることができる。上述したように、図13では、入力領域RDr及びRDlを含む操作領域V全体を+Xs方向に移動させている。これにより、例えば、ユーザは、キャラクタCRの顔の向きを+Xs方向に変化させた後に、キャラクタCRの顔の向きを−Xs方向に戻す場合においても、キャラクタCRの顔の向きを−Xs方向とする指示(入力領域RDlに対応付けられた指示)を端末装置10に瞬時に入力することができる。 In the example shown in FIG. 13, since the touch position P is moving at a movement speed lower than the threshold speed TV, for example, the touch position P [t23] corresponding to the current position (time t23) of the finger FG is the input area RDl. It is likely that the user is aware that it exists in. Therefore, the operability of the user can be improved by changing the allocation of the input areas RDr and RDl to the touch panel 12 according to the recognition of the user. As described above, in FIG. 13, the entire operation area V including the input areas RDr and RDl is moved in the + Xs direction. As a result, for example, even when the user changes the face direction of the character CR in the + Xs direction and then returns the face direction of the character CR to the -Xs direction, the face direction of the character CR is set to the -Xs direction. Instructions to be given (instructions associated with the input area RDl) can be instantly input to the terminal device 10.

例えば、時刻t23から時刻t24にかけて、タッチ位置Pが閾値速度TV以上の移動速度で入力領域RDl[t24]から入力領域RDr[t24]に移動する場合、時刻t24において、キャラクタCRの顔の向きは、+Xs方向に変化する。この場合、ユーザは、例えば、時刻t24から図示しない時刻t25にかけて、指FGをタッチ位置P[t23]とほぼ同じ位置に戻すことにより、タッチ位置Pを入力領域RDr[t24]から入力領域RDl[t24]に移動させることができる。この結果、キャラクタCRの顔の向きは、−Xs方向に戻る。なお、入力領域RDr及びRDlの位置が固定されている場合、指FGがタッチ位置P[t23]とほぼ同じ位置に戻っても、タッチ位置Pが入力領域RDl(図13の入力領域RDl[t23])に移動しないため、キャラクタCRの顔は、−Xs方向に向かない。この実施形態では、上述したように、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更することにより、ユーザの意図した指示が端末装置10に入力されないことを低減することができるため、ユーザの操作性を向上させることができる。 For example, when the touch position P moves from the input area RDl [t24] to the input area RDr [t24] at a movement speed equal to or higher than the threshold speed TV from time t23 to time t24, the face orientation of the character CR is changed at time t24. , + Xs direction. In this case, for example, from the time t24 to the time t25 (not shown), the user returns the finger FG to a position substantially the same as the touch position P [t23] to move the touch position P from the input area RDr [t24] to the input area RDl [. It can be moved to [t24]. As a result, the face orientation of the character CR returns to the −Xs direction. When the positions of the input areas RDr and RDl are fixed, even if the finger FG returns to almost the same position as the touch position P [t23], the touch position P remains in the input area RDl (input area RDl [t23 in FIG. 13]). ]), So the face of the character CR does not face the -Xs direction. In this embodiment, as described above, by changing the allocation of the input areas RDr and RDl to the touch panel 12, it is possible to reduce that the user's intended instruction is not input to the terminal device 10, and thus the user's operation. The sex can be improved.

なお、入力領域RDr及びRDlの各々の位置の移動方法は、図13に示した例に限定されない。例えば、入力領域RDr及びRDlの各々の移動方向は、境界線BDrlに直行する方向に限定されない。具体的には、入力領域RDr及びRDlの各々の移動方向は、境界線BDrlと45度で交差する方向であってもよいし、タッチ位置移動ベクトルMV[t23]と同じ方向であってもよい。また、入力領域RDr及びRDlの各々の移動量は、基準位置Ov[t23]及びタッチ位置P[t23]に基づく移動量に限定されない。例えば、入力領域RDr及びRDlの各々の移動量は、タッチ位置移動ベクトルMV[t23]に対応する移動量であってもよい。すなわち、操作領域割当部114Aは、入力領域RDr及びRDlを含む操作領域V全体を、タッチ位置移動ベクトルMV[t23]に対応する移動量だけ、タッチ位置移動ベクトルMVと同じ方向に移動させてもよい。 The method of moving each position of the input areas RDr and RDl is not limited to the example shown in FIG. For example, the movement directions of the input regions RDr and RDl are not limited to the directions orthogonal to the boundary line BDrl. Specifically, the movement directions of the input regions RDr and RDl may be directions that intersect the boundary line BDrl at 45 degrees, or may be the same direction as the touch position movement vector MV [t23]. .. Further, the movement amount of each of the input regions RDr and RDl is not limited to the movement amount based on the reference position Ov [t23] and the touch position P [t23]. For example, the movement amounts of the input regions RDr and RDl may be movement amounts corresponding to the touch position movement vector MV [t23]. That is, even if the operation area allocation unit 114A moves the entire operation area V including the input areas RDr and RDl in the same direction as the touch position movement vector MV by the amount of movement corresponding to the touch position movement vector MV [t23]. Good.

また、操作領域割当部114Aは、タッチ位置P[t23]のXs軸座標値を基準位置Ov[t24]のXs軸座標値(移動後の基準位置OvのXs軸座標値)に決定してもよい。あるいは、操作領域割当部114Aは、タッチ位置P[t23]のXs軸座標値と基準位置Ov[t23]のXs軸座標値との間の値を基準位置Ov[t24]のXs軸座標値に決定してもよい。この場合、タッチ位置P[t23]は境界線BDrl[t24]より+Xs方向に存在するが、キャラクタCRの顔の向きを+Xs方向に変化させた後に−Xs方向に戻す場合の指FGの移動量を、入力領域RDr及びRDlの位置が固定されている場合に比べて、小さくすることができる。次に、図14を参照しながら、入力領域RDr及びRDlを回転移動させる場合の操作領域割当部114Aの動作について説明する。 Further, even if the operation area allocation unit 114A determines the Xs-axis coordinate value of the touch position P [t23] as the Xs-axis coordinate value of the reference position Ov [t24] (the Xs-axis coordinate value of the reference position Ov after movement). Good. Alternatively, the operation area allocation unit 114A uses a value between the Xs-axis coordinate value of the touch position P [t23] and the Xs-axis coordinate value of the reference position Ov [t23] as the Xs-axis coordinate value of the reference position Ov [t24]. You may decide. In this case, the touch position P [t23] exists in the + Xs direction from the boundary line BDrl [t24], but the amount of movement of the finger FG when the face direction of the character CR is changed in the + Xs direction and then returned in the −Xs direction. Can be made smaller than when the positions of the input regions RDr and RDl are fixed. Next, the operation of the operation area allocation unit 114A when the input areas RDr and RDl are rotationally moved will be described with reference to FIG.

図14は、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法の別の例を示す説明図である。図14に示す例では、操作領域割当部114Aは、入力領域RDr及びRDlを含む操作領域V全体を移動させる代わりに、入力領域RDr及びRDlを回転移動させる。すなわち、図14に示す例では、端末装置10Aの動作は、操作領域V全体を移動させる代わりに入力領域RDr及びRDlを回転移動させることを除いて、図13で説明した端末装置10Aの動作と同様である。このため、図14では、入力領域RDr及びRDlを回転移動させる処理について説明する。なお、図14では、説明の便宜上、線LN1を図示しているが、実際には、線LN1はタッチパネル12に表示されない。 FIG. 14 is an explanatory diagram showing another example of a method of changing the allocation of the input areas RDr and RDl to the touch panel 12. In the example shown in FIG. 14, the operation area allocation unit 114A rotationally moves the input areas RDr and RDl instead of moving the entire operation area V including the input areas RDr and RDl. That is, in the example shown in FIG. 14, the operation of the terminal device 10A is the same as the operation of the terminal device 10A described with reference to FIG. 13, except that the input areas RDr and RDl are rotationally moved instead of moving the entire operation area V. The same is true. Therefore, FIG. 14 describes a process of rotating and moving the input regions RDr and RDl. Although the line LN1 is shown in FIG. 14 for convenience of explanation, the line LN1 is not actually displayed on the touch panel 12.

時刻t23において、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、入力領域RDr及びRDlを基準位置Ovを中心にして回転移動させる。例えば、操作領域割当部114Aは、基準位置Ov[t23]及びタッチ位置P[t23]を通る線LN1と、入力領域RDr及びRDlの境界線BDrl[t23]とのなす鋭角より所定量だけ大きい角度θを定める。そして、操作領域割当部114Aは、境界線BDrl[t23]を、基準位置Ovを支点にして+Xs方向に角度θだけ傾ける。すなわち、操作領域割当部114Aは、入力領域RDr及びRDlを、基準位置Ovを中心にして反時計回りに角度θだけ回転させる。 At time t23, the operation area allocation unit 114A rotates the input areas RDr and RDl around the reference position Ov based on the movement of the touch position P. For example, the operation area allocation unit 114A has an angle larger than the acute angle formed by the acute angle formed by the line LN1 passing through the reference position Ov [t23] and the touch position P [t23] and the boundary line BDrl [t23] of the input areas RDr and RDl. Determine θ. Then, the operation area allocation unit 114A tilts the boundary line BDrl [t23] by an angle θ in the + Xs direction with the reference position Ov as a fulcrum. That is, the operation area allocation unit 114A rotates the input areas RDr and RDl counterclockwise by an angle θ with respect to the reference position Ov.

これにより、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチ位置P[t23]が入力領域RDl[t24]に存在するように、タッチパネル座標系ΣSにおける入力領域RDr及びRDlの位置を修正することができる。この結果、入力領域RDr及びRDlを回転移動させる場合においても、図13に示した動作と同様の効果(操作性の向上)を得ることができる。なお、入力領域RDr及びRDlの回転方向は、タッチ位置P[t23]が入力領域RDl[t24]に存在するようにする方向であり、基準位置Ov[t23]とタッチ位置P[t23]との位置関係によって決まる。例えば、タッチ位置P[t23]が基準位置Ov[t23]より+Ys方向に位置する場合、入力領域RDr及びRDlの回転方向は、時計回りである。 As a result, the operation area allocation unit 114A does not change the position of the operation area V, and the input areas RDr and RDl in the touch panel coordinate system ΣS so that the touch position P [t23] exists in the input area RDl [t24]. The position of can be corrected. As a result, even when the input regions RDr and RDl are rotationally moved, the same effect (improvement in operability) as the operation shown in FIG. 13 can be obtained. The rotation directions of the input areas RDr and RDl are directions so that the touch position P [t23] exists in the input area RDl [t24], and the reference position Ov [t23] and the touch position P [t23] are It depends on the positional relationship. For example, when the touch position P [t23] is located in the + Ys direction from the reference position Ov [t23], the rotation directions of the input regions RDr and RDl are clockwise.

なお、入力領域RDr及びRDlの回転移動の方法は、図14に示した例に限定されない。例えば、入力領域RDr及びRDlを回転させる際の角度θは、線LN1と境界線BDrl[t23]とのなす鋭角と同じ角度であってもよいし、線LN1と境界線BDrl[t23]とのなす鋭角より小さい角度であってもよい。また、入力領域RDr及びRDlを回転させる際の中心は、境界線BDrl[t23]上の基準位置Ov以外の位置であってもよい。例えば、操作領域割当部114Aは、境界線BDrl[t23]における+Ys方向の端点と基準位置Ovとの間の一の位置を中心にして、入力領域RDr及びRDlを回転移動させてもよい。また、入力領域RDr及びRDlを回転させる際の中心は、境界線BDrl[t23]上以外の位置であってもよい。次に、図15を参照しながら、入力領域RDr及びRDlの形状を変形させる場合の操作領域割当部114Aの動作について説明する。 The method of rotationally moving the input regions RDr and RDl is not limited to the example shown in FIG. For example, the angle θ when rotating the input regions RDr and RDl may be the same angle as the acute angle formed by the line LN1 and the boundary line BDrl [t23], or the angle between the line LN1 and the boundary line BDrl [t23]. The angle may be smaller than the acute angle. Further, the center when rotating the input regions RDr and RDl may be a position other than the reference position Ov on the boundary line BDrl [t23]. For example, the operation area allocation unit 114A may rotate the input areas RDr and RDl around one position between the end point in the + Ys direction and the reference position Ov on the boundary line BDrl [t23]. Further, the center when rotating the input regions RDr and RDl may be a position other than on the boundary line BDrl [t23]. Next, with reference to FIG. 15, the operation of the operation area allocation unit 114A when the shapes of the input areas RDr and RDl are deformed will be described.

図15は、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法の別の例を示す説明図である。図15に示す例では、操作領域割当部114Aは、入力領域RDr及びRDlを回転移動させる代わりに、入力領域RDr及びRDlの境界線BDrlの形状を変形させる。すなわち、図15に示す例では、端末装置10Aの動作は、入力領域RDr及びRDlを回転移動させる代わりに境界線BDrlの形状を変形させることを除いて、図14で説明した端末装置10Aの動作と同様である。このため、図15では、境界線BDrlを変形させる処理について説明する。なお、図15では、説明の便宜上、線LN2を図示しているが、実際には、線LN2はタッチパネル12に表示されない。 FIG. 15 is an explanatory diagram showing another example of a method of changing the allocation of the input areas RDr and RDl to the touch panel 12. In the example shown in FIG. 15, the operation area allocation unit 114A deforms the shape of the boundary line BDrl of the input areas RDr and RDl instead of rotating the input areas RDr and RDl. That is, in the example shown in FIG. 15, the operation of the terminal device 10A is the operation of the terminal device 10A described with reference to FIG. 14, except that the shape of the boundary line BDrl is deformed instead of rotating and moving the input regions RDr and RDl. Is similar to. Therefore, in FIG. 15, the process of deforming the boundary line BDrl will be described. Although the line LN2 is shown in FIG. 15 for convenience of explanation, the line LN2 is not actually displayed on the touch panel 12.

時刻t23において、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、入力領域RDr及びRDlの形状を変形させる。例えば、操作領域割当部114Aは、基準位置Ov[t23]及びタッチ位置P[t23]を通る線LN2と、入力領域RDr及びRDlの境界線BDrl[t23]とのなす鋭角より所定量だけ大きい角度θを定める。そして、操作領域割当部114Aは、境界線BDrl[t23]のうち、基準位置Ov[t23]よりーYs方向の線を、基準位置Ovを支点にして+Xs方向に角度θだけ傾ける。これにより、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチ位置P[t23]が入力領域RDl[t24]に存在するように、タッチパネル座標系ΣSにおける入力領域RDr及びRDlの形状を修正することができる。この結果、入力領域RDr及びRDlの形状を変形させる場合においても、図13に示した動作と同様の効果(操作性の向上)を得ることができる。 At time t23, the operation area allocation unit 114A deforms the shapes of the input areas RDr and RDl based on the movement of the touch position P. For example, the operation area allocation unit 114A has an angle larger than the acute angle formed by the acute angle formed by the line LN2 passing through the reference position Ov [t23] and the touch position P [t23] and the boundary line BDrl [t23] of the input areas RDr and RDl. Determine θ. Then, the operation area allocation unit 114A inclines the line in the −Ys direction from the reference position Ov [t23] in the boundary line BDrl [t23] by an angle θ in the + Xs direction with the reference position Ov as a fulcrum. As a result, the operation area allocation unit 114A does not change the position of the operation area V, and the input areas RDr and RDl in the touch panel coordinate system ΣS so that the touch position P [t23] exists in the input area RDl [t24]. The shape of can be modified. As a result, even when the shapes of the input regions RDr and RDl are deformed, the same effect (improvement in operability) as the operation shown in FIG. 13 can be obtained.

なお、入力領域RDr及びRDlの形状を変形させるの方法は、図15に示した例に限定されない。例えば、境界線BDrl[t23]のうちの基準位置Ov[t23]よりーYs方向の線を傾ける際の角度θは、線LN2と境界線BDrl[t23]とのなす鋭角と同じ角度であってもよいし、線LN2と境界線BDrl[t23]とのなす鋭角より小さい角度であってもよい。また、例えば、操作領域割当部114Aは、図16に示すように、境界線BDrl[t23]のうちの基準位置Ov[t23]よりーYs方向の線を部分的に変形してもよいし、図17に示すように、境界線BDrlを移動させてもよい。 The method of deforming the shapes of the input regions RDr and RDl is not limited to the example shown in FIG. For example, the angle θ when tilting the line in the −Ys direction from the reference position Ov [t23] of the boundary line BDrl [t23] is the same angle as the acute angle formed by the line LN2 and the boundary line BDrl [t23]. It may be an angle smaller than the acute angle formed by the line LN2 and the boundary line BDrl [t23]. Further, for example, as shown in FIG. 16, the operation area allocation unit 114A may partially deform the line in the −Ys direction from the reference position Ov [t23] of the boundary line BDrl [t23]. As shown in FIG. 17, the boundary line BDrl may be moved.

図16は、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法の別の例を示す説明図である。図16に示す例では、操作領域割当部114Aは、境界線BDrl[t23]のうちの基準位置Ov[t23]よりーYs方向の線を傾ける代わりに、境界線BDrl[t23]のうちの基準位置Ov[t23]よりーYs方向の線を部分的に変形させる。すなわち、図16に示す例では、端末装置10Aの動作は、境界線BDrl[t23]を変形させる方法を除いて、図15で説明した端末装置10Aの動作と同様である。このため、図16では、境界線BDrlを変形させる処理について説明する。 FIG. 16 is an explanatory diagram showing another example of a method of changing the allocation of the input areas RDr and RDl to the touch panel 12. In the example shown in FIG. 16, the operation area allocation unit 114A does not incline the line in the −Ys direction from the reference position Ov [t23] of the boundary line BDrl [t23], but instead serves the reference of the boundary line BDrl [t23]. The line in the −Ys direction from the position Ov [t23] is partially deformed. That is, in the example shown in FIG. 16, the operation of the terminal device 10A is the same as the operation of the terminal device 10A described with reference to FIG. 15, except for the method of deforming the boundary line BDrl [t23]. Therefore, FIG. 16 describes a process of deforming the boundary line BDrl.

時刻t23において、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、入力領域RDr及びRDlの形状を変形させる。例えば、操作領域割当部114Aは、タッチ位置P[t23]を+Xs方向に所定量だけ移動した位置を頂点とし、境界線BDrl[t23]上に底辺を有する二等辺三角形TRIを定める。そして、操作領域割当部114Aは、境界線BDrl[t23]のうちの二等辺三角形TRIの底辺に対応する部分を除く線と、二等辺三角形TRIの等辺とを含む線を、境界線BDrl[t24]とする。すなわち、操作領域割当部114Aは、入力領域RDl[t23]と二等辺三角形TRIとを含む領域を入力領域RDl[t24]に割り当て、入力領域RDr[t23]から二等辺三角形TRIを除いた領域を入力領域RDr[t24]に割り当てる。 At time t23, the operation area allocation unit 114A deforms the shapes of the input areas RDr and RDl based on the movement of the touch position P. For example, the operation area allocation unit 114A defines an isosceles triangle TRI having a apex at a position where the touch position P [t23] is moved in the + Xs direction by a predetermined amount and having a base on the boundary line BDrl [t23]. Then, the operation area allocation unit 114A sets a line including the line excluding the portion of the boundary line BDrl [t23] corresponding to the base of the isosceles triangle TRI and the equilateral side of the isosceles triangle TRI to the boundary line BDrl [t24]. ]. That is, the operation area allocation unit 114A allocates an area including the input area RDl [t23] and the isosceles triangle TRI to the input area RDl [t24], and sets the area obtained by removing the isosceles triangle TRI from the input area RDr [t23]. Allocate to the input area RDr [t24].

これにより、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチ位置P[t23]が入力領域RDl[t24]に存在するように、タッチパネル座標系ΣSにおける入力領域RDr及びRDlの形状を修正することができる。この結果、入力領域RDr及びRDlの形状を変形させる場合においても、図13に示した動作と同様の効果(操作性の向上)を得ることができる。また、図16に示す方法では、境界線BDrl[t23]を部分的に変形しているため、入力領域RDr及びRDlの形状における初期状態からの変更量を小さくすることができる。初期状態とは、例えば、ユーザの操作によらず、予め決められた状態であってもよい。具体的には、初期状態は、図10のステップS100で割り当てられた入力領域RDr及びRDlの状態であってもよい。 As a result, the operation area allocation unit 114A does not change the position of the operation area V, and the input areas RDr and RDl in the touch panel coordinate system ΣS so that the touch position P [t23] exists in the input area RDl [t24]. The shape of can be modified. As a result, even when the shapes of the input regions RDr and RDl are deformed, the same effect (improvement in operability) as the operation shown in FIG. 13 can be obtained. Further, in the method shown in FIG. 16, since the boundary line BDrl [t23] is partially deformed, the amount of change in the shapes of the input regions RDr and RDl from the initial state can be reduced. The initial state may be, for example, a predetermined state regardless of the user's operation. Specifically, the initial state may be the state of the input regions RDr and RDl allocated in step S100 of FIG.

なお、境界線BDrl[t23]を部分的に変形させる方法は、図16に示した例に限定されない。例えば、入力領域RDl[t24]として、入力領域RDl[t23]に追加される領域の形状は、二等辺三角形TRI以外の形状でもよい。また、入力領域RDl[t24]として、入力領域RDl[t23]に追加される領域の形状は、弾性曲線を利用した形状でもよい。次に、図17を参照しながら、境界線BDrlを移動させることにより、入力領域RDr及びRDlの形状を変形させる場合の操作領域割当部114Aの動作について説明する。 The method of partially deforming the boundary line BDrl [t23] is not limited to the example shown in FIG. For example, the shape of the region added to the input region RDl [t23] as the input region RDl [t24] may be a shape other than the isosceles triangle TRI. Further, the shape of the region added to the input region RDl [t23] as the input region RDl [t24] may be a shape using an elastic curve. Next, with reference to FIG. 17, the operation of the operation area allocation unit 114A when the shapes of the input areas RDr and RDl are deformed by moving the boundary line BDrl will be described.

図17は、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法の別の例を示す説明図である。図17に示す例では、操作領域割当部114Aは、境界線BDrl[t23]のうちの基準位置Ov[t23]よりーYs方向の線を傾ける代わりに、境界線BDrl[t23]の位置を+Xs方向に移動させる。すなわち、図17に示す例では、端末装置10Aの動作は、境界線BDrl[t23]のうちの基準位置Ov[t23]よりーYs方向の線を傾ける代わりに境界線BDrl[t23]の位置を+Xs方向に移動させることを除いて、図15で説明した端末装置10Aの動作と同様である。このため、図17では、境界線BDrlの位置を移動させる処理について説明する。符号Mdは、境界線BDrlの中心を示す。以下では、境界線BDrl[tn]の中心Mdは、中心Md[tn]とも称される。図17に示す例では、時刻t23における境界線BDrl[t23]の中心Md[t23]は、操作領域Vの中心である基準位置Ovに一致している。 FIG. 17 is an explanatory diagram showing another example of a method of changing the allocation of the input areas RDr and RDl to the touch panel 12. In the example shown in FIG. 17, the operation area allocation unit 114A shifts the position of the boundary line BDrl [t23] to + Xs instead of tilting the line in the −Ys direction from the reference position Ov [t23] of the boundary line BDrl [t23]. Move in the direction. That is, in the example shown in FIG. 17, the operation of the terminal device 10A shifts the position of the boundary line BDrl [t23] from the reference position Ov [t23] of the boundary line BDrl [t23] instead of tilting the line in the −Ys direction. The operation is the same as that of the terminal device 10A described with reference to FIG. 15, except that the terminal device 10A is moved in the + Xs direction. Therefore, FIG. 17 describes a process of moving the position of the boundary line BDrl. The reference numeral Md indicates the center of the boundary line BDrl. In the following, the center Md of the boundary line BDrl [tn] is also referred to as the center Md [tun]. In the example shown in FIG. 17, the center Md [t23] of the boundary line BDrl [t23] at the time t23 coincides with the reference position Ov which is the center of the operation region V.

時刻t23において、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、入力領域RDr及びRDlの形状を変形させる。例えば、操作領域割当部114Aは、先ず、タッチパネル座標系ΣSにおける中心Md[t23]及びタッチ位置P[t23]に基づいて、境界線BDrlの移動後の中心Md[t24]を決定する。例えば、操作領域割当部114Aは、タッチ位置P[t23]のXs軸座標値に正の所定値を加算した値を中心Md[t24]のXs軸座標値に決定し、中心Md[t23]のYs軸座標値を中心Md[t24]のYs軸座標値に決定する。そして、操作領域割当部114Aは、中心Md[t23]を始点とし、中心Md[t24]を終点とする境界線移動ベクトルVmbに対応する移動量だけ、境界線BDrlの位置を+Xs方向(境界線BDrlに直行する方向)に移動させる。これにより、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチ位置P[t23]が入力領域RDl[t24]に存在するように、タッチパネル座標系ΣSにおける入力領域RDr及びRDlの形状を修正することができる。この結果、境界線BDrlの位置を移動させる場合においても、図13に示した動作と同様の効果(操作性の向上)を得ることができる。 At time t23, the operation area allocation unit 114A deforms the shapes of the input areas RDr and RDl based on the movement of the touch position P. For example, the operation area allocation unit 114A first determines the center Md [t24] after the movement of the boundary line BDrl based on the center Md [t23] and the touch position P [t23] in the touch panel coordinate system ΣS. For example, the operation area allocation unit 114A determines the value obtained by adding a positive predetermined value to the Xs-axis coordinate value of the touch position P [t23] as the Xs-axis coordinate value of the center Md [t24], and determines the value of the center Md [t23]. The Ys-axis coordinate value is determined to be the Ys-axis coordinate value of the center Md [t24]. Then, the operation area allocation unit 114A sets the position of the boundary line BDrl in the + Xs direction (boundary line) by the amount of movement corresponding to the boundary line movement vector Vmb having the center Md [t23] as the start point and the center Md [t24] as the end point. Move in the direction perpendicular to BDrl). As a result, the operation area allocation unit 114A does not change the position of the operation area V, and the input areas RDr and RDl in the touch panel coordinate system ΣS so that the touch position P [t23] exists in the input area RDl [t24]. The shape of can be modified. As a result, even when the position of the boundary line BDrl is moved, the same effect (improvement in operability) as the operation shown in FIG. 13 can be obtained.

なお、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法は、図13から図17に示した変更方法に限定されない。次に、図18を参照しながら、本実施形態におけるタッチ継続処理について説明する。 The method of changing the allocation of the input areas RDr and RDl to the touch panel 12 is not limited to the changing methods shown in FIGS. 13 to 17. Next, the touch continuation process in the present embodiment will be described with reference to FIG.

図18は、タッチ継続処理の一例を示すフローチャートである。なお、端末装置10Aの動作は、タッチ継続処理を除いて、図10に示した端末装置10の動作と同様である。例えば、ステップS122の処理は、図10のステップS112における判定の結果が否定の場合に実行される。なお、図18に示すタッチ継続処理では、図11に示したタッチ継続処理からステップS124の処理が省かれ、ステップS125の処理及びステップS133の処理が図11に示したタッチ継続処理に追加されている。図18に示すタッチ継続処理のその他の動作は、図11に示したタッチ継続処理と同様である。このため図18では、ステップS125の処理及びステップS133の処理を中心に説明する。先ず、ステップS122における判定の結果が否定の場合に実行されるステップS125の処理について説明する。 FIG. 18 is a flowchart showing an example of touch continuation processing. The operation of the terminal device 10A is the same as the operation of the terminal device 10 shown in FIG. 10, except for the touch continuation process. For example, the process of step S122 is executed when the result of the determination in step S112 of FIG. 10 is negative. In the touch continuation process shown in FIG. 18, the process of step S124 is omitted from the touch continuation process shown in FIG. 11, and the process of step S125 and the process of step S133 are added to the touch continuation process shown in FIG. There is. Other operations of the touch continuation process shown in FIG. 18 are the same as those of the touch continuation process shown in FIG. Therefore, in FIG. 18, the process of step S125 and the process of step S133 will be mainly described. First, the process of step S125 executed when the result of the determination in step S122 is negative will be described.

ステップS125において、操作領域割当部114Aは、例えば、タッチパネル12に対する入力領域RDr及びRDlの現在の割り当てが初期状態(例えば、図10のステップS100で割り当てられた入力領域RDr及びRDlの状態)と異なるか否かを判定する。ステップS125における判定の結果が否定の場合、操作領域割当部114Aは、処理をステップS134に進める。一方、ステップS125における判定の結果が肯定の場合、操作領域割当部114Aは、処理をステップS133に進める。なお、ステップS133の処理は、ステップS128における判定の結果が肯定の場合にも実行される。 In step S125, for example, the operation area allocation unit 114A differs from the initial allocation of the input areas RDr and RDl to the touch panel 12 (for example, the states of the input areas RDr and RDl allocated in step S100 of FIG. 10). Judge whether or not. If the result of the determination in step S125 is negative, the operation area allocation unit 114A advances the process to step S134. On the other hand, if the result of the determination in step S125 is affirmative, the operation area allocation unit 114A advances the process to step S133. The process of step S133 is also executed when the result of the determination in step S128 is affirmative.

ステップS133において、操作領域割当部114Aは、図10のステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pに基づいて、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更する。操作領域割当部114Aは、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法として、図13から図17に示した各々の方法を含む複数の変更方法から、予め決められた1つの変更方法を選択してもよい。あるいは、操作領域割当部114Aは、タッチパネル12に対する入力領域RDr及びRDlの割り当ての変更方法を、複数の変更方法から入力領域RDの状態に応じて選択してもよい。例えば、操作領域割当部114Aは、入力領域RDr及びRDlの何れもが所定の大きさより大きい場合、境界線BDrlの位置を移動する変更方法(図17に示した変更方法)を選択してもよい。そして、操作領域割当部114Aは、入力領域RDr及びRDlの何れかが所定の大きさより小さくなる場合、操作領域V全体の位置を移動する変更方法(図13に示した変更方法)を選択してもよい。操作領域割当部114Aは、ステップS133の処理を実行した後、処理をステップS134に進める。 In step S133, the operation area allocation unit 114A allocates the input areas RDr and RDl to the touch panel 12 based on the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S106 of FIG. change. The operation area allocation unit 114A uses a predetermined change method from a plurality of change methods including the methods shown in FIGS. 13 to 17 as a method of changing the allocation of the input areas RDr and RDl to the touch panel 12. You may choose. Alternatively, the operation area allocation unit 114A may select a method for changing the allocation of the input areas RDr and RDl to the touch panel 12 from a plurality of change methods according to the state of the input area RD. For example, the operation area allocation unit 114A may select a change method (the change method shown in FIG. 17) for moving the position of the boundary line BDrl when both the input areas RDr and RDl are larger than a predetermined size. .. Then, the operation area allocation unit 114A selects a change method (change method shown in FIG. 13) for moving the position of the entire operation area V when either the input areas RDr or RDl is smaller than a predetermined size. May be good. After executing the process of step S133, the operation area allocation unit 114A advances the process to step S134.

ステップS134において、ゲーム制御部111は、キャラクタCRの顔が向く方向を変更せずに維持する。そして、ゲーム制御部111は、処理を図10のステップS140に進める。 In step S134, the game control unit 111 maintains the direction in which the face of the character CR faces without changing. Then, the game control unit 111 advances the process to step S140 in FIG.

このように、操作領域割当部114Aは、タッチ位置Pが、所定の速度条件を満たさない移動速度で境界線BDrlを跨いで移動した場合、タッチ位置Pの移動速度が所定の速度条件を満たしていない間、タッチパネル12に対する入力領域RDr及びRDlの割り当てをタッチ位置Pに基づいて変更する。これにより、初期状態から変更された入力領域RDr及びRDlの境界線BDrlが最新のタッチ位置Pから所定の距離より離れた位置に維持されることを抑止することができる。例えば、図13に示した例において、時刻t23から時刻t24にかけてタッチ位置Pがタッチ位置P[t23]と境界線BDrl[t23]との間の位置に移動した場合、操作領域割当部114Aは、時刻t25における境界線BDrlが境界線BDrl[t24]と時刻t24におけるタッチ位置Pとの間に位置するように、操作領域V全体を移動させる。 As described above, when the touch position P moves across the boundary line BDrl at a moving speed that does not satisfy the predetermined speed condition, the moving speed of the touch position P satisfies the predetermined speed condition. Meanwhile, the allocation of the input areas RDr and RDl to the touch panel 12 is changed based on the touch position P. As a result, it is possible to prevent the boundary line BDrl of the input regions RDr and RDl changed from the initial state from being maintained at a position more than a predetermined distance from the latest touch position P. For example, in the example shown in FIG. 13, when the touch position P moves to a position between the touch position P [t23] and the boundary line BDrl [t23] from the time t23 to the time t24, the operation area allocation unit 114A may perform the operation area allocation unit 114A. The entire operation area V is moved so that the boundary line BDrl at time t25 is located between the boundary line BDrl [t24] and the touch position P at time t24.

なお、タッチ継続処理は、図18に示した例に限定されない。例えば、操作領域割当部114Aは、ステップS125における判定の結果が肯定の場合であっても、タッチ位置Pが変化していない場合には、ステップS133の処理をスキップして、処理をステップS134に進めてもよい。また、ステップS125の判定は、省かれてもよい。ステップS125の判定が省かれる場合のタッチ継続処理では、操作領域割当部114Aは、ステップS122における判定の結果が否定の場合、処理をステップS133に進めてもよい。この場合、例えば、図13に示した例において、時刻t23から時刻t24にかけてタッチ位置Pがタッチ位置P[t23]と境界線BDrl[t23]との間の位置に移動しても、操作領域Vは、時刻t24における操作領域V[t24]の位置から移動しない。 The touch continuation process is not limited to the example shown in FIG. For example, even if the result of the determination in step S125 is affirmative, the operation area allocation unit 114A skips the process of step S133 and shifts the process to step S134 if the touch position P has not changed. You may proceed. Further, the determination in step S125 may be omitted. In the touch continuation process when the determination in step S125 is omitted, the operation area allocation unit 114A may proceed to step S133 if the result of the determination in step S122 is negative. In this case, for example, in the example shown in FIG. 13, even if the touch position P moves to a position between the touch position P [t23] and the boundary line BDrl [t23] from the time t23 to the time t24, the operation area V Does not move from the position of the operation area V [t24] at time t24.

以上、第2実施形態においても、第1実施形態と同様の効果を得ることができる。さらに、第1実施形態では、操作領域割当部114Aは、タッチパネル12に対するタッチが継続されている状態において、タッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合、タッチ位置Pの移動速度に基づいて、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更するか否かを判定する。具体的には、操作領域割当部114Aは、タッチ位置Pが入力領域RDr及びRDlの一方から他方に移動した場合で、且つ、タッチ位置Pの移動速度が所定の速度条件を満たさない場合に、タッチ位置Pに基づいて、入力領域RDr及びRDlのタッチパネル12への割り当てを変更する。 As described above, the same effect as that of the first embodiment can be obtained in the second embodiment. Further, in the first embodiment, in the operation area allocation unit 114A, the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 is the input areas RDr and RDl in a state where the touch to the touch panel 12 is continued. When moving from one to the other, it is determined whether or not to change the allocation of the input areas RDr and RDl to the touch panel 12 based on the moving speed of the touch position P. Specifically, the operation area allocation unit 114A receives when the touch position P moves from one of the input areas RDr and RDl to the other, and when the moving speed of the touch position P does not satisfy a predetermined speed condition. The assignment of the input areas RDr and RDl to the touch panel 12 is changed based on the touch position P.

これにより、本実施形態によれば、例えば、ユーザが所定のゲームに係る指示を変更するつもりがないにもかかわらず、タッチ位置Pが徐々にずれていく場合であっても、タッチパネル12に対する入力領域RDr及びRDlの割り当てが、タッチ位置Pのずれに応じて、変更される。このため、本実施形態では、タッチ位置Pが存在する入力領域RDに対応付けられた指示と、ユーザの意図する指示とが異なる状態になることを低減することができる。 As a result, according to the present embodiment, for example, even if the touch position P gradually shifts even though the user does not intend to change the instruction related to the predetermined game, the input to the touch panel 12 is performed. The allocation of the regions RDr and RDl is changed according to the deviation of the touch position P. Therefore, in the present embodiment, it is possible to reduce that the instruction associated with the input area RD in which the touch position P exists and the instruction intended by the user are different from each other.

この結果、例えば、ユーザは、所定のゲームに係る指示を、入力領域RDlに対応付けられた指示から入力領域RDrに対応付けられた指示に変更するために指FGを移動させた場合、指FGを元のタッチ位置Pとほぼ同じ位置に戻すことにより、タッチ位置Pを入力領域RDlに戻すことができる。すなわち、ユーザは、所定のゲームに係る指示を変更するために指FGを移動させた場合、指FGを元のタッチ位置Pとほぼ同じ位置に戻すことにより、所定のゲームに係る指示を元の指示に戻すことができる。 As a result, for example, when the user moves the finger FG to change the instruction related to the predetermined game from the instruction associated with the input area RDl to the instruction associated with the input area RDr, the finger FG The touch position P can be returned to the input area RDl by returning the touch position P to a position substantially the same as the original touch position P. That is, when the user moves the finger FG to change the instruction related to the predetermined game, the user returns the finger FG to a position substantially the same as the original touch position P, thereby giving the instruction related to the predetermined game to the original position. You can go back to the instructions.

これに対し、入力領域RDr及びRDlの位置が固定されている場合、ユーザが所定のゲームに係る指示を入力領域RDrに対応付けられた指示に変更した後に指FGを元のタッチ位置Pとほぼ同じ位置に戻しても、タッチ位置Pが入力領域RDlに戻らない場合がある。この場合、ユーザの意図した指示とは異なる指示が端末装置10Aに入力される。この実施形態では、上述したように、タッチパネル12に対する入力領域RDr及びRDlの割り当てを変更することにより、ユーザの意図した指示とは異なる指示が端末装置10Aに入力されることを低減することができるため、ユーザの操作性を向上させることができる。 On the other hand, when the positions of the input areas RDr and RDl are fixed, the finger FG is almost the same as the original touch position P after the user changes the instruction related to the predetermined game to the instruction associated with the input area RDr. Even if it is returned to the same position, the touch position P may not return to the input area RDl. In this case, an instruction different from the instruction intended by the user is input to the terminal device 10A. In this embodiment, as described above, by changing the allocation of the input areas RDr and RDl to the touch panel 12, it is possible to reduce that an instruction different from the instruction intended by the user is input to the terminal device 10A. Therefore, the operability of the user can be improved.

[3.変形例]
以上の各形態は多様に変形され得る。具体的な変形の態様を以下に例示する。以下の例示から任意に選択された2以上の態様は、相互に矛盾しない範囲内で適宜に併合され得る。なお、以下に例示する変形例において作用や機能が実施形態と同等である要素については、以上の説明で参照した符号を流用して各々の詳細な説明を適宜に省略する。
[3. Modification example]
Each of the above forms can be transformed in various ways. A specific mode of modification is illustrated below. Two or more embodiments arbitrarily selected from the following examples can be appropriately merged within a mutually consistent range. For the elements whose actions and functions are the same as those of the embodiment in the modified examples illustrated below, the reference numerals referred to in the above description will be used and detailed description of each will be omitted as appropriate.

[変形例1]
上述した第1実施形態及び第2実施形態では、操作領域Vが2個の入力領域RD(RDr及びRDl)を含む場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、操作領域Vは、3個以上の入力領域RDを含んでもよい。
[Modification 1]
In the first embodiment and the second embodiment described above, the case where the operation region V includes two input regions RD (RDr and RDl) has been exemplified, but the present invention is not limited to such an embodiment. .. For example, the operation area V may include three or more input areas RD.

図19は、変形例1に係る操作領域Vの一例を示す説明図である。図19に示す例では、操作領域Vは、4個の入力領域RD(RDr、RDl、RDu及びRDd)を含んでいる。入力領域RDr、RDl、RDu及びRDdの各々は、「第1領域」又は「第2領域」の一例である。変形例1においても、所定のゲームの起動時に入力領域RDをタッチパネル12に割り当てる際の操作領域割当部114Aの動作は、所定のゲームの起動時に入力領域RDをタッチパネル12に割り当てる際の操作領域割当部114の動作と同様である。このため、図19では、所定のゲームの起動時に入力領域RDをタッチパネル12に割り当てる際の操作領域割当部114の動作の一例を説明する。 FIG. 19 is an explanatory diagram showing an example of the operation area V according to the modified example 1. In the example shown in FIG. 19, the operation area V includes four input areas RD (RDr, RDl, RDu and RDd). Each of the input regions RDr, RDl, RDu and RDd is an example of a "first region" or a "second region". Also in the first modification, the operation of the operation area allocation unit 114A when allocating the input area RD to the touch panel 12 when the predetermined game is started is the operation area allocation when the input area RD is allocated to the touch panel 12 when the predetermined game is started. The operation is the same as that of the unit 114. Therefore, FIG. 19 describes an example of the operation of the operation area allocation unit 114 when allocating the input area RD to the touch panel 12 at the start of a predetermined game.

以下では、説明の便宜上、基準位置Ovを原点とする座標系である操作領域座標系ΣVを導入する。具体的には、操作領域座標系ΣVとは、例えば、基準位置Ovを原点とし、互いに直交するXv軸及びYv軸を有する2軸の直交座標系である。また、以下では、Xv軸の矢印の指す方向は+Xv方向と称され、+Xv方向の逆方向は−Xv方向と称される。同様に、Yv軸の矢印の指す方向は+Yv方向と称され、+Yv方向の逆方向は−Yv方向と称される。変形例1では、Xv軸とXs軸とが平行であり、且つ、Yv軸とYs軸とが平行である場合を、一例として想定する。但し、Xv軸がXs軸とは異なる向きを有し、Yv軸がYs軸とは異なる向きを有していてもよい。 In the following, for convenience of explanation, the operating area coordinate system ΣV, which is a coordinate system with the reference position Ov as the origin, is introduced. Specifically, the operation area coordinate system ΣV is, for example, a two-axis Cartesian coordinate system having a reference position Ov as an origin and having an Xv axis and a Yv axis orthogonal to each other. Further, in the following, the direction pointed by the arrow on the Xv axis is referred to as the + Xv direction, and the direction opposite to the + Xv direction is referred to as the −Xv direction. Similarly, the direction indicated by the arrow on the Yv axis is referred to as the + Yv direction, and the direction opposite to the + Yv direction is referred to as the −Yv direction. In the first modification, a case where the Xv axis and the Xs axis are parallel and the Yv axis and the Ys axis are parallel is assumed as an example. However, the Xv axis may have a different orientation from the Xs axis, and the Yv axis may have a different orientation from the Ys axis.

変形例1では、入力領域RDrには、キャラクタCRの顔の向きを+Xs方向とする指示が対応付けられ、入力領域RDlには、キャラクタCRの顔の向きを−Xs方向とする指示が対応付けられている。また、入力領域RDuには、キャラクタCRの顔の向きを+Ys方向とする指示が対応付けられ、入力領域RDdには、キャラクタCRの顔の向きを−Ys方向とする指示が対応付けられている。 In the first modification, the input area RDr is associated with an instruction to set the face direction of the character CR in the + Xs direction, and the input area RDl is associated with an instruction to set the face direction of the character CR to the -Xs direction. Has been done. Further, the input area RDu is associated with an instruction to set the face direction of the character CR in the + Ys direction, and the input area RDd is associated with an instruction to set the face direction of the character CR to the −Ys direction. ..

操作領域割当部114は、例えば、入力領域RDrを基準位置Ovよりも+Xv方向に位置する領域として設定し、入力領域RDlを基準位置Ovよりも−Xv方向に位置する領域として設定し、入力領域RDuを基準位置Ovよりも+Yv方向に位置する領域として設定し、入力領域RDdを基準位置Ovよりも−Yv方向に位置する領域として設定する。 The operation area allocation unit 114 sets, for example, the input area RDr as an area located in the + Xv direction from the reference position Ov, sets the input area RDl as an area located in the −Xv direction from the reference position Ov, and sets the input area. RDu is set as a region located in the + Yv direction from the reference position Ov, and the input region RDd is set as a region located in the −Yv direction from the reference position Ov.

より具体的には、操作領域割当部114は、基準位置Ovを起点とし、+Xv方向を−Yv側に角度βだけ傾けた方向に延在する境界線BDrdと、基準位置Ovを起点とし、+Yv方向を+Xv側に角度βだけ傾けた方向に延在する境界線BDurと、円BDvと、の間の扇形の領域を、入力領域RDrとして設定する。また、操作領域割当部114は、基準位置Ovを起点とし、−Xv方向を+Yv側に角度βだけ傾けた方向に延在する境界線BDluと、基準位置Ovを起点とし、−Yv方向を−Xv側に角度βだけ傾けた方向に延在する境界線BDdlと、円BDvと、の間の扇形の領域を、入力領域RDlとして設定する。また、操作領域割当部114は、境界線BDurと境界線BDluと円BDvとの間の扇形の領域を、入力領域RDuとして設定する。また、操作領域割当部114は、境界線BDdlと境界線BDrdと円BDvとの間の扇形の領域を、入力領域RDdとして設定する。 More specifically, the operation area allocation unit 114 starts from the reference position Ov and extends from the boundary line BDrd extending in the direction in which the + Xv direction is tilted to the −Yv side by an angle β, and the reference position Ov as the starting point, and + Yv. The fan-shaped region between the boundary line BDur extending in the direction in which the direction is tilted to the + Xv side by an angle β and the circle BDv is set as the input region RDr. Further, the operation area allocation unit 114 starts from the reference position Ov and extends in the direction in which the −Xv direction is tilted to the + Yv side by an angle β, and the reference position Ov as the starting point and the −Yv direction is −. The fan-shaped region between the boundary line BDdl extending in the direction inclined by the angle β toward the Xv side and the circle BDv is set as the input region RDl. Further, the operation area allocation unit 114 sets a fan-shaped area between the boundary line BDur, the boundary line BDlu, and the circle BDv as the input area RDu. Further, the operation area allocation unit 114 sets a fan-shaped area between the boundary line BDdl, the boundary line BDrd, and the circle BDv as the input area RDd.

なお、変形例1では、一例として、角度βが、45度である場合を想定する。但し、角度βは、0度よりも大きく、且つ、90度よりも小さい角度であればよい。また、図19に示す例では、境界線BDrdと境界線BDurとのなす角は、境界線BDdlと境界線BDluとのなす角と等しい角度であるが、境界線BDrdと境界線BDurとのなす角は、境界線BDdlと境界線BDluとのなす角と異なる角度であってもよい。また、変形例1においても、上述した第2実施形態と同様に、タッチパネル12に対する入力領域RDr、RDl、RDu及びRDdの割り当ては、変更されてもよい。次に、図20を参照しながら、タッチパネル12に対する入力領域RDr、RDl、RDu及びRDdの割り当てを変更する場合の操作領域割当部114Aの動作の一例を説明する。 In the first modification, it is assumed that the angle β is 45 degrees as an example. However, the angle β may be an angle larger than 0 degrees and smaller than 90 degrees. Further, in the example shown in FIG. 19, the angle formed by the boundary line BDrd and the boundary line BDur is the same as the angle formed by the boundary line BDdl and the boundary line BDlu, but is formed by the boundary line BDrd and the boundary line BDur. The angle may be different from the angle formed by the boundary line BDdl and the boundary line BDlu. Further, also in the first modification, the allocation of the input areas RDr, RDl, RDu and RDd to the touch panel 12 may be changed as in the second embodiment described above. Next, with reference to FIG. 20, an example of the operation of the operation area allocation unit 114A when changing the allocation of the input areas RDr, RDl, RDu and RDd to the touch panel 12 will be described.

図20は、変形例1に係る入力領域RDr、RDl、RDu及びRDdの割り当ての変更方法の一例を示す説明図である。図20に示す変更方法では、上述した図13に示した変更方法と同様に、操作領域割当部114Aは、操作領域V全体の位置を移動することにより、タッチパネル12に対する入力領域RDr、RDl、RDu及びRDdの割り当てを変更する。なお、変形例1においても、上述した図14から図17に示した変更方法と同様に、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチパネル12に対する入力領域RDr、RDl、RDu及びRDdの割り当てを変更してもよい。 FIG. 20 is an explanatory diagram showing an example of a method of changing the allocation of the input regions RDr, RDl, RDu, and RDd according to the first modification. In the change method shown in FIG. 20, similarly to the change method shown in FIG. 13 described above, the operation area allocation unit 114A moves the position of the entire operation area V to move the input areas RDr, RDl, and RDu with respect to the touch panel 12. And change the RDd allocation. In the first modification, the operation area allocation unit 114A does not change the position of the operation area V, and the input areas RDr and RDl with respect to the touch panel 12 are the same as the change method shown in FIGS. 14 to 17 described above. , RDu and RDd may be changed.

図20には、タッチ位置P[t52]は図示されていないが、時刻t50から時刻t52までの期間においてタッチパネル12に対するタッチは、継続している。また、図20に示す変更方法では、タッチ位置Pの移動速度(|MV|/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合を想定する。また、以下では、時刻tnにおける入力領域RDuは、入力領域RDu[tn]とも称され、時刻tnにおける入力領域RDdは、入力領域RDd[tn]とも称される。また、時刻tnにおける境界線BDurは、境界線BDur[tn]とも称され、時刻tnにおける境界線BDrdは、境界線BDrd[tn]とも称される。そして、時刻tnにおける境界線BDdlは、境界線BDdl[tn]とも称され、時刻tnにおける境界線BDluは、境界線BDlu[tn]とも称される。 Although the touch position P [t52] is not shown in FIG. 20, the touch to the touch panel 12 continues during the period from the time t50 to the time t52. Further, in the changing method shown in FIG. 20, it is assumed that the moving speed (| MV | / Tcyc) of the touch position P is equal to or higher than the threshold speed TV as a predetermined speed condition. Further, in the following, the input area RDu at the time tun is also referred to as an input area RDu [tun], and the input area RDd at the time tun is also referred to as an input area RDd [tun]. Further, the boundary line BDur at the time tun is also referred to as the boundary line BDur [tun], and the boundary line BDrd at the time tun is also referred to as the boundary line BDrd [tun]. The boundary line BDdl at the time tun is also referred to as the boundary line BDdl [tun], and the boundary line BDlu at the time tun is also referred to as the boundary line BDlu [tun].

図20に示す例では、時刻t50から時刻t51にかけて、タッチ位置Pは、閾値速度TV未満の移動速度で、タッチ位置P[t50]からタッチ位置P[t51]に移動する。時刻t50では、タッチ位置P[t50]は、入力領域RDl(図20の入力領域RDl[t51])に存在する。また、時刻t51では、タッチ位置P[t51]は、入力領域RDd[t51]に存在する。すなわち、時刻t50から時刻t51にかけて、タッチ位置Pは、閾値速度TV未満の移動速度で、入力領域RDlから入力領域RDdに移動する。操作領域割当部114Aは、タッチ位置Pが入力領域RDlから入力領域RDdに移動した場合におけるタッチ位置Pの移動速度が所定の速度条件を満たさないため、時刻t51において、タッチパネル12に対する入力領域RDr、RDl、RDu及びRDdの割り当てを変更する処理を開始する。 In the example shown in FIG. 20, from the time t50 to the time t51, the touch position P moves from the touch position P [t50] to the touch position P [t51] at a movement speed less than the threshold speed TV. At time t50, the touch position P [t50] exists in the input area RDl (input area RDl [t51] in FIG. 20). Further, at time t51, the touch position P [t51] exists in the input area RDd [t51]. That is, from the time t50 to the time t51, the touch position P moves from the input area RDl to the input area RDd at a movement speed lower than the threshold speed TV. In the operation area allocation unit 114A, since the moving speed of the touch position P when the touch position P moves from the input area RDl to the input area RDd does not satisfy a predetermined speed condition, the input area RDr with respect to the touch panel 12 at time t51, The process of changing the allocation of RDl, RDu and RDd is started.

例えば、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、入力領域RDr、RDl、RDu及びRDdの各々の位置を移動させる。具体的には、操作領域割当部114Aは、タッチパネル座標系ΣSにおけるタッチ位置P[t51]と境界線BDdl[t51]とに基づいて、操作領域移動ベクトルVmvを定める。図20に示す例では、操作領域割当部114Aは、基準位置Ov[t51]を始点とし、境界線BDdl[t51]を+Xs側に90度だけ傾けた方向(境界線BDdl[t51]に直行する方向)のベクトルであり、タッチ位置P[t51]と境界線BDdl[t51]との距離より所定量だけ大きいベクトルを、操作領域移動ベクトルVmvとして定める。 For example, the operation area allocation unit 114A moves the positions of the input areas RDr, RDl, RDu, and RDd based on the movement of the touch position P. Specifically, the operation area allocation unit 114A determines the operation area movement vector Vmv based on the touch position P [t51] and the boundary line BDdl [t51] in the touch panel coordinate system ΣS. In the example shown in FIG. 20, the operation area allocation unit 114A starts at the reference position Ov [t51] and is orthogonal to the direction in which the boundary line BDdl [t51] is tilted 90 degrees toward the + Xs side (boundary line BDdl [t51]). The vector of the direction), which is larger than the distance between the touch position P [t51] and the boundary line BDdl [t51] by a predetermined amount, is defined as the operation area movement vector Vmv.

そして、操作領域割当部114Aは、入力領域RDr、RDl、RDu及びRDdを含む操作領域V全体を、操作領域移動ベクトルVmvに対応する移動量及び方向に従って移動させる。すなわち、操作領域割当部114Aは、時刻t50から時刻t51にかけて移動したタッチ位置Pが跨いだ境界線BDdlに直行する方向に、入力領域RDr、RDl、RDu及びRDdを含む操作領域V全体を移動させる。これにより、操作領域割当部114Aは、タッチ位置P[t51]が入力領域RDd[t52]に存在するように、タッチパネル座標系ΣSにおける基準位置Ov、操作領域V及び操作領域座標系ΣVの位置を修正することができる。なお、変形例1においても、タッチパネル12に対する入力領域RDの割り当ての変更方法は、図13から図17、及び図20に示した変更方法に限定されない。 Then, the operation area allocation unit 114A moves the entire operation area V including the input areas RDr, RDl, RDu, and RDd according to the movement amount and direction corresponding to the operation area movement vector Vmv. That is, the operation area allocation unit 114A moves the entire operation area V including the input areas RDr, RDl, RDu, and RDd in the direction orthogonal to the boundary line BDdl straddled by the touch position P moved from the time t50 to the time t51. .. As a result, the operation area allocation unit 114A sets the positions of the reference position Ov, the operation area V, and the operation area coordinate system ΣV in the touch panel coordinate system ΣS so that the touch position P [t51] exists in the input area RDd [t52]. It can be fixed. Also in the first modification, the method of changing the allocation of the input area RD to the touch panel 12 is not limited to the changing methods shown in FIGS. 13 to 17 and 20.

[変形例2]
上述した第1実施形態、第2実施形態及び変形例1では、操作領域Vが、非タッチ処理とは異なる処理を端末装置10又は10Aに実行させる指示(例えば、キャラクタCRの顔が向く方向の指示)を入力するための入力領域RDのみを含む場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、操作領域Vは、非タッチ処理と同じ処理を端末装置10又は10Aに実行させる指示(例えば、キャラクタCRの顔が向く方向を指定しないとうい指示)を入力するためのニュートラル領域RN(「第1領域」又は「第2領域」の一例)を含んでもよい。
[Modification 2]
In the first embodiment, the second embodiment and the first modification described above, the operation area V gives an instruction to cause the terminal device 10 or 10A to perform a process different from the non-touch process (for example, in the direction in which the face of the character CR faces. Although the case where only the input area RD for inputting the instruction) is included is illustrated, the present invention is not limited to such an embodiment. For example, the operation area V is a neutral area RN (for example, an instruction not to specify the direction in which the face of the character CR faces) to be executed by the terminal device 10 or 10A in the same process as the non-touch process. An example of "first region" or "second region") may be included.

図21は、変形例2に係る操作領域Vの一例を示す説明図である。図21に示す例では、操作領域Vは、4個の入力領域RD(RDr、RDl、RDu及びRDd)とニュートラル領域RNとを含んでいる。 FIG. 21 is an explanatory diagram showing an example of the operation area V according to the modified example 2. In the example shown in FIG. 21, the operating region V includes four input regions RD (RDr, RDl, RDu and RDd) and a neutral region RN.

変形例2では、端末装置10又は10Aは、タッチ位置Pがニュートラル領域RNに存在する場合、非タッチ処理と同じ処理を実行する。従って、例えば、非タッチ処理が、タッチパネル座標系ΣSにおけるキャラクタCRの顔の向きをタッチパネル12から指FGが離れる前と同じ向きに維持する処理である場合、ニュートラル領域RNに指FGがタッチされても、キャラクタCRの顔の向きは変化しない。また、例えば、非タッチ処理が、キャラクタCRの顔の向きを予め定められた向きに設定する処理である場合、ニュートラル領域RNに指FGがタッチされると、キャラクタCRの顔の向きは、予め定められた向きに設定される。 In the second modification, the terminal device 10 or 10A executes the same processing as the non-touch processing when the touch position P exists in the neutral region RN. Therefore, for example, when the non-touch process is a process of maintaining the face orientation of the character CR in the touch panel coordinate system ΣS in the same orientation as before the finger FG leaves the touch panel 12, the finger FG is touched in the neutral region RN. However, the orientation of the character CR's face does not change. Further, for example, when the non-touch process is a process of setting the face direction of the character CR to a predetermined direction, when the finger FG is touched on the neutral region RN, the face direction of the character CR is set in advance. It is set in the specified orientation.

変形例2においても、所定のゲームの起動時に入力領域RD及びニュートラル領域RNをタッチパネル12に割り当てる際の操作領域割当部114Aの動作は、所定のゲームの起動時に入力領域RD及びニュートラル領域RNをタッチパネル12に割り当てる際の操作領域割当部114の動作と同様である。また、図21に示す操作領域Vは、ニュートラル領域RNを含むことを除いて、図19に示した操作領域Vと同様である。このため、図21では、所定のゲームの起動時にニュートラル領域RNをタッチパネル12に割り当てる際の操作領域割当部114の動作の一例を説明する。 Also in the second modification, the operation of the operation area allocation unit 114A when allocating the input area RD and the neutral area RN to the touch panel 12 when the predetermined game is started is such that the input area RD and the neutral area RN are touch-paneled when the predetermined game is started. This is the same as the operation of the operation area allocation unit 114 when allocating to 12. The operation area V shown in FIG. 21 is the same as the operation area V shown in FIG. 19 except that the neutral area RN is included. Therefore, FIG. 21 describes an example of the operation of the operation area allocation unit 114 when allocating the neutral area RN to the touch panel 12 at the start of a predetermined game.

操作領域割当部114は、例えば、入力領域RDr、RDl、RDu及びRDdを含む操作領域Vの中心、すなわち、基準位置Ovを中心とする円BDnの内側の領域を、ニュートラル領域RNとして設定する。円BDnは、円BDvより小さい。円BDvの内側の領域のうちのニュートラル領域RNを除く領域は、入力領域RDr、RDl、RDu及びRDdに割り当てられる。なお、入力領域RD等の形状は、図20に示した例に限定されない。例えば、入力領域RDは、楕円形の領域であってもよいし、多角形の領域であってもよい。この場合、操作領域Vのうち、入力領域RDを除いた領域が、ニュートラル領域RNに該当する。 The operation area allocation unit 114 sets, for example, the center of the operation area V including the input areas RDr, RDl, RDu, and RDd, that is, the area inside the circle BDn centered on the reference position Ov as the neutral area RN. The circle BDn is smaller than the circle BDv. The regions inside the circle BDv other than the neutral region RN are allocated to the input regions RDr, RDl, RDu and RDd. The shape of the input region RD and the like is not limited to the example shown in FIG. For example, the input region RD may be an elliptical region or a polygonal region. In this case, the area of the operation area V excluding the input area RD corresponds to the neutral area RN.

また、変形例2においても、上述した第2実施形態と同様に、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当ては、変更されてもよい。次に、図22を参照しながら、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当てを変更する場合の操作領域割当部114Aの動作の一例を説明する。 Further, also in the second modification, the allocation of the input region RD (RDr, RDl, RDu and RDd) and the neutral region RN to the touch panel 12 may be changed as in the second embodiment described above. Next, with reference to FIG. 22, an example of the operation of the operation area allocation unit 114A when changing the allocation of the input area RD (RDr, RDl, RDu and RDd) and the neutral area RN to the touch panel 12 will be described.

図22は、変形例2に係る入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当ての変更方法の一例を示す説明図である。図22に示す変更方法では、上述した図14から図17に示した変更方法と同様に、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当てを変更する。なお、変形例2においても、上述した図13に示した変更方法と同様に、操作領域割当部114Aは、操作領域V全体の位置を移動することにより、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当てを変更してもよい。 FIG. 22 is an explanatory diagram showing an example of a method of changing the allocation of the input region RD (RDr, RDl, RDu and RDd) and the neutral region RN according to the second modification. In the change method shown in FIG. 22, similarly to the change method shown in FIGS. 14 to 17 described above, the operation area allocation unit 114A does not change the position of the operation area V, and the input area RD (RDr) with respect to the touch panel 12 is used. , RDl, RDu and RDd) and the neutral region RN allocation. In the second modification as well, similarly to the change method shown in FIG. 13 described above, the operation area allocation unit 114A moves the position of the entire operation area V to move the input area RD (RDr, RDl) with respect to the touch panel 12. , RDu and RDd) and the neutral region RN allocation may be changed.

図22には、タッチ位置P[t62]は図示されていないが、時刻t60から時刻t62までの期間においてタッチパネル12に対するタッチは、継続している。また、図22に示す変更方法では、タッチ位置Pの移動速度(|MV|/Tcyc)が閾値速度TV以上であることが所定の速度条件である場合を想定する。また、以下では、時刻tnにおけるニュートラル領域RNは、ニュートラル領域RN[tn]とも称され、ニュートラル領域RN[tn]を規定する円BDnは、円BDn[tn]とも称される。 Although the touch position P [t62] is not shown in FIG. 22, the touch to the touch panel 12 continues during the period from the time t60 to the time t62. Further, in the changing method shown in FIG. 22, it is assumed that the moving speed (| MV | / Tcyc) of the touch position P is equal to or higher than the threshold speed TV as a predetermined speed condition. Further, in the following, the neutral region RN at the time tun is also referred to as a neutral region RN [tt], and the circle BDn defining the neutral region RN [tun] is also referred to as a circle BDn [tun].

図22に示す例では、時刻t60から時刻t61にかけて、タッチ位置Pは、閾値速度TV未満の移動速度で、タッチ位置P[t60]からタッチ位置P[t61]に移動する。時刻t60では、タッチ位置P[t60]は、ニュートラル領域RN(図22のニュートラル領域RN[t61])に存在する。また、時刻t61では、タッチ位置P[t61]は、入力領域RDr(図22のニュートラル領域RN[t61]に対して+Xs方向の領域)に存在する。すなわち、時刻t60から時刻t61にかけて、タッチ位置Pは、閾値速度TV未満の移動速度で、ニュートラル領域RNから入力領域RDrに移動する。操作領域割当部114Aは、タッチ位置Pがニュートラル領域RNから入力領域RDrに移動した場合におけるタッチ位置Pの移動速度が所定の速度条件を満たさないため、時刻t61において、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当てを変更する処理を開始する。 In the example shown in FIG. 22, from the time t60 to the time t61, the touch position P moves from the touch position P [t60] to the touch position P [t61] at a movement speed less than the threshold speed TV. At time t60, the touch position P [t60] exists in the neutral region RN (neutral region RN [t61] in FIG. 22). Further, at time t61, the touch position P [t61] exists in the input region RDr (the region in the + Xs direction with respect to the neutral region RN [t61] in FIG. 22). That is, from the time t60 to the time t61, the touch position P moves from the neutral region RN to the input region RDr at a movement speed lower than the threshold speed TV. Since the moving speed of the touch position P does not satisfy the predetermined speed condition when the touch position P moves from the neutral area RN to the input area RDr, the operation area allocation unit 114A sets the input area RD (for the touch panel 12) at time t61. RDr, RDl, RDu and RDd) and the process of changing the allocation of the neutral region RN are started.

例えば、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、ニュートラル領域RNの形状を変形する。これにより、入力領域RDr、RDu及びRDdの各々の形状も変形する。具体的には、操作領域割当部114Aは、タッチ位置P[t61]がニュートラル領域RN[t62]に存在するように、ニュートラル領域RNを規定する円BDnの形状を変形する。このように、操作領域割当部114Aは、タッチ位置P[t61]がニュートラル領域RN[t62]に存在するように、タッチパネル座標系ΣSにおける入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの形状を修正することができる。なお、ニュートラル領域RNから入力領域RDにタッチ位置Pが移動する場合、又は、入力領域RDからニュートラル領域RNにタッチ位置Pが移動する場合には、図23に示すように、操作領域割当部114Aは、ニュートラル領域RNの位置を操作領域V内で移動させてもよい。 For example, the operation area allocation unit 114A deforms the shape of the neutral area RN based on the movement of the touch position P. As a result, the shapes of the input regions RDr, RDu, and RDd are also deformed. Specifically, the operation area allocation unit 114A deforms the shape of the circle BDn that defines the neutral area RN so that the touch position P [t61] exists in the neutral area RN [t62]. As described above, the operation area allocation unit 114A has the input areas RD (RDr, RDl, RDu and RDd) and the neutral areas in the touch panel coordinate system ΣS so that the touch position P [t61] exists in the neutral area RN [t62]. The shape of the RN can be modified. When the touch position P moves from the neutral area RN to the input area RD, or when the touch position P moves from the input area RD to the neutral area RN, as shown in FIG. 23, the operation area allocation unit 114A May move the position of the neutral region RN within the operating region V.

図23は、変形例2に係る入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当ての変更方法の別の例を示す説明図である。図23に示す変更方法では、上述した図22に示した変更方法と同様に、操作領域割当部114Aは、操作領域Vの位置を変更することなく、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当てを変更する。符号Ncは、ニュートラル領域RNの中心を示す。以下では、ニュートラル領域RN[tn]の中心Ncは、中心Nc[tn]とも称される。図23に示す例では、時刻t61におけるニュートラル領域RN[t61]の中心Nc[t61]は、操作領域Vの中心である基準位置Ovに一致している。 FIG. 23 is an explanatory diagram showing another example of a method of changing the allocation of the input region RD (RDr, RDl, RDu and RDd) and the neutral region RN according to the second modification. In the change method shown in FIG. 23, similarly to the change method shown in FIG. 22 described above, the operation area allocation unit 114A does not change the position of the operation area V, and the input area RD (RDr, RDl, RDu and RDd) and neutral region RN allocations are changed. The symbol Nc indicates the center of the neutral region RN. In the following, the central Nc of the neutral region RN [tun] is also referred to as the central Nc [tun]. In the example shown in FIG. 23, the center Nc [t61] of the neutral region RN [t61] at the time t61 coincides with the reference position Ov which is the center of the operation region V.

操作領域割当部114Aは、タッチ位置Pがニュートラル領域RNから入力領域RDrに移動した場合におけるタッチ位置Pの移動速度が所定の速度条件を満たさないため、時刻t61において、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当てを変更する処理を開始する。 Since the moving speed of the touch position P does not satisfy the predetermined speed condition when the touch position P moves from the neutral area RN to the input area RDr, the operation area allocation unit 114A sets the input area RD (for the touch panel 12) at time t61. RDr, RDl, RDu and RDd) and the process of changing the allocation of the neutral region RN are started.

例えば、操作領域割当部114Aは、タッチ位置Pの移動に基づいて、ニュートラル領域RNの位置を移動させる。具体的には、操作領域割当部114Aは、タッチパネル座標系ΣSにおけるタッチ位置P[t61]と円BDn[t61]とに基づいて、ニュートラル領域移動ベクトルVmnを定める。図23に示す例では、操作領域割当部114Aは、タッチ位置P[t61]を−Xs方向に円BDn[t61]上まで移動させる場合の移動量より所定量だけ大きいベクトルであり、ニュートラル領域RN[t61]の中心Nc[t61]を始点とし、+Xs方向に向かうベクトルを、ニュートラル領域移動ベクトルVmnとして定める。 For example, the operation area allocation unit 114A moves the position of the neutral area RN based on the movement of the touch position P. Specifically, the operation area allocation unit 114A determines the neutral area movement vector Vmn based on the touch position P [t61] and the circle BDn [t61] in the touch panel coordinate system ΣS. In the example shown in FIG. 23, the operation area allocation unit 114A is a vector that is a predetermined amount larger than the movement amount when the touch position P [t61] is moved to the circle BDn [t61] in the −Xs direction, and is a neutral region RN. Starting from the center Nc [t61] of [t61], the vector toward the + Xs direction is defined as the neutral region movement vector Vmn.

そして、操作領域割当部114Aは、ニュートラル領域RNの中心Ncを、ニュートラル領域移動ベクトルVmnに対応する移動量及び方向に従って移動させる。これにより、ニュートラル領域RN[t62]が設定される。また、操作領域割当部114Aは、境界線BDur[t61]における円BDv上の端点EDurを始点とし、ニュートラル領域RN[t62]の中心Nc[t62]に向かって、ニュートラル領域RN[t62]まで延在する線を、境界線BDur[t62]として設定する。境界線BDrd[t62]、BDdl[t62]及びBDlu[t62]も、境界線BDur[t62]と同様に設定される。これにより、操作領域割当部114Aは、タッチ位置P[t61]がニュートラル領域RN[t62]に存在するように、タッチパネル座標系ΣSにおける入力領域RD(RDr、RDl、RDu及びRDd)の形状及びニュートラル領域RNの位置を修正することができる。 Then, the operation area allocation unit 114A moves the center Nc of the neutral region RN according to the movement amount and direction corresponding to the neutral region movement vector Vmn. As a result, the neutral region RN [t62] is set. Further, the operation area allocation unit 114A starts from the end point EDur on the circle BDv at the boundary line BDur [t61] and extends to the neutral area RN [t62] toward the center Nc [t62] of the neutral area RN [t62]. The existing line is set as the boundary line BDur [t62]. The boundary lines BDrd [t62], BDdl [t62] and BDlu [t62] are also set in the same manner as the boundary lines BDur [t62]. As a result, the operation area allocation unit 114A has the shape and neutral of the input areas RD (RDr, RDl, RDu and RDd) in the touch panel coordinate system ΣS so that the touch position P [t61] exists in the neutral area RN [t62]. The position of the region RN can be modified.

なお、変形例2では、タッチ位置Pの移動先又は移動元がニュートラル領域RNに存在する場合と、タッチ位置Pの移動先又は移動元の何れもニュートラル領域RNに存在しない場合とで、タッチパネル12に対する入力領域RD(RDr、RDl、RDu及びRDd)及びニュートラル領域RNの割り当ての変更方法を異ならせてもよい。また、変形例2においても、タッチパネル12に対する入力領域RD及びニュートラル領域RNの割り当ての変更方法は、図13から図17、図22及び図23に示した変更方法に限定されない。 In the second modification, the touch panel 12 is used depending on whether the movement destination or movement source of the touch position P exists in the neutral region RN or neither the movement destination or the movement source of the touch position P exists in the neutral region RN. The method of changing the allocation of the input region RD (RDr, RDl, RDu and RDd) and the neutral region RN with respect to the above may be different. Further, also in the second modification, the method of changing the allocation of the input area RD and the neutral area RN to the touch panel 12 is not limited to the changing methods shown in FIGS. 13 to 17, 22 and 23.

[変形例3]
上述した第1実施形態、第2実施形態、変形例1及び変形例2では、所定のゲームの起動時にタッチパネル12上の所定の位置に操作領域Vが設定される場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、操作領域割当部114又は114Aは、タッチインが発生する度に、タッチパネル12における指FGのタッチ位置Pを基準位置Ovとして設定し、当該基準位置Ovに基づく位置に対して操作領域Vを設定してもよい。この場合、端末装置10又は10Aは、ユーザの指FGがタッチパネル12に対する接触を維持している期間において、タッチパネル12において操作領域Vが設定された状態を維持する。そして、端末装置10又は10Aは、ユーザの指FGがタッチパネル12に対して接触している状態から、接触していない状態に変化した場合、タッチパネル12に設定されていた操作領域Vを消滅させる。
[Modification 3]
In the first embodiment, the second embodiment, the modified example 1 and the modified example 2 described above, the case where the operation area V is set at a predetermined position on the touch panel 12 when the predetermined game is started has been illustrated. Is not limited to such an aspect. For example, the operation area allocation unit 114 or 114A sets the touch position P of the finger FG on the touch panel 12 as the reference position Ov each time a touch-in occurs, and sets the operation area V with respect to the position based on the reference position Ov. It may be set. In this case, the terminal device 10 or 10A maintains the state in which the operation area V is set on the touch panel 12 during the period in which the user's finger FG maintains contact with the touch panel 12. Then, when the user's finger FG changes from the state of being in contact with the touch panel 12 to the state of not being in contact with the touch panel 12, the terminal device 10 or 10A eliminates the operation area V set in the touch panel 12.

図24は、変形例3に係る端末装置10の動作の一例を示すフローチャートである。図24に示す動作では、図10に示した動作からステップS100が省かれ、ステップS107及びS113が図10に示した動作に追加されている。さらに、図24に示す動作では、図10に示したステップS102の処理の代わりにステップS101の処理が実行され、図10に示したステップS112の処理の代わりにステップS111の処理が実行される。図24に示すその他の動作は、図10に示した動作と同様である。図10で説明した処理については、詳細な説明を省略する。図24に示すステップS101の処理は、例えば、端末装置10のユーザが、所定のゲームを開始させる旨の所定の開始操作をタッチパネル12から入力した場合に実行される。 FIG. 24 is a flowchart showing an example of the operation of the terminal device 10 according to the modification 3. In the operation shown in FIG. 24, step S100 is omitted from the operation shown in FIG. 10, and steps S107 and S113 are added to the operation shown in FIG. Further, in the operation shown in FIG. 24, the process of step S101 is executed instead of the process of step S102 shown in FIG. 10, and the process of step S111 is executed instead of the process of step S112 shown in FIG. The other operations shown in FIG. 24 are the same as the operations shown in FIG. Detailed description of the process described with reference to FIG. 10 will be omitted. The process of step S101 shown in FIG. 24 is executed, for example, when the user of the terminal device 10 inputs a predetermined start operation to start a predetermined game from the touch panel 12.

先ず、ステップS101において、表示制御部112は、仮想空間SP及びキャラクタCRを表示部120に表示させるための表示情報を生成し、当該表示情報に基づく画像を表示部120が表示するように、表示部120を制御する。そして、表示制御部112は、処理をステップS104に進める。 First, in step S101, the display control unit 112 generates display information for displaying the virtual space SP and the character CR on the display unit 120, and displays the image based on the display information so that the display unit 120 displays the image. The unit 120 is controlled. Then, the display control unit 112 advances the process to step S104.

ステップS104において、タッチ位置情報取得部113は、タッチパネル12がタッチ位置情報を出力したか否かを判定する。ステップS104における判定の結果が肯定の場合、タッチ位置情報取得部113は、処理をステップS106に進める。一方、ステップS104における判定の結果が否定の場合、タッチ位置情報取得部113は、処理をステップS118に進める。 In step S104, the touch position information acquisition unit 113 determines whether or not the touch panel 12 has output the touch position information. If the result of the determination in step S104 is affirmative, the touch position information acquisition unit 113 advances the process to step S106. On the other hand, if the result of the determination in step S104 is negative, the touch position information acquisition unit 113 advances the process to step S118.

ステップS106において、タッチ位置情報取得部113は、タッチパネル12から出力されたタッチ位置情報を取得する。そして、タッチ位置情報取得部113は、処理をステップS107に進める。 In step S106, the touch position information acquisition unit 113 acquires the touch position information output from the touch panel 12. Then, the touch position information acquisition unit 113 advances the process to step S107.

ステップS107において、ゲーム制御部111は、タッチ位置履歴情報を参照し、タッチインが発生したか否かを判定する。例えば、ゲーム制御部111は、ステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報に対応付けられた時刻tmから時間Tcyc遡った時刻t(m−1)にタッチ位置情報が取得されていない場合、タッチインが発生したと判定する。ステップS107における判定の結果が肯定の場合、ゲーム制御部111は、処理をステップS113に進める。一方、ステップS107における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS108に進める。 In step S107, the game control unit 111 refers to the touch position history information and determines whether or not a touch-in has occurred. For example, the game control unit 111 acquires the touch position information at a time t (m-1) retroactive by time Tcyc from the time tm associated with the touch position information acquired by the touch position information acquisition unit 113 in step S106. If not, it is determined that a touch-in has occurred. If the result of the determination in step S107 is affirmative, the game control unit 111 advances the process to step S113. On the other hand, if the result of the determination in step S107 is negative, the game control unit 111 advances the process to step S108.

ステップS113において、操作領域割当部114は、ステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pを基準位置Ovとして、入力領域RDを割り当てる。そして、操作領域割当部114は、処理をステップS114に進める。 In step S113, the operation area allocation unit 114 allocates the input area RD with the touch position P indicated by the touch position information acquired by the touch position information acquisition unit 113 in step S106 as the reference position Ov. Then, the operation area allocation unit 114 advances the process to step S114.

ステップS114からステップS142までの一連の処理は、ステップS116の処理の一部を除いて、図10のステップS114からステップS142までの一連の処理と同様である。例えば、ステップS107における判定の結果が肯定の場合に、ステップS113及びS114の一連の処理の後に実行されるステップS116では、ゲーム制御部111は、キャラクタCRの顔の向きを、予め決められた方向(例えば、図1に示した正面方向)に設定してもよいし、タッチイン前のキャラクタCRの顔の向きに維持してもよい。なお、ステップS111における判定の結果が肯定の場合に実行されるステップS116では、図10のステップS116と同様に、ゲーム制御部111は、キャラクタCRの顔が向く方向を、ステップS110で判定されたタッチ位置Pが存在する入力領域RDに対応する方向に設定する。 The series of processes from step S114 to step S142 is the same as the series of processes from step S114 to step S142 in FIG. 10 except for a part of the processes in step S116. For example, when the result of the determination in step S107 is affirmative, in step S116 executed after the series of processes of steps S113 and S114, the game control unit 111 sets the face orientation of the character CR in a predetermined direction. (For example, the front direction shown in FIG. 1) may be set, or the face direction of the character CR before touch-in may be maintained. In step S116, which is executed when the result of the determination in step S111 is affirmative, the game control unit 111 determines in step S110 the direction in which the face of the character CR faces, as in step S116 of FIG. The direction corresponding to the input area RD in which the touch position P exists is set.

また、ステップS108及びS110の一連の処理は、ステップS110における判定の結果が肯定の場合に実行される処理を除いて、図10のステップS108及びS110の一連の処理と同様である。変形例3では、ステップS110における判定の結果が肯定の場合、ステップS111の処理が実行される。 Further, the series of processes of steps S108 and S110 are the same as the series of processes of steps S108 and S110 of FIG. 10, except that the process is executed when the result of the determination in step S110 is affirmative. In the third modification, if the result of the determination in step S110 is affirmative, the process of step S111 is executed.

ステップS111において、ゲーム制御部111は、タッチ位置履歴情報を参照し、タッチパネル12への最新のタッチが、タッチイン後の最初のタッチであるか否かを判定する。なお、タッチパネル12への最新のタッチは、ステップS106においてタッチ位置情報取得部113により取得されたタッチ位置情報に対応するタッチである。 In step S111, the game control unit 111 refers to the touch position history information and determines whether or not the latest touch to the touch panel 12 is the first touch after the touch-in. The latest touch to the touch panel 12 is a touch corresponding to the touch position information acquired by the touch position information acquisition unit 113 in step S106.

例えば、ゲーム制御部111は、時刻t(m−2)にタッチ位置情報が取得されていない場合、タッチパネル12への最新のタッチがタッチイン後の最初のタッチであると判定する。ステップS111における判定の結果が肯定の場合、ゲーム制御部111は、処理をステップS116に進める。一方、ステップS111における判定の結果が否定の場合、ゲーム制御部111は、処理をステップS120に進める。図24に示す動作では、ステップS120のタッチ継続処理は、図11に示したタッチ継続処理である。 For example, when the touch position information is not acquired at the time t (m-2), the game control unit 111 determines that the latest touch on the touch panel 12 is the first touch after the touch-in. If the result of the determination in step S111 is affirmative, the game control unit 111 advances the process to step S116. On the other hand, if the result of the determination in step S111 is negative, the game control unit 111 advances the process to step S120. In the operation shown in FIG. 24, the touch continuation process in step S120 is the touch continuation process shown in FIG.

なお、変形例3に係る端末装置10の動作は、図24に示した例に限定されない。例えば、端末装置10は、ステップS107における判定の結果が肯定の場合、ステップS113及びS114の一連の処理を実行した後、ステップS116の処理をスキップして、処理をステップS140に進めてもよい。この場合、キャラクタCRの顔の向きは、タッチイン前のキャラクタCRの顔の向きに維持される。また、変形例3に係る端末装置10Aの動作は、ステップS120のタッチ継続処理を除いて、変形例3に係る端末装置10の動作と同様である。変形例3に係る端末装置10Aは、ステップS120のタッチ継続処理として、図18に示したタッチ継続処理を実行する。 The operation of the terminal device 10 according to the modified example 3 is not limited to the example shown in FIG. 24. For example, if the result of the determination in step S107 is affirmative, the terminal device 10 may skip the process of step S116 and proceed to step S140 after executing the series of processes of steps S113 and S114. In this case, the face orientation of the character CR is maintained at the face orientation of the character CR before touch-in. Further, the operation of the terminal device 10A according to the modified example 3 is the same as the operation of the terminal device 10 according to the modified example 3, except for the touch continuation process in step S120. The terminal device 10A according to the third modification executes the touch continuation process shown in FIG. 18 as the touch continuation process in step S120.

[変形例4]
上述した第2実施形態、及び、変形例1乃至変形例3では、タッチパネル12に対する割り当てが変更された入力領域RDの配置を初期状態に戻すことについては特に説明していないが、本発明は、タッチパネル12に対する割り当てが変更された入力領域RDの配置を初期状態に戻さない態様に限定されるものではない。例えば、操作領域割当部114Aは、タッチ位置Pに関するタッチ条件が満たされる場合、タッチパネル12に対する入力領域RDの割り当てを初期状態に戻してもよい。
[Modification example 4]
Although the second embodiment described above and the modified examples 1 to 3 do not particularly describe returning the arrangement of the input area RD whose assignment to the touch panel 12 has been changed to the initial state, the present invention describes the present invention. The arrangement of the input area RD whose assignment to the touch panel 12 has been changed is not limited to the mode in which the arrangement is not returned to the initial state. For example, the operation area allocation unit 114A may return the allocation of the input area RD to the touch panel 12 to the initial state when the touch condition regarding the touch position P is satisfied.

具体的には、操作領域割当部114Aは、タッチ位置Pが検出されない場合(例えば、図10のS104:N)、タッチパネル12に対する入力領域RDの割り当てを初期状態に戻してもよい。あるいは、操作領域割当部114Aは、タッチ位置Pが閾値速度TV以上の移動速度で境界線BDrl等の境界線を跨いで移動した場合(例えば、図11のS122:Y、且つ、S128:Y)、タッチパネル12に対する入力領域RDの割り当てを初期状態に戻してもよい。上述の例では、タッチ位置Pが検出されないこと、または、タッチ位置Pが閾値速度TV以上の移動速度で境界線BDrl等の境界線を跨いで移動することが、「タッチ位置に関するタッチ条件」に該当する。なお、「タッチ位置に関するタッチ条件」は、上述の例に限定されない。 Specifically, when the touch position P is not detected (for example, S104: N in FIG. 10), the operation area allocation unit 114A may return the allocation of the input area RD to the touch panel 12 to the initial state. Alternatively, when the touch position P moves across a boundary line such as the boundary line BDrl at a movement speed equal to or higher than the threshold speed TV (for example, S122: Y and S128: Y in FIG. 11), the operation area allocation unit 114A moves. , The allocation of the input area RD to the touch panel 12 may be returned to the initial state. In the above example, the fact that the touch position P is not detected or that the touch position P moves across the boundary line such as the boundary line BDrl at a movement speed equal to or higher than the threshold speed TV is a "touch condition related to the touch position". Applicable. The "touch condition regarding the touch position" is not limited to the above example.

変形例4では、タッチ位置Pに関するタッチ条件が満たされる場合、タッチパネル12に対する入力領域RDの割り当てが初期状態に戻されるため、タッチパネル12に対する入力領域RDの割り当てが初期状態から変更された状態で維持されること抑止することができる。 In the fourth modification, when the touch condition relating to the touch position P is satisfied, the allocation of the input area RD to the touch panel 12 is returned to the initial state, so that the allocation of the input area RD to the touch panel 12 is maintained in the changed state from the initial state. It can be deterred from being done.

[変形例5]
上述した第2実施形態、及び、変形例1乃至変形例4では、タッチパネル12に対する入力領域RDの割り当てを変更する際の変更の限界については特に説明していないが、本発明は、タッチパネル12に対する入力領域RDの割り当てを変更する際の変更の限界を設定しない態様に限定されるものではない。例えば、タッチパネル12に対する入力領域RDの割り当ての変更は、変更後の入力領域RDの位置が初期状態における入力領域RDの位置を基準とした所定の範囲に収まるように、制限されてもよい。具体的には、図13に示した例では、操作領域V全体の移動範囲は、初期状態における操作領域Vの位置から所定の距離(例えば、2センチメートル)以内に制限されてもよい。同様に、図17に示した例では、境界線BDrlの移動範囲は、初期状態における境界線BDrlの位置からから所定の距離(例えば、2センチメートル)以内に制限されてもよい。また、図14に示した例では、入力領域RDr及びRDlの回転移動の範囲は、初期状態における入力領域RDr及びRDlの配置に対して所定の角度(例えば、30度)以内に制限されてもよい。同様に、図15に示した例では、境界線BDrlの一部を基準位置Ovを支点にして傾ける際の角度は、初期状態における境界線BDrlに対して所定の角度(例えば、30度)以内に制限されてもよい。
[Modification 5]
Although the second embodiment and the first to fourth modifications described above do not particularly describe the limit of change when changing the allocation of the input area RD to the touch panel 12, the present invention relates to the touch panel 12. It is not limited to the mode in which the limit of change when changing the allocation of the input area RD is not set. For example, the change in the allocation of the input area RD to the touch panel 12 may be restricted so that the position of the changed input area RD falls within a predetermined range based on the position of the input area RD in the initial state. Specifically, in the example shown in FIG. 13, the movement range of the entire operation area V may be limited to a predetermined distance (for example, 2 cm) from the position of the operation area V in the initial state. Similarly, in the example shown in FIG. 17, the range of movement of the boundary line BDrl may be limited within a predetermined distance (for example, 2 cm) from the position of the boundary line BDrl in the initial state. Further, in the example shown in FIG. 14, even if the range of rotational movement of the input regions RDr and RDl is limited to a predetermined angle (for example, 30 degrees) with respect to the arrangement of the input regions RDr and RDl in the initial state. Good. Similarly, in the example shown in FIG. 15, the angle at which a part of the boundary line BDrl is tilted with the reference position Ov as a fulcrum is within a predetermined angle (for example, 30 degrees) with respect to the boundary line BDrl in the initial state. May be limited to.

変形例5では、タッチパネル12に対する入力領域RDの割り当てを変更する際の変更の限界が設定されているため、入力領域RDが初期状態の配置又は形状から大きく異なる状態になることを抑止することができる。この結果、ユーザの操作性が損なわれることを抑止することができる。 In the modified example 5, since the limit of change when changing the allocation of the input area RD to the touch panel 12 is set, it is possible to prevent the input area RD from being significantly different from the arrangement or shape in the initial state. it can. As a result, it is possible to prevent the user's operability from being impaired.

[変形例6]
上述した第1実施形態、第2実施形態、及び、変形例1乃至変形例5では、入力領域RDが、キャラクタCRの顔が向く方向の指示を入力するための領域である場合を例示したが、本発明はこのような態様に限定されるものではない。入力領域RDは、所定のゲームに係る指示を入力するための領域であってもよい。例えば、入力領域RDrは、所定のゲームにおいて、キャラクタCRによる攻撃の指示(「第1の指示」の一例)を入力するための領域であり、入力領域RDlは、所定のゲームにおいて、キャラクタCRによる防御の指示(「第2の指示」の一例)を入力するための領域であってもよい。また、例えば、入力領域RDは、タッチパネル座標系ΣS又は仮想空間SPにおける、キャラクタCRの移動方向の指示を入力するための領域であってもよい。具体的には、例えば、入力領域RDrは、キャラクタCRを、タッチパネル座標系ΣS又は仮想空間SPにおける一の方向に移動させる旨の指示を入力するための領域であり、入力領域RDlは、キャラクタCRを、タッチパネル座標系ΣS又は仮想空間SPにおける他の方向に移動させる旨の指示を入力するための領域であってもよい。
[Modification 6]
In the first embodiment, the second embodiment, and the modified examples 1 to 5 described above, the case where the input area RD is an area for inputting an instruction in the direction in which the face of the character CR faces is illustrated. , The present invention is not limited to such aspects. The input area RD may be an area for inputting an instruction related to a predetermined game. For example, the input area RDr is an area for inputting an attack instruction by the character CR (an example of "first instruction") in a predetermined game, and the input area RDl is an area by the character CR in the predetermined game. It may be an area for inputting a defensive instruction (an example of a "second instruction"). Further, for example, the input area RD may be an area for inputting an instruction of the movement direction of the character CR in the touch panel coordinate system ΣS or the virtual space SP. Specifically, for example, the input area RDr is an area for inputting an instruction to move the character CR in one direction in the touch panel coordinate system ΣS or the virtual space SP, and the input area RDl is the character CR. May be an area for inputting an instruction to move the touch panel coordinate system ΣS or the virtual space SP in another direction.

[変形例7]
上述した第1実施形態、第2実施形態、及び、変形例1乃至変形例6では、プログラムとして、所定のゲームに係るプログラムを例示したが、本発明はこのような態様に限定されるものではない。プログラムは、任意のアプリケーションに係るプログラムであってもよい。また、この場合、第1の指示は、任意のアプリケーションに係る指示であればよく、第2の指示は、任意のアプリケーションに係る指示であって第1の指示とは異なる指示であればよい。
[Modification 7]
In the above-described first embodiment, the second embodiment, and the modified examples 1 to 6, the program related to the predetermined game is exemplified as the program, but the present invention is not limited to such an embodiment. Absent. The program may be a program related to any application. Further, in this case, the first instruction may be an instruction relating to an arbitrary application, and the second instruction may be an instruction relating to an arbitrary application and different from the first instruction.

[変形例8]
上述した第1実施形態、第2実施形態、及び、変形例1乃至変形例7では、タッチ位置Pの移動速度がタッチ位置P及び時間Tcycに基づいて算出される場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、端末装置10又は10Aは、タッチパネル12に対するタッチにより生じる摩擦等を検出するセンサを有する場合、センサから得られる摩擦等に関する情報に基づいて、タッチ位置Pの移動速度を算出してもよい。
[Modification 8]
In the first embodiment and the second embodiment described above, and the modified examples 1 to 7, the case where the moving speed of the touch position P is calculated based on the touch position P and the time Tcyc has been illustrated. Is not limited to such an aspect. For example, when the terminal device 10 or 10A has a sensor that detects friction or the like caused by touching the touch panel 12, the moving speed of the touch position P may be calculated based on the information on friction or the like obtained from the sensor.

[変形例9]
上述した第1実施形態、第2実施形態、及び、変形例1乃至変形例8では、端末装置10又は10Aがタッチパネル12を有する場合を例示したが、本発明はこのような態様に限定されるものではない。例えば、端末装置10又は10Aは、表示部120として機能する表示装置と、入力部122として機能するポインティングデバイスとを、タッチパネル12の代わりに有してもよい。表示装置は、例えば、液晶ディスプレイ、又は、テレビ受像機等が該当する。また、ポインティングデバイスは、マウス、又は、ゲーム装置のリモートコントローラ等が該当する。なお、変形例9では、上述した第1実施形態、第2実施形態、及び、変形例1乃至変形例8における説明の「タッチパネル」は「表示画面」に読み替えられ、「タッチ位置」は「指定位置」に読み替えられる。例えば、端末装置10又は10Aは、表示画面において指定された指定位置を示す指定位置情報を取得してもよい。「指定位置」は、ポインティングデバイスにより操作される、表示画面上のポインタの位置であってもよい。
[Modification 9]
In the first embodiment, the second embodiment, and the modified examples 1 to 8 described above, the case where the terminal device 10 or 10A has the touch panel 12 is illustrated, but the present invention is limited to such an embodiment. It's not a thing. For example, the terminal device 10 or 10A may have a display device that functions as a display unit 120 and a pointing device that functions as an input unit 122 instead of the touch panel 12. The display device corresponds to, for example, a liquid crystal display, a television receiver, or the like. Further, the pointing device corresponds to a mouse, a remote controller of a game device, or the like. In the modified example 9, the "touch panel" described in the first embodiment, the second embodiment, and the modified examples 1 to 8 described above is read as a "display screen", and the "touch position" is "designated". It is read as "position". For example, the terminal device 10 or 10A may acquire designated position information indicating a designated position designated on the display screen. The "designated position" may be the position of the pointer on the display screen operated by the pointing device.

[変形例10]
上述した第1実施形態、第2実施形態、及び、変形例1乃至変形例9では、所定のゲームが端末装置10又は10Aにおいて実行される場合を例示したが、本発明はこのような態様に限定されるものではない。所定のゲームは、端末装置10及び10A以外の構成要素において実行されてもよい。
[Modification 10]
In the first embodiment and the second embodiment described above, and the modified examples 1 to 9, the case where a predetermined game is executed in the terminal device 10 or 10A has been illustrated, and the present invention has such an embodiment. It is not limited. The predetermined game may be executed in a component other than the terminal devices 10 and 10A.

図25は、変形例10に係る情報処理システムSYSの概要を示す説明図である。情報処理システムSYSは、サーバ装置20Bと、端末装置10Bとを有する。サーバ装置20Bは、所定のゲームを実行することができ、また、ネットワークNWを介して端末装置10Bと通信可能である。具体的には、サーバ装置20Bは、サーバ装置20Bの各部を制御する制御部110と、所定のゲームに係るプログラム等の各種情報を記憶する記憶部230と、端末装置10B等の外部装置との間の通信を実行するための通信部250とを有する。また、端末装置10Bは、表示部120、入力部122、及び、振動発生部140に加えて、サーバ装置20B等の外部装置との間の通信を実行するための通信部150を有する。なお、表示部120及び入力部122は、上述したタッチパネル12として実装される。サーバ装置20Bは、端末装置10Bの入力部122から入力される情報に基づいて表示情報を生成する。また、端末装置10Bの有する表示部120は、サーバ装置20Bにおいて生成される表示情報に基づいて、所定のゲームに関する画像を表示する。 FIG. 25 is an explanatory diagram showing an outline of the information processing system SYS according to the modified example 10. The information processing system SYS has a server device 20B and a terminal device 10B. The server device 20B can execute a predetermined game and can communicate with the terminal device 10B via the network NW. Specifically, the server device 20B includes a control unit 110 that controls each part of the server device 20B, a storage unit 230 that stores various information such as a program related to a predetermined game, and an external device such as the terminal device 10B. It has a communication unit 250 for executing communication between the two. Further, the terminal device 10B has, in addition to the display unit 120, the input unit 122, and the vibration generating unit 140, a communication unit 150 for executing communication with an external device such as the server device 20B. The display unit 120 and the input unit 122 are mounted as the touch panel 12 described above. The server device 20B generates display information based on the information input from the input unit 122 of the terminal device 10B. Further, the display unit 120 included in the terminal device 10B displays an image related to a predetermined game based on the display information generated in the server device 20B.

[4.付記]
以上の記載から、本発明は例えば以下のように把握される。なお、各態様の理解を容易にするために、以下では、図面の参照符号を便宜的に括弧書きで付記するが、本発明を図示の態様に限定する趣旨ではない。
[4. Addendum]
From the above description, the present invention can be grasped as follows, for example. In addition, in order to facilitate understanding of each aspect, reference numerals in the drawings are added in parentheses for convenience, but the present invention is not intended to be limited to the illustrated aspects.

[付記1]
本発明の一態様に係るプログラムは、プロセッサを、タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルに、第1領域及び第2領域を割り当てる領域割当部と、前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定する指示部と、して機能させ、前記指示部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、ことを特徴とする。
[Appendix 1]
The program according to one aspect of the present invention includes an acquisition unit for acquiring touch position information indicating a touch position of a touch on a touch panel, an area allocation unit for allocating a first region and a second region to the touch panel, and the above. Based on the touch position indicated by the touch position information, the instruction unit functions as an instruction unit that determines the content of the instruction related to the game, and the instruction unit functions as the touch position information in a state where the touch to the touch panel is continued. When the touch position indicated by is moved from the first area to the second area, and when the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, the instruction relating to the game is given. The first instruction associated with the one area is changed to the second instruction associated with the second area, and the moving speed of the touch position indicated by the touch position information satisfies the predetermined speed condition. If not, the instruction relating to the game is maintained in the first instruction.

この態様によれば、指示部は、タッチパネルに対するタッチが継続されている状態でタッチ位置が第1領域から第2領域に移動した場合で、且つ、タッチ位置の移動速度が所定の速度条件を満たす場合に、ゲームに係る指示を第1の指示から第2の指示に変更する。また、指示部は、タッチパネルに対するタッチが継続されている状態でタッチ位置が第1領域から第2領域に移動した場合であっても、タッチ位置の移動速度が所定の速度条件を満さない場合には、ゲームに係る指示を第1の指示に維持する。 According to this aspect, in the instruction unit, when the touch position moves from the first area to the second area while the touch to the touch panel is continued, and the moving speed of the touch position satisfies a predetermined speed condition. In this case, the instruction related to the game is changed from the first instruction to the second instruction. Further, when the touch position does not satisfy a predetermined speed condition even when the touch position moves from the first area to the second area while the touch to the touch panel is continued. The instruction relating to the game is maintained in the first instruction.

このため、この態様によれば、例えば、ユーザがゲームに係る指示を変更するつもりがないにもかかわらず、タッチ位置が徐々にずれていく場合であっても、タッチ位置の移動速度が所定の速度条件を満さない場合には、ゲームに係る指示は、変更されない。従って、この態様では、タッチパネルへのタッチ位置にずれが生じうる場合であっても、誤った入力がなされる可能性を低減することができる。 Therefore, according to this aspect, for example, even if the touch position gradually shifts even though the user does not intend to change the instruction related to the game, the moving speed of the touch position is predetermined. If the speed conditions are not met, the game instructions will not be changed. Therefore, in this aspect, it is possible to reduce the possibility that an erroneous input is made even when the touch position on the touch panel may be displaced.

なお、上記態様において、「ゲームに係る指示」とは、例えば、タッチパネルを用いて提供されるゲームに関する指示であってもよい。「タッチパネルを用いて提供されるゲームに関する指示」は、例えば、「ゲームに係る操作方向」を指定する指示であってもよいし、「ゲームに係る操作方向」を指定しないとうい指示であってもよい。「ゲームに係る操作方向」とは、例えば、ゲームに係る仮想空間における方向であってもよいし、ゲームに係る画面における方向であってもよい。 In the above aspect, the "instruction related to the game" may be, for example, an instruction related to the game provided by using the touch panel. The "instruction regarding the game provided by using the touch panel" may be, for example, an instruction for designating the "operation direction related to the game" or an instruction for not specifying the "operation direction related to the game". May be good. The "operation direction related to the game" may be, for example, a direction in the virtual space related to the game or a direction in the screen related to the game.

「ゲームに係る仮想空間における方向」とは、例えば、ゲームに係る仮想空間におけるゲーム要素の位置および姿勢の一方または両方の変化の方向である。ここで、「ゲーム要素」とは、例えば、ゲームに係る仮想空間に存在する仮想的な物体であってもよいし、ゲームに係る仮想空間を撮像する仮想カメラであってもよい。このうち、「ゲームに係る仮想空間に存在する仮想的な物体」とは、例えば、ゲームに係るキャラクタ、及び、ゲームに係るオブジェクトを含む概念であってもよい。 The "direction in the virtual space related to the game" is, for example, the direction of change in one or both of the position and the posture of the game element in the virtual space related to the game. Here, the "game element" may be, for example, a virtual object existing in the virtual space related to the game, or a virtual camera that images the virtual space related to the game. Of these, the "virtual object existing in the virtual space related to the game" may be, for example, a concept including a character related to the game and an object related to the game.

「ゲームに係る画面における方向」とは、例えば、ゲームに係る画面において表示される仮想的な物体を示す画像の、当該画面における位置及び姿勢の一方または両方の変化の方向でもよいし、ゲームに係るメニュー画面において表示されるポインタ等の、ゲームの進行に関係しないゲーム要素を示す画像の、当該メニュー画面における移動方向でもよい。なお、「ゲームに係る指示」は、「ゲームに係る操作方向」に関する指示に限定されず、例えば、ゲームに係るキャラクタからの質問に対する回答(例えば、YES/NO等)を選択する指示であってもよい。 The "direction on the screen related to the game" may be, for example, the direction of change of one or both of the position and the posture on the screen of the image showing the virtual object displayed on the screen related to the game. It may be the moving direction of the image showing the game element not related to the progress of the game, such as the pointer displayed on the menu screen. The "instruction related to the game" is not limited to the instruction related to the "operation direction related to the game", and is, for example, an instruction to select an answer (for example, YES / NO) to a question from a character related to the game. May be good.

また、上記態様において、「ゲームに係る第1の指示」は、「ゲームに係る指示」の一例である。例えば、「第1の指示」は、「ゲームに係る操作方向」を指定する指示であってもよいし、「ゲームに係る操作方向」を指定しないとうい指示であってもよい。 Further, in the above aspect, the "first instruction relating to the game" is an example of the "instruction relating to the game". For example, the "first instruction" may be an instruction for designating the "operation direction related to the game", or may be an instruction for not specifying the "operation direction related to the game".

また、上記態様において、「ゲームに係る第2の指示」とは、「ゲームに係る指示」の他の例である。例えば、「第2の指示」は、第1の指示とは異なる指示であって、タッチパネルを用いて提供されるゲームに関する指示であってもよい。また、「第1の指示」が「ゲームに係る操作方向」として「第1の操作方向」を指定する指示である場合、「第2の指示」は、第1の操作方向と異なる「第2の操作方向」を指定する指示であってもよいし、「ゲームに係る操作方向」を指定しないとうい指示であってもよい。ここで、「第2の操作方向」は、例えば、第1の操作方向とは反対の方向であってもよい。 Further, in the above aspect, the "second instruction relating to the game" is another example of the "instruction relating to the game". For example, the "second instruction" may be an instruction different from the first instruction and may be an instruction related to a game provided by using the touch panel. Further, when the "first instruction" is an instruction to specify the "first operation direction" as the "operation direction related to the game", the "second instruction" is a "second operation direction" different from the first operation direction. It may be an instruction to specify the "operation direction of the game", or it may be an instruction not to specify the "operation direction related to the game". Here, the "second operating direction" may be, for example, a direction opposite to the first operating direction.

また、上記態様において、「第1領域」とは、例えば、ゲームに係る第1の指示の入力のために、タッチパネルにおいて視認可能な態様で設けられた領域であってもよいし、ゲームに係る第1の指示の入力のために、タッチパネルにおいて視認されない態様で設けられた仮想的な領域であってもよい。「第2領域」とは、例えば、第1領域とは異なる領域であって、ゲームに係る第2の指示の入力のために、タッチパネルにおいて視認可能な態様で設けられた領域であってもよいし、第1領域とは異なる領域であって、ゲームに係る第2の指示の入力のために、タッチパネルにおいて視認されない態様で設けられた仮想的な領域であってもよい。 Further, in the above aspect, the "first area" may be, for example, an area provided in a manner visible on the touch panel for inputting the first instruction related to the game, or is related to the game. It may be a virtual area provided in a manner not visible on the touch panel for inputting the first instruction. The "second area" may be, for example, an area different from the first area and provided in a manner visible on the touch panel for inputting a second instruction related to the game. However, it may be a virtual area that is different from the first area and is provided in a manner that is not visible on the touch panel for inputting the second instruction related to the game.

また、上記態様において、「領域割当部」は、タッチパネルの表示領域内の予め決められた初期位置に第1領域及び第1領域を割り当ててもよいし、タッチインの位置を基準にして第1領域及び第1領域を表示領域内に割り当ててもよい。 Further, in the above aspect, the "area allocation unit" may allocate the first area and the first area to a predetermined initial position in the display area of the touch panel, or the first area is based on the touch-in position. The area and the first area may be allocated in the display area.

また、上記態様において、「所定の速度条件」は、速度を用いた条件であれば特に限定されない。例えば、「所定の速度条件」とは、タッチ位置が移動した際の移動速度が予め決められた閾値速度以上であることでもよいし、タッチ位置が移動した際の加速度が予め決められた閾値加速度以上であることでもよい。「タッチ位置が移動した際の移動速度」は、タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の移動速度であってもよい。あるいは、「タッチ位置が移動した際の移動速度」は、タッチ位置が第1領域と第2領域との境界線を跨ぐ直前の移動速度であってもよいし、タッチ位置が第1領域と第2領域との境界線を跨いだ直後の移動速度であってもよい。同様に、「タッチ位置が移動した際の加速度」は、タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の加速度であってもよい。あるいは、「タッチ位置が移動した際の加速度」は、タッチ位置が第1領域と第2領域との境界線を跨ぐ直前の加速度であってもよいし、タッチ位置が第1領域と第2領域との境界線を跨いだ直後の加速度であってもよい。 Further, in the above aspect, the "predetermined speed condition" is not particularly limited as long as it is a condition using speed. For example, the "predetermined speed condition" may mean that the moving speed when the touch position moves is equal to or higher than a predetermined threshold speed, or the acceleration when the touch position moves is a predetermined threshold acceleration. It may be the above. The "moving speed when the touch position moves" may be the moving speed when the touch position moves across the boundary line between the first region and the second region. Alternatively, the "moving speed when the touch position moves" may be the moving speed immediately before the touch position crosses the boundary line between the first region and the second region, or the touch position is the first region and the first region. It may be the moving speed immediately after straddling the boundary line with the two regions. Similarly, the "acceleration when the touch position moves" may be the acceleration when the touch position moves across the boundary line between the first region and the second region. Alternatively, the "acceleration when the touch position moves" may be the acceleration immediately before the touch position crosses the boundary line between the first region and the second region, or the touch position is the first region and the second region. It may be the acceleration immediately after straddling the boundary line with.

ここで、「タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の移動速度」は、例えば、タッチ位置が境界線を跨ぐ前の時刻T1におけるタッチ位置P1と、タッチ位置が境界線を跨いだ後の時刻T2におけるタッチ位置P2とに基づいて算出されてもよい。具体的には、移動速度は、下記の式で表されてもよい。
移動速度=|P2−P1|/(T2−T1)
Here, the "movement speed when the touch position moves across the boundary line between the first region and the second region" is, for example, the touch position P1 at the time T1 before the touch position crosses the boundary line and the touch. It may be calculated based on the touch position P2 at the time T2 after the position crosses the boundary line. Specifically, the moving speed may be expressed by the following formula.
Movement speed = | P2-P1 | / (T2-T1)

なお、「タッチ位置が境界線を跨ぐ前の時刻T1」は、タッチパネルが複数のタッチ位置の各々を検出した時刻のうち、タッチ位置が境界線を跨ぐ直前の時刻でもよいし、タッチ位置が境界線を跨いだ時刻から第1の所定時間前の時刻に最も近い時刻でもよい。また、「タッチ位置が境界線を跨いだ後の時刻T2」は、タッチパネルが複数のタッチ位置の各々を検出した時刻のうち、タッチ位置が境界線を跨いだ直後の時刻でもよいし、タッチ位置が境界線を跨いだ時刻から第2の所定時間後の時刻に最も近い時刻でもよい。ここで、「タッチ位置が境界線を跨いだ時刻」は、例えば、複数のタッチ位置の時系列の履歴に基づいて、算出されてもよい。また、第2の所定時間は、第1の所定時間と同じ時間でもよいし、異なる時間でもよい。 The "time T1 before the touch position crosses the boundary line" may be the time immediately before the touch position crosses the boundary line among the times when the touch panel detects each of the plurality of touch positions, or the touch position is the boundary line. It may be the time closest to the time before the first predetermined time from the time across the line. Further, the "time T2 after the touch position crosses the boundary line" may be the time immediately after the touch position crosses the boundary line among the times when the touch panel detects each of the plurality of touch positions, or the touch position. It may be the time closest to the time after the second predetermined time from the time when the crossing the boundary line. Here, the "time when the touch position crosses the boundary line" may be calculated based on, for example, a time-series history of a plurality of touch positions. Further, the second predetermined time may be the same as or different from the first predetermined time.

また、「タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の移動速度」は、タッチ位置P1を始点としタッチ位置P2を終点とするタッチ位置移動ベクトルにおける、第1領域と第2領域との境界線に垂直な方向の成分を、時刻T1と時刻T2との差(T2−T1)で除算して算出されてもよい。 Further, the "movement speed when the touch position moves across the boundary line between the first region and the second region" is the first in the touch position movement vector starting from the touch position P1 and ending at the touch position P2. It may be calculated by dividing the component in the direction perpendicular to the boundary line between the region and the second region by the difference between the time T1 and the time T2 (T2-T1).

また、時刻T1から時刻T2までの間に、3つ以上のタッチ位置が検出される場合、「タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の移動速度」は、時刻T1から時刻T2までのタッチ位置の移動速度の平均値であってもよい。 When three or more touch positions are detected between the time T1 and the time T2, the "movement speed when the touch position moves across the boundary line between the first region and the second region" is , The average value of the moving speeds of the touch positions from the time T1 to the time T2 may be used.

「タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の加速度」は、上述のタッチ位置P1及びP2を含む3つ以上のタッチ位置の時系列の履歴に基づいて、算出されてもよい。また、「タッチ位置が第1領域と第2領域との境界線を跨いで移動した際の加速度」は、第1領域と第2領域との境界線に交差する方向、典型的には垂直な方向に対するタッチ位置の移動速度の変化に基づいて算出されてもよい。 The "acceleration when the touch position moves across the boundary line between the first region and the second region" is based on the time-series history of three or more touch positions including the above-mentioned touch positions P1 and P2. It may be calculated. Further, the "acceleration when the touch position moves across the boundary line between the first region and the second region" is the direction intersecting the boundary line between the first region and the second region, typically perpendicular. It may be calculated based on the change in the moving speed of the touch position with respect to the direction.

[付記2]
本発明の他の態様に係るプログラムは、付記1に記載のプログラムであって、前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記タッチ位置情報の示すタッチ位置に基づいて、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを変更する、ことを特徴とする。
[Appendix 2]
The program according to another aspect of the present invention is the program described in Appendix 1, and in the area allocation unit, the touch position indicated by the touch position information is the first in the state where the touch to the touch panel is continued. When moving from one area to the second area and when the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, based on the touch position indicated by the touch position information. It is characterized in that the allocation of the first area and the second area to the touch panel is changed.

この態様によれば、領域割当部は、タッチ位置が第1領域から第2領域に移動した場合で、且つ、タッチ位置の移動速度が所定の速度条件を満たさない場合に、タッチ位置に基づいて、第1領域及び第2領域のタッチパネルへの割り当てを変更する。これにより、この態様によれば、例えば、ユーザがゲームに係る指示を変更するつもりがないにもかかわらず、タッチ位置が徐々にずれていく場合であっても、タッチパネルに対する第1領域及び第2領域の割り当てが、タッチ位置のずれに応じて、変更される。このため、この態様では、第1領域及び第2領域のうちのタッチ位置が存在する領域に対応付けられた指示と、ユーザの意図する指示とが異なる状態になることを低減することができる。 According to this aspect, the area allocation unit is based on the touch position when the touch position moves from the first area to the second area and the moving speed of the touch position does not satisfy a predetermined speed condition. , The assignment of the first area and the second area to the touch panel is changed. As a result, according to this aspect, for example, even if the touch position gradually shifts even though the user does not intend to change the instruction related to the game, the first region and the second region with respect to the touch panel are obtained. The area allocation is changed according to the shift of the touch position. Therefore, in this aspect, it is possible to reduce that the instruction associated with the area where the touch position exists in the first area and the second area is different from the instruction intended by the user.

この結果、例えば、ユーザは、ゲームに係る指示を変更するためにタッチ位置を移動させた場合、タッチ位置を元の位置とほぼ同じ位置に戻すことにより、ゲームに係る指示を元の指示に戻すことができる。これに対し、タッチ位置の移動速度に応じてゲームに係る指示を変更するか否かを決定する態様において、第1領域及び第2領域の位置が固定されている場合、例えば、ユーザがタッチ位置を移動させてゲームに係る指示を第1の指示から第2の指示に変更した後にタッチ位置を元の位置とほぼ同じ位置に戻しても、タッチ位置が第1領域に戻らない場合がある。この場合、ユーザの意図した指示とは異なる指示が端末装置に入力される。この態様では、上述したように、タッチパネルに対する第1領域及び第2領域の割り当てを変更することにより、ユーザの意図した指示とは異なる指示が端末装置に入力されることを低減することができるため、ユーザの操作性を向上させることができる。 As a result, for example, when the user moves the touch position in order to change the instruction related to the game, the instruction related to the game is returned to the original instruction by returning the touch position to almost the same position as the original position. be able to. On the other hand, in the embodiment of determining whether or not to change the instruction related to the game according to the moving speed of the touch position, when the positions of the first region and the second region are fixed, for example, the user touches the touch position. Even if the touch position is returned to a position substantially the same as the original position after changing the instruction related to the game from the first instruction to the second instruction by moving, the touch position may not return to the first area. In this case, an instruction different from the instruction intended by the user is input to the terminal device. In this aspect, as described above, by changing the allocation of the first area and the second area to the touch panel, it is possible to reduce the input of an instruction different from the instruction intended by the user to the terminal device. , The operability of the user can be improved.

なお、上記態様において、「前記タッチ位置の移動に基づいて、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを変更する」とは、第1領域から第2領域に移動したタッチ位置を割り当て変更後の第1領域が含むように、第1領域及び第2領域のタッチパネルへの割り当てを変更することであってもよい。 In the above aspect, "changing the assignment of the first area and the second area to the touch panel based on the movement of the touch position" means the touch position moved from the first area to the second area. The allocation of the first area and the second area to the touch panel may be changed so that the first area after the allocation change is included.

また、上記態様において、「前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを変更」とは、例えば、第1領域及び第2領域の各々の位置、第1領域及び第2領域の各々の大きさ及び第1領域及び第2領域の各々の形状の一部又は全部を変更することであってもよい。「第1領域及び第2領域の各々の位置」とは、例えば、第1領域と第2領域との境界線の位置であってもよいし、第1領域の中心及び第2領域の中心であってもよい。 Further, in the above aspect, "changing the allocation of the first area and the second area to the touch panel" means, for example, the positions of the first area and the second area, the first area and the second area, respectively. It may be possible to change the size of each and a part or all of the shape of each of the first region and the second region. The "position of each of the first region and the second region" may be, for example, the position of the boundary line between the first region and the second region, or at the center of the first region and the center of the second region. There may be.

[付記3]
本発明の他の態様に係るプログラムは、付記2に記載のプログラムであって、前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記タッチ位置情報の示すタッチ位置の移動に基づいて、前記第1領域及び前記第2領域の各々の位置を移動する、ことを特徴とする。
[Appendix 3]
The program according to another aspect of the present invention is the program described in Appendix 2, and in the area allocation unit, the touch position indicated by the touch position information is the first in the state where the touch to the touch panel is continued. Based on the movement of the touch position indicated by the touch position information when the movement speed is moved from the first region to the second region and the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition. Therefore, the position of each of the first region and the second region is moved.

この態様によれば、領域割当部は、タッチ位置が第1領域から第2領域に移動した場合で、且つ、タッチ位置の移動速度が所定の速度条件を満たさない場合に、タッチ位置の移動に基づいて、第1領域及び第2領域の各々の位置を移動する。これにより、この態様では、第1領域及び第2領域のうちのタッチ位置が存在する領域に対応付けられた指示と、ユーザの意図する指示とが異なる状態になることを低減することができる。この結果、この態様では、ユーザの意図した指示とは異なる指示が端末装置に入力されることを低減することができるため、ユーザの操作性を向上させることができる。 According to this aspect, the area allocation unit moves the touch position when the touch position moves from the first area to the second area and the moving speed of the touch position does not satisfy a predetermined speed condition. Based on this, the positions of the first region and the second region are moved. Thereby, in this aspect, it is possible to reduce that the instruction associated with the area where the touch position exists in the first area and the second area is different from the instruction intended by the user. As a result, in this aspect, it is possible to reduce the input of an instruction different from the instruction intended by the user into the terminal device, so that the operability of the user can be improved.

なお、上記態様において、「前記タッチ位置の移動に基づいて、前記第1領域及び前記第2領域の各々の位置を移動する」とは、第1領域から第2領域に移動したタッチ位置を移動後の第1領域が含むように、第1領域及び第2領域の各々の位置を移動することであってもよい。また、第1領域及び第2領域の各々の位置の移動方向は、例えば、第1領域と第2領域との境界線に垂直な方向であってもよいし、タッチ位置の移動方向に応じた方向であってもよい。「タッチ位置の移動方向に応じた方向」は、タッチ位置の移動方向と同じ方向であってもよい。 In the above aspect, "moving each position of the first region and the second region based on the movement of the touch position" means moving the touch position moved from the first region to the second region. It may be to move the respective positions of the first region and the second region so that the later first region includes. Further, the moving direction of each position of the first region and the second region may be, for example, a direction perpendicular to the boundary line between the first region and the second region, or depending on the moving direction of the touch position. It may be a direction. The "direction according to the moving direction of the touch position" may be the same direction as the moving direction of the touch position.

[付記4]
本発明の他の態様に係るプログラムは、付記3に記載のプログラムであって、前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記第1領域と前記第2領域との境界線に交差する方向に、前記第1領域及び前記第2領域の各々の位置を移動する、ことを特徴とする。
[Appendix 4]
The program according to another aspect of the present invention is the program described in Appendix 3, and in the area allocation unit, the touch position indicated by the touch position information is the first in the state where the touch to the touch panel is continued. The boundary between the first region and the second region when the movement speed is moved from the first region to the second region and the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition. It is characterized in that the positions of the first region and the second region are moved in a direction intersecting the line.

この態様によれば、領域割当部は、タッチ位置が第1領域から第2領域に移動した場合で、且つ、タッチ位置の移動速度が所定の速度条件を満たさない場合に、第1領域と第2領域との境界線に交差する方向に、第1領域及び第2領域の各々の位置を移動する。これにより、この態様では、第1領域及び第2領域のうちのタッチ位置が存在する領域に対応付けられた指示と、ユーザの意図する指示とが異なる状態になることを低減することができる。この結果、この態様では、ユーザの意図した指示とは異なる指示が端末装置に入力されることを低減することができるため、ユーザの操作性を向上させることができる。 According to this aspect, the area allocation unit is the first area and the first area when the touch position moves from the first area to the second area and the moving speed of the touch position does not satisfy a predetermined speed condition. The positions of the first region and the second region are moved in the direction intersecting the boundary line with the two regions. Thereby, in this aspect, it is possible to reduce that the instruction associated with the area where the touch position exists in the first area and the second area is different from the instruction intended by the user. As a result, in this aspect, it is possible to reduce the input of an instruction different from the instruction intended by the user into the terminal device, so that the operability of the user can be improved.

なお、上記態様において、「前記第1領域と前記第2領域との境界線に交差する方向」とは、例えば、第1領域と第2領域との境界線に垂直な方向であってもよいし、45度以上135度以下の範囲で境界線に交差する方向であってもよい。 In the above aspect, the "direction intersecting the boundary line between the first region and the second region" may be, for example, a direction perpendicular to the boundary line between the first region and the second region. However, the direction may intersect the boundary line in the range of 45 degrees or more and 135 degrees or less.

[付記5]
本発明の他の態様に係るプログラムは、付記2に記載のプログラムであって、前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、所定の点を中心にして、前記第1領域及び前記第2領域を回転移動させる、ことを特徴とする。
[Appendix 5]
The program according to another aspect of the present invention is the program described in Appendix 2, and in the area allocation unit, the touch position indicated by the touch position information is the first in the state where the touch to the touch panel is continued. When moving from the first region to the second region and when the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, the first region is centered on the predetermined point. And the second region is rotationally moved.

この態様によれば、領域割当部は、タッチ位置が第1領域から第2領域に移動した場合で、且つ、タッチ位置の移動速度が所定の速度条件を満たさない場合に、所定の点を中心にして、第1領域及び第2領域を回転移動させる。これにより、この態様では、第1領域及び第2領域のうちのタッチ位置が存在する領域に対応付けられた指示と、ユーザの意図する指示とが異なる状態になることを低減することができる。この結果、この態様では、ユーザの意図した指示とは異なる指示が端末装置に入力されることを低減することができるため、ユーザの操作性を向上させることができる。 According to this aspect, the area allocation unit is centered on a predetermined point when the touch position moves from the first area to the second area and the moving speed of the touch position does not satisfy a predetermined speed condition. Then, the first region and the second region are rotationally moved. Thereby, in this aspect, it is possible to reduce that the instruction associated with the area where the touch position exists in the first area and the second area is different from the instruction intended by the user. As a result, in this aspect, it is possible to reduce the input of an instruction different from the instruction intended by the user into the terminal device, so that the operability of the user can be improved.

なお、上記態様において、「所定の点」とは、例えば、第1領域と第2領域との境界線上の一の点であってもよい。「第1領域と第2領域との境界線上の一の点」とは、例えば、第1領域と第2領域との境界線における両端の中点であってもよい。また、「第1領域と第2領域との境界線上の一の点」とは、第1領域及び第2領域を含む操作領域の形状が円形状である場合、円形状の操作領域の中心であってもよい。 In the above aspect, the "predetermined point" may be, for example, one point on the boundary line between the first region and the second region. The "one point on the boundary line between the first region and the second region" may be, for example, the midpoints at both ends of the boundary line between the first region and the second region. Further, "one point on the boundary line between the first region and the second region" means the center of the circular operation region when the shape of the operation region including the first region and the second region is circular. There may be.

[付記6]
本発明の他の態様に係るプログラムは、付記2に記載のプログラムであって、前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記タッチ位置情報の示すタッチ位置の移動に基づいて、前記第1領域及び前記第2領域の形状を変形させる、ことを特徴とする。
[Appendix 6]
The program according to another aspect of the present invention is the program described in Appendix 2, and in the area allocation unit, the touch position indicated by the touch position information is the first in the state where the touch to the touch panel is continued. Based on the movement of the touch position indicated by the touch position information when the movement speed is moved from the first region to the second region and the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition. Therefore, the shapes of the first region and the second region are deformed.

この態様によれば、領域割当部は、タッチ位置が第1領域から第2領域に移動した場合で、且つ、タッチ位置の移動速度が所定の速度条件を満たさない場合に、タッチ位置の移動に基づいて、第1領域及び第2領域の形状を変形させる。これにより、この態様では、第1領域及び第2領域のうちのタッチ位置が存在する領域に対応付けられた指示と、ユーザの意図する指示とが異なる状態になることを低減することができる。この結果、この態様では、ユーザの意図した指示とは異なる指示が端末装置に入力されることを低減することができるため、ユーザの操作性を向上させることができる。 According to this aspect, the area allocation unit moves the touch position when the touch position moves from the first area to the second area and the moving speed of the touch position does not satisfy a predetermined speed condition. Based on this, the shapes of the first region and the second region are deformed. Thereby, in this aspect, it is possible to reduce that the instruction associated with the area where the touch position exists in the first area and the second area is different from the instruction intended by the user. As a result, in this aspect, it is possible to reduce the input of an instruction different from the instruction intended by the user into the terminal device, so that the operability of the user can be improved.

[付記7]
本発明の他の態様に係るプログラムは、付記2乃至6のうち何れか1項に記載のプログラムであって、前記領域割当部は、前記タッチ位置に関するタッチ条件が満たされる場合、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを初期状態に戻す、ことを特徴とする。
[Appendix 7]
The program according to another aspect of the present invention is the program according to any one of Supplementary note 2 to 6, and the area allocation unit is the first area when the touch condition regarding the touch position is satisfied. And, the allocation of the second area to the touch panel is returned to the initial state.

この態様によれば、領域割当部は、タッチ位置に関するタッチ条件が満たされる場合、第1領域及び第2領域のタッチパネルへの割り当てを初期状態に戻す。これにより、この態様では、タッチパネルに対する第1領域及び第2領域の割り当てが初期状態から変更された状態で維持されること抑止することができる。 According to this aspect, the area allocation unit returns the allocation of the first area and the second area to the touch panel to the initial state when the touch condition regarding the touch position is satisfied. Thereby, in this aspect, it is possible to prevent the allocation of the first region and the second region to the touch panel from being maintained in the changed state from the initial state.

なお、上記態様において、「前記タッチ位置に関するタッチ条件」とは、タッチ位置が検出されないことであってもよいし、タッチ位置が閾値速度以上の移動速度で第1領域から第2領域に移動することであってもよい。 In the above aspect, the "touch condition relating to the touch position" may mean that the touch position is not detected, or the touch position moves from the first region to the second region at a movement speed equal to or higher than the threshold speed. It may be that.

また、上記態様において、「初期状態」とは、例えば、ユーザの操作によらず、予め決められた状態であってもよい。例えば、「初期状態」とは、プロセッサがプログラムを実行した際に、第1領域及び第2領域が、タッチインの位置に関わらず、タッチパネルの所定の位置に割り当てられる場合、第1領域及び第2領域が所定の位置に割り当てられている状態であってもよい。また、「初期状態」とは、例えば、第1領域及び第2領域がタッチインの位置に基づいてタッチパネルに割り当てられる場合、第1領域及び第2領域がタッチイン時に割り当てられた位置と同じ位置に割り当てられている状態であってもよい。なお、「タッチイン」とは、タッチパネルに対するタッチがない状態からタッチがある状態に変化することであってもよい。 Further, in the above aspect, the "initial state" may be, for example, a predetermined state regardless of the operation of the user. For example, the "initial state" means that when the processor executes a program, the first area and the second area are assigned to predetermined positions on the touch panel regardless of the touch-in position, the first area and the second area. The two areas may be allocated at predetermined positions. Further, the "initial state" is, for example, when the first area and the second area are assigned to the touch panel based on the touch-in position, the first area and the second area are the same positions as the positions assigned at the time of touch-in. It may be in the state assigned to. The "touch-in" may mean a change from a state in which there is no touch to the touch panel to a state in which there is a touch.

[付記8]
本発明の他の態様に係るプログラムは、付記1乃至7のうち何れか1項に記載のプログラムであって、前記プロセッサを、前記指示部が前記ゲームに係る指示を前記第1の指示から前記第2の指示に変更する場合に、前記タッチパネルを振動させる振動制御部、として更に機能させる、ことを特徴とする。
[Appendix 8]
The program according to another aspect of the present invention is the program according to any one of Supplementary note 1 to 7, wherein the processor is instructed by the instruction unit to give instructions related to the game from the first instruction. When changing to the second instruction, it is characterized in that it further functions as a vibration control unit that vibrates the touch panel.

この態様によれば、例えば、ユーザが指によりタッチパネルにタッチする場合に、ユーザは、ゲームに係る指示が変更されたことを、タッチパネルの振動として、触覚により直感的に把握することが可能となる。 According to this aspect, for example, when the user touches the touch panel with a finger, the user can intuitively grasp that the instruction related to the game has been changed by the touch panel as vibration of the touch panel. ..

[付記9]
本発明の他の態様に係るプログラムは、付記2乃至8のうち何れか1項に記載のプログラムであって、前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさずに、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たしていない間、前記タッチ位置情報の示すタッチ位置に基づいて、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを変更する、ことを特徴とする。
[Appendix 9]
The program according to another aspect of the present invention is the program according to any one of Appendix 2 to 8, wherein the area allocation unit is in a state where the touch to the touch panel is continued, and the touch position is described. When the moving speed of the touch position indicated by the information does not satisfy the predetermined speed condition and the touch position indicated by the touch position information moves from the first region to the second region, the touch position indicated by the touch position information While the moving speed of the above does not satisfy the predetermined speed condition, the assignment of the first area and the second area to the touch panel is changed based on the touch position indicated by the touch position information. To do.

この態様によれば、領域割当部は、タッチ位置が、所定の速度条件を満たさない移動速度で、第1領域から第2領域に移動した場合、タッチ位置の移動速度が所定の速度条件を満たしていない期間において、タッチ位置に追従して、第1領域及び第2領域のタッチパネルへの割り当てを変更する。これにより、この態様では、タッチパネルに対する割り当てが初期状態から変更された第1領域及び第2領域の境界線が最新のタッチ位置から所定の距離より離れた位置に維持されることを抑止することができる。 According to this aspect, when the touch position moves from the first region to the second region at a moving speed that does not satisfy the predetermined speed condition, the moving speed of the touch position satisfies the predetermined speed condition. In the non-existing period, the assignment of the first area and the second area to the touch panel is changed according to the touch position. Thereby, in this embodiment, it is possible to prevent the boundary line between the first region and the second region whose allocation to the touch panel is changed from the initial state from being maintained at a position more than a predetermined distance from the latest touch position. it can.

[付記10]
本発明の他の態様に係るプログラムは、付記1乃至9のうち何れか1項に記載のプログラムであって、前記第1の指示は、前記タッチパネルに対するタッチがない状態において実行される処理と同じ処理を前記プロセッサに実行させる指示である、ことを特徴とする。
[Appendix 10]
The program according to another aspect of the present invention is the program according to any one of Supplementary note 1 to 9, and the first instruction is the same as the process executed without touching the touch panel. It is an instruction to cause the processor to execute the process.

この態様によれば、例えば、ユーザが第1領域に指を接触させて端末装置を保持した場合でも、端末装置の動作は、タッチパネルに対するタッチがない場合と同じ動作になる。これにより、ユーザは、端末装置の動作をタッチパネルに対するタッチがない場合と同じ動作に維持したい場合においても、第1領域に指を接触させて端末装置を保持できる。 According to this aspect, for example, even when the user touches the first region with a finger to hold the terminal device, the operation of the terminal device is the same as when there is no touch to the touch panel. As a result, the user can hold the terminal device by touching the first region with his / her finger even when he / she wants to maintain the operation of the terminal device in the same operation as when there is no touch on the touch panel.

なお、上記態様において、「前記タッチパネルに対するタッチがない状態において実行される処理」とは、例えば、ゲーム要素の方向(例えば、キャラクタの顔の向き)を変化させずに維持する処理であってもよいし、ゲーム要素の方向(例えば、キャラクタの顔の向き)を予め定められた向きに設定する処理であってもよい。 In the above aspect, the "process executed without touching the touch panel" may be, for example, a process of maintaining the direction of the game element (for example, the direction of the character's face) without changing it. Alternatively, the process may be a process of setting the direction of the game element (for example, the direction of the character's face) to a predetermined direction.

[付記11]
本発明の他の態様に係るプログラムは、付記1に記載のプログラムであって、前記指示部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさずに、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たしたとき、前記ゲームに係る指示を前記第1の指示から前記第2の指示に変更する、ことを特徴とする。
[Appendix 11]
The program according to another aspect of the present invention is the program described in Appendix 1, wherein the indicating unit has a moving speed of the touch position indicated by the touch position information in a state where the touch to the touch panel is continued. When the touch position indicated by the touch position information moves from the first region to the second region without satisfying the predetermined speed condition, the moving speed of the touch position indicated by the touch position information is the predetermined speed condition. When is satisfied, the instruction relating to the game is changed from the first instruction to the second instruction.

この態様によれば、指示部は、タッチ位置が、所定の速度条件を満たさない移動速度で第1領域から第2領域に移動した場合、タッチ位置の移動速度が所定の速度条件を満たしたとき、ゲームに係る指示を第1の指示から第2の指示に変更する。これにより、この態様では、例えば、ユーザがゲームに係る指示の内容を変更するつもりで指を移動させたにもかかわらず、ゲームに係る指示が変更されないことを低減することができる。すなわち、この態様では、ユーザの意図する指示とは異なる指示が実行なされる可能性を低減することができる。 According to this aspect, when the touch position moves from the first region to the second region at a moving speed that does not satisfy the predetermined speed condition, the moving speed of the touch position satisfies the predetermined speed condition. , Change the instruction related to the game from the first instruction to the second instruction. Thereby, in this aspect, for example, it is possible to reduce that the instruction related to the game is not changed even though the user moves his / her finger with the intention of changing the content of the instruction related to the game. That is, in this aspect, it is possible to reduce the possibility that an instruction different from the instruction intended by the user is executed.

[付記12]
本発明の他の態様に係るプログラムは、付記1乃至11のうち何れか1項に記載のプログラムであって、前記指示部は、前記タッチ位置が前記第1領域から前記第2領域に移動した際の移動速度が閾値速度以上である場合、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たすと判定する、ことを特徴とする。
[Appendix 12]
The program according to another aspect of the present invention is the program according to any one of Appendix 1 to 11, wherein the touch position of the indicator has moved from the first region to the second region. When the moving speed is equal to or higher than the threshold speed, it is determined that the moving speed of the touch position indicated by the touch position information satisfies the predetermined speed condition.

この態様によれば、タッチ位置が第1領域から第2領域に移動した際の移動速度が閾値速度以上である場合に、タッチ位置の移動速度が所定の速度条件を満たすと判定される。このため、この態様では、指示部は、タッチ位置が閾値速度以上の移動速度で第1領域から第2領域に移動した場合、ゲームに係る指示を第1の指示から第2の指示に変更し、タッチ位置が閾値速度未満の移動速度で第1領域から第2領域に移動した場合、ゲームに係る指示を第1の指示に維持する。従って、この態様においても、付記1と同様に、タッチパネルへのタッチ位置にずれが生じうる場合であっても、誤った入力がなされる可能性を低減することができる。 According to this aspect, when the moving speed when the touch position moves from the first region to the second region is equal to or higher than the threshold speed, it is determined that the moving speed of the touch position satisfies a predetermined speed condition. Therefore, in this embodiment, when the touch position moves from the first region to the second region at a movement speed equal to or higher than the threshold speed, the instruction unit changes the instruction related to the game from the first instruction to the second instruction. When the touch position moves from the first region to the second region at a movement speed less than the threshold speed, the instruction related to the game is maintained as the first instruction. Therefore, also in this embodiment, as in Appendix 1, even if the touch position on the touch panel may be displaced, the possibility of erroneous input can be reduced.

[付記13]
本発明の一態様に係る情報処理装置は、タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルに、第1領域及び第2領域を割り当てる領域割当部と、前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定する指示部と、を備え、前記指示部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、ことを特徴とする。
[Appendix 13]
The information processing device according to one aspect of the present invention includes an acquisition unit that acquires touch position information indicating a touch position of a touch on a touch panel, an area allocation unit that allocates a first region and a second region to the touch panel, and the touch. The instruction unit includes an instruction unit that determines the content of instructions related to the game based on the touch position indicated by the position information, and the instruction unit is a touch indicated by the touch position information in a state where the touch to the touch panel is continued. When the position moves from the first area to the second area, and the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, the instruction relating to the game is given to the first area. When the associated first instruction is changed to the second instruction associated with the second region and the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition. Is characterized in that the instruction relating to the game is maintained in the first instruction.

この態様によれば、付記1と同様の効果を得ることができる。 According to this aspect, the same effect as in Appendix 1 can be obtained.

[付記14]
本発明の一態様に係る情報処理方法では、プロセッサが、タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得し、前記タッチパネルに、第1領域及び第2領域を割り当て、前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定し、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、ことを特徴とする。
[Appendix 14]
In the information processing method according to one aspect of the present invention, the processor acquires touch position information indicating the touch position of the touch with respect to the touch panel, allocates the first region and the second region to the touch panel, and indicates the touch position information. When the content of the instruction related to the game is determined based on the touch position, and the touch position indicated by the touch position information moves from the first area to the second area in a state where the touch to the touch panel is continued. When the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, the instruction relating to the game is transmitted from the first instruction associated with the first area to the second area. If the instruction is changed to the associated second instruction and the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, the instruction related to the game is maintained in the first instruction. It is characterized by doing.

この態様によれば、付記1と同様の効果を得ることができる。 According to this aspect, the same effect as in Appendix 1 can be obtained.

[付記15]
本発明の他の態様に係るプログラムは、プロセッサを、表示画面において指定された指定位置を示す指定位置情報を取得する取得部と、前記表示画面内に、第1領域及び第2領域を割り当てる領域割当部と、前記指定位置情報の示す指定位置に基づいて、サービスに係る指示の内容を決定する指示部と、して機能させ、前記指示部は、前記表示画面における位置の指定が継続されている状態において、前記指定位置情報の示す指定位置が前記第1領域から前記第2領域に移動した場合、前記指定位置情報の示す指定位置の移動速度が所定の速度条件を満たす場合には、前記サービスに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、前記指定位置情報の示す指定位置の移動速度が前記所定の速度条件を満さない場合には、前記サービスに係る指示を前記第1の指示に維持する、ことを特徴とする。
[Appendix 15]
In the program according to another aspect of the present invention, the processor has an acquisition unit for acquiring designated position information indicating a designated position designated on the display screen, and an area for allocating the first area and the second area in the display screen. The allocation unit and the instruction unit that determines the content of the instruction related to the service based on the designated position indicated by the designated position information are made to function, and the instruction unit continues to specify the position on the display screen. If the designated position indicated by the designated position information moves from the first region to the second region, or if the moving speed of the designated position indicated by the designated position information satisfies a predetermined speed condition, the said The instruction related to the service is changed from the first instruction associated with the first area to the second instruction associated with the second area, and the moving speed of the designated position indicated by the designated position information is changed. When the predetermined speed condition is not satisfied, the instruction relating to the service is maintained in the first instruction.

この態様によれば、指示部は、表示画面における位置の指定が継続されている状態で指定位置が第1領域から第2領域に移動した場合で、且つ、指定位置の移動速度が所定の速度条件を満たす場合に、サービスに係る指示を第1の指示から第2の指示に変更する。また、指示部は、表示画面における位置の指定が継続されている状態で指定位置が第1領域から第2領域に移動した場合であっても、指定位置の移動速度が所定の速度条件を満さない場合には、サービスに係る指示を第1の指示に維持する。従って、この態様においても、付記1と同様に、表示画面において指定された指定位置にずれが生じうる場合であっても、誤った入力がなされる可能性を低減することができる。 According to this aspect, when the designated position moves from the first area to the second area while the position designation on the display screen is continued, the moving speed of the designated position is a predetermined speed. When the condition is satisfied, the instruction related to the service is changed from the first instruction to the second instruction. Further, in the instruction unit, even when the designated position moves from the first area to the second area while the position designation on the display screen is continued, the moving speed of the designated position satisfies the predetermined speed condition. If not, the service instruction is maintained in the first instruction. Therefore, in this aspect as well, as in Appendix 1, even if the designated position designated on the display screen may be displaced, the possibility of erroneous input can be reduced.

なお、上記態様において、「指定位置」は、マウス又はゲーム装置のリモートコントローラ等のポインティングデバイスにより操作される、表示画面上のポインタの位置であってもよいし、タッチパネルにおけるタッチ位置であってもよい。なお、「表示画面」は、入力装置の機能を含まないディスプレイの表示画面であってもよいし、入力装置の機能を含むタッチパネルの表示画面であってもよい。 In the above aspect, the "designated position" may be the position of a pointer on the display screen operated by a pointing device such as a mouse or a remote controller of a game device, or may be a touch position on a touch panel. Good. The "display screen" may be a display screen of a display that does not include the function of the input device, or may be a display screen of the touch panel that includes the function of the input device.

また、上記態様において、「サービス」は、表示画面を介して提供される任意のサービスであればよい。例えば、「サービス」は、インターネットサービスでもよいし、ゲームでもよい。 Further, in the above aspect, the "service" may be any service provided via the display screen. For example, the "service" may be an Internet service or a game.

また、上記態様において、「第1の指示」は、「サービスに係る指示」の一例である。「サービスに係る指示」は、例えば、ゲームに関する指示であってもよいし、任意のサービスに係る指示であってもよい。「第2の指示」は、「サービスに係る指示」の他の例である。例えば、「第2の指示」は、第1の指示とは異なる指示であって、ゲームに関する指示であってもよいし、第1の指示とは異なる指示であって、任意のサービスに係る指示であってもよい。 Further, in the above aspect, the "first instruction" is an example of the "instruction relating to the service". The "instruction relating to the service" may be, for example, an instruction relating to a game or an instruction relating to an arbitrary service. The "second instruction" is another example of the "instruction relating to the service". For example, the "second instruction" is an instruction different from the first instruction and may be an instruction related to a game, or an instruction different from the first instruction and related to an arbitrary service. It may be.

10、10A、10B…端末装置、11…プロセッサ、12…タッチパネル、13…メモリ、14…振動発生装置、20B…サーバ装置、110、110A…制御部、111…ゲーム制御部、112…表示制御部、113…タッチ位置情報取得部、114、114A…操作領域割当部、115…振動制御部、120…表示部、122…入力部、130…記憶部、140…振動発生部、150…通信部、250…通信部。 10, 10A, 10B ... Terminal device, 11 ... Processor, 12 ... Touch panel, 13 ... Memory, 14 ... Vibration generator, 20B ... Server device, 110, 110A ... Control unit, 111 ... Game control unit, 112 ... Display control unit , 113 ... Touch position information acquisition unit, 114, 114A ... Operation area allocation unit, 115 ... Vibration control unit, 120 ... Display unit, 122 ... Input unit, 130 ... Storage unit, 140 ... Vibration generation unit, 150 ... Communication unit, 250 ... Communication unit.

Claims (15)

プロセッサを、
タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得する取得部と、
前記タッチパネルに、第1領域及び第2領域を割り当てる領域割当部と、
前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定する指示部と、
して機能させ、
前記指示部は、
前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、
前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、
前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、
ことを特徴とする、プログラム。
Processor,
An acquisition unit that acquires touch position information indicating the touch position of the touch on the touch panel,
An area allocation unit that allocates a first area and a second area to the touch panel,
An instruction unit that determines the content of instructions related to the game based on the touch position indicated by the touch position information, and
To make it work
The indicator
When the touch position indicated by the touch position information moves from the first area to the second area while the touch to the touch panel is continued.
When the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, the instruction related to the game corresponds to the second area from the first instruction associated with the first area. Change to the attached second instruction,
When the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, the instruction relating to the game is maintained in the first instruction.
A program that features that.
前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記タッチ位置情報の示すタッチ位置に基づいて、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを変更する、
ことを特徴とする、請求項1に記載のプログラム。
The area allocation unit indicates a case where the touch position indicated by the touch position information moves from the first area to the second area in a state where the touch to the touch panel is continued, and the touch position information indicates. When the moving speed of the touch position does not satisfy the predetermined speed condition, the assignment of the first area and the second area to the touch panel is changed based on the touch position indicated by the touch position information.
The program according to claim 1, wherein the program is characterized by the above.
前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記タッチ位置情報の示すタッチ位置の移動に基づいて、前記第1領域及び前記第2領域の各々の位置を移動する、
ことを特徴とする、請求項2に記載のプログラム。
The area allocation unit indicates a case where the touch position indicated by the touch position information moves from the first area to the second area in a state where the touch to the touch panel is continued, and the touch position information indicates. When the moving speed of the touch position does not satisfy the predetermined speed condition, the positions of the first region and the second region are moved based on the movement of the touch position indicated by the touch position information.
The program according to claim 2, wherein the program is characterized by the above.
前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記第1領域と前記第2領域との境界線に交差する方向に、前記第1領域及び前記第2領域の各々の位置を移動する、
ことを特徴とする、請求項3に記載のプログラム。
The area allocation unit indicates a case where the touch position indicated by the touch position information moves from the first area to the second area in a state where the touch to the touch panel is continued, and the touch position information indicates. When the moving speed of the touch position does not satisfy the predetermined speed condition, the positions of the first region and the second region are set in the direction intersecting the boundary line between the first region and the second region. Moving,
The program according to claim 3, wherein the program is characterized by the above.
前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、所定の点を中心にして、前記第1領域及び前記第2領域を回転移動させる、
ことを特徴とする、請求項2に記載のプログラム。
The area allocation unit indicates a case where the touch position indicated by the touch position information moves from the first area to the second area in a state where the touch to the touch panel is continued, and the touch position information indicates. When the moving speed of the touch position does not satisfy the predetermined speed condition, the first region and the second region are rotationally moved around the predetermined point.
The program according to claim 2, wherein the program is characterized by the above.
前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合で、且つ、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさない場合に、前記タッチ位置情報の示すタッチ位置の移動に基づいて、前記第1領域及び前記第2領域の形状を変形させる、
ことを特徴とする、請求項2に記載のプログラム。
The area allocation unit indicates a case where the touch position indicated by the touch position information moves from the first area to the second area in a state where the touch to the touch panel is continued, and the touch position information indicates. When the moving speed of the touch position does not satisfy the predetermined speed condition, the shapes of the first region and the second region are deformed based on the movement of the touch position indicated by the touch position information.
The program according to claim 2, wherein the program is characterized by the above.
前記領域割当部は、前記タッチ位置に関するタッチ条件が満たされる場合、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを初期状態に戻す、
ことを特徴とする、請求項2乃至6のうち何れか1項に記載のプログラム。
When the touch condition relating to the touch position is satisfied, the area allocation unit returns the allocation of the first area and the second area to the touch panel to the initial state.
The program according to any one of claims 2 to 6, wherein the program is characterized by the above.
前記プロセッサを、
前記指示部が前記ゲームに係る指示を前記第1の指示から前記第2の指示に変更する場合に、前記タッチパネルを振動させる振動制御部、
として更に機能させる、
ことを特徴とする、請求項1乃至7のうち何れか1項に記載のプログラム。
The processor
A vibration control unit that vibrates the touch panel when the instruction unit changes an instruction related to the game from the first instruction to the second instruction.
To function further,
The program according to any one of claims 1 to 7, wherein the program is characterized by the above.
前記領域割当部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさずに、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たしていない間、前記タッチ位置情報の示すタッチ位置に基づいて、前記第1領域及び前記第2領域の前記タッチパネルへの割り当てを変更する、
ことを特徴とする、請求項2乃至8のうち何れか1項に記載のプログラム。
In the area allocation unit, in a state where the touch to the touch panel is continued, the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, and the touch position indicated by the touch position information is the same. When moving from the first region to the second region, the first is based on the touch position indicated by the touch position information while the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition. Change the allocation of one area and the second area to the touch panel.
The program according to any one of claims 2 to 8, wherein the program is characterized by the above.
前記第1の指示は、前記タッチパネルに対するタッチがない状態において実行される処理と同じ処理を前記プロセッサに実行させる指示である、
ことを特徴とする、請求項1乃至9のうち何れか1項に記載のプログラム。
The first instruction is an instruction to cause the processor to execute the same process as the process executed without touching the touch panel.
The program according to any one of claims 1 to 9, wherein the program is characterized by the above.
前記指示部は、前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たさずに、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たしたとき、前記ゲームに係る指示を前記第1の指示から前記第2の指示に変更する、
ことを特徴とする、請求項1に記載のプログラム。
In the state where the touch to the touch panel is continued, the indicating unit does not satisfy the predetermined speed condition for the moving speed of the touch position indicated by the touch position information, and the touch position indicated by the touch position information is the first. When moving from the first area to the second area, when the moving speed of the touch position indicated by the touch position information satisfies the predetermined speed condition, the instruction relating to the game is given from the first instruction to the second instruction. Change to instructions,
The program according to claim 1, wherein the program is characterized by the above.
前記指示部は、
前記タッチ位置が前記第1領域から前記第2領域に移動した際の移動速度が閾値速度以上である場合、
前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満たすと判定する、
ことを特徴とする、請求項1乃至11のうち何れか1項に記載のプログラム。
The indicator
When the moving speed when the touch position moves from the first area to the second area is equal to or higher than the threshold speed.
It is determined that the moving speed of the touch position indicated by the touch position information satisfies the predetermined speed condition.
The program according to any one of claims 1 to 11, wherein the program is characterized by the above.
タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得する取得部と、
前記タッチパネルに、第1領域及び第2領域を割り当てる領域割当部と、
前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定する指示部と、
を備え、
前記指示部は、
前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、
前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、
前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、
ことを特徴とする、情報処理装置。
An acquisition unit that acquires touch position information indicating the touch position of the touch on the touch panel,
An area allocation unit that allocates a first area and a second area to the touch panel,
An instruction unit that determines the content of instructions related to the game based on the touch position indicated by the touch position information, and
With
The indicator
When the touch position indicated by the touch position information moves from the first area to the second area while the touch to the touch panel is continued.
When the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, the instruction related to the game corresponds to the second area from the first instruction associated with the first area. Change to the attached second instruction,
When the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, the instruction relating to the game is maintained in the first instruction.
An information processing device characterized by this.
プロセッサが、
タッチパネルに対するタッチのタッチ位置を示すタッチ位置情報を取得し、
前記タッチパネルに、第1領域及び第2領域を割り当て、
前記タッチ位置情報の示すタッチ位置に基づいて、ゲームに係る指示の内容を決定し、
前記タッチパネルに対するタッチが継続されている状態において、前記タッチ位置情報の示すタッチ位置が前記第1領域から前記第2領域に移動した場合、
前記タッチ位置情報の示すタッチ位置の移動速度が所定の速度条件を満たす場合には、前記ゲームに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、
前記タッチ位置情報の示すタッチ位置の移動速度が前記所定の速度条件を満さない場合には、前記ゲームに係る指示を前記第1の指示に維持する、
ことを特徴とする、情報処理方法。
The processor
Acquires touch position information indicating the touch position of the touch on the touch panel.
A first area and a second area are assigned to the touch panel,
Based on the touch position indicated by the touch position information, the content of the instruction related to the game is determined.
When the touch position indicated by the touch position information moves from the first area to the second area while the touch to the touch panel is continued.
When the moving speed of the touch position indicated by the touch position information satisfies a predetermined speed condition, the instruction related to the game corresponds to the second area from the first instruction associated with the first area. Change to the attached second instruction,
When the moving speed of the touch position indicated by the touch position information does not satisfy the predetermined speed condition, the instruction relating to the game is maintained in the first instruction.
An information processing method characterized by this.
プロセッサを、
表示画面において指定された指定位置を示す指定位置情報を取得する取得部と、
前記表示画面内に、第1領域及び第2領域を割り当てる領域割当部と、
前記指定位置情報の示す指定位置に基づいて、サービスに係る指示の内容を決定する指示部と、
して機能させ、
前記指示部は、
前記表示画面における位置の指定が継続されている状態において、前記指定位置情報の示す指定位置が前記第1領域から前記第2領域に移動した場合、
前記指定位置情報の示す指定位置の移動速度が所定の速度条件を満たす場合には、前記サービスに係る指示を、前記第1領域に対応付けられた第1の指示から、前記第2領域に対応付けられた第2の指示に変更し、
前記指定位置情報の示す指定位置の移動速度が前記所定の速度条件を満さない場合には、前記サービスに係る指示を前記第1の指示に維持する、
ことを特徴とする、プログラム。
Processor,
An acquisition unit that acquires designated position information indicating the designated designated position on the display screen, and
In the display screen, an area allocation unit for allocating the first area and the second area, and
An instruction unit that determines the content of instructions related to the service based on the designated position indicated by the designated position information, and
To make it work
The indicator
When the designated position indicated by the designated position information moves from the first area to the second area while the position designation on the display screen is continued.
When the moving speed of the designated position indicated by the designated position information satisfies a predetermined speed condition, the instruction relating to the service corresponds to the second region from the first instruction associated with the first region. Change to the attached second instruction,
When the moving speed of the designated position indicated by the designated position information does not satisfy the predetermined speed condition, the instruction relating to the service is maintained in the first instruction.
A program that features that.
JP2019065864A 2019-03-29 2019-03-29 Programs, information processing devices and information processing methods Active JP6961881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019065864A JP6961881B2 (en) 2019-03-29 2019-03-29 Programs, information processing devices and information processing methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019065864A JP6961881B2 (en) 2019-03-29 2019-03-29 Programs, information processing devices and information processing methods

Publications (2)

Publication Number Publication Date
JP2020162840A true JP2020162840A (en) 2020-10-08
JP6961881B2 JP6961881B2 (en) 2021-11-05

Family

ID=72715358

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019065864A Active JP6961881B2 (en) 2019-03-29 2019-03-29 Programs, information processing devices and information processing methods

Country Status (1)

Country Link
JP (1) JP6961881B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015127872A (en) * 2013-12-27 2015-07-09 ソニー株式会社 Controller, control method and program
JP2015167758A (en) * 2014-03-07 2015-09-28 株式会社コナミデジタルエンタテインメント game control device, game system, and program
JP2017119043A (en) * 2015-12-29 2017-07-06 株式会社コナミデジタルエンタテインメント Game control device and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015127872A (en) * 2013-12-27 2015-07-09 ソニー株式会社 Controller, control method and program
JP2015167758A (en) * 2014-03-07 2015-09-28 株式会社コナミデジタルエンタテインメント game control device, game system, and program
JP2017119043A (en) * 2015-12-29 2017-07-06 株式会社コナミデジタルエンタテインメント Game control device and program

Also Published As

Publication number Publication date
JP6961881B2 (en) 2021-11-05

Similar Documents

Publication Publication Date Title
KR101311018B1 (en) Operating touch screen interfaces
KR101400230B1 (en) Three dimensional pointing input apparatus and method thereof
US20130314320A1 (en) Method of controlling three-dimensional virtual cursor by using portable electronic device
JP6206854B2 (en) GAME CONTROL DEVICE AND PROGRAM
JP6856267B2 (en) Programs, information processing devices and information processing methods
TW200928890A (en) Input device, control device, control system, control method, and hand-held device
JP7043166B2 (en) Display control device, display control system and display control method
JP2015018325A (en) Information processor and control method thereof, program, recording medium
US11607606B2 (en) Information processing apparatus, recording medium and information processing method
JP2020064673A (en) User interface
JP6088787B2 (en) Program, information processing apparatus, information processing method, and information processing system
JP6961881B2 (en) Programs, information processing devices and information processing methods
JP6387239B2 (en) Program and server
WO2017163566A1 (en) Program, computer device, program execution method, and system
JP5724422B2 (en) Operation control device, operation control program, and operation control method
JP2017188140A (en) Program, computer device, program execution method, and system
JP6548956B2 (en) SYSTEM, METHOD, AND PROGRAM
JP7210022B2 (en) Program and information processing device
JP6614539B1 (en) Program and information processing apparatus
KR102493667B1 (en) Recording media and information processing devices
JP2019053196A (en) Information processing device, and screen control method
JP6775076B1 (en) Methods, programs, and electronics
WO2023176034A1 (en) Control device and control method
JP6683352B2 (en) Program and information processing device
JPH10334280A (en) Image processing unit and method and program storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200327

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210409

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210914

R150 Certificate of patent or registration of utility model

Ref document number: 6961881

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150