JP7210022B2 - Program and information processing device - Google Patents
Program and information processing device Download PDFInfo
- Publication number
- JP7210022B2 JP7210022B2 JP2019193469A JP2019193469A JP7210022B2 JP 7210022 B2 JP7210022 B2 JP 7210022B2 JP 2019193469 A JP2019193469 A JP 2019193469A JP 2019193469 A JP2019193469 A JP 2019193469A JP 7210022 B2 JP7210022 B2 JP 7210022B2
- Authority
- JP
- Japan
- Prior art keywords
- touch
- input area
- touch position
- input
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本発明は、プログラム、及び、情報処理装置に関する。 The present invention relates to a program and an information processing apparatus.
タッチパネルを用いて、ユーザからの指示の入力を受け付ける機器が普及している(例えば、特許文献1参照)。 2. Description of the Related Art Devices that use a touch panel to accept input of instructions from users have become widespread (see, for example, Patent Document 1).
ところで、タッチパネルの予め定められた位置に、所望の指示を入力するための所定の入力領域が設けられている場合がある。このような場合、ユーザは、タッチパネルの所定の入力領域をタッチすることで、所望の指示を入力することができる。 By the way, there is a case where a predetermined input area for inputting a desired instruction is provided at a predetermined position of the touch panel. In such a case, the user can input a desired instruction by touching a predetermined input area on the touch panel.
しかし、例えば、ユーザが、タッチパネルを見ることなく、所定の入力領域をタッチしようとする場合、または、ユーザが、所定の入力領域を複数回タッチしようとする場合、等において、ユーザのタッチ位置が、所定の入力領域とは異なる位置にずれてしまうことがある。そして、ユーザのタッチ位置が、所定の入力領域からずれてしまう場合、ユーザは、所望の指示を入力できなくなるという問題があった。 However, for example, when the user tries to touch a predetermined input area without looking at the touch panel, or when the user tries to touch a predetermined input area multiple times, the user's touch position is , it may shift to a position different from the predetermined input area. If the user's touch position deviates from the predetermined input area, there is a problem that the user cannot input a desired instruction.
本発明は、上述した事情を鑑みてなされてものであり、タッチパネルへのタッチ位置にずれが生じうる場合であっても、誤った入力がなされる可能性を低減することを可能とする技術の提供を、解決課題の一つとする。 The present invention has been made in view of the circumstances described above, and is a technology that makes it possible to reduce the possibility of erroneous input even when the touch position on the touch panel may be misaligned. Make provision one of the problems to be solved.
以上の課題を解決するために、本発明の一態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1入力領域に存在し、前記タッチ位置に関連する第1条件を満たす場合に、前記タッチ位置に基づく位置を、第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2入力領域に存在し、前記タッチ位置に関連する第2条件を満たす場合に、前記タッチ位置に基づく位置を、第2の位置として特定する特定部と、前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、して機能させる、ことを特徴とする。 To solve the above problems, a program according to an aspect of the present invention comprises a processor, an acquisition unit that acquires touch position information indicating a touch position on a touch panel, and a touch period during which a touch on the touch panel continues. wherein the touch position indicated by the touch position information acquired by the acquisition unit exists in a first input area for inputting an instruction of a first operation direction related to the game, and a first condition related to the touch position is satisfied. If the above conditions are satisfied, a position based on the touch position is specified as a first position, and the touch position indicated by the touch position information acquired by the acquisition unit during the touch period is the second operation direction related to the game. a specifying unit that specifies a position based on the touch position as a second position when it exists in a second input area for inputting an instruction and satisfies a second condition related to the touch position; and a determination unit that determines the positions of the first input area and the second input area based on the first position and the second position specified by.
以下、本発明を実施するための形態について図面を参照して説明する。なお、各図において、各部の寸法及び縮尺は、実際のものと適宜に異ならせてある。また、以下に述べる実施の形態は、本発明の好適な具体例であるから、技術的に好ましい種々の限定が付されているが、本発明の範囲は、以下の説明において特に本発明を限定する旨の記載がない限り、これらの形態に限られるものではない。 BEST MODE FOR CARRYING OUT THE INVENTION 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. In addition, since the embodiments described below are preferred specific examples of the present invention, they are subject to various technically preferable limitations. It is not limited to these forms unless stated otherwise.
[A.実施形態]
以下、本発明の実施形態を説明する。
[A. embodiment]
Embodiments of the present invention will be described below.
[1.端末装置の概要]
以下、図1乃至図4を参照しながら、本実施形態に係る端末装置10の概要の一例について説明する。
[1. Overview of terminal device]
An example of the overview of the
図1乃至図4は、端末装置10の外観の一例を説明するための説明図である。端末装置10は、例えば、スマートフォン、タブレット端末、または、携帯用のゲーム装置等の、可搬型の情報処理装置である。但し、端末装置10は、例えば、業務用のゲーム装置、または、デスクトップ型のパーソナルコンピュータ等の、据置型の情報処理装置であってもよい。
1 to 4 are explanatory diagrams for explaining an example of the appearance of the
図1乃至図4に示すように、端末装置10は、タッチパネル1002を備える。タッチパネル1002は、各種画像を表示可能な表示部12として機能する(図5参照)。また、タッチパネル1002は、端末装置10のユーザUからの指示の入力を受け付ける入力部13として機能する(図5参照)。具体的には、タッチパネル1002は、タッチパネル1002に対して物体が接触している場合に、当該物体のタッチパネル1002における接触位置であるタッチ位置Pを検出し、検出したタッチ位置Pを示すタッチ位置情報を周期的に出力する。
なお、以下では、タッチパネル1002に対して接触する物体が、ユーザUの指FGである場合を、一例として想定する。
As shown in FIGS. 1 to 4, the
In addition, below, the case where the object which touches the
本実施形態では、説明の便宜上、図1乃至図4に示すように、タッチパネル1002に固定された座標系であるタッチパネル座標系ΣDを導入する。具体的には、タッチパネル座標系ΣDとは、例えば、タッチパネル1002の所定箇所に固定された原点ODを有し、互いに直交するXD軸及びYD軸を有する2軸の直交座標系である。
In this embodiment, for convenience of explanation, as shown in FIGS. 1 to 4, a touch panel coordinate system ΣD, which is a coordinate system fixed to the
本実施形態において、端末装置10は、所定のゲームに係るプログラム(「プログラム」の一例)を実行することで、タッチパネル1002に対して所定のゲームに係る画像を表示する。具体的には、端末装置10が所定のゲームを実行する場合、端末装置10は、一例として、図1に示すように、タッチパネル1002に対して、所定のゲームに係る仮想空間SPと、当該仮想空間SPに存在する所定のゲームに係るキャラクタCRと、を表示する。
In this embodiment, the
本実施形態において、端末装置10は、図2に示すように、ユーザUの指FGが、タッチパネル1002に対して接触していない状態から、接触している状態に変化した場合、タッチパネル1002における指FGのタッチ位置Pを基準位置OVとして設定し、当該基準位置OVに基づく位置に対して操作領域Vを設定する。操作領域Vとは、所謂バーチャルパッドであり、ユーザUによるキャラクタCRの操作に係る入力を受け付けるための領域である。
なお、本実施形態では、図2に示すように、操作領域Vが、基準位置OVを中心とする半径rの円BdRの内側の領域である場合を、一例として想定する。また、本実施形態では、操作領域Vが、タッチパネル1002において、ユーザUに視認可能な態様で表示される場合を、一例として想定する。但し、操作領域Vは、タッチパネル1002において、ユーザUに視認されないように設けられた仮想的な領域であってもよい。
以下では、ユーザUの指FGが、タッチパネル1002に対して接触していない状態から、接触している状態に変化することを、「タッチイン」と称する。
In the present embodiment, as shown in FIG. 2, the
In this embodiment, as shown in FIG. 2, it is assumed as an example that the operation area V is an area inside a circle BdR centered at the reference position OV and having a radius r. Further, in the present embodiment, as an example, it is assumed that the operation area V is displayed on the
Hereinafter, a change from a state in which the finger FG of the user U is not in contact with the
本実施形態において、端末装置10は、ユーザUの指FGがタッチパネル1002に対する接触を維持している期間であるタッチ期間TVにおいて、タッチパネル1002において操作領域Vが設定された状態を維持する。そして、端末装置10は、ユーザUの指FGがタッチパネル1002に対して接触している状態から、接触していない状態に変化した場合、タッチパネル1002に設定されていた操作領域Vを消滅させる。
In the present embodiment, the
図2に示すように、本実施形態では、操作領域Vが、4個の入力領域R[1]~R[4]を含む場合を、一例として想定する。また、本実施形態では、入力領域R[m]が、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向の指示を入力するための領域である場合を、一例として想定する(mは、1≦m≦4を満たす自然数)。但し、入力領域R[m]は、仮想空間SPにおけるキャラクタCRの顔が向く方向の指示を入力するための領域であってもよい。なお、本実施形態において、キャラクタCRの顔が向く方向とは、「ゲームに係る操作方向」の一例である。 As shown in FIG. 2, in this embodiment, it is assumed as an example that the operation area V includes four input areas R[1] to R[4]. Further, in the present embodiment, as an example, it is assumed that the input area R[m] is an area for inputting an instruction of the direction in which the face of the character CR in the touch panel coordinate system ΣD (m is 1≦ a natural number that satisfies m≤4). However, the input area R[m] may be an area for inputting an instruction of the direction in which the face of the character CR faces in the virtual space SP. In this embodiment, the direction in which the face of the character CR faces is an example of the "operation direction related to the game".
以下では、説明の便宜上、基準位置OVを原点とする座標系である操作領域座標系ΣVを導入する。具体的には、操作領域座標系ΣVとは、例えば、基準位置OVを原点とし、互いに直交するXV軸及びYV軸を有する2軸の直交座標系である。本実施形態では、XV軸とXD軸とが平行であり、且つ、YV軸とYD軸とが平行である場合を、一例として想定する。但し、XV軸がXD軸とは異なる向きを有し、YV軸がYD軸とは異なる向きを有していてもよい。なお、XV軸のうち基準位置OVよりも+XV側の部分は「第1基準線」の一例であり、XV軸のうち基準位置OVよりも-XV側の部分は「第2基準線」の一例である。 In the following, for convenience of explanation, an operation area coordinate system .SIGMA.V, which is a coordinate system whose origin is the reference position OV, will be introduced. Specifically, the operation area coordinate system ΣV is, for example, a two-axis orthogonal coordinate system having the reference position OV as the origin and XV and YV axes orthogonal to each other. In this embodiment, as an example, it is assumed that the XV axis and the XD axis are parallel and the YV axis and the YD axis are parallel. However, the XV axis may have a different orientation from the XD axis, and the YV axis may have a different orientation from the YD axis. The portion of the XV axis on the +XV side of the reference position OV is an example of the "first reference line", and the portion of the XV axis on the -XV side of the reference position OV is an example of the "second reference line". is.
本実施形態において、端末装置10は、一例として、図2に示すように、入力領域R[1]を、基準位置OVよりも+XV方向(「第1の方向」の一例)に位置する領域として設定し、入力領域R[2]を、基準位置OVよりも-XV方向(「第2の方向」の一例)に位置する領域として設定し、入力領域R[3]を、基準位置OVよりも+YV方向(「第3の方向」の一例)に位置する領域として設定し、入力領域R[4]を、基準位置OVよりも-YV方向(「第3の方向」の他の例)に位置する領域として設定する。
より具体的には、本実施形態において、端末装置10は、入力領域R[1]を、基準位置OVを起点とし、+XV方向を-YV側に角度θ(「第1の角度」の一例)だけ傾けた方向に延在する線分Bd[1][4]と、基準位置OVを起点とし、+XV方向を+YV側に角度θだけ傾けた方向に延在する線分Bd[1][3]と、円BdRと、の間の扇形の領域として設定する。また、端末装置10は、入力領域R[2]を、基準位置OVを起点とし、-XV方向を-YV側に角度θ(「第2の角度」の一例)だけ傾けた方向に延在する線分Bd[2][4]と、基準位置OVを起点とし、-XV方向を+YV側に角度θだけ傾けた方向に延在する線分Bd[2][3]と、円BdRと、の間の扇形の領域として設定する。また、端末装置10は、入力領域R[3]を、線分Bd[1][3]と線分Bd[2][3]と円BdRとの間の扇形の領域として設定する。また、端末装置10は、入力領域R[4]を、線分Bd[1][4]と線分Bd[2][4]と円BdRとの間の扇形の領域として設定する。
なお、本実施形態では、一例として、角度θが、45度である場合を想定する。但し、角度θは、0度よりも大きく、且つ、90度よりも小さい角度であればよい。また、本実施形態では、第1の角度及び第2の角度が等しい角度であるが、第1の角度及び第2の角度は異なる角度であってもよい。
In the present embodiment, as an example, the
More specifically, in the present embodiment, the
In addition, in this embodiment, as an example, it is assumed that the angle θ is 45 degrees. However, the angle θ may be any angle larger than 0 degrees and smaller than 90 degrees. Also, in the present embodiment, the first angle and the second angle are the same angle, but the first angle and the second angle may be different angles.
ユーザUは、タッチインの後、例えば、指FGがタッチパネル1002に接触した状態を維持しつつ指FGを傾けることで、操作領域Vのうち、入力領域R[1]~R[4]の何れかの領域にタッチすることができる。そして、端末装置10は、指FGのタッチ位置Pが入力領域R[m]に存在する場合、キャラクタCRの顔を、タッチパネル座標系ΣDにおける方向であって、入力領域R[m]に対応する方向に向ける旨の指示を受け付ける。
具体的には、本実施形態において、端末装置10は、図3に示すように、タッチ位置Pが入力領域R[1](「第1入力領域」の一例)に存在する場合、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、+XD方向(「第1の操作方向」の一例)とする旨の指示を受け付ける。また、本実施形態において、端末装置10は、図4に示すように、タッチ位置Pが入力領域R[2](「第2入力領域」の一例)に存在する場合、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、-XD方向(「第2の操作方向」の一例)とする旨の指示を受け付ける。また、本実施形態において、端末装置10は、タッチ位置Pが入力領域R[3](「第3入力領域」の一例)に存在する場合、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、+YD方向(「第3の操作方向」の一例)とする旨の指示を受け付ける。また、本実施形態において、端末装置10は、タッチ位置Pが入力領域R[4](「第3入力領域」の他の例)に存在する場合、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、-YD方向(「第3の操作方向」の他の例)とする旨の指示を受け付ける。
なお、以下では、タッチ位置Pが入力領域R[m]に存在している状態が継続する期間を、入力領域タッチ期間TR[m]と称する。
After the touch-in, the user U tilts the finger FG while keeping the finger FG in contact with the
Specifically, in the present embodiment, as shown in FIG. 3, when the touch position P exists in the input region R[1] (an example of the “first input region”), the
Note that, hereinafter, a period during which the touch position P remains in the input area R[m] is referred to as an input area touch period TR[m].
なお、詳細は後述するが、本実施形態に係る端末装置10は、入力領域R[1]に存在するタッチ位置Pに基づいて、特徴位置P-R[1](「第1の位置」の一例)を特定し、入力領域R[2]に存在するタッチ位置Pに基づいて、特徴位置P-R[2](「第2の位置」の一例)を特定する。そして、端末装置10は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、タッチパネル座標系ΣDにおける操作領域Vの位置を修正することができる。すなわち、端末装置10は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、タッチパネル座標系ΣDにおける基準位置OVを修正することで、タッチパネル座標系ΣDから見た操作領域座標系ΣVの位置を修正する。
Although the details will be described later, the
[2.端末装置の構成]
以下、図5及び図6を参照しながら、端末装置10の構成の一例について説明する。
[2. Configuration of terminal device]
An example of the configuration of the
図5は、端末装置10の構成の一例を示す機能ブロック図である。
FIG. 5 is a functional block diagram showing an example of the configuration of the
図5に示すように、端末装置10は、端末装置10の各部を制御する制御部11と、画像を表示するための表示部12と、端末装置10のユーザによる指示の入力を受け付ける入力部13と、各種情報を記憶する記憶部14と、タッチパネル1002を含む端末装置10を振動させる振動発生部15と、を備える。
As shown in FIG. 5, the
記憶部14は、所定のゲームに係るプログラムと、タッチパネル1002から周期的に出力されるタッチ位置情報の示すタッチ位置Pの、タッチ期間TVに亘る履歴を示すタッチ位置履歴情報と、特徴位置P-R[m]を示す特徴位置情報と、タッチパネル座標系ΣDにおける入力領域R[m]の位置を示す入力領域情報と、を含む各種情報を記憶する。
The
制御部11は、ゲーム制御部111と、表示制御部112と、タッチ位置情報取得部113と、特徴位置特定部114と、入力領域決定部115と、振動制御部116と、を備える。
ゲーム制御部111は、所定のゲームの進行を制御する。具体的には、ゲーム制御部111は、タッチ位置Pが入力領域R[m]に存在する場合に、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、入力領域R[m]に対応する方向に設定する。
表示制御部112は、表示部12が、仮想空間SP、キャラクタCR、及び、操作領域Vを表示するように、表示部12を制御する。
タッチ位置情報取得部113(「取得部」の一例)は、入力部13から周期的に出力されるタッチ位置情報を取得する。
特徴位置特定部114(「特定部」の一例)は、入力領域タッチ期間TR[m]において入力領域R[m]に存在するタッチ位置Pに基づいて、特徴位置P-R[m]を特定する。
入力領域決定部115(「決定部」の一例)は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、タッチパネル1002における操作領域Vの位置を決定する。
振動制御部116は、タッチ位置Pが、入力領域R[m]に存在しない状態から、入力領域R[m]に存在する状態に変化した場合、振動発生部15が端末装置10を振動させるように、振動発生部15を制御する。但し、振動制御部116は、タッチ位置Pが、入力領域R[m]に存在する状態から、入力領域R[m]に存在しない状態に変化した場合に、振動発生部15が端末装置10を振動させるように、振動発生部15を制御してもよいし、タッチインが生じた場合に、振動発生部15が端末装置10を振動させるように、振動発生部15を制御してもよい。
The
The
The touch position information acquisition unit 113 (an example of an “acquisition unit”) acquires touch position information periodically output from the
The characteristic position identifying unit 114 (an example of the “identifying unit”) identifies the characteristic position PR[m] based on the touch position P existing in the input region R[m] during the input region touch period TR[m]. do.
The input area determination unit 115 (an example of the “determination unit”) determines the position of the operation area V on the
The
図6は、端末装置10のハードウェア構成の一例を示すハードウェア構成図である。
FIG. 6 is a hardware configuration diagram showing an example of the hardware configuration of the
図6に示すように、端末装置10は、端末装置10の各部を制御するプロセッサ1000(「情報処理装置」の一例)と、各種情報を記憶するメモリ1001と、タッチパネル1002と、振動発生装置1003と、を備える。
As shown in FIG. 6, the
メモリ1001は、例えば、プロセッサ1000の作業領域として機能するRAM(Random Access Memory)等の揮発性メモリと、所定のゲームに係るプログラム等の各種情報を記憶するEEPROM(Electrically Erasable Programmable Read-Only Memory)等の不揮発性メモリとを含み、記憶部14として機能する。
プロセッサ1000は、例えば、CPU(Central Processing Unit)であり、メモリ1001に記憶された所定のゲームに係るプログラムを実行し、当該プログラムに従って動作することで、制御部11として機能する。
タッチパネル1002は、上述のとおり、表示部12及び入力部13として機能する。
振動発生装置1003は、例えば、振動を発生する振動モータであり、振動発生部15として機能する。
The
The
The
The
なお、プロセッサ1000は、CPUに加え、または、CPUに替えて、GPU(Graphics Processing Unit)、DSP(Digital Signal Processor)、または、FPGA(Field Programmable Gate Array)、等の、ハードウェアを含んで構成されるものであってもよい。この場合、プロセッサ1000により実現される制御部11の一部または全部は、DSP等のハードウェアにより実現されてもよい。
Note that the
[3.タッチ位置及び操作領域の関係]
以下、図7~図10を参照しながら、タッチパネル1002における指FGのタッチ位置P及び操作領域Vの関係の一例について説明する。
[3. Relationship between touch position and operation area]
An example of the relationship between the touch position P of the finger FG and the operation area V on the
図7~図10は、時刻t1から時刻t10までの期間における、タッチパネル1002への指FGのタッチ位置Pと、タッチパネル1002に設定された操作領域Vとの、関係の変化の一例(以下、「タッチ位置変化例」と称する)を説明するための説明図である。なお、以下では、時刻tにおけるタッチ位置Pをタッチ位置P[t]と称し、時刻tにおける操作領域Vを操作領域V[t]と称し、時刻tにおける操作領域座標系ΣVを操作領域座標系ΣV[t]と称し、時刻tにおける基準位置OVを基準位置OV[t]と称する。
7 to 10 show an example of changes in the relationship between the touch position P of the finger FG on the
図7に示すように、タッチ位置変化例では、時刻t1において、指FGがタッチ位置P[t1]にタッチインする場合を想定する。すなわち、タッチ位置変化例では、時刻t1から、タッチ期間TVが開始される。この場合、入力領域決定部115は、タッチ位置P[t1]を基準位置OV[t1]とする操作領域座標系ΣV[t1]を設定し、基準位置OV[t1]に応じた位置に、入力領域R[1]~R[4]を含む操作領域V[t1]を設定する。
なお、入力領域決定部115は、操作領域Vを設定した場合、当該操作領域Vに含まれる入力領域R[m]の位置を、入力領域情報として記憶部14に記憶させる。
As shown in FIG. 7, in the touch position change example, it is assumed that the finger FG touches the touch position P[t1] at time t1. That is, in the touch position change example, the touch period TV starts from time t1. In this case, the input
Note that when the operation area V is set, the input
図7に示すように、タッチ位置変化例では、時刻t1から時刻t2にかけて、指FGが、入力領域R[1]を、タッチ位置P[t1]からタッチ位置P[t2]へと、タッチパネル1002に接触しながら移動する場合を想定する。また、タッチ位置変化例では、時刻t2におけるタッチ位置P[t2]が、入力領域R[1]に存在する場合を想定する。すなわち、タッチ位置変化例では、時刻t1及び時刻t2の間の時刻において、タッチ位置Pが入力領域R[1]に侵入する。換言すれば、タッチ位置変化例では、時刻t1及び時刻t2の間の時刻から、入力領域タッチ期間TR[1](「第1タッチ期間」の一例)が開始される。 As shown in FIG. 7, in the touch position change example, the finger FG moves the input region R[1] from the touch position P[t1] to the touch position P[t2] from the time t1 to the time t2. Assume the case of moving while contacting the . Also, in the touch position change example, it is assumed that the touch position P[t2] at time t2 exists in the input region R[1]. That is, in the touch position change example, the touch position P enters the input region R[1] at the time between time t1 and time t2. In other words, in the touch position change example, the input region touch period TR[1] (an example of the "first touch period") starts from the time between time t1 and time t2.
本実施形態において、特徴位置特定部114は、入力領域タッチ期間TR[1]のうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[1]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も+XV側に位置するという条件(「第1条件」の一例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[1]として特定する。換言すれば、本実施形態において、特徴位置特定部114は、入力領域タッチ期間TR[1]の中で、タッチ位置Pが、基準位置OVから+XV方向に対して最も離れた位置であるという条件を充足する場合に、当該タッチ位置Pを、特徴位置P-R[1]として特定する。
タッチ位置変化例では、時刻t1から時刻t2までの期間におけるタッチ位置Pの中で、タッチ位置P[t2]が、基準位置OVから+XV方向に対して最も離れた位置である場合を想定する。このため、タッチ位置変化例において、特徴位置特定部114は、時刻t2において、タッチ位置P[t2]を、特徴位置P-R[1]として特定する。
In the present embodiment, the characteristic
In the touch position change example, it is assumed that among the touch positions P in the period from time t1 to time t2, the touch position P[t2] is the farthest position in the +XV direction from the reference position OV. Therefore, in the touch position change example, the characteristic
なお、上述のとおり、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、操作領域座標系ΣV、基準位置OV、及び、操作領域Vの位置を修正する。しかし、図7に示すように、タッチ位置変化例では、時刻t2において、特徴位置P-R[1]は特定されているが、特徴位置P-R[2]は特定されていない。このため、タッチ位置変化例において、入力領域決定部115は、操作領域V[t2]と操作領域V[t1]とが同一の位置となるように、基準位置OV[t2]及び操作領域座標系ΣV[t2]を設定する。
Note that, as described above, the input
図7に示すように、タッチ位置変化例では、時刻t2から時刻t3にかけて、指FGが、入力領域R[1]を、タッチ位置P[t2]からタッチ位置P[t3]へと、タッチパネル1002に接触しながら移動する場合を想定する。そして、タッチ位置変化例では、時刻t3におけるタッチ位置P[t3]が、入力領域R[1]のうち、タッチ位置P[t2]よりも-XV側に存在する場合を想定する。すなわち、タッチ位置変化例において、タッチ位置P[t2]は、タッチ位置P[t3]よりも+XV側である。このため、タッチ位置変化例において、特徴位置特定部114は、時刻t3においても、タッチ位置P[t2]が特徴位置P-R[1]として特定されている状態を維持する。
なお、タッチ位置変化例では、時刻t3においても、特徴位置P-R[2]が特定されていない。このため、タッチ位置変化例において、入力領域決定部115は、操作領域V[t3]と操作領域V[t2]とが同一の位置となるように、基準位置OV[t3]及び操作領域座標系ΣV[t3]を設定する。
As shown in FIG. 7, in the touch position change example, the finger FG moves the input region R[1] from the touch position P[t2] to the touch position P[t3] from the time t2 to the time t3. Assume the case of moving while contacting the . In the touch position change example, it is assumed that the touch position P[t3] at time t3 is on the -XV side of the touch position P[t2] in the input area R[1]. That is, in the touch position change example, the touch position P[t2] is on the +XV side of the touch position P[t3]. Therefore, in the touch position change example, the characteristic
Note that in the touch position change example, the characteristic position P-R[2] is not identified even at time t3. Therefore, in the touch position change example, the input
図8に示すように、タッチ位置変化例では、時刻t3から時刻t4にかけて、指FGが、入力領域R[1]を、タッチ位置P[t3]からタッチ位置P[t4]へと、タッチパネル1002に接触しながら移動する場合を想定する。そして、タッチ位置変化例では、時刻t4におけるタッチ位置P[t4]が、入力領域R[1]のうち、タッチ位置P[t2]及びタッチ位置P[t3]よりも+XV側に存在する場合を想定する。このため、タッチ位置変化例において、特徴位置特定部114は、時刻t4において、タッチ位置P[t4]を、特徴位置P-R[1]として特定する。換言すれば、タッチ位置変化例において、特徴位置特定部114は、時刻t4において、特徴位置P-R[1]を、タッチ位置P[t2]からタッチ位置P[t4]に更新する。
なお、タッチ位置変化例では、時刻t4においても、特徴位置P-R[2]が特定されていない。このため、タッチ位置変化例において、入力領域決定部115は、操作領域V[t4]と操作領域V[t3]とが同一の位置となるように、基準位置OV[t4]及び操作領域座標系ΣV[t4]を設定する。
As shown in FIG. 8, in the touch position change example, the finger FG moves the input region R[1] from the touch position P[t3] to the touch position P[t4] from the time t3 to the time t4. Assume the case of moving while contacting the . In the touch position change example, the touch position P[t4] at time t4 is located on the +XV side of the touch positions P[t2] and P[t3] in the input area R[1]. Suppose. Therefore, in the touch position change example, the characteristic
Note that in the touch position change example, the characteristic position P-R[2] is not specified even at time t4. Therefore, in the touch position change example, the input
図8に示すように、タッチ位置変化例では、時刻t4から時刻t5にかけて、指FGが、入力領域R[1]及び入力領域R[4]を、タッチ位置P[t4]からタッチ位置P[t5]へと、タッチパネル1002に接触しながら移動する場合を想定する。そして、タッチ位置変化例では、時刻t5において、タッチ位置Pが入力領域R[2]に侵入する場合を想定する。すなわち、タッチ位置変化例では、時刻t4から時刻t5の間の時刻に入力領域タッチ期間TR[1]が終了し、且つ、時刻t5から入力領域タッチ期間TR[2](「第2タッチ期間」の一例)が開始される。
As shown in FIG. 8, in the touch position change example, from time t4 to time t5, the finger FG moves the input region R[1] and the input region R[4] from the touch position P[t4] to the touch position P[ t5] while touching the
本実施形態において、特徴位置特定部114は、入力領域タッチ期間TR[2]のうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[2]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も-XV側に位置するという条件(「第2条件」の一例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[2]として特定する。換言すれば、本実施形態において、特徴位置特定部114は、入力領域タッチ期間TR[2]の中で、タッチ位置Pが、基準位置OVから-XV方向に対して最も離れた位置であるという条件を充足する場合に、当該タッチ位置Pを、特徴位置P-R[2]として特定する。なお、以下では、第1条件及び第2条件を、特徴位置特定条件と総称する場合がある。
タッチ位置変化例では、時刻t5において入力領域タッチ期間TR[2]が開始される場合を想定する。つまり、タッチ位置変化例において、入力領域タッチ期間TR[2]が開始されてから時刻t5までの期間におけるタッチ位置Pの中で、タッチ位置P[t5]が、基準位置OVから-XV方向に対して最も離れた位置となる。このため、タッチ位置変化例において、特徴位置特定部114は、時刻t5において、タッチ位置P[t5]を、特徴位置P-R[2]として特定する。
In the present embodiment, the characteristic
In the touch position change example, it is assumed that the input region touch period TR[2] starts at time t5. That is, in the touch position change example, the touch position P[t5] is shifted from the reference position OV in the -X direction to It is the furthest position. Therefore, in the touch position change example, the characteristic
ところで、タッチ位置Pが入力領域R[m]から入力領域R[m]の外部へと移動した後に、再び、タッチ位置Pが入力領域R[m]に侵入する場合がある。すなわち、タッチ位置Pが入力領域R[m]に存在する一の入力領域タッチ期間TR[m]の終了後に、再び、タッチ位置Pが入力領域R[m]に存在する他の入力領域タッチ期間TR[m]が開始される場合がある。この場合、特徴位置特定部114は、一の入力領域タッチ期間TR[m]の終了後から他の入力領域タッチ期間TR[m]が開始されるまでの期間において、一の入力領域タッチ期間TR[m]の終了時における特徴位置P-R[m]の特定結果を維持する。そして、この場合、特徴位置特定部114は、他の入力領域タッチ期間TR[m]が開始されると、一の入力領域タッチ期間TR[m]の終了時における特徴位置P-R[m]の特定結果を破棄するとともに、他の入力領域タッチ期間TR[m]において新たに特徴位置P-R[m]を特定する。
より具体的には、特徴位置特定部114は、一の入力領域タッチ期間TR[m]において、特徴位置P-R[m]を特定すると、当該特定した特徴位置P-R[m]を特徴位置情報として記憶部14に記憶させる。そして、特徴位置特定部114は、他の入力領域タッチ期間TR[m]において、特徴位置P-R[m]を特定すると、当該特定した特徴位置P-R[m]により、特徴位置情報を更新する。
By the way, after the touch position P moves from the input region R[m] to the outside of the input region R[m], the touch position P may enter the input region R[m] again. That is, after the end of one input region touch period TR[m] in which the touch position P exists in the input region R[m], another input region touch period in which the touch position P exists in the input region R[m] again. TR[m] may be started. In this case, the characteristic
More specifically, when the feature
タッチ位置変化例では、特徴位置特定部114が、入力領域タッチ期間TR[1]の終了時において、時刻t4におけるタッチ位置P[t4]を、特徴位置P-R[1]として特定している場合を想定する。このため、タッチ位置変化例において、特徴位置特定部114は、図8に示すように、入力領域タッチ期間TR[1]が終了した後の時刻t5においても、タッチ位置P[t4]を、特徴位置P-R[1]として特定している状態を維持する。
In the touch position change example, the characteristic
本実施形態において、入力領域決定部115は、上述のとおり、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて操作領域Vの位置を修正する。
具体的には、本実施形態において、入力領域決定部115は、まず、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて補正位置Mdを定める。次に、入力領域決定部115は、基準位置OVを起点とし、補正位置Mdを終点とする操作領域移動ベクトルVmdを定める。そして、入力領域決定部115は、基準位置OV、操作領域座標系ΣV、及び、操作領域Vを、操作領域移動ベクトルVmdに対応する移動量だけ移動させる。これにより、入力領域決定部115は、補正位置Md及び基準位置OVが一致するように、タッチパネル座標系ΣDにおける基準位置OV、操作領域座標系ΣV、及び、操作領域Vの位置を修正することができる。なお、入力領域決定部115は、操作領域Vの位置を修正した場合、当該操作領域Vに含まれる入力領域R[m]の位置により、記憶部14に記憶されている入力領域情報を更新する。以下では、時刻tにおいて定められた操作領域移動ベクトルVmdを、操作領域移動ベクトルVmd[t]と称する。
なお、本実施形態では、入力領域決定部115が、基準位置OVを操作領域移動ベクトルVmdに対応する移動量だけ移動させることで、基準位置OVを修正する場合を例示しているが、本発明はこのような態様に限定されるものではない。入力領域決定部115は、単に、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて定めた補正位置Mdを、基準位置OVとして設定してもよい。換言すれば、入力領域決定部115は、例えば、一の時刻において補正位置Mdを決定した場合に、当該一の時刻における基準位置OVを考慮することなく、決定した補正位置Mdに基づいて、一の時刻よりも後の他の時刻における基準位置OVを決定してもよい。
In the present embodiment, the input
Specifically, in the present embodiment, the input
In this embodiment, the input
本実施形態において、入力領域決定部115は、一例として、特徴位置P-R[1]に存在する点と特徴位置P-R[2]に存在する点との中点の位置を、補正位置Mdとして定める。
但し、入力領域決定部115は、例えば、特徴位置P-R[1]及び特徴位置P-R[2]の間の位置を、補正位置Mdとして定めてもよいし、特徴位置P-R[1]及び特徴位置P-R[2]から等しい距離となる位置を、補正位置Mdとして定めてもよい。要するに、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]により規定される位置を、補正位置Mdとして定めればよい。
例えば、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]を結ぶ線分からの距離が所定の基準距離以下となる基準領域内の位置を、補正位置Mdとして定めてもよい。
また、例えば、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]のうち先に特定された特徴位置P-R[m]を、先行特徴位置と称し、特徴位置P-R[1]及び特徴位置P-R[2]のうち後に特定された特徴位置P-R[m]を、後行特徴位置と称する場合、先行特徴位置よりも後行特徴位置に近い位置を、補正位置Mdとして定めてもよい。この例によれば、補正位置Mdが、指FGによる最新のタッチ位置Pの近傍に設けられるため、補正位置Mdが後行特徴位置よりも先行特徴位置に近い位置に設定される場合と比較して、タッチ位置Pを、後行特徴位置に対応する入力領域Rから、先行特徴位置に対応する入力領域Rに変化させる際の指FGの移動量を小さくすることが可能となる。すなわち、この例によれば、補正位置Mdが後行特徴位置よりも先行特徴位置に近い位置に設定される場合と比較して、タッチ位置Pが入力領域R[1]及び入力領域R[2]の間を往復するように指FGを移動させる操作における操作性を、より良好に保つことが可能となる。
また、例えば、入力領域決定部115は、基準領域のうち、先行特徴位置よりも後行特徴位置に近い位置を、補正位置Mdとして定めてもよい。この例によれば、タッチ位置Pが入力領域R[1]及び入力領域R[2]の間を往復するように指FGを移動させる操作における操作性を、良好に保つことが可能となる。
また、例えば、入力領域決定部115は、基準領域内であって、先行特徴位置よりも後行特徴位置に近い位置のうち、後行特徴位置との間隔が所定の基準間隔以上、離間する位置を、補正位置Mdとして定めてもよい。仮に、補正位置Mdと後行特徴位置との間隔が所定の基準間隔未満となる場合、後行特徴位置に対応する入力領域Rに存在する最新のタッチ位置Pと、先行特徴位置に対応する入力領域Rとの間隔も、所定の基準間隔未満となる。そして、補正位置Mdと後行特徴位置との間隔が所定の基準間隔未満となる場合、ユーザUが、後行特徴位置に対応する入力領域Rに指FGをタッチさせようとしたのにもかかわらず、先行特徴位置に対応する入力領域Rに指FGを誤ってタッチしてしまうという、誤操作が生じる可能性が高くなる。これに対して、この例によれば、補正位置Mdが、後行特徴位置から所定の基準間隔以上離間した位置に設けられるため、後行特徴位置に対応する入力領域Rに存在する最新のタッチ位置Pと、先行特徴位置に対応する入力領域Rとの間隔とを、所定の基準間隔以上離間させることができる。このため、この例によれば、補正位置Mdと後行特徴位置との間隔が所定の基準間隔未満となる場合と比較して、ユーザUの意図する入力領域Rとは異なる入力領域Rに誤って指FGをタッチさせてしまうという誤操作が生じる可能性を、低減させることが可能となる。
また、例えば、入力領域決定部115は、先行特徴位置よりも後行特徴位置に近い位置のうち、後行特徴位置との間隔が所定の基準間隔以上、離間する位置を、補正位置Mdとして定めてもよい。この例によれば、補正位置Mdと後行特徴位置との間隔が所定の基準間隔未満となる場合と比較して、ユーザUの意図する入力領域Rとは異なる入力領域Rに誤って指FGをタッチさせてしまうという誤操作が生じる可能性を、低減させることが可能となる。
また、例えば、入力領域決定部115は、基準領域内であって、先行特徴位置よりも後行特徴位置に近い位置のうち、特徴位置P-R[1]及び特徴位置P-R[2]の間の距離に対する、補正位置Md及び後行特徴位置の間の距離の比率が、所定値α以上となるように、補正位置Mdを定めてもよい(αは、「0<α<1」を満たす自然数)。この例によれば、特徴位置P-R[1]及び特徴位置P-R[2]の間の距離に対する補正位置Md及び後行特徴位置の間の距離の比率が所定値α未満の場合と比較して、ユーザUの意図する入力領域Rとは異なる入力領域Rに誤って指FGをタッチさせてしまうという誤操作が生じる可能性を、低減させることが可能となる。
また、例えば、入力領域決定部115は、先行特徴位置よりも後行特徴位置に近い位置のうち、特徴位置P-R[1]及び特徴位置P-R[2]の間の距離に対する、補正位置Md及び後行特徴位置の間の距離の比率が、所定値α以上となるように、補正位置Mdを定めてもよい。この例によれば、特徴位置P-R[1]及び特徴位置P-R[2]の間の距離に対する補正位置Md及び後行特徴位置の間の距離の比率が所定値α未満の場合と比較して、ユーザUの意図する入力領域Rとは異なる入力領域Rに誤って指FGをタッチさせてしまうという誤操作が生じる可能性を、低減させることが可能となる。
なお、以下では、入力領域決定部115が時刻tにおいて定めた補正位置Mdを、補正位置Md[t]と称する。
In this embodiment, as an example, the input
However, the input
For example, the input
Further, for example, the input
Further, for example, the input
Further, for example, the input
Further, for example, the input
Further, for example, the input
In addition, for example, the input
Note that the corrected position Md determined at time t by the input
タッチ位置変化例において、入力領域決定部115は、図8に示すように、時刻t5において、特徴位置P-R[1]及び特徴位置P-R[2]の中点を、補正位置Md[t5]として定める。また、入力領域決定部115は、基準位置OV[t5]を起点とし、補正位置Md[t5]を終点とする操作領域移動ベクトルVmd[t5]を定める。
そして、入力領域決定部115は、時刻t6において、操作領域移動ベクトルVmd[t5]の起点を基準位置OV[t5]に設定した場合における、操作領域移動ベクトルVmd[t5]の終点の位置を、基準位置OV[t6]として定め、当該基準位置OV[t6]が原点となるように、操作領域座標系ΣV[t6]を設定する。また、入力領域決定部115は、時刻t6において、当該操作領域座標系ΣV[t6]に応じた位置に、操作領域V[t6]を設定する。なお、変化例では、時刻t6は、時刻t5よりも後の時刻であるが、時刻t6は、時刻t5と同一の時刻であってもよい。
In the touch position change example, as shown in FIG. 8, at time t5, the input
Then, at time t6, input
図9に示すように、タッチ位置変化例では、時刻t6から時刻t7にかけて、指FGが、入力領域R[2]を、タッチ位置P[t5]からタッチ位置P[t7]へと、タッチパネル1002に接触しながら移動する場合を想定する。そして、タッチ位置変化例では、時刻t7におけるタッチ位置P[t7]が、入力領域R[2]のうち、タッチ位置P[t5]よりも-XV側に存在する場合を想定する。このため、タッチ位置変化例において、特徴位置特定部114は、時刻t7において、タッチ位置P[t7]を、特徴位置P-R[2]として特定する。換言すれば、タッチ位置変化例において、特徴位置特定部114は、時刻t7において、特徴位置P-R[2]を、タッチ位置P[t5]からタッチ位置P[t7]に更新する。
As shown in FIG. 9, in the touch position change example, the finger FG moves the input region R[2] from the touch position P[t5] to the touch position P[t7] from the time t6 to the time t7. Assume the case of moving while contacting the . In the touch position change example, it is assumed that the touch position P[t7] at time t7 exists on the -XV side of the touch position P[t5] in the input area R[2]. Therefore, in the touch position change example, the characteristic
タッチ位置変化例において、入力領域決定部115は、図9に示すように、時刻t7において、特徴位置P-R[1]及び特徴位置P-R[2]の中点を、補正位置Md[t7]として定める。また、入力領域決定部115は、基準位置OV[t7]を起点とし、補正位置Md[t7]を終点とする操作領域移動ベクトルVmd[t7]を定める。
そして、入力領域決定部115は、時刻t8において、基準位置OV[t7]、操作領域座標系ΣV[t7]、及び、操作領域V[t7]を、操作領域移動ベクトルVmd[t7]に対応する移動量だけ移動させることで、基準位置OV[t8]、操作領域座標系ΣV[t8]、及び、操作領域V[t8]を設定する。換言すれば、入力領域決定部115は、基準位置OV[t8]と、補正位置Md[t7]とが等しくなるように、基準位置OV[t8]、操作領域座標系ΣV[t8]、及び、操作領域V[t8]を設定する。なお、タッチ位置変化例では、時刻t8は、時刻t7よりも後の時刻であるが、時刻t8は、時刻t7と同一の時刻であってもよい。
In the touch position change example, as shown in FIG. 9, at time t7, the input
Then, at time t8, input
図10に示すように、タッチ位置変化例では、時刻t8から時刻t9にかけて、指FGが、入力領域R[2]及び入力領域R[4]を、タッチ位置P[t7]からタッチ位置P[t9]へと、タッチパネル1002に接触しながら移動する場合を想定する。そして、タッチ位置変化例では、時刻t9において、タッチ位置Pが入力領域R[1]に再び侵入する場合を想定する。すなわち、タッチ位置変化例では、時刻t8から時刻t9の間の時刻に入力領域タッチ期間TR[2]が終了し、且つ、時刻t9において、再び、入力領域タッチ期間TR[1]が開始される。
なお、以下では、説明の便宜上、時刻t1及び時刻t2の間の時刻に開始される入力領域タッチ期間TR[1]を、先の入力領域タッチ期間TR[1]と称し、時刻t9に開始される入力領域タッチ期間TR[1]を、後の入力領域タッチ期間TR[1]と称する場合がある。
As shown in FIG. 10, in the touch position change example, from time t8 to time t9, the finger FG moves the input region R[2] and the input region R[4] from the touch position P[t7] to the touch position P[ t9] while touching the
For convenience of explanation, the input area touch period TR[1] that starts between time t1 and time t2 is hereinafter referred to as the previous input area touch period TR[1], and the input area touch period TR[1] starts at time t9. The first input region touch period TR[1] may be referred to as a later input region touch period TR[1].
上述のとおり、本実施形態において、特徴位置特定部114は、後の入力領域タッチ期間TR[1]が開始されると、先の入力領域タッチ期間TR[1]の終了時における特徴位置P-R[1]の特定結果を破棄するとともに、後の入力領域タッチ期間TR[1]において新たに特徴位置P-R[1]を特定する。
このため、タッチ位置変化例において、特徴位置特定部114は、図10に示すように、時刻t9において、タッチ位置P[t9]を、特徴位置P-R[1]として特定する。換言すれば、タッチ位置変化例において、特徴位置特定部114は、時刻t9において、特徴位置P-R[1]を、タッチ位置P[t4]からタッチ位置P[t9]に更新する。
As described above, in the present embodiment, when the later input region touch period TR[1] starts, the feature
Therefore, in the touch position change example, the characteristic
タッチ位置変化例において、入力領域決定部115は、図10に示すように、時刻t9において、特徴位置P-R[1]及び特徴位置P-R[2]の中点を、補正位置Md[t9]として定める。また、入力領域決定部115は、基準位置OV[t9]を起点とし、補正位置Md[t9]を終点とする操作領域移動ベクトルVmd[t9]を定める。
そして、入力領域決定部115は、時刻t10において、基準位置OV[t9]、操作領域座標系ΣV[t9]、及び、操作領域V[t9]を、操作領域移動ベクトルVmd[t9]に対応する移動量だけ移動させることで、基準位置OV[t10]、操作領域座標系ΣV[t10]、及び、操作領域V[t10]を設定する。換言すれば、入力領域決定部115は、基準位置OV[t10]と、補正位置Md[t9]とが等しくなるように、基準位置OV[t10]、操作領域座標系ΣV[t10]、及び、操作領域V[t10]を設定する。なお、タッチ位置変化例では、時刻t10は、時刻t9よりも後の時刻であるが、時刻t10は、時刻t9と同一の時刻であってもよい。
In the touch position change example, as shown in FIG. 10, at time t9, the input
Then, at time t10, input
[4.端末装置の動作]
以下、図11を参照しながら、端末装置10の動作の一例について説明する。
[4. Operation of terminal device]
An example of the operation of the
図11は、端末装置10が所定のゲームを実行する場合における、端末装置10の動作の一例を示すフローチャートである。なお、本実施形態では、例えば、端末装置10のユーザUが、所定のゲームを開始させる旨の所定の開始操作をタッチパネル1002から入力した場合に、端末装置10が、所定のゲームを開始させることとする。
FIG. 11 is a flow chart showing an example of the operation of the
図11に示すように、所定のゲームが開始されると、タッチ位置情報取得部113は、タッチパネル1002がタッチ位置情報を出力したか否かを判定する(S100)。
そして、タッチ位置情報取得部113は、ステップS100における判定の結果が否定の場合、処理をステップS128に進める。
他方、タッチ位置情報取得部113は、ステップS100における判定の結果が肯定の場合、タッチパネル1002から出力されたタッチ位置情報を取得する(S102)。なお、タッチ位置情報取得部113は、ステップS102で取得したタッチ位置情報に基づいて、記憶部14に記憶されているタッチ位置履歴情報を更新する。具体的には、タッチ位置情報取得部113は、ステップS102で取得したタッチ位置情報を、当該タッチ位置情報を取得した時刻と対応付けた上で、タッチ位置履歴情報に含ませる。なお、タッチ位置履歴情報は、各時刻におけるタッチ位置Pが、入力領域R[m]に存在するか否かを示す情報を含んでいてもよい。
As shown in FIG. 11, when a predetermined game is started, the touch position
Then, if the determination result in step S100 is negative, the touch position
On the other hand, if the result of determination in step S100 is affirmative, touch position
次に、特徴位置特定部114は、ステップS102においてタッチ位置情報取得部113がタッチ位置情報を取得した時刻が、ユーザUの指FGによるタッチパネル1002へのタッチインよりも後の時刻であるか否かを判定する(S104)。具体的には、特徴位置特定部114は、ステップS104において、例えば、タッチ位置履歴情報を参照することで、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報が、タッチ期間TVの開始後にタッチ位置情報取得部113により取得された1または複数のタッチ位置情報のうち、2番目以降に取得されたタッチ位置情報であるか否かを判定する。
そして、特徴位置特定部114は、ステップS104における判定の結果が否定の場合、処理をステップS124に進める。
他方、特徴位置特定部114は、ステップS104における判定の結果が肯定の場合、記憶部14に記憶されている入力領域情報を取得し、各入力領域R[m]の位置を特定する(S106)。
Next, the characteristic
Then, when the result of determination in step S104 is negative, the characteristic
On the other hand, if the result of the determination in step S104 is affirmative, the feature
次に、特徴位置特定部114は、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域R[m]に存在するか否かを判定する(S108)。なお、ステップS108における判定の結果が肯定の場合、ステップS102においてタッチ位置情報取得部113がタッチ位置情報を取得した時刻が、入力領域タッチ期間TR[m]に含まれることになる。また、特徴位置特定部114は、ステップS108の判定結果に基づいて、タッチ位置履歴情報を更新してもよい。
そして、特徴位置特定部114は、ステップS108における判定の結果が否定の場合、処理をステップS126に進める。
Next, the characteristic
Then, when the result of determination in step S108 is negative, the characteristic
他方、振動制御部116は、ステップS108における判定の結果が肯定の場合、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報が、入力領域タッチ期間TR[m]においてタッチ位置情報取得部113により取得された1または複数のタッチ位置情報のうち、最初に取得されたタッチ位置情報であるか否かを判定する(S110)。
そして、振動制御部116は、ステップS110における判定の結果が否定の場合、処理をステップS114に進める。
他方、振動制御部116は、ステップS110における判定の結果が肯定の場合、振動発生部15が端末装置10を振動させるように、振動発生部15を制御する(S112)。
On the other hand, if the determination result in step S108 is affirmative, the
Then, when the result of determination in step S110 is negative,
On the other hand, when the result of the determination in step S110 is affirmative, the
次に、特徴位置特定部114は、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、特徴位置特定条件を充足するか否かを判定する(S114)。具体的には、特徴位置特定部114は、ステップS114において、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域R[1]に存在する場合には、当該タッチ位置Pが、第1条件を充足するか否かを判定する。また、特徴位置特定部114は、ステップS114において、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域R[2]に存在する場合には、当該タッチ位置Pが、第2条件を充足するか否かを判定する。なお、特徴位置特定部114は、ステップS114において、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、入力領域R[3]または入力領域R[4]に存在する場合、特徴位置特定条件を充足しない旨の判定を行う。
そして、特徴位置特定部114は、ステップS114における判定の結果が否定の場合、処理をステップS126に進める。
Next, the characteristic
Then, when the result of determination in step S114 is negative, the characteristic
他方、特徴位置特定部114は、ステップS114における判定の結果が肯定の場合、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pを、特徴位置P-R[m]として特定する(S116)。具体的には、特徴位置特定部114は、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、第1条件を充足する場合には、当該タッチ位置Pを特徴位置P-R[1]として特定する。また、特徴位置特定部114は、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pが、第2条件を充足する場合には、当該タッチ位置Pを特徴位置P-R[2]として特定する。なお、特徴位置特定部114は、ステップS116においける特定結果に基づいて、記憶部14に記憶されている特徴位置情報を更新する。
On the other hand, if the result of determination in step S114 is affirmative, the feature
次に、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]の両方が存在するか否かを判定する(S118)。
そして、入力領域決定部115は、ステップS118における判定の結果が否定の場合、処理をステップS126に進める。
他方、入力領域決定部115は、ステップS118における判定の結果が肯定の場合、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、基準位置OVを決定する(S120)。
Next, the input
Then, if the result of determination in step S118 is negative, input
On the other hand, if the result of determination in step S118 is affirmative, the input
次に、入力領域決定部115は、ステップS120において決定した基準位置OVに基づいて、タッチパネル座標系ΣDにおける入力領域R[1]~R[4]の位置を決定する(S122)。なお、入力領域決定部115は、ステップS122において決定した入力領域R[m]の位置により、記憶部14に記憶されている入力領域情報を更新する。
Next, the input
他方、入力領域決定部115は、ステップS104における判定の結果が否定の場合、基準位置OVを、ステップS102においてタッチ位置情報取得部113により取得されたタッチ位置情報の示すタッチ位置Pに設定し、当該基準位置OVに基づく位置に、入力領域R[1]~R[4]を含む操作領域Vを設定する(S124)。
On the other hand, if the determination result in step S104 is negative, the input
また、入力領域決定部115は、ステップS108、S114、または、S118における判定の結果が否定の場合、入力領域R[m]の位置を変更せずに維持する(S126)。
If the result of determination in steps S108, S114, or S118 is negative, input
その後、ゲーム制御部111は、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を決定する(S128)。
具体的には、ゲーム制御部111は、ステップS128において、指FGがタッチパネル1002に接触している場合(S100:Y)であって、タッチ位置Pが入力領域R[m]に存在する場合(S108:Y)、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、入力領域R[m]に対応する方向に設定する。また、ゲーム制御部111は、ステップS128において、指FGがタッチパネル1002に接触している場合(S100:Y)であって、タッチ位置Pが入力領域R[m]に存在しない場合(S108:N)、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、予め定められた方向、例えば、図1に示すような正面方向に設定する。また、ゲーム制御部111は、ステップS128において、指FGがタッチパネル1002に接触していない場合(S100:N)、タッチパネル座標系ΣDにおけるキャラクタCRの顔が向く方向を、予め定められた方向、例えば、図1に示すような正面方向に設定する。
After that, the
Specifically, if the finger FG is in contact with the
次に、表示制御部112は、表示部12が、仮想空間SP、キャラクタCR、及び、操作領域Vを表示するための表示情報を生成し、当該表示情報に基づく画像を表示部12が表示するように、表示部12を制御する(S130)。
Next, the
その後、ゲーム制御部111は、ユーザUが、所定のゲームを終了させる旨の所定の終了操作をタッチパネル1002から入力したか否かを判定する(S132)。そして、ゲーム制御部111は、ステップS132における判定の結果が肯定の場合には、処理をステップS100に進め、ステップS132における判定の結果が否定の場合には、所定のゲームを終了させる。
Thereafter, the
[5.実施形態の結論]
以上において説明したように、本実施形態において、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、入力領域R[1]~R[4]を含む操作領域Vの位置を決定する。従って、本実施形態において、入力領域決定部115は、操作領域Vにおけるタッチ位置Pが徐々にずれていく場合であっても、当該タッチ位置Pのずれに応じて、操作領域Vを修正することが可能となる。このため、本実施形態によれば、例えば、タッチパネル1002において操作領域Vの位置が固定されている場合と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。
[5. Conclusion of Embodiment]
As described above, in the present embodiment, the input
一般的に、特徴位置P-R[1]及び特徴位置P-R[2]の2つの特徴位置P-R[m]の間の相対的な位置関係、及び、特徴位置P-R[1]及び特徴位置P-R[2]の2つの特徴位置P-R[m]の間隔は、タッチパネル1002に接触する指FGの形状、及び、大きさ、並びに、ユーザUが指FGをタッチパネル1002に接触させる際の圧力、及び、指FGの動かし方等、ユーザU毎のタッチの態様に応じて定められる可能性が高い。
これに対して、本実施形態において、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]の2つの特徴位置P-R[m]に基づいて、入力領域R[1]及び入力領域R[2]を含む操作領域Vの位置を決定する。このため、本実施形態によれば、例えば、1つの特徴位置P-R[m]に基づいて入力領域R[m]の位置を定める態様と比較して、ユーザU毎のタッチの態様を考慮した位置に、入力領域R[1]及び入力領域R[2]を含む操作領域Vを設定することができる。これにより、本実施形態によれば、例えば、1つの特徴位置P-R[m]に基づいて入力領域R[m]の位置を定める態様と比較して、任意のユーザUに対する、入力領域R[m]に指FGを接触させる操作における操作性を、より良好に保つことができる。
In general, the relative positional relationship between two feature positions P-R[m], feature position P-R[1] and feature position P-R[2], and the feature position P-R[1] ] and the feature position P-R[2] are determined by the shape and size of the finger FG in contact with the
On the other hand, in the present embodiment, the input
ところで、特定の種類のゲームにおいては、ゲームに係る一の方向の指示の入力の頻度が、ゲームに係る他の方向の指示の入力の頻度よりも高い場合が存在する。例えば、所定のゲームにおいて、+XD方向及び-XD方向を含むXD軸方向の指示の入力の頻度が、+YD方向及び-YD方向を含むYD軸方向の指示の入力の頻度よりも高い場合が存在する。そして、頻度の低い指示の入力に係るタッチ位置Pに基づいて入力領域R[m]の位置を決定する態様によれば、入力領域R[m]が、ユーザUの指FGの位置の経時的なずれに対応しない位置に設定される可能性が生じる。
これに対して、本実施形態において、入力領域決定部115は、XD軸方向の指示の入力に対応する、入力領域R[1]及び入力領域R[2]に存在するタッチ位置Pに基づいて、入力領域R[3]及び入力領域R[4]の位置を決定する。このため、本実施形態によれば、+XD方向及び-XD方向を含むXD軸方向の指示の入力の頻度が、+YD方向及び-YD方向を含むYD軸方向の指示の入力の頻度よりも高い場合において、例えば、YD軸方向の指示の入力に対応する、入力領域R[3]及び入力領域R[4]に存在するタッチ位置Pに基づいて、入力領域R[3]及び入力領域R[4]の位置を決定する態様と比較して、タッチ位置Pのずれに的確に対応した位置に操作領域Vが設定される可能性を高くすることができる。
By the way, in a specific type of game, there is a case where the frequency of inputting instructions in one direction in the game is higher than the frequency of inputting instructions in other directions in the game. For example, in a given game, there is a case where the frequency of inputting instructions in the XD axis direction including +XD direction and -XD direction is higher than the frequency of inputting instructions in the YD axis direction including +YD direction and -YD direction. . Then, according to the mode in which the position of the input region R[m] is determined based on the touch position P associated with the input of the instruction with low frequency, the input region R[m] changes over time from the position of the finger FG of the user U. There is a possibility that it will be set at a position that does not correspond to the deviation.
On the other hand, in the present embodiment, the input
[B.変形例]
以上の各形態は多様に変形され得る。具体的な変形の態様を以下に例示する。以下の例示から任意に選択された2以上の態様は、相互に矛盾しない範囲内で適宜に併合され得る。なお、以下に例示する変形例において作用や機能が実施形態と同等である要素については、以上の説明で参照した符号を流用して各々の詳細な説明を適宜に省略する。
[B. Modification]
Each of the above forms can be variously modified. Specific modification modes are exemplified below. Two or more aspects arbitrarily selected from the following examples can be combined as appropriate within a mutually consistent range. It should be noted that, in the modifications illustrated below, the reference numerals referred to in the above description will be used for the elements that have the same actions and functions as those of the embodiment, and the detailed description of each will be omitted as appropriate.
[変形例1]
上述した実施形態において、特徴位置特定部114は、入力領域R[1]に存在するタッチ位置Pに基づく特徴位置P-R[1]と、入力領域R[2]に存在するタッチ位置Pに基づく特徴位置P-R[2]とを特定し、また、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、+XV方向及び-XV方向を含むXV軸方向における操作領域Vの位置と、+YV方向及び-YV方向を含むYV軸方向における操作領域Vの位置と、を定めるが、本発明はこのような態様に限定されるものではない。
例えば、特徴位置特定部114は、特徴位置P-R[1]及び特徴位置P-R[2]に加えて、入力領域R[3]に存在するタッチ位置Pに基づいて特徴位置P-R[3]を特定し、入力領域R[4]に存在するタッチ位置Pに基づいて特徴位置P-R[4]を特定してもよい。
具体的には、特徴位置特定部114は、タッチ位置Pが入力領域R[3]に存在する入力領域タッチ期間TR[3]のうち、一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[3]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も+YV側に位置するという条件(「第3条件」の一例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[3]として特定してもよい。
また、特徴位置特定部114は、タッチ位置Pが入力領域R[4]に存在する入力領域タッチ期間TR[4]のうち、一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[4]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も-YV側に位置するという条件(「第4条件」の一例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[4]として特定してもよい。
そして、この場合、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、XV軸方向における操作領域Vの位置を定め、また、特徴位置P-R[3]及び特徴位置P-R[4]に基づいて、YV軸方向における操作領域Vの位置を定めてもよい。
なお、以下では、第1条件、第2条件、第3条件、及び、第4条件を、特徴位置特定条件と総称する場合がある。
[Modification 1]
In the above-described embodiment, the characteristic
For example, the feature
Specifically, the characteristic
Further, the characteristic
Then, in this case, the input
In the following description, the first condition, the second condition, the third condition, and the fourth condition may be collectively referred to as characteristic position specifying conditions.
図12及び図13は、本変形例に係るタッチ位置変化例を説明するための説明図である。なお、本変形例に係るタッチ位置変化例のうち、時刻t1から時刻t4までの期間は、図7及び図8に示す実施形態に係るタッチ位置変化例と同様であることとする。 12 and 13 are explanatory diagrams for explaining an example of touch position change according to this modified example. Note that the period from time t1 to time t4 in the touch position change example according to this modification is the same as the touch position change example according to the embodiment shown in FIGS.
本変形例に係るタッチ位置変化例では、図12に示すように、時刻t4から時刻t5にかけて、指FGが、入力領域R[1]及び入力領域R[4]を、タッチ位置P[t4]からタッチ位置P[t5]へと、タッチパネル1002に接触しながら移動し、時刻t5において、入力領域R[2]に侵入する場合を想定する。そして、本変形例に係るタッチ位置変化例において、特徴位置特定部114は、時刻t5において、タッチ位置P[t5]を、特徴位置P-R[2]として特定する。また、本変形例に係るタッチ位置変化例では、特徴位置特定部114が、時刻t5において、タッチ位置P[t4]を、特徴位置P-R[1]として特定している場合を想定する。そして、本変形例に係るタッチ位置変化例において、入力領域決定部115は、時刻t5において、特徴位置P-R[1]及び特徴位置P-R[2]の中点を、補正位置Md[t5]として定める。また、入力領域決定部115は、基準位置OV[t5]を起点とし、補正位置Md[t5]を終点とするベクトルのうち、XV成分のみを取り出したベクトルを、操作領域移動ベクトルVmd[t5]として定める。
そして、入力領域決定部115は、時刻t6において、基準位置OV[t5]、操作領域座標系ΣV[t5]、及び、操作領域V[t5]を、操作領域移動ベクトルVmd[t5]に対応する移動量だけ移動させることで、基準位置OV[t6]、操作領域座標系ΣV[t6]、及び、操作領域V[t6]を設定する。なお、本変形例に係るタッチ位置変化例では、時刻t6は、時刻t5よりも後の時刻であるが、時刻t6は、時刻t5と同一の時刻であってもよい。
In the touch position change example according to the present modification, as shown in FIG. 12, from time t4 to time t5, the finger FG moves the input region R[1] and the input region R[4] to the touch position P[t4]. to the touch position P[t5] while touching the
Then, at time t6, the input
本変形例に係るタッチ位置変化例では、図13に示すように、時刻t6から時刻t7にかけて、指FGが、入力領域R[2]を、タッチ位置P[t5]からタッチ位置P[t7]へと、タッチパネル1002に接触しながら移動し、時刻t7において、入力領域R[3]に侵入する場合を想定する。そして、本変形例に係るタッチ位置変化例において、特徴位置特定部114は、時刻t7において、タッチ位置P[t7]を、特徴位置P-R[3]として特定する。
その後、時刻t7から時刻t8にかけて、指FGが、入力領域R[3]、入力領域R[2]、及び、入力領域R[4]を、タッチ位置P[t7]からタッチ位置P[t8]へと、タッチパネル1002に接触しながら移動する場合を想定する。そして、本変形例に係るタッチ位置変化例において、特徴位置特定部114は、時刻t8において、タッチ位置P[t8]を、特徴位置P-R[4]として特定する。また、本変形例に係るタッチ位置変化例において、入力領域決定部115は、時刻t8において、特徴位置P-R[3]及び特徴位置P-R[4]の中点を、補正位置Md[t8]として定める。そして、入力領域決定部115は、基準位置OV[t8]を起点とし、補正位置Md[t8]を終点とするベクトルのうち、YV成分のみを取り出したベクトルを、操作領域移動ベクトルVmd[t8]として定める。
そして、入力領域決定部115は、時刻t9において、基準位置OV[t8]、操作領域座標系ΣV[t8]、及び、操作領域V[t8]を、操作領域移動ベクトルVmd[t8]に対応する移動量だけ移動させることで、基準位置OV[t9]、操作領域座標系ΣV[t9]、及び、操作領域V[t9]を設定する。なお、本変形例に係るタッチ位置変化例では、時刻t9は、時刻t8よりも後の時刻であるが、時刻t9は、時刻t8と同一の時刻であってもよい。
In the touch position change example according to this modification, as shown in FIG. 13, the finger FG moves the input region R[2] from the touch position P[t5] to the touch position P[t7] from the time t6 to the time t7. It is assumed that the user moves to , while touching the
Thereafter, from time t7 to time t8, finger FG moves input region R[3], input region R[2], and input region R[4] from touch position P[t7] to touch position P[t8]. A case is assumed where the user moves while touching the
Then, at time t9, input
以上のように、本変形例において、入力領域決定部115は、入力領域R[1]及び入力領域R[2]に存在するタッチ位置Pに基づいて、入力領域R[1]及び入力領域R[2]の位置を決定し、入力領域R[3]及び入力領域R[4]に存在するタッチ位置Pに基づいて、入力領域R[3]及び入力領域R[4]の位置を決定する。このため、本実施形態によれば、例えば、タッチパネル1002において入力領域R[m]の位置が固定されている場合と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。
As described above, in this modified example, the input
[変形例2]
上述した実施形態において、タッチパネル座標系ΣDに対する操作領域座標系ΣVの傾きは変化しないが、本発明はこのような態様に限定されるものではない。
例えば、入力領域決定部115は、複数の特徴位置P-R[m]に基づいて、タッチパネル座標系ΣDに対する操作領域座標系ΣVの傾きを変化させてもよい。より具体的には、入力領域決定部115は、特徴位置特定部114が特徴位置P-R[1]及び特徴位置P-R[2]を特定した場合、基準位置OVから特徴位置P-R[1]に向かう方向を、+XV方向として決定し、基準位置OVから特徴位置P-R[2]に向かう方向を、-XV方向として決定することで、操作領域座標系ΣVを設定してもよい。
[Modification 2]
In the above-described embodiment, the inclination of the operation region coordinate system ΣV with respect to the touch panel coordinate system ΣD does not change, but the present invention is not limited to such an aspect.
For example, the input
図14は、本変形例に係るタッチ位置変化例を説明するための説明図である。なお、本変形例に係るタッチ位置変化例のうち、時刻t1から時刻t4までの期間は、図7及び図8に示す実施形態に係るタッチ位置変化例と同様であることとする。 FIG. 14 is an explanatory diagram for explaining an example of touch position change according to this modification. Note that the period from time t1 to time t4 in the touch position change example according to this modification is the same as the touch position change example according to the embodiment shown in FIGS.
本変形例に係るタッチ位置変化例では、図14に示すように、時刻t4から時刻t5にかけて、指FGが、入力領域R[1]及び入力領域R[4]を、タッチ位置P[t4]からタッチ位置P[t5]へと、タッチパネル1002に接触しながら移動し、時刻t5において、入力領域R[2]に侵入する場合を想定する。そして、本変形例に係るタッチ位置変化例において、特徴位置特定部114は、時刻t5において、タッチ位置P[t5]を、特徴位置P-R[2]として特定する。また、本変形例に係るタッチ位置変化例では、特徴位置特定部114が、時刻t5において、タッチ位置P[t4]を、特徴位置P-R[1]として特定している場合を想定する。そして、本変形例に係るタッチ位置変化例において、入力領域決定部115は、時刻t5において、特徴位置P-R[1]及び特徴位置P-R[2]の中点を、補正位置Md[t5]として定める。また、入力領域決定部115は、基準位置OV[t5]を起点とし、補正位置Md[t5]を終点とするベクトルを、操作領域移動ベクトルVmd[t5]として定める。
そして、入力領域決定部115は、時刻t6において、基準位置OV[t5]、操作領域座標系ΣV[t5]、及び、操作領域V[t5]を、操作領域移動ベクトルVmd[t5]に対応する移動量だけ移動させることで、基準位置OV[t6]、操作領域座標系ΣV[t6]、及び、操作領域V[t6]を設定する。より具体的には、入力領域決定部115は、時刻t5から時刻t6にかけて、基準位置OV[t6]が補正位置Md[t5]と一致するように、基準位置OVを移動させる。
その後、入力領域決定部115は、時刻t7において、補正位置Md[t5]から特徴位置P-R[1]に向かう方向を、+XV方向として定め、補正位置Md[t5]から入力領域R[3]に向かう方向であって、補正位置Md[t5]から特徴位置P-R[1]に向かう方向に直交する方向を、+YV方向として定めることで、操作領域座標系ΣV[t7]を設定する。そして、入力領域決定部115は、時刻t7において、操作領域座標系ΣV[t7]に基づく位置に、入力領域R[1]~R[4]を設定する。具体的には、入力領域決定部115は、時刻t7において、基準位置OV[t7]よりも+XV方向に入力領域R[1]を設定し、基準位置OV[t7]よりも-XV方向に入力領域R[2]を設定し、基準位置OV[t7]よりも+YV方向に入力領域R[3]を設定し、基準位置OV[t7]よりも-YV方向に入力領域R[4]を設定する。
なお、本変形例に係るタッチ位置変化例では、時刻t6及び時刻t7は、時刻t5よりも後の時刻であるが、時刻t6及び時刻t7は、時刻t5と同一の時刻であってもよい。
In the touch position change example according to this modified example, as shown in FIG. 14, from time t4 to time t5, the finger FG moves the input region R[1] and the input region R[4] to the touch position P[t4]. to the touch position P[t5] while touching the
Then, at time t6, the input
After that, at time t7, the input
In addition, in the touch position change example according to the present modification, time t6 and time t7 are times after time t5, but time t6 and time t7 may be the same time as time t5.
以上のように、本変形例において、入力領域決定部115は、特徴位置P-R[1]及び特徴位置P-R[2]に基づいて、操作領域座標系ΣVの有するXV軸及びYV軸の傾きを決定する。このため、本実施形態によれば、例えば、タッチパネル1002において操作領域座標系ΣVの傾きが固定されている態様と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。
As described above, in this modified example, the input
[変形例3]
上述した実施形態並びに変形例1及び変形例2において、入力領域R[m]に存在するタッチ位置Pを特徴位置P-R[m]として特定したが、本発明はこのような態様に限定されるものではない。
例えば、特徴位置特定部114は、入力領域R[m]を包含し、入力領域R[m]よりも広い領域である拡張領域RX[m]に存在するタッチ位置Pに基づいて、特徴位置P-R[m]を特定してもよい。
[Modification 3]
Although the touch position P present in the input region R[m] is identified as the characteristic position P-R[m] in the above-described embodiment and
For example, the feature
具体的には、特徴位置特定部114は、タッチ位置Pが拡張領域RX[m]に存在している状態が継続する拡張領域タッチ期間TX[m]のうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、拡張領域タッチ期間TX[m]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、基準位置OVから拡張領域RX[m]を示す方向において基準位置OVから最も離れた位置に存在する、という条件を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[m]として特定する。
Specifically, the characteristic
より具体的には、特徴位置特定部114は、図15に示すように、タッチ位置Pが拡張領域RX[1](「第1領域」の一例)に存在している状態が継続する拡張領域タッチ期間TX[1]のうち、一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、拡張領域タッチ期間TX[1]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も+XV側に位置するという条件(「第1条件」の他の例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[1]として特定する。
また、特徴位置特定部114は、タッチ位置Pが拡張領域RX[2](「第2領域」の一例)に存在している状態が継続する拡張領域タッチ期間TX[2]のうち、一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、拡張領域タッチ期間TX[2]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの中で、最も-XV側に位置するという条件(「第2条件」の他の例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[2]として特定する。
More specifically, as shown in FIG. 15, the characteristic
In addition, the characteristic
以上のように、本変形例において、特徴位置特定部114は、入力領域R[m]を含む拡張領域RX[m]に存在するタッチ位置Pに基づいて、特徴位置P-R[m]を特定し、当該特徴位置P-R[m]に基づいて、入力領域R[m]の位置を決定する。このため、本変形例によれば、例えば、タッチパネル1002において入力領域R[m]の位置が固定されている場合と比較して、タッチ位置Pのずれに伴う誤入力の可能性を低減することが可能となる。
As described above, in this modification, the feature
[変形例4]
上述した実施形態及び変形例1乃至変形例3において、特徴位置特定部114は、入力領域タッチ期間TR[m]の中で、タッチ位置Pが、基準位置OVから入力領域R[m]を示す方向において、基準位置OVから最も離れた位置であるという特徴位置特定条件を充足する場合に、当該タッチ位置Pを、特徴位置P-R[m]として特定するが、本発明はこのような態様に限定されるものではない。
例えば、特徴位置特定部114は、入力領域タッチ期間TR[m]のうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[m]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pに基づいて定められる参照位置Pref[m]よりも、基準位置OVから入力領域R[m]を示す方向において、基準位置OVよりも離れているという条件を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[m]として特定してもよい。
[Modification 4]
In the above-described embodiment and
For example, the characteristic
具体的には、特徴位置特定部114は、入力領域タッチ期間TR[1]のうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[1]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pに基づいて定められる参照位置Pref[1](「第1参照位置」の一例)よりも、+XV方向に位置するという条件(「第1条件」の他の例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[1]として特定してもよい。
また、特徴位置特定部114は、入力領域タッチ期間TR[2]のうち一の時刻においてタッチ位置情報取得部113が取得したタッチ位置情報の示すタッチ位置Pが、入力領域タッチ期間TR[2]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pに基づいて定められる参照位置Pref[2](「第2参照位置」の一例)よりも、-XV方向に位置するという条件(「第2条件」の他の例)を充足する場合に、当該一の時刻に対応するタッチ位置Pを、特徴位置P-R[2]として特定してもよい。
Specifically, the characteristic
Further, the characteristic
なお、参照位置Pref[m]とは、例えば、入力領域タッチ期間TR[m]が開始された時刻から一の時刻までの期間においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pの平均位置であってもよいし、または、当該1または複数のタッチ位置Pの一部のタッチ位置Pの中で、基準位置OVから入力領域R[m]を示す方向において、基準位置OVから最も離れているタッチ位置Pであってもよい。
Note that the reference position Pref[m] is, for example, one or a plurality of pieces of touch position information acquired by the touch position
[変形例5]
上述した実施形態及び変形例1乃至変形例4において、特徴位置特定部114は、入力領域タッチ期間TR[m]の中で、タッチ位置Pが、特徴位置特定条件を充足する場合に、当該タッチ位置Pを、特徴位置P-R[m]として特定するが、本発明はこのような態様に限定されるものではない。
特徴位置特定部114は、入力領域タッチ期間TR[m]においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pのうち、一部または全部のタッチ位置Pに基づいて特徴位置P-R[m]を特定するものであってもよい。
[Modification 5]
In the above-described embodiment and
The characteristic
具体的には、特徴位置特定部114は、入力領域タッチ期間TR[m]においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pのうち、一部または全部のタッチ位置Pの平均位置を、特徴位置P-R[m]として特定してもよい。例えば、図16に示す例において、特徴位置特定部114は、タッチ位置情報取得部113が入力領域タッチ期間TR[1]において取得した3つのタッチ位置情報が、タッチ位置P[t2]、P[t3]、及び、P[t4]を示す場合、当該3つのタッチ位置P[t2]、P[t3]、及び、P[t4]の平均位置を、特徴位置P-R[1]として特定してもよい。
Specifically, the characteristic
また、例えば、特徴位置特定部114は、入力領域タッチ期間TR[m]においてタッチ位置情報取得部113が取得した1または複数のタッチ位置情報の示す1または複数のタッチ位置Pのうち、最後に取得されたタッチ位置情報の示すタッチ位置Pを、特徴位置P-R[m]として特定してもよい。具体的には、図16に示す例において、特徴位置特定部114は、タッチ位置情報取得部113が入力領域タッチ期間TR[1]において取得した3つのタッチ位置情報が、タッチ位置P[t2]、P[t3]、及び、P[t4]を示す場合、最後に取得されたタッチ位置情報に対応するタッチ位置P[t4]を、特徴位置P-R[1]として特定してもよい。
Further, for example, the characteristic
また、例えば、特徴位置特定部114は、入力領域タッチ期間TR[m]においてタッチ位置情報取得部113が取得した複数のタッチ位置情報の示す複数のタッチ位置Pのうち、所定時間以上に亘り略同じ位置に存在する2以上のタッチ位置Pが存在する場合、当該2以上のタッチ位置Pを、特徴位置P-R[m]として特定してもよい。ここで、「一のタッチ位置Pと他のタッチ位置Pとが略同じ位置に存在する」とは、例えば、一のタッチ位置Pと他のタッチ位置Pとが同一の位置に存在することであってもよいし、一のタッチ位置Pと他のタッチ位置Pとの間隔が所定の距離以下であることであってもよい。
Further, for example, the characteristic
[変形例6]
上述した実施形態及び変形例1乃至変形例5では、入力領域R[m]が、扇形の領域である場合を例示したが、本発明はこのような態様に限定されるものではない。入力領域R[m]は、例えば、図17に示すように、楕円形の領域であってもよいし、または、多角形の領域であってもよい。
[Modification 6]
In the above-described embodiment and
[変形例7]
上述した実施形態及び変形例1乃至変形例6では、操作領域Vが、キャラクタCRの顔が向く方向の指示を入力するための領域である入力領域R[1]~R[4]から構成される場合を例示したが、本発明はこのような態様に限定されるものではない。操作領域Vは、キャラクタCRの顔が向く方向の指示の入力を受け付けない領域であるニュートラル領域RNを含んでいてもよい。この場合、ニュートラル領域RNは、例えば、図18に示すように、入力領域R[1]~R[4]の中心、すなわち、基準位置OVを含むような領域として設けられたものであってもよい。
[Modification 7]
In the above-described embodiment and
[変形例8]
上述した実施形態及び変形例1乃至変形例7では、入力領域R[m]は、所定のゲームに係る単一の方向の指示を入力するための領域であるが、本発明はこのような態様に限定されるものではない。入力領域R[m]は、例えば、図19に示すように、K個の方向の指示を入力するためのK個のサブ領域R[m][1]~R[m][K]を含んでいてもよい(Kは、2以上の自然数)。
[Modification 8]
In the above-described embodiment and modified examples 1 to 7, the input area R[m] is an area for inputting a single direction instruction related to a predetermined game. is not limited to The input region R[m] includes, for example, K sub-regions R[m][1] to R[m][K] for inputting K direction instructions, as shown in FIG. (K is a natural number of 2 or more).
[変形例9]
上述した実施形態及び変形例1乃至変形例8では、操作領域Vが、4個の入力領域R[1]~R[4]を含む場合を例示して説明したが、本発明はこのような態様に限定されるものではない。操作領域Vは、M個の入力領域R[1]~R[M]を含んでいればよい(Mは、2以上の自然数)。操作領域Vは、例えば、図20に示すように、12個の入力領域R[1]~R[12]を含んでいてもよい。
なお、本変形例において、入力領域の個数Mは偶数であってもよい。この場合、入力領域R[1]及び入力領域R[2]は、図20に例示するように、基準位置OVを挟んで対称の位置に設けられてもよい。
[Modification 9]
In the above-described embodiment and
In addition, in this modified example, the number M of input areas may be an even number. In this case, the input region R[1] and the input region R[2] may be provided at symmetrical positions with respect to the reference position OV as illustrated in FIG.
[変形例10]
上述した実施形態及び変形例1乃至9において、基準位置OVから入力領域R[1]を示す第1の方向と、基準位置OVから入力領域R[2]を示す第2の方向とは、反対の方向であるが、本発明はこのような態様に限定されるものではない。第1の方向と、第2の方向とは、異なる方向であってもよいし、同一の方向であってもよい。
[Modification 10]
In the above-described embodiment and
[変形例11]
上述した実施形態及び変形例1乃至10において、入力領域R[m]は、キャラクタCRの顔が向く方向の指示を入力するための領域であるが、本発明はこのような態様に限定されるものではない。入力領域R[m]は、所定のゲームに係る指示を入力するための領域であってもよい。例えば、入力領域R[1]は、所定のゲームにおいて、キャラクタCRによる攻撃の指示(「第1の指示」の一例)を入力するための領域であり、入力領域R[2]は、所定のゲームにおいて、キャラクタCRによる防御の指示(「第2の指示」の一例)を入力するための領域であってもよい。また、例えば、入力領域R[m]は、タッチパネル座標系ΣDまたは仮想空間SPにおける、キャラクタCRの移動方向の指示を入力するための領域であってもよい。具体的には、例えば、入力領域R[1]は、キャラクタCRを、タッチパネル座標系ΣDまたは仮想空間SPにおける一の方向に移動させる旨の指示を入力するための領域であり、また、入力領域R[2]は、キャラクタCRを、タッチパネル座標系ΣDまたは仮想空間SPにおける他の方向に移動させる旨の指示を入力するための領域であってもよい。
[Modification 11]
In the above-described embodiment and
[変形例12]
上述した実施形態及び変形例1乃至11では、プログラムとして、所定のゲームに係るプログラムを例示して説明したが、本発明はこのような態様に限定されるものではない。プログラムは、任意のアプリケーションに係るプログラムであってもよい。また、この場合、第1の指示は、任意のアプリケーションに係る指示であればよく、第2の指示は、任意のアプリケーションに係る指示であって第1の指示とは異なる指示であればよい。
[Modification 12]
In the above-described embodiment and modified examples 1 to 11, the program was explained by exemplifying a program related to a predetermined game, but the present invention is not limited to such an aspect. The program may be a program associated with any application. Also, in this case, the first instruction may be an instruction related to an arbitrary application, and the second instruction may be an instruction related to an arbitrary application and different from the first instruction.
[変形例13]
上述した実施形態及び変形例1乃至12において、所定のゲームは、端末装置10において実行されるが、本発明はこのような態様に限定されるものではない。所定のゲームは、端末装置10以外の構成要素において実行されてもよい。
[Modification 13]
In the above-described embodiment and
図21は、本変形例に係る情報処理システムSYSの概要を示す説明図である。情報処理システムSYSは、サーバ装置30Aと、端末装置10Aと、を備える。サーバ装置30Aは、所定のゲームを実行することができ、また、ネットワークNWを介して端末装置10Aと通信可能である。
具体的には、サーバ装置30Aは、サーバ装置30Aの各部を制御する制御部11と、所定のゲームに係るプログラム等の各種情報を記憶する記憶部31と、端末装置10A等の外部装置との間の通信を実行するための通信部32と、を備える。また、端末装置10Aは、表示部12、入力部13、及び、振動発生部15に加えて、サーバ装置30A等の外部装置との間の通信を実行するための通信部16と、を備える。なお、表示部12及び入力部13は、上述したタッチパネル1002として実装される。
サーバ装置30Aは、端末装置10Aの入力部13から入力される情報に基づいて表示情報を生成する。また、端末装置10Aの有する表示部12は、サーバ装置30Aにおいて生成される表示情報に基づいて、所定のゲームに関する画像を表示する。
FIG. 21 is an explanatory diagram showing an overview of the information processing system SYS according to this modification. The information processing system SYS includes a
Specifically, the
The
[C.付記]
以上の記載から、本発明は例えば以下のように把握される。なお、各態様の理解を容易にするために、以下では、図面の参照符号を便宜的に括弧書きで付記するが、本発明を図示の態様に限定する趣旨ではない。
[C. Note]
From the above description, the present invention can be grasped, for example, as follows. In order to facilitate understanding of each aspect, hereinafter, reference numerals in the drawings are added in parentheses for the sake of convenience, but this is not intended to limit the present invention to the illustrated aspects.
[付記1]
本発明の一態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1入力領域に存在し、前記タッチ位置に関連する第1条件を満たす場合に、前記タッチ位置に基づく位置を、第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2入力領域に存在し、前記タッチ位置に関連する第2条件を満たす場合に、前記タッチ位置に基づく位置を、第2の位置として特定する特定部と、前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、して機能させる、ことを特徴とする。
[Appendix 1]
A program according to an aspect of the present invention comprises a processor, an acquisition unit configured to acquire touch position information indicating a touch position on a touch panel, and a touch acquired by the acquisition unit during a touch period in which the touch panel continues to be touched. If the touch position indicated by the position information exists in the first input area for inputting the instruction of the first operation direction related to the game and satisfies a first condition related to the touch position, the A position is specified as a first position, and the touch position indicated by the touch position information acquired by the acquisition unit during the touch period is a second input for inputting a second operation direction instruction related to the game. a specifying unit that specifies a position based on the touch position as a second position when it exists in an area and satisfies a second condition related to the touch position; the first position specified by the specifying unit; It is characterized by functioning as a determining unit that determines positions of the first input area and the second input area based on the second position.
この態様において、決定部は、第1入力領域におけるタッチ位置に基づく位置である第1の位置と、第2入力領域におけるタッチ位置に基づく位置である第2の位置(以下、第1の位置及び第2の位置を、「特徴位置」と総称する場合がある)と、に基づいて、第1入力領域及び第2入力領域(以下、第1入力領域及び第2入力領域を、「入力領域」と総称する場合がある)の位置を決定する。従って、この態様において、決定部は、入力領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、入力領域の位置を修正することが可能となる。このため、この態様によれば、例えば、入力領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。 In this aspect, the determining unit sets a first position based on the touch position in the first input area and a second position based on the touch position in the second input area (hereinafter referred to as the first position and The second position may be collectively referred to as a “characteristic position”), and the first input area and the second input area (hereinafter, the first input area and the second input area are referred to as the “input area”). ) is determined. Therefore, in this aspect, even if the touch position in the input area gradually shifts, the determination unit can correct the position of the input area according to the shift of the touch position. Therefore, according to this aspect, for example, compared to the case where the position of the input area is fixed, it is possible to reduce the possibility of erroneous input due to deviation of the touch position on the touch panel.
ところで、1つの特徴位置に基づいて、第1入力領域及び第2入力領域の位置を定める態様(以下、当該態様を、「対比例」と称する)も考えられる。具体的には、対比例では、一例として、1つの特徴位置に対応する位置に、第1入力領域の中心位置または重心等の、第1入力領域の代表となる位置である第1代表位置を決定し、また、第1代表位置に対応する位置に、第2入力領域の中心位置または重心等の、第2入力領域の代表となる位置である第2代表位置を決定する(以下、第1代表位置及び第2代表位置を、「代表位置」と総称する場合がある)。例えば、対比例では、1つの特徴位置を、第1代表位置として決定し、また、第1代表位置と所定の位置関係を有する位置を、第2代表位置として決定する。すなわち、対比例においては、各特徴位置と各入力領域の代表位置との相対的な位置関係、または、各特徴位置と各入力領域の代表位置との間隔を、調整することはできない。換言すれば、対比例は、各特徴位置と各入力領域の代表位置との相対的な位置関係が所定の位置関係に維持されるという制約、または、各特徴位置と各入力領域の代表位置との間隔が所定の間隔に維持されるという制約の下で、第1入力領域及び第2入力領域の位置を決定するものに過ぎない。 By the way, it is also conceivable that the positions of the first input area and the second input area are determined based on one characteristic position (hereinafter, this aspect is referred to as "contrast"). Specifically, in contrast, as an example, a first representative position, which is a representative position of the first input region, such as the center position or the center of gravity of the first input region, is set at a position corresponding to one feature position. Also, a second representative position, which is a representative position of the second input area, such as the center position or the center of gravity of the second input area, is determined at a position corresponding to the first representative position (hereinafter referred to as the first representative position). The representative position and the second representative position may be collectively referred to as "representative position"). For example, in contrast, one characteristic position is determined as the first representative position, and a position having a predetermined positional relationship with the first representative position is determined as the second representative position. That is, in contrast, it is not possible to adjust the relative positional relationship between each feature position and the representative position of each input area, or the interval between each feature position and the representative position of each input area. In other words, the contrast is a constraint that the relative positional relationship between each feature position and the representative position of each input region is maintained in a predetermined positional relationship, or a constraint that each feature position and the representative position of each input region It merely determines the positions of the first input area and the second input area under the constraint that the spacing between .
他方、例えば、ユーザが指によりタッチパネルをタッチする場合、ユーザの指の大きさ及び形状は、ユーザ毎に異なる。また、例えば、ユーザが指によりタッチパネルをタッチする場合、ユーザが指をタッチパネルにタッチさせる際の圧力、タッチパネルに対する指の傾き、及び、指の動かし方等も、ユーザ毎に異なる。このように、ユーザが指によりタッチパネルをタッチする場合、当該タッチの態様は、ユーザ毎に異なる。このため、ユーザが指によりタッチパネルをタッチする場合、各特徴位置と各入力領域の代表位置との相対的な位置関係、及び、各特徴位置と各入力領域の代表位置との間隔も、ユーザ毎に異なることになる。従って、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を良好に保つためには、各特徴位置と各入力領域の代表位置との相対的な位置関係、及び、各特徴位置と各入力領域の代表位置との間隔を、ユーザ毎のタッチの態様に応じて調整することが好ましい。 On the other hand, for example, when a user touches a touch panel with a finger, the size and shape of the user's finger differ from user to user. Further, for example, when a user touches a touch panel with a finger, the pressure when the user touches the touch panel with the finger, the inclination of the finger with respect to the touch panel, how to move the finger, etc. differ from user to user. As described above, when a user touches the touch panel with a finger, the manner of the touch differs from user to user. Therefore, when the user touches the touch panel with a finger, the relative positional relationship between each feature position and the representative position of each input area, and the distance between each feature position and the representative position of each input area are also changed for each user. will be different. Therefore, in order to maintain good operability in an operation for inputting an instruction in the first operation direction and an operation for inputting an instruction in the second operation direction for any user, , the relative positional relationship between each feature position and the representative position of each input area, and the interval between each feature position and the representative position of each input area are preferably adjusted according to the touch mode of each user. .
しかし、対比例では、上述のとおり、各特徴位置と各入力領域の代表位置との相対的な位置関係、または、各特徴位置と各入力領域の代表位置との間隔を、調整することが困難である。このため、対比例では、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における、操作性を良好に保つことは難しい。 However, in contrast, as described above, it is difficult to adjust the relative positional relationship between each feature position and the representative position of each input area, or the interval between each feature position and the representative position of each input area. is. Therefore, in contrast, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user is improved. It's hard to keep good.
これに対して、本態様によれば、決定部が、第1の位置及び第2の位置の2つの特徴位置を用いて、第1入力領域及び第2入力領域の位置を決定する。そして、一般的に、第1の位置と第2の位置との相対的な位置関係、及び、第1の位置と第2の位置との間隔は、ユーザ毎のタッチの態様に応じて定められる可能性が高い。このため、本態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。 On the other hand, according to this aspect, the determining unit determines the positions of the first input area and the second input area using two characteristic positions of the first position and the second position. In general, the relative positional relationship between the first position and the second position and the interval between the first position and the second position are determined according to the manner of touch for each user. Probability is high. Therefore, according to this aspect, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user can be kept better compared to the contrast.
なお、上記態様において、「ゲームに係る第1の操作方向」とは、「ゲームに係る操作方向」の一例である。「ゲームに係る操作方向」とは、例えば、ゲームに係る仮想空間における方向であってもよいし、ゲームに係る画面における方向であってもよい。「ゲームに係る仮想空間における方向」とは、例えば、ゲームに係る仮想空間におけるゲーム要素の位置および姿勢の一方または両方の変化の方向である。ここで、「ゲーム要素」とは、例えば、ゲームに係る仮想空間に存在する仮想的な物体であってもよいし、ゲームに係る仮想空間を撮像する仮想カメラであってもよい。このうち、「ゲームに係る仮想空間に存在する仮想的な物体」とは、例えば、ゲームに係るキャラクタ、及び、ゲームに係るオブジェクトを含む概念であってもよい。「ゲームに係る画面における方向」とは、例えば、ゲームに係る画面において表示される仮想的な物体を示す画像の、当該画面における位置及び姿勢の一方または両方の変化の方向でもよいし、ゲームに係るメニュー画面において表示されるポインタ等の、ゲームの進行に関係しないゲーム要素を示す画像の、当該メニュー画面における移動方向でもよい。 It should be noted that, in the above aspect, the “first operation direction related to the game” is an example of the “operation direction related to the game”. The "operation direction related to the game" may be, for example, a direction in a virtual space related to the game or a direction on a screen related to the game. The “direction in the game-related virtual space” is, for example, the direction of change in one or both of the position and orientation of the game element in the game-related virtual space. Here, the "game element" may be, for example, a virtual object that exists in the virtual space of the game, or a virtual camera that captures an image of the virtual space of the game. Among these, the “virtual object existing in the virtual space related to the game” may be a concept including, for example, a character related to the game and an object related to the game. The "direction on the screen related to the game" may be, for example, the direction of change in one or both of the position and posture of an image showing a virtual object displayed on the screen related to the game. It may also be the direction in which an image indicating a game element irrelevant to the progress of the game, such as a pointer displayed on the menu screen, moves on the menu screen.
また、上記態様において、「ゲームに係る第2の操作方向」とは、「ゲームに係る操作方向」の他の例である。ここで、「第2の操作方向」は、第1の操作方向とは異なる方向である。「第2の操作方向」は、例えば、第1の操作方向とは反対の方向であってもよい。 Further, in the above aspect, the “second operation direction related to the game” is another example of the “operation direction related to the game”. Here, the "second operation direction" is a direction different from the first operation direction. 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 input area" may be, for example, an area provided in a visible manner on the touch panel for inputting an instruction in the first operation direction related to the game. , a virtual area provided in a manner that is not visually recognized on the touch panel for inputting the instruction of the first operation direction related to the game. The “second input area” is, for example, an area different from the first input area, and is provided in a visible manner on the touch panel for inputting an instruction in a second operation direction related to the game. Alternatively, it may be a virtual area that is different from the first input area and is provided in a manner that is not visible on the touch panel for inputting an instruction in the second operation direction related to the game. may
また、上記態様において、「第1条件」とは、例えば、タッチ位置情報の示すタッチ位置の存在範囲についての条件であってもよいし、タッチ位置情報の示すタッチ位置の履歴についての条件であってもよいし、タッチ位置情報の示すタッチ位置の移動速度についての条件であってもよい。ここで、「タッチ位置情報の示すタッチ位置の履歴についての条件」とは、例えば、タッチ位置情報の示すタッチ位置が第1入力領域に存在する期間の中で、タッチ位置情報の示すタッチ位置が、所定方向において基準位置から最も離れた位置であるという条件であってもよい。具体的には、「タッチ位置情報の示すタッチ位置の履歴についての条件」とは、例えば、第1入力領域が、第2入力領域よりも第1の方向に位置する場合に、タッチ位置情報の示すタッチ位置が第1入力領域に存在する期間の中で、タッチ位置情報の示すタッチ位置が、第1の方向において第2入力領域から最も離れた位置であるという条件であってもよい。また、「タッチ位置情報の示すタッチ位置の存在範囲についての条件」とは、例えば、タッチ位置情報の示すタッチ位置が第1入力領域に存在する期間の中で、タッチ位置情報の示すタッチ位置が、第1入力領域において、所定時間以上に亘り所定の範囲に存在するという条件であってもよい。具体的には、「タッチ位置情報の示すタッチ位置の存在範囲についての条件」とは、例えば、タッチ位置情報の示すタッチ位置が、第1入力領域において、所定時間以上に亘り略同じ位置であるという条件であってもよい。ここで、ある位置と他の位置とが「略同じ位置」であるとは、例えば、ある位置と他の位置とが同一の位置であってもよいし、ある位置と他の位置とが所定の距離以下であるという位置関係を有することであってもよい。「第2条件」とは、例えば、タッチ位置情報の示すタッチ位置の存在範囲についての条件であってもよいし、タッチ位置情報の示すタッチ位置の履歴についての条件であってもよいし、タッチ位置情報の示すタッチ位置の移動速度についての条件であってもよい。具体的には、「第2条件」とは、例えば、第2入力領域が、第1入力領域よりも第2の方向に位置する場合に、タッチ位置情報の示すタッチ位置が第2入力領域に存在する期間の中で、タッチ位置情報の示すタッチ位置が、第2の方向において第1入力領域から最も離れた位置であるという条件であってもよい。また、「第2条件」とは、例えば、タッチ位置情報の示すタッチ位置が、第2入力領域において、所定時間以上に亘り略同じ位置であるという条件であってもよい。 Further, in the above aspect, the “first condition” may be, for example, a condition regarding the existence range of the touch position indicated by the touch position information, or a condition regarding the history of the touch position indicated by the touch position information. Alternatively, it may be a condition about the moving speed of the touch position indicated by the touch position information. Here, the “condition regarding the history of the touch position indicated by the touch position information” is, for example, a period in which the touch position indicated by the touch position information exists in the first input area, and the touch position indicated by the touch position information is , the condition may be that it is the farthest position from the reference position in a predetermined direction. Specifically, the “condition regarding the history of touch positions indicated by the touch position information” is, for example, when the first input area is located in the first direction relative to the second input area, the touch position information The condition may be that the touch position indicated by the touch position information is the farthest position from the second input area in the first direction during the period in which the indicated touch position exists in the first input area. Further, the ``condition regarding the existence range of the touch position indicated by the touch position information'' is, for example, a period in which the touch position indicated by the touch position information exists in the first input area, and the touch position indicated by the touch position information is , the first input area may be present in a predetermined range for a predetermined time or longer. Specifically, the ``condition regarding the presence range of the touch position indicated by the touch position information'' is, for example, that the touch position indicated by the touch position information is substantially the same in the first input area for a predetermined time or longer. It may be a condition that Here, a certain position and another position being "substantially the same position" may be, for example, a position where a certain position and another position are the same, or a position where a certain position and another position It may be to have a positional relationship that the distance is less than or equal to . The “second condition” may be, for example, a condition regarding the existence range of the touch position indicated by the touch position information, a condition regarding the history of the touch position indicated by the touch position information, or a condition regarding the history of the touch position indicated by the touch position information. The condition may be a moving speed of the touch position indicated by the position information. Specifically, the “second condition” is, for example, when the second input area is positioned in the second direction relative to the first input area, and the touch position indicated by the touch position information is in the second input area. The condition may be that the touch position indicated by the touch position information is the farthest position from the first input area in the second direction during the existing period. Also, the “second condition” may be, for example, a condition that the touch position indicated by the touch position information remains at substantially the same position in the second input area for a predetermined period of time or more.
また、上記態様において、「タッチ位置に基づく位置」とは、例えば、タッチ位置を用いて特定される位置であってもよいし、タッチ位置を基準として定められる位置であってもよい。具体的には、「タッチ位置に基づく位置」とは、例えば、タッチ位置と同一の位置であってもよいし、所定期間におけるタッチ位置の平均位置であってもよいし、タッチ位置と所定の距離以下の位置であってもよい。 Further, in the above aspect, the “position based on the touch position” may be, for example, a position specified using the touch position or a position determined based on the touch position. Specifically, the “position based on the touch position” may be, for example, the same position as the touch position, the average position of the touch positions in a predetermined period, or the touch position and the predetermined touch position. It may be at a distance or less.
[付記2]
本発明の他の態様に係るプログラムは、付記1に記載のプログラムであって、前記特定部は、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第1入力領域を含む第1領域に存在し、前記第1条件を満たす場合に、前記タッチ位置に基づく位置を、第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第2入力領域を含む第2領域に存在し、前記第2条件を満たす場合に、前記タッチ位置に基づく位置を、第2の位置として特定する、ことを特徴とする。
[Appendix 2]
A program according to another aspect of the present invention is the program according to
この態様において、決定部は、第1の位置及び第2の位置の2つの特徴位置を用いて、第1入力領域及び第2入力領域の位置を決定する。従って、この態様において、決定部は、入力領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、入力領域の位置を修正することが可能となる。
また、この態様によれば、決定部が、2つの特徴位置を用いて、第1入力領域及び第2入力領域の位置を決定するため、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。
また、この態様によれば、第1入力領域を含む第1領域におけるタッチ位置に基づく位置を、第1の位置として特定し、第2入力領域を含む第2領域におけるタッチ位置に基づく位置を、第2の位置として特定する。すなわち、この態様によれば、タッチ位置が入力領域の外部に外れた場合であっても、当該タッチ位置に基づく特徴位置を用いて、入力領域の位置を修正することができる。このため、この態様によれば、例えば、タッチ位置が入力領域に存在する場合に限りにおいて入力領域の位置を修正する場合と比較して、多様なタッチの態様に柔軟に対応した入力領域の設定が可能となる。
In this aspect, the determination unit determines the positions of the first input area and the second input area using the two characteristic positions of the first position and the second position. Therefore, in this aspect, even if the touch position in the input area gradually shifts, the determination unit can correct the position of the input area according to the shift of the touch position.
In addition, according to this aspect, since the determining unit determines the positions of the first input area and the second input area using the two characteristic positions, an arbitrary user is instructed to indicate the first operation direction. and the operation for inputting the instruction of the second operation direction can be maintained better than in the comparison.
Further, according to this aspect, the position based on the touch position in the first area including the first input area is specified as the first position, and the position based on the touch position in the second area including the second input area is specified as the first position. Identify as the second location. That is, according to this aspect, even when the touch position is outside the input area, the position of the input area can be corrected using the characteristic position based on the touch position. Therefore, according to this aspect, for example, compared to the case where the position of the input area is corrected only when the touch position exists in the input area, the setting of the input area flexibly corresponds to various touch aspects. becomes possible.
なお、上記態様において、「第1領域」とは、例えば、第1入力領域と同一の領域であってもよいし、第1入力領域を含む第1入力領域よりも広い領域であってもよい。「第2領域」とは、例えば、第1領域を含まない領域であって、第2入力領域と同一の領域であってもよいし、第1領域を含まない領域であって、第2入力領域を含む第2入力領域よりも広い領域であってもよい。 In the above aspect, the "first area" may be, for example, the same area as the first input area, or may be an area wider than the first input area including the first input area. . The "second area" is, for example, an area that does not include the first area and may be the same area as the second input area, or an area that does not include the first area and does not include the second input area. The area may be wider than the second input area containing the area.
[付記3]
本発明の他の態様に係るプログラムは、付記1に記載のプログラムであって、前記特定部は、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第1入力領域とは異なる位置に存在する状態から、前記第1入力領域に存在する状態に変化した場合に、当該変化後のタッチ位置に基づく位置を、前記第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第2入力領域とは異なる位置に存在する状態から、前記第2入力領域に存在する状態に変化した場合に、当該変化後のタッチ位置に基づく位置を、前記第2の位置として特定する、ことを特徴とする。
[Appendix 3]
A program according to another aspect of the present invention is the program according to
この態様において、例えば、第1の時刻において、特定部が、一の入力領域に存在するタッチ位置に基づく位置を、特徴位置として特定し、第1の時刻の後の第2の時刻において、タッチ位置が、一の入力領域の外部に存在し、第2の時刻の後の第3の時刻において、タッチ位置が、再び、一の入力領域に存在する場合に、特定部は、第3の時刻におけるタッチ位置に基づく位置を、特徴位置として特定する。このため、この態様において、特定部は、第1の時刻において特定した特徴位置に束縛されることなく、第3の時刻において新たに特徴位置を設定することができる。すなわち、この態様において、決定部は、タッチ位置が変化する場合であっても、過去の時刻において特定した特徴位置に束縛されることなく、当該タッチ位置の変化に従って、柔軟に入力位置を決定することが可能となる。 In this aspect, for example, at a first time, the specifying unit specifies a position based on a touch position existing in one input area as a characteristic position, and at a second time after the first time, the touch If the position exists outside the one input area and the touch position exists again in the one input area at a third time after the second time, the specifying unit A position based on the touch position in is identified as a feature position. Therefore, in this aspect, the identifying unit can newly set the characteristic position at the third time without being bound by the characteristic position identified at the first time. That is, in this aspect, even if the touch position changes, the determination unit flexibly determines the input position according to the change in the touch position without being constrained by the characteristic position identified at the past time. becomes possible.
[付記4]
本発明の他の態様に係るプログラムは、付記1または3に記載のプログラムであって、前記特定部は、前記タッチ期間のうち、前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第1入力領域に存在する第1タッチ期間の中で、前記タッチ位置が、第1の方向において基準位置から最も離れた場合に、前記タッチ位置に基づく位置を、前記第1の位置として特定し、前記タッチ期間のうち、前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第2入力領域に存在する第2タッチ期間の中で、前記タッチ位置が、第2の方向において前記基準位置から最も離れた場合に、前記タッチ位置に基づく位置を、前記第2の位置として特定する、ことを特徴とする。
[Appendix 4]
A program according to another aspect of the present invention is the program according to
一般的に、第1入力領域に存在するタッチ位置のうち、基準位置から第1の方向に最も離れたタッチ位置と、第2入力領域に存在するタッチ位置のうち、基準位置から第2の方向に最も離れたタッチ位置との、相対的な位置関係、及び、間隔は、ユーザ毎のタッチの態様に応じて変動する。そして、本態様において、特定部は、タッチ位置が第1入力領域に存在し、且つ、基準位置から第1の方向に最も離れた場合に、当該タッチ位置に基づく位置を第1の位置として特定し、タッチ位置が第2入力領域に存在し、且つ、基準位置から第2の方向に最も離れた場合に、当該タッチ位置に基づく位置を第2の位置として特定する。このため、本態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。 In general, among the touch positions existing in the first input area, the touch position farthest in the first direction from the reference position, and among the touch positions existing in the second input area, the second direction from the reference position The relative positional relationship and distance from the farthest touch position vary depending on the manner of touch for each user. In this aspect, when the touch position exists in the first input area and is the farthest in the first direction from the reference position, the specifying unit specifies the position based on the touch position as the first position. Then, when the touch position exists in the second input area and is the farthest in the second direction from the reference position, the position based on the touch position is specified as the second position. Therefore, according to this aspect, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user can be kept better compared to the contrast.
なお、上記態様において、「基準位置」とは、例えば、第1入力領域と第2入力領域の間の位置であってもよいし、第1入力領域及び第2入力領域から略等距離となる位置であってもよいし、タッチパネル上の任意の位置であってもよい。 In the above aspect, the "reference position" may be, for example, a position between the first input area and the second input area, or may be substantially equidistant from the first input area and the second input area. It may be a position or an arbitrary position on the touch panel.
また、上記態様において、「第1の方向」とは、例えば、基準位置から第1入力領域に含まれる任意の位置を示す方向であってもよいし、基準位置から第1入力領域に含まれる任意の位置を示す方向とは異なる方向であってもよい。「第2の方向」は、第1の方向とは異なる方向である。「第2の方向」は、例えば、第1の方向とは反対の方向であってもよいし、第1の方向と交差する方向であってもよい。具体的には、「第2の方向」とは、例えば、基準位置から第2入力領域に含まれる任意の位置を示す方向であってもよいし、基準位置から第2入力領域に含まれる任意の位置を示す方向とは異なる方向であってもよい。 Further, in the above aspect, the “first direction” may be, for example, a direction indicating an arbitrary position included in the first input area from the reference position, or a direction indicating an arbitrary position included in the first input area from the reference position. The direction may be different from the direction indicating the arbitrary position. A "second direction" is a direction different from the first direction. The "second direction" may be, for example, a direction opposite to the first direction or a direction crossing the first direction. Specifically, the “second direction” may be, for example, a direction indicating an arbitrary position included in the second input area from the reference position, or a direction indicating an arbitrary position included in the second input area from the reference position. may be different from the direction indicating the position of .
[付記5]
本発明の他の態様に係るプログラムは、付記1または3に記載のプログラムであって、前記特定部は、前記タッチ期間のうち、前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第1入力領域に存在する第1タッチ期間の中で、前記タッチ位置が、前記第1タッチ期間におけるタッチ位置の履歴に基づいて定められる第1参照位置よりも第1の方向に位置する場合に、前記タッチ位置に基づく位置を、前記第1の位置として特定し、前記タッチ期間のうち、前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第2入力領域に存在する第2タッチ期間の中で、前記タッチ位置が、前記第2タッチ期間におけるタッチ位置の履歴に基づいて定められる第2参照位置よりも第2の方向に位置する場合に、前記タッチ位置に基づく位置を、前記第2の位置として特定する、ことを特徴とする。
[Appendix 5]
A program according to another aspect of the present invention is the program according to
一般的に、第1タッチ期間の中で、タッチ位置が、第1参照位置よりも第1の方向に位置する場合における、当該タッチ位置と、第2タッチ期間の中で、タッチ位置が、第2参照位置よりも第2の方向に位置する場合における、当該タッチ位置との、相対的な位置関係、及び、間隔は、ユーザ毎のタッチの態様に応じて変動する。そして、本態様において、特定部は、第1タッチ期間の中で、タッチ位置が、第1参照位置よりも第1の方向に位置する場合における、当該タッチ位置に基づく位置を第1の位置として特定し、第2タッチ期間の中で、タッチ位置が、第2参照位置よりも第2の方向に位置する場合における、当該タッチ位置に基づく位置を第2の位置として特定する。このため、本態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。 In general, when the touch position is located in the first direction relative to the first reference position during the first touch period, and the touch position is located in the second touch period, the touch position is located in the first direction. When positioned in the second direction from the 2 reference positions, the relative positional relationship and distance from the touch position change according to the manner of touch for each user. In this aspect, the identifying unit sets the position based on the touch position, which is located in the first direction relative to the first reference position, as the first position during the first touch period. If the touch position is located in the second direction from the second reference position during the second touch period, the position based on the touch position is specified as the second position. Therefore, according to this aspect, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user can be kept better compared to the contrast.
なお、上記態様において、「第1参照位置」とは、例えば、第1タッチ期間のうち現在時刻よりも過去の期間の中で、タッチ位置情報の示すタッチ位置が最も第1の方向側に位置する時刻における、タッチ位置情報の示すタッチ位置に基づく位置であってもよい。また、「第1参照位置」とは、例えば、第1タッチ期間のうち、現在時刻よりも過去の期間における、タッチ位置情報の示すタッチ位置の平均位置であってもよい。「第2参照位置」とは、例えば、第2タッチ期間のうち現在時刻よりも過去の期間の中で、タッチ位置情報の示すタッチ位置が最も第2の方向側に位置する時刻における、タッチ位置情報の示すタッチ位置に基づく位置であってもよい。また、「第2参照位置」とは、例えば、第2タッチ期間のうち、現在時刻よりも過去の期間における、タッチ位置情報の示すタッチ位置の平均位置であってもよい。 Note that, in the above aspect, the “first reference position” means, for example, that the touch position indicated by the touch position information is positioned closest to the first direction in a period past the current time in the first touch period. It may be a position based on the touch position indicated by the touch position information at the time when the touch position is detected. Further, the “first reference position” may be, for example, the average position of the touch positions indicated by the touch position information in a period earlier than the current time in the first touch period. The “second reference position” is, for example, the touch position at the time when the touch position indicated by the touch position information is positioned closest to the second direction in the second touch period before the current time. It may be a position based on a touch position indicated by information. Also, the “second reference position” may be, for example, the average position of the touch positions indicated by the touch position information in the period past the current time in the second touch period.
[付記6]
本発明の他の態様に係るプログラムは、付記4に記載のプログラムであって、前記決定部は、前記第1の位置及び前記第2の位置の間の位置を、前記基準位置として決定し、前記第1入力領域が、前記基準位置よりも第1の方向に位置するように、前記第1入力領域の位置を決定し、前記第2入力領域が、前記基準位置よりも第2の方向に位置するように、前記第2入力領域の位置を決定する、ことを特徴とする。
[Appendix 6]
A program according to another aspect of the present invention is the program according to
一般的に、第1入力領域に存在するタッチ位置のうち、基準位置から第1の方向に最も離れたタッチ位置と、第2入力領域に存在するタッチ位置のうち、基準位置から第2の方向に最も離れたタッチ位置との、相対的な位置関係、及び、間隔は、ユーザ毎のタッチの態様に応じて変動する。そして、本態様において、特定部は、タッチ位置が、基準位置よりも第1の方向に位置する第1入力領域に存在し、且つ、基準位置から第1の方向に最も離れた場合に、当該タッチ位置に基づく位置を第1の位置として特定し、タッチ位置が、基準位置よりも第2の方向に位置する第2入力領域に存在し、且つ、基準位置から第2の方向に最も離れた場合に、当該タッチ位置に基づく位置を第2の位置として特定する。このため、本態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。 In general, among the touch positions existing in the first input area, the touch position farthest in the first direction from the reference position, and among the touch positions existing in the second input area, the second direction from the reference position The relative positional relationship and distance from the farthest touch position vary depending on the manner of touch for each user. In this aspect, when the touch position exists in the first input region located in the first direction from the reference position and is the farthest from the reference position in the first direction, the specifying unit A position based on the touch position is specified as the first position, and the touch position exists in the second input area located in the second direction from the reference position and is farthest from the reference position in the second direction. If so, a position based on the touch position is identified as the second position. Therefore, according to this aspect, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user can be kept better compared to the contrast.
[付記7]
本発明の他の態様に係るプログラムは、付記4または6に記載のプログラムであって、前記決定部は、前記タッチパネルにタッチがない状態から、前記タッチパネルにタッチがある状態に変化した場合、当該変化後に前記取得部が取得したタッチ位置情報の示すタッチ位置に基づく位置を、前記基準位置として決定する、ことを特徴とする。
[Appendix 7]
A program according to another aspect of the present invention is the program according to
この態様において、決定部は、タッチパネルに対するタッチが無い状態からタッチがある状態に変化した場合に、タッチがある状態に変化した後におけるタッチ位置に基づく位置を、基準位置として決定する。すなわち、この態様において、決定部は、タッチパネルに対するタッチが発生した際のタッチ位置により特定された第1の位置及び第2の位置に基づいて、第1入力領域及び第2入力領域の位置を決定する。このため、この態様によれば、例えば、基準位置並びに第1入力領域及び第2入力領域の位置が予め定められている場合と比較して、タッチパネルに対するタッチが発生した場合において、所望の入力領域とは異なる入力領域に誤ってタッチする可能性を低減することが可能となる。換言すれば、この態様によれば、例えば、基準位置並びに第1入力領域及び第2入力領域の位置が予め定められている場合と比較して、誤入力が発生する可能性を低減することが可能となる。 In this aspect, when the touch panel changes from untouched to touched, the determination unit determines the position based on the touched position after the touched state as the reference position. That is, in this aspect, the determining unit determines the positions of the first input area and the second input area based on the first position and the second position specified by the touch position when the touch panel is touched. do. Therefore, according to this aspect, for example, compared to the case where the reference position and the positions of the first input area and the second input area are predetermined, when the touch panel is touched, the desired input area It is possible to reduce the possibility of erroneously touching an input area different from the input area. In other words, according to this aspect, for example, compared to the case where the reference position and the positions of the first input area and the second input area are predetermined, it is possible to reduce the possibility of erroneous input. It becomes possible.
[付記8]
本発明の他の態様に係るプログラムは、付記1または3に記載のプログラムであって、前記特定部は、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第1入力領域において、所定時間以上に亘り略同じ位置である場合に、前記タッチ位置に基づく位置を、前記第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第2入力領域において、前記所定時間以上に亘り略同じ位置である場合に、前記タッチ位置に基づく位置を、前記第2の位置として特定する、ことを特徴とする。
[Appendix 8]
A program according to another aspect of the present invention is the program according to
この態様において、特定部は、タッチ位置が入力領域において所定時間以上に亘り略同じ位置である場合に、当該タッチ位置に基づく位置を、特徴位置として特定する。一般的に、タッチ位置が入力領域において略同じ位置を維持する場合、当該タッチをしたユーザが、当該入力領域をタッチする意思を有している可能性が高く、当該タッチが誤入力ではない可能性が高い。このため、この態様によれば、ユーザの意思に反した位置に第1入力領域及び第2入力領域が設定されることを防止することができる。 In this aspect, the identifying unit identifies the position based on the touched position as the characteristic position when the touched position remains substantially at the same position in the input area for a predetermined period of time or longer. In general, when the touch position remains substantially the same in the input area, there is a high possibility that the user who made the touch has the intention of touching the input area, and the touch is not an erroneous input. highly sexual. Therefore, according to this aspect, it is possible to prevent the first input area and the second input area from being set at positions against the user's intention.
[付記9]
本発明の他の態様に係るプログラムは、付記1乃至8に記載のプログラムであって、前記決定部は、前記第1入力領域が、基準位置よりも第1の方向に位置するように、前記第1入力領域の位置を決定し、前記第2入力領域が、前記基準位置よりも、前記第1の方向とは反対の第2の方向に位置するように、前記第2入力領域の位置を決定する、ことを特徴とする。
[Appendix 9]
A program according to another aspect of the present invention is the program according to
一般的に、タッチ期間において、タッチ位置が、例えば、基準位置よりも第1の方向に位置する第1入力領域と、基準位置よりも第2の方向に位置する第2入力領域との間を往復する場合、タッチ位置が、所望の位置よりも、第1の方向または第2の方向にずれる可能性が高い。特に、第1入力領域が基準位置から見て第2入力領域の反対側に設けられている場合、第1入力領域が基準位置から見て第2入力領域とは反対側では無い位置に設けられている場合と比較して、第1入力領域内の任意の位置と第2入力領域内の任意の位置との間の距離が大きくなる可能性が高くなる。すなわち、第1入力領域が基準位置から見て第2入力領域の反対側に設けられている場合、第1入力領域が基準位置から見て第2入力領域とは反対側では無い位置に設けられている場合と比較して、第1入力領域または第2入力領域における所望の位置に対するタッチ位置のずれの量が大きくなる可能性が高くなる。
これに対して、本態様に係る決定部は、第1入力領域におけるタッチ位置に基づく第1の位置と、第2入力領域におけるタッチ位置に基づく第2の位置と、に基づいて、第1入力領域及び第2入力領域の位置を修正する。すなわち、本態様に係る決定部は、所望の位置に対するタッチ位置のずれが生じる場合に、当該ずれに応じて定められる第1の位置及び第2の位置に基づいて、第1入力領域及び第2入力領域の位置を修正することができる。そして、本態様では、上述のとおり、第1入力領域が基準位置から見て第2入力領域の反対側に設けられているため、第1入力領域が基準位置から見て第2入力領域とは反対側では無い位置に設けられている場合と比較して、第1の位置及び第2の位置が、所望の位置に対するタッチ位置のずれを、より鋭敏に反映した位置となる可能性が高くなる。従って、本態様において、決定部は、タッチ位置が第1の方向または第2の方向にずれる場合であっても、当該タッチ位置のずれに応じて、第1入力領域及び第2入力領域の位置を修正することができる。このため、本態様によれば、例えば、第1入力領域及び第2入力領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
In general, during the touch period, the touch position moves between, for example, a first input area located in a first direction relative to the reference position and a second input area located in a second direction relative to the reference position. When reciprocating, the touch position is likely to deviate in the first direction or the second direction from the desired position. In particular, when the first input area is provided on the opposite side of the second input area when viewed from the reference position, the first input area is provided on the other side than the second input area when viewed from the reference position. It is more likely that the distance between any position in the first input area and any position in the second input area will be large compared to the case where That is, when the first input area is provided on the opposite side of the second input area as viewed from the reference position, the first input area is provided at a position other than the second input area when viewed from the reference position. As compared with the case where the touch position is in the first input area or the second input area, the amount of deviation of the touch position from the desired position is likely to increase.
On the other hand, the determination unit according to this aspect determines the first input based on the first position based on the touch position in the first input area and the second position based on the touch position in the second input area. Modify the position of the region and the second input region. That is, when the touch position is shifted from the desired position, the determination unit according to this aspect determines the first input area and the second input area based on the first position and the second position determined according to the shift. The position of the input area can be modified. In this aspect, as described above, since the first input area is provided on the opposite side of the second input area when viewed from the reference position, the first input area is different from the second input area when viewed from the reference position. Compared to the case where they are provided at positions that are not opposite sides, the first position and the second position are more likely to be positions that more sensitively reflect the deviation of the touch position from the desired position. . Therefore, in this aspect, even if the touch position shifts in the first direction or the second direction, the determination unit determines the position of the first input area and the second input area according to the shift of the touch position. can be modified. Therefore, according to this aspect, for example, compared to the case where the positions of the first input area and the second input area are fixed, the possibility of an erroneous input due to deviation of the touch position on the touch panel is reduced. becomes possible.
[付記10]
本発明の他の態様に係るプログラムは、付記9に記載のプログラムであって、前記決定部は、前記基準位置から前記第1の方向に延在する第1基準線とのなす角度が、第1の角度以下の領域の少なくとも一部を、前記第1入力領域として決定し、前記基準位置から前記第2の方向に延在する第2基準線とのなす角度が、第2の角度以下の領域の少なくとも一部を、前記第2入力領域として決定する、ことを特徴とする。
[Appendix 10]
A program according to another aspect of the present invention is the program according to
この態様において、決定部は、一例として、第1入力領域を、基準位置から第1の方向に向けて広がる扇形の領域として定め、第2入力領域を、基準位置から第2の方向に向けて広がる扇形の領域として定める。このため、この態様によれば、例えば、ユーザが指によりタッチパネルをタッチする場合に、ユーザは、指を基準位置にタッチさせつつ第1の方向に傾けることで、第1入力領域をタッチすることが可能となり、指を基準位置にタッチさせつつ第2の方向に傾けることで、第2入力領域をタッチすることが可能となる。すなわち、この態様によれば、例えば、ユーザが指によりタッチパネルにタッチする場合に、ユーザは、指をタッチパネルから離間させることなく、第1入力領域及び第2入力領域の2つの入力領域をタッチすることが可能となる。このため、この態様によれば、例えば、第1入力領域へのタッチと第2入力領域へのタッチとの間で指をタッチパネルから離間させる必要がある場合と比較して、ユーザは、第1の操作方向の指示の入力を行うための操作と、第2の操作方向の指示の入力を行うための操作との切り替えを、容易に行うことが可能となる。 In this aspect, as an example, the determining unit defines the first input area as a fan-shaped area extending from the reference position in the first direction, and defines the second input area as extending from the reference position in the second direction. defined as an expanding fan-shaped area. Therefore, according to this aspect, for example, when the user touches the touch panel with a finger, the user touches the first input area by touching the reference position and tilting the finger in the first direction. is possible, and by tilting the finger in the second direction while touching the reference position, the second input area can be touched. That is, according to this aspect, for example, when the user touches the touch panel with a finger, the user touches the two input areas, the first input area and the second input area, without moving the finger away from the touch panel. becomes possible. Therefore, according to this aspect, for example, compared to the case where it is necessary to move the finger away from the touch panel between touching the first input area and touching the second input area, the user can It is possible to easily switch between an operation for inputting an instruction for the operation direction of 1 and an operation for inputting an instruction for the second operation direction.
なお、上記態様において、「第1の角度」とは、90度以下の角度であってもよい。「第1の角度」とは、例えば、45度であってもよい。「第2の角度」とは、90度以下の角度であってもよい。「第2の角度」とは、例えば、45度であってもよい。 In the above aspect, the "first angle" may be an angle of 90 degrees or less. The "first angle" may be, for example, 45 degrees. The "second angle" may be an angle of 90 degrees or less. The "second angle" may be, for example, 45 degrees.
[付記11]
本発明の他の態様に係るプログラムは、付記1乃至10に記載のプログラムであって、前記決定部は、前記第1入力領域が、基準位置よりも第1の方向に位置するように、前記第1入力領域の位置を決定し、前記第2入力領域が、前記基準位置よりも第2の方向に位置するように、前記第2入力領域の位置を決定し、前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、前記ゲームに係る第3の操作方向の指示を入力するための第3入力領域の位置を決定し、前記第3入力領域は、前記基準位置よりも第3の方向に位置し、前記第2の方向は、前記第1の方向とは反対の方向であり、前記第3の方向は、前記第1の方向及び前記第2の方向と交差する方向である、ことを特徴とする。
[Appendix 11]
A program according to another aspect of the present invention is the program according to any of
この態様によれば、決定部は、第1の位置及び第2の位置に基づいて、第1入力領域、第2入力領域、及び、第3入力領域の位置を決定する。このため、この態様によれば、例えば、タッチ位置が第3入力領域に存在する場合における当該タッチ位置を第3の位置として特定し、第1の位置、第2の位置、及び、第3の位置に基づいて、第1入力領域、第2入力領域、及び、第3入力領域の位置を決定する態様と比較して、第3入力領域へのタッチの頻度が、第1入力領域及び第2入力領域へのタッチの頻度よりも低い場合においても、第3入力領域の位置を正確に決定することが可能となる。 According to this aspect, the determination unit determines the positions of the first input area, the second input area, and the third input area based on the first position and the second position. Therefore, according to this aspect, for example, when the touch position exists in the third input area, the touch position is specified as the third position, and the first position, the second position, and the third position are specified. Compared to determining the positions of the first input area, the second input area, and the third input area based on the position, the frequency of touches on the third input area is higher than that of the first input area and the second input area. It is possible to accurately determine the position of the third input area even when the frequency of touches on the input area is lower than that of the input area.
なお、上記態様において、「第3の方向」は、例えば、第1の方向及び第2の方向と直交する方向であってもよい。 In the above aspect, the "third direction" may be, for example, a direction orthogonal to the first direction and the second direction.
[付記12]
本発明の他の態様に係るプログラムは、付記1乃至11に記載のプログラムであって、前記決定部は、前記特定部が、前記第1の位置及び前記第2の位置を特定した場合に、基準位置から前記第1の位置を示す方向を、第1の方向として決定し、前記基準位置から前記第2の位置を示す方向を、第2の方向として決定し、前記第1の方向及び前記第2の方向に基づいて、前記第1入力領域及び前記第2入力領域の位置を決定する、ことを特徴とする。
[Appendix 12]
A program according to another aspect of the present invention is the program according to
この態様において、決定部は、第1の位置に応じて定められる第1の方向と、第2の位置に応じて定められる第2の方向と、に基づいて、第1入力領域及び第2入力領域の位置を決定する。従って、この態様において、決定部は、入力領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、タッチパネルに固定された座標系における入力領域の傾きを修正することが可能となる。このため、この態様によれば、例えば、タッチパネルに固定された座標系における入力領域の傾きが固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。 In this aspect, the determination unit determines the first input area and the second input area based on the first direction determined according to the first position and the second direction determined according to the second position. Determine the location of the region. Therefore, in this aspect, even if the touch position in the input area gradually shifts, the determination unit corrects the inclination of the input area in the coordinate system fixed to the touch panel according to the shift in the touch position. becomes possible. Therefore, according to this aspect, for example, compared to the case where the inclination of the input area in the coordinate system fixed to the touch panel is fixed, the possibility of erroneous input due to the displacement of the touch position on the touch panel is reduced. It becomes possible to
[付記13]
本発明の他の態様に係るプログラムは、付記1乃至12に記載のプログラムであって、前記プロセッサを、前記タッチパネルにタッチがない状態から、前記タッチパネルにタッチがある状態に変化した場合と、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第1入力領域とは異なる位置に存在する状態から、前記第1入力領域に存在する状態に変化した場合と、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第2入力領域とは異なる位置に存在する状態から、前記第2入力領域に存在する状態に変化した場合と、のうち、少なくとも一つの場合に、前記タッチパネルを振動させる振動制御部、として更に機能させる、ことを特徴とする。
[Appendix 13]
A program according to another aspect of the present invention is the program according to any of
この態様によれば、例えば、ユーザが指によりタッチパネルにタッチする場合に、ユーザは、タッチの有無の変化、及び、タッチ位置の変化の少なくとも一方を、タッチパネルの振動として、触覚により直感的に把握することが可能となる。 According to this aspect, for example, when the user touches the touch panel with a finger, the user intuitively perceives at least one of a change in the presence or absence of a touch and a change in the touch position as vibration of the touch panel by tactile sensation. It becomes possible to
[付記14]
本発明の一態様に係る情報処理装置は、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1入力領域に存在し、前記タッチ位置に関連する第1条件を満たす場合に、前記タッチ位置に基づく位置を、第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2入力領域に存在し、前記タッチ位置に関連する第2条件を満たす場合に、前記タッチ位置に基づく位置を、第2の位置として特定する特定部と、前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、を備える、ことを特徴とする。
[Appendix 14]
An information processing apparatus according to an aspect of the present invention includes an acquisition unit that acquires touch position information indicating a touch position on a touch panel; A position based on the touch position when the touch position indicated by the information exists in a first input area for inputting an instruction of a first operation direction related to the game and satisfies a first condition related to the touch position. is identified as a first position, and the touch position indicated by the touch position information acquired by the acquisition unit during the touch period is a second input region for inputting a second operation direction instruction related to the game. a specifying unit that specifies a position based on the touch position as a second position when a second condition related to the touch position is satisfied; and the first position specified by the specifying unit and the a determination unit that determines positions of the first input area and the second input area based on a second position.
この態様において、決定部は、特徴位置に基づいて、入力領域の位置を決定する。従って、この態様において、決定部は、入力領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、入力領域の位置を修正することが可能となる。このため、この態様によれば、例えば、入力領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
また、この態様によれば、決定部が、2つの特徴位置を用いて、第1入力領域及び第2入力領域の位置を決定する。このため、この態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。
In this aspect, the determination unit determines the position of the input area based on the feature position. Therefore, in this aspect, even if the touch position in the input area gradually shifts, the determination unit can correct the position of the input area according to the shift of the touch position. Therefore, according to this aspect, for example, compared to the case where the position of the input area is fixed, it is possible to reduce the possibility of erroneous input due to deviation of the touch position on the touch panel.
Moreover, according to this aspect, the determination unit determines the positions of the first input area and the second input area using the two characteristic positions. Therefore, according to this aspect, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user can be kept better compared to the contrast.
[付記15]
本発明の他の態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、第1の指示を入力するための第1入力領域に存在し、前記タッチ位置に関連する第1条件を満たす場合に、前記タッチ位置に基づく位置を、第1の位置として特定し、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、第2の指示を入力するための第2入力領域に存在し、前記タッチ位置に関連する第2条件を満たす場合に、前記タッチ位置に基づく位置を、第2の位置として特定する特定部と、前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、して機能させる、ことを特徴とする。
[Appendix 15]
A program according to another aspect of the present invention comprises a processor, an acquisition unit configured to acquire touch position information indicating a touch position on a touch panel, and When the touch position indicated by the touch position information exists in the first input area for inputting the first instruction and satisfies a first condition related to the touch position, the position based on the touch position is set to the first input area. in the touch period, the touch position indicated by the touch position information acquired by the acquisition unit exists in the second input area for inputting a second instruction, and the touch position is related to the touch position a specifying unit that specifies a position based on the touch position as a second position when two conditions are satisfied; It is characterized by functioning as a determining unit that determines the positions of the input area and the second input area.
この態様において、決定部は、特徴位置に基づいて、入力領域の位置を決定する。従って、この態様において、決定部は、入力領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、入力領域の位置を修正することが可能となる。このため、この態様によれば、例えば、入力領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
また、この態様によれば、決定部が、2つの特徴位置を用いて、第1入力領域及び第2入力領域の位置を決定する。このため、この態様によれば、任意のユーザに対して、第1の指示の入力を行うための操作、及び、第2の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。
In this aspect, the determination unit determines the position of the input area based on the feature position. Therefore, in this aspect, even if the touch position in the input area gradually shifts, the determination unit can correct the position of the input area according to the shift of the touch position. Therefore, according to this aspect, for example, compared to the case where the position of the input area is fixed, it is possible to reduce the possibility of erroneous input due to deviation of the touch position on the touch panel.
Moreover, according to this aspect, the determination unit determines the positions of the first input area and the second input area using the two characteristic positions. Therefore, according to this aspect, the operability in the operation for inputting the first instruction and the operation for inputting the second instruction for an arbitrary user are compared with each other. It is possible to keep it in good condition.
なお、上記態様において、「第1の指示」は、例えば、タッチパネルを用いて提供されるゲームに関する指示であってもよいし、タッチパネルを用いて提供される任意のサービスに係る指示であってもよい。「第2の指示」は、例えば、第1の指示とは異なる指示であって、タッチパネルを用いて提供されるゲームに関する指示であってもよいし、第1の指示とは異なる指示であって、タッチパネルを用いて提供される任意のサービスに係る指示であってもよい。 In the above aspect, the "first instruction" may be, for example, an instruction regarding a game provided using the touch panel, or an instruction regarding any service provided using the touch panel. good. The “second instruction” is, for example, an instruction different from the first instruction, and may be an instruction related to a game provided using a touch panel, or an instruction different from the first instruction. , may be instructions for any service provided using a touch panel.
[付記16]
本発明の他の態様に係るプログラムは、プロセッサを、タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、前記タッチパネルへのタッチが継続しているタッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、ゲームに係る第1の操作方向の指示を入力するための第1入力領域に存在する場合に、前記タッチ位置に基づく位置を、第1の位置として特定可能であり、前記タッチ期間において、前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記ゲームに係る第2の操作方向の指示を入力するための第2入力領域に存在する場合に、前記タッチ位置に基づく位置を、第2の位置として特定可能な特定部と、前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、して機能させる、ことを特徴とする。
[Appendix 16]
A program according to another aspect of the present invention comprises a processor, an acquisition unit configured to acquire touch position information indicating a touch position on a touch panel, and When the touch position indicated by the touch position information exists in the first input area for inputting the instruction of the first operation direction related to the game, the position based on the touch position can be identified as the first position. and if, during the touch period, the touch position indicated by the touch position information acquired by the acquisition unit exists in a second input area for inputting a second operation direction instruction relating to the game, the touch a specifying unit capable of specifying a position-based position as a second position; and the first input area and the second input area based on the first position and the second position specified by the specifying unit. It is characterized by functioning as a determination unit that determines the position of the .
この態様において、決定部は、特徴位置に基づいて、入力領域の位置を決定する。従って、この態様において、決定部は、入力領域におけるタッチ位置が徐々にずれる場合であっても、当該タッチ位置のずれに応じて、入力領域の位置を修正することが可能となる。このため、この態様によれば、例えば、入力領域の位置が固定されている場合と比較して、タッチパネルへのタッチ位置のずれに伴う誤入力の可能性を低減することが可能となる。
また、この態様によれば、決定部が、2つの特徴位置を用いて、第1入力領域及び第2入力領域の位置を決定する。このため、この態様によれば、任意のユーザに対して、第1の操作方向の指示の入力を行うための操作、及び、第2の操作方向の指示の入力を行うための操作における操作性を、対比例と比較して良好に保つことが可能となる。
In this aspect, the determination unit determines the position of the input area based on the feature position. Therefore, in this aspect, even if the touch position in the input area gradually shifts, the determination unit can correct the position of the input area according to the shift of the touch position. Therefore, according to this aspect, for example, compared to the case where the position of the input area is fixed, it is possible to reduce the possibility of erroneous input due to deviation of the touch position on the touch panel.
Moreover, according to this aspect, the determination unit determines the positions of the first input area and the second input area using the two characteristic positions. Therefore, according to this aspect, the operability in the operation for inputting the instruction in the first operation direction and the operation for inputting the instruction in the second operation direction for any user can be kept better compared to the contrast.
10…端末装置、11…制御部、12…表示部、13…入力部、14…記憶部、15…振動発生部、111…ゲーム制御部、112…表示制御部、113…タッチ位置情報取得部、114…特徴位置特定部、115…入力領域決定部、116…振動制御部、1000…プロセッサ、1002…タッチパネル。
DESCRIPTION OF
Claims (14)
タッチパネルにおけるタッチ位置を示すタッチ位置情報を取得する取得部と、
前記タッチパネルへのタッチが継続しているタッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
ゲームに係る第1の操作方向の指示を入力するための第1入力領域に存在する場合に、
前記タッチ位置に基づく位置を、第1の位置として特定可能であり、
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記ゲームに係る第2の操作方向の指示を入力するための第2入力領域に存在する場合に、
前記タッチ位置に基づく位置を、第2の位置として特定可能な特定部と、
前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、
前記第1入力領域及び前記第2入力領域の基準となる基準位置を決定することにより、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、
して機能させる、
ことを特徴とするプログラム。
the processor,
an acquisition unit that acquires touch position information indicating a touch position on the touch panel;
In the touch period during which the touch panel continues to be touched,
The touch position indicated by the touch position information acquired by the acquisition unit is
When present in the first input area for inputting the instruction of the first operation direction related to the game,
a position based on the touch position is identifiable as a first position;
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
When present in the second input area for inputting the instruction of the second operation direction related to the game,
a specifying unit capable of specifying a position based on the touch position as a second position;
Based on the first position and the second position specified by the specifying unit,
a determining unit that determines positions of the first input area and the second input area by determining a reference position that serves as a reference for the first input area and the second input area;
to make it work,
A program characterized by
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第1入力領域を拡張した領域である第1領域に存在する場合に、
前記タッチ位置に基づく位置を、第1の位置として特定し、
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第2入力領域を拡張した領域である第2領域に存在する場合に、
前記タッチ位置に基づく位置を、第2の位置として特定する、
ことを特徴とする、請求項1に記載のプログラム。
The identification unit
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
When present in the first area, which is an area obtained by extending the first input area,
identifying a position based on the touch position as a first position;
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
When present in the second area, which is an area obtained by extending the second input area,
identifying a position based on the touch position as a second position;
2. The program according to claim 1, characterized by:
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第1入力領域とは異なる位置に存在する状態から、
前記第1入力領域に存在する状態に変化した場合に、
当該変化後のタッチ位置に基づく位置を、前記第1の位置として特定し、
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第2入力領域とは異なる位置に存在する状態から、
前記第2入力領域に存在する状態に変化した場合に、
当該変化後のタッチ位置に基づく位置を、前記第2の位置として特定する、
ことを特徴とする、請求項1に記載のプログラム。
The specifying unit is
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
From the state existing at a position different from the first input area,
When changing to a state existing in the first input area,
identifying a position based on the changed touch position as the first position;
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
From the state existing at a position different from the second input area,
When changing to a state existing in the second input area,
Identifying a position based on the changed touch position as the second position;
2. The program according to claim 1, characterized by:
前記タッチ期間のうち、
前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第1入力領域に存在する第1タッチ期間の中で、前記タッチ位置が、第1の方向において基準位置から最も離れた場合に、
前記タッチ位置に基づく位置を、前記第1の位置として特定し、
前記タッチ期間のうち、
前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第2入力領域に存在する第2タッチ期間の中で、
前記タッチ位置が、第2の方向において前記基準位置から最も離れた場合に、
前記タッチ位置に基づく位置を、前記第2の位置として特定する、
ことを特徴とする、請求項1または3に記載のプログラム。
The specifying unit is
Of the touch period,
In a first touch period in which the touch position indicated by the touch position information acquired by the acquisition unit exists in the first input area, when the touch position is farthest from a reference position in a first direction,
identifying a position based on the touch position as the first position;
Of the touch period,
During a second touch period in which the touch position indicated by the touch position information acquired by the acquisition unit exists in the second input area,
when the touch position is farthest from the reference position in the second direction,
identifying a position based on the touch position as the second position;
4. The program according to claim 1 or 3, characterized by:
前記タッチ期間のうち、
前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第1入力領域に存在する第1タッチ期間の中で、
前記タッチ位置が、
前記第1タッチ期間におけるタッチ位置の履歴に基づいて定められる第1参照位置よりも第1の方向に位置する場合に、
前記タッチ位置に基づく位置を、前記第1の位置として特定し、
前記タッチ期間のうち、
前記取得部が取得したタッチ位置情報の示すタッチ位置が前記第2入力領域に存在する第2タッチ期間の中で、
前記タッチ位置が、
前記第2タッチ期間におけるタッチ位置の履歴に基づいて定められる第2参照位置よりも第2の方向に位置する場合に、
前記タッチ位置に基づく位置を、前記第2の位置として特定する、
ことを特徴とする、請求項1または3に記載のプログラム。
The identification unit
Of the touch period,
During a first touch period in which the touch position indicated by the touch position information acquired by the acquisition unit exists in the first input area,
the touch position is
When positioned in the first direction from the first reference position determined based on the history of touch positions in the first touch period,
identifying a position based on the touch position as the first position;
Of the touch period,
During a second touch period in which the touch position indicated by the touch position information acquired by the acquisition unit exists in the second input area,
the touch position is
When positioned in a second direction relative to a second reference position determined based on the history of touch positions in the second touch period,
identifying a position based on the touch position as the second position;
4. The program according to claim 1 or 3, characterized by:
前記第1の位置及び前記第2の位置の間の位置を、前記基準位置として決定し、
前記第1入力領域が、前記基準位置よりも第1の方向に位置するように、
前記第1入力領域の位置を決定し、
前記第2入力領域が、前記基準位置よりも第2の方向に位置するように、
前記第2入力領域の位置を決定する、
ことを特徴とする、請求項4に記載のプログラム。
The decision unit
determining a position between the first position and the second position as the reference position;
so that the first input area is located in the first direction from the reference position,
determining the position of the first input area;
so that the second input area is positioned in a second direction relative to the reference position,
determining the position of the second input area;
5. The program according to claim 4, characterized by:
前記タッチパネルにタッチがない状態から、
前記タッチパネルにタッチがある状態に変化した場合、
当該変化後に前記取得部が取得したタッチ位置情報の示すタッチ位置に基づく位置を、
前記基準位置として決定する、
ことを特徴とする、請求項4または6に記載のプログラム。
The decision unit
From the state where there is no touch on the touch panel,
When the touch panel changes to a touched state,
The position based on the touch position indicated by the touch position information acquired by the acquisition unit after the change,
determined as the reference position;
7. The program according to claim 4 or 6, characterized by:
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第1入力領域において、所定時間以上に亘り略同じ位置である場合に、
前記タッチ位置に基づく位置を、前記第1の位置として特定し、
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第2入力領域において、前記所定時間以上に亘り略同じ位置である場合に、
前記タッチ位置に基づく位置を、前記第2の位置として特定する、
ことを特徴とする、請求項1または3に記載のプログラム。
The specifying unit is
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
In the first input area, when it is at substantially the same position for a predetermined time or more,
identifying a position based on the touch position as the first position;
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
In the second input area, when it is in substantially the same position for the predetermined time or more,
identifying a position based on the touch position as the second position;
4. The program according to claim 1 or 3, characterized by :
前記第1入力領域が、基準位置よりも第1の方向に位置するように、
前記第1入力領域の位置を決定し、
前記第2入力領域が、前記基準位置よりも、前記第1の方向とは反対の第2の方向に位置するように、
前記第2入力領域の位置を決定する、
ことを特徴とする、請求項1乃至8のうち何れか1項に記載のプログラム。
The decision unit
so that the first input area is located in the first direction from the reference position,
determining the position of the first input area;
so that the second input area is positioned in a second direction opposite to the first direction from the reference position,
determining the position of the second input area;
9. The program according to any one of claims 1 to 8, characterized by:
前記基準位置から前記第1の方向に延在する第1基準線とのなす角度が、第1の角度以下の領域の少なくとも一部を、
前記第1入力領域として決定し、
前記基準位置から前記第2の方向に延在する第2基準線とのなす角度が、第2の角度以下の領域の少なくとも一部を、
前記第2入力領域として決定する、
ことを特徴とする、請求項9に記載のプログラム。
The decision unit
At least a part of the region where the angle formed by the first reference line extending from the reference position in the first direction is equal to or less than the first angle,
determined as the first input area;
At least a part of the region where the angle formed by the second reference line extending from the reference position in the second direction is equal to or less than the second angle,
determining as the second input area;
10. The program according to claim 9, characterized by:
前記第1入力領域が、基準位置よりも第1の方向に位置するように、
前記第1入力領域の位置を決定し、
前記第2入力領域が、前記基準位置よりも第2の方向に位置するように、
前記第2入力領域の位置を決定し、
前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、
前記ゲームに係る第3の操作方向の指示を入力するための第3入力領域の位置を決定し、
前記第3入力領域は、
前記基準位置よりも第3の方向に位置し、
前記第2の方向は、
前記第1の方向とは反対の方向であり、
前記第3の方向は、
前記第1の方向及び前記第2の方向と交差する方向である、
ことを特徴とする、請求項1乃至10のうち何れか1項に記載のプログラム。
The decision unit
so that the first input area is located in the first direction from the reference position,
determining the position of the first input area;
so that the second input area is positioned in a second direction relative to the reference position,
determining the position of the second input area;
Based on the first position and the second position specified by the specifying unit,
determining the position of a third input area for inputting a third operation direction instruction relating to the game;
The third input area is
positioned in a third direction from the reference position,
The second direction is
in a direction opposite to the first direction,
The third direction is
A direction that intersects the first direction and the second direction,
11. The program according to any one of claims 1 to 10, characterized by:
前記特定部が、前記第1の位置及び前記第2の位置を特定した場合に、
基準位置から前記第1の位置を示す方向を、第1の方向として決定し、
前記基準位置から前記第2の位置を示す方向を、第2の方向として決定し、
前記第1の方向及び前記第2の方向に基づいて、
前記第1入力領域及び前記第2入力領域の位置を決定する、
ことを特徴とする、請求項1乃至11のうち何れか1項に記載のプログラム。
The decision unit
When the specifying unit specifies the first position and the second position,
determining a direction indicating the first position from a reference position as a first direction;
determining a direction indicating the second position from the reference position as a second direction;
Based on the first direction and the second direction,
determining the positions of the first input area and the second input area;
12. The program according to any one of claims 1 to 11, characterized by:
前記タッチパネルにタッチがない状態から、
前記タッチパネルにタッチがある状態に変化した場合と、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記第1入力領域とは異なる位置に存在する状態から、
前記第1入力領域に存在する状態に変化した場合と、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、前記第2入力領域とは異なる位置に存在する状態から、
前記第2入力領域に存在する状態に変化した場合と、
のうち、少なくとも一つの場合に、
前記タッチパネルを振動させる振動制御部、
として更に機能させる、
ことを特徴とする、請求項1乃至12のうち何れか1項に記載のプログラム。
the processor,
From the state where there is no touch on the touch panel,
when the touch panel changes to a touched state;
The touch position indicated by the touch position information acquired by the acquisition unit is
From the state existing at a position different from the first input area,
when changing to a state existing in the first input area;
From a state where the touch position indicated by the touch position information acquired by the acquisition unit exists at a position different from the second input area,
when changing to a state existing in the second input area;
in at least one case of
a vibration control unit that vibrates the touch panel;
further function as
13. The program according to any one of claims 1 to 12, characterized by:
前記タッチパネルへのタッチが継続しているタッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
ゲームに係る第1の操作方向の指示を入力するための第1入力領域に存在する場合に、
前記タッチ位置に基づく位置を、第1の位置として特定可能であり、
前記タッチ期間において、
前記取得部が取得したタッチ位置情報の示すタッチ位置が、
前記ゲームに係る第2の操作方向の指示を入力するための第2入力領域に存在する場合に、
前記タッチ位置に基づく位置を、第2の位置として特定可能な特定部と、
前記特定部が特定した前記第1の位置及び前記第2の位置に基づいて、
前記第1入力領域及び前記第2入力領域の基準となる基準位置を決定することにより、前記第1入力領域及び前記第2入力領域の位置を決定する決定部と、
を備える、
ことを特徴とする、情報処理装置。
an acquisition unit that acquires touch position information indicating a touch position on the touch panel;
In the touch period during which the touch panel continues to be touched,
The touch position indicated by the touch position information acquired by the acquisition unit is
When present in the first input area for inputting the instruction of the first operation direction related to the game,
a position based on the touch position is identifiable as a first position ;
During the touch period,
The touch position indicated by the touch position information acquired by the acquisition unit is
When present in the second input area for inputting the instruction of the second operation direction related to the game,
a specifying unit capable of specifying a position based on the touch position as a second position;
Based on the first position and the second position specified by the specifying unit,
a determining unit that determines positions of the first input area and the second input area by determining a reference position that serves as a reference for the first input area and the second input area;
comprising
An information processing device characterized by:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019193469A JP7210022B2 (en) | 2019-10-24 | 2019-10-24 | Program and information processing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019193469A JP7210022B2 (en) | 2019-10-24 | 2019-10-24 | Program and information processing device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018108894A Division JP6614539B1 (en) | 2018-06-06 | 2018-06-06 | Program and information processing apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2020028723A JP2020028723A (en) | 2020-02-27 |
JP2020028723A5 JP2020028723A5 (en) | 2021-07-26 |
JP7210022B2 true JP7210022B2 (en) | 2023-01-23 |
Family
ID=69623329
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019193469A Active JP7210022B2 (en) | 2019-10-24 | 2019-10-24 | Program and information processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7210022B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012133481A (en) | 2010-12-20 | 2012-07-12 | Namco Bandai Games Inc | Program, information storage medium and terminal device |
JP2014044455A (en) | 2012-08-03 | 2014-03-13 | Konami Digital Entertainment Co Ltd | Operation terminal, operation control method, and operation control 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 |
-
2019
- 2019-10-24 JP JP2019193469A patent/JP7210022B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012133481A (en) | 2010-12-20 | 2012-07-12 | Namco Bandai Games Inc | Program, information storage medium and terminal device |
JP2014044455A (en) | 2012-08-03 | 2014-03-13 | Konami Digital Entertainment Co Ltd | Operation terminal, operation control method, and operation control 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 |
---|---|
JP2020028723A (en) | 2020-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017069176A1 (en) | Line-of-sight input device, line-of-sight input method, and line-of-sight input program | |
JP7496013B2 (en) | GAME PROGRAM, INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING SYSTEM, AND GAME PRO | |
US11154779B2 (en) | Processing device, program, and method | |
CN108089794B (en) | Terminal device | |
JPWO2018216080A1 (en) | Game program, information processing apparatus, information processing system, and game processing method | |
JP2018027231A (en) | Program, control method, and information processing apparatus | |
US11607606B2 (en) | Information processing apparatus, recording medium and information processing method | |
US9229614B2 (en) | Storage medium storing information processing program, information processing device, information processing system, and method for calculating specified position | |
JP5956831B2 (en) | Display control system, display control method, display control apparatus, and display control program | |
US20200384350A1 (en) | Recording medium having recorded program | |
JP7210022B2 (en) | Program and information processing device | |
JP6614539B1 (en) | Program and information processing apparatus | |
TW201738722A (en) | Program, computer device, program execution method, and system | |
KR102493667B1 (en) | Recording media and information processing devices | |
CN108351748B (en) | Computer readable medium and portable terminal | |
CN115738230A (en) | Game operation control method and device and electronic equipment | |
US8840469B2 (en) | Game system and game program | |
JP6683352B2 (en) | Program and information processing device | |
JP6961881B2 (en) | Programs, information processing devices and information processing methods | |
KR20210005832A (en) | Method for outputting screen and display device for executing the same | |
JP2020110620A (en) | Program and information processing device | |
JP6122082B1 (en) | Program, system and method | |
JP2019153142A (en) | Device, method, and program for inputting characters | |
JP2017142834A (en) | Program, system and method | |
JP2018027301A (en) | Program, control method, and information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210603 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210603 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20210603 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220610 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220705 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220901 |
|
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: 20221220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20221228 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7210022 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |