JP2019134881A - Program and game device - Google Patents
Program and game device Download PDFInfo
- Publication number
- JP2019134881A JP2019134881A JP2018018320A JP2018018320A JP2019134881A JP 2019134881 A JP2019134881 A JP 2019134881A JP 2018018320 A JP2018018320 A JP 2018018320A JP 2018018320 A JP2018018320 A JP 2018018320A JP 2019134881 A JP2019134881 A JP 2019134881A
- Authority
- JP
- Japan
- Prior art keywords
- coordinates
- reference coordinate
- contact
- push
- game
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
【課題】プレーヤが意図しないタイミングで基準座標が更新されることを防止することが可能なゲーム装置等を提供すること。
【解決手段】ゲーム装置は、入力面に設定された基準座標から、プレーヤによる接触操作に応じて指定された指示座標までの距離、及び、基準座標から指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、接触操作が、入力面に対する所定以上の加圧を伴う押し込み操作であるか否かを判定する加圧判定部と、押し込み操作がなされた場合に、基準座標を更新する基準座標更新部とを含む。
【選択図】図7To provide a game device or the like capable of preventing a reference coordinate from being updated at a timing unintended by a player.
A game device is based on at least one of a distance from a reference coordinate set on an input surface to a designated coordinate specified in accordance with a contact operation by a player and a direction from the reference coordinate to the designated coordinate. A game control unit that controls the game, a pressure determination unit that determines whether or not the contact operation is a pressing operation with a predetermined pressure on the input surface, and a reference coordinate when the pressing operation is performed. And a reference coordinate updating unit for updating.
[Selection] Figure 7
Description
本発明は、プログラム及びゲーム装置に関する。 The present invention relates to a program and a game device.
物理的なジョイスティック(アナログスティック)を操作してキャラクタの移動等を制御するゲームが知られている。近年、タッチパネルを使用したゲーム(スマートフォン等で実行されるゲーム)が普及しており、そのようなゲームにおいてもジョイスティックのような操作感でキャラクタの移動等を制御したいという要請がある。従来、タッチパネル上の任意の1点を押圧することで移動命令の入力を行い、タッチパネルの中心点(基準座標)に対する押圧点(指示座標)の方向と距離に応じてカーソルの移動を制御する技術が知られている(特許文献1参照)。 A game is known in which a physical joystick (analog stick) is operated to control character movement and the like. In recent years, games using a touch panel (games executed on a smartphone or the like) have become widespread, and even in such games, there is a demand for controlling the movement of characters with a feeling of operation like a joystick. Conventionally, a movement command is input by pressing an arbitrary point on the touch panel, and the movement of the cursor is controlled according to the direction and distance of the pressing point (indicated coordinates) with respect to the center point (reference coordinates) of the touch panel. Is known (see Patent Document 1).
従来の技術では、基準座標が固定されていたため、ゲームの状況や、プレーヤの手の大きさ、プレイスタイルによっては操作し難い場合があった。この問題を解決するための技術として、プレーヤがタッチパネルに接触したことをトリガとして基準座標を更新する技術が知られている。しかしながら、タッチパネルに接触するという行為は、操作の際に通常に行われるものであるため、プレーヤが意図しないタイミングで基準座標が更新されてしまう場合があった。例えば、プレーヤがタッチパネルから離した指を再度タッチパネルに接触した場合に基準座標を更新するようにした場合には、操作中に指を離してしまったりすると基準座標が更新されてしまう。また、所定期間毎、又は接触位置が所定距離移動する毎に基準座標を更新するようにした場合には、プレーヤが基準座標を更新したくない状況であっても強制的に更新されてしまうことがあった。 In the conventional technique, since the reference coordinates are fixed, it may be difficult to operate depending on the game situation, the size of the player's hand, and the play style. As a technique for solving this problem, a technique is known in which the reference coordinates are updated with a player touching a touch panel as a trigger. However, since the act of touching the touch panel is normally performed at the time of operation, the reference coordinates may be updated at a timing not intended by the player. For example, when the reference coordinate is updated when the player touches the touch panel again with a finger released from the touch panel, the reference coordinate is updated when the finger is released during the operation. Also, if the reference coordinates are updated every predetermined period or every time the contact position moves by a predetermined distance, the player is forcibly updated even if the player does not want to update the reference coordinates. was there.
本発明は、以上のような課題に鑑みてなされたものであり、その目的とするところは、プレーヤが意図しないタイミングで基準座標が更新されることを防止することが可能なプログラム及びゲーム装置を提供することにある。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a program and a game device capable of preventing the reference coordinates from being updated at a timing not intended by the player. It is to provide.
(1)本発明は、入力面に対する接触操作を受け付ける入力部からの入力情報に基づいてゲームを実行するゲーム装置のためのプログラムであって、前記入力面に設定された基準座標から、プレーヤによる前記接触操作に応じて指定された指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、前記接触操作が、前記入力面に対する所定以上の加圧を伴う押し込み操作であるか否かを判定する加圧判定部と、前記押し込み操作がなされた場合に、前記基準座標を更新する基準座標更新部としてコンピュータを機能させることを特徴とするプログラムに関する。また本発明は、コンピュータ読み取り可能な情報記憶媒体であって、上記各部としてコンピュータを機能させるためのプログラムを記憶した情報記憶媒体に関する。また本発明は、上記各部を含むゲーム装置に関する。 (1) The present invention is a program for a game device that executes a game based on input information from an input unit that accepts a touch operation on an input surface, and is based on a reference coordinate set on the input surface by a player A game control unit that controls a game based on at least one of a distance to the designated coordinates specified in accordance with the contact operation and a direction from the reference coordinates to the designated coordinates, and the contact operation includes the input Causing the computer to function as a pressurization determination unit that determines whether or not the pressing operation is accompanied by a pressurization more than a predetermined pressure on the surface, and a reference coordinate update unit that updates the reference coordinates when the pressing operation is performed. Relates to a program characterized by The present invention also relates to an information storage medium that can be read by a computer and stores a program for causing the computer to function as each of the above-described units. The present invention also relates to a game device including the above-described units.
本発明によれば、入力面に対する所定以上の加圧を伴う押し込み操作がなされた場合に基準座標を更新することで、プレーヤが意図しないタイミングで基準座標が更新されるこ
とを防止することができる。
According to the present invention, it is possible to prevent the reference coordinates from being updated at a timing unintended by the player by updating the reference coordinates when a pressing operation with a predetermined pressure or more is applied to the input surface. .
(2)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記指示座標は、前記所定以上の加圧を伴わない前記接触操作に応じて指定されるものであってもよい。 (2) Further, in the program, the information storage medium, and the game device according to the present invention, the designated coordinates may be designated according to the contact operation not involving the predetermined pressure or more.
本発明によれば、入力面に対する所定以上の加圧を伴わない接触操作がなされた場合には、当該接触操作に応じて指定される指示座標に基づきゲームを制御し、入力面に対する所定以上の加圧を伴う押し込み操作がなされた場合に基準座標を更新することで、プレーヤが意図しないタイミングで基準座標が更新されることを防止することができる。 According to the present invention, when a contact operation is performed that does not involve a pressure greater than or equal to a predetermined amount on the input surface, the game is controlled based on the designated coordinates specified in accordance with the contact operation, and a predetermined or greater amount is applied to the input surface. By updating the reference coordinates when a pressing operation involving pressurization is performed, it is possible to prevent the reference coordinates from being updated at a timing not intended by the player.
(3)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記加圧判定部は、前記入力面に設けられた圧力センサの出力値に基づいて、前記接触操作が前記押し込み操作であるか否かを判定してもよい。 (3) In the program, the information storage medium, and the game device according to the present invention, the pressurization determination unit is configured such that the contact operation is the push-in operation based on an output value of a pressure sensor provided on the input surface. It may be determined whether or not.
(4)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記基準座標更新部は、前記指示座標の指定が継続している間に、前記押し込み操作がなされた場合に、前記基準座標を更新してもよい。 (4) In the program, the information storage medium, and the game device according to the present invention, the reference coordinate update unit may be configured such that the reference coordinates are updated when the push-in operation is performed while the designated coordinates are being specified. May be updated.
本発明によれば、入力面に対する接触操作の開始時に意図せず強く加圧したことで基準座標が更新されてしまうことを防止することができる。 According to the present invention, it is possible to prevent the reference coordinates from being updated due to unintentionally pressing strongly at the start of the contact operation on the input surface.
(5)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記基準座標更新部は、前記押し込み操作の継続中に前記押し込み操作の接触位置が変更された場合に、変更後の前記押し込み操作の接触位置に応じて前記基準座標を更新してもよい。 (5) In the program, the information storage medium, and the game device according to the present invention, the reference coordinate update unit may change the push-in after the change when the contact position of the push-in operation is changed while the push-in operation is continued. The reference coordinates may be updated according to the contact position of the operation.
本発明によれば、プレーヤは入力面を押し込んだまま接触位置を移動させるという直観的な操作で基準座標を更新することができる。 According to the present invention, the player can update the reference coordinates by an intuitive operation of moving the contact position while pressing the input surface.
(6)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記基準座標更新部は、前記基準座標が更新された後、所定の接触操作がなされた場合に、前記基準座標の更新をキャンセルしてもよい。 (6) In the program, the information storage medium, and the game device according to the present invention, the reference coordinate update unit updates the reference coordinates when a predetermined contact operation is performed after the reference coordinates are updated. You may cancel.
本発明によれば、基準座標の更新をプレーヤがキャンセルできるようにすることで、プレーヤの利便性を向上することができる。 According to the present invention, the convenience of the player can be improved by allowing the player to cancel the update of the reference coordinates.
(7)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記基準座標更新部は、前記基準座標が設定されているときに、前記押し込み操作がなされた場合に、前記押し込み操作の圧力に応じて前記基準座標が前記押し込み操作の接触位置に近づくように前記基準座標を更新してもよい。 (7) In the program, the information storage medium, and the game device according to the present invention, the reference coordinate update unit may be configured such that the pressure of the pushing operation is performed when the pushing operation is performed when the reference coordinates are set. Accordingly, the reference coordinates may be updated so that the reference coordinates approach the contact position of the pushing operation.
以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必要構成要件であるとは限らない。 Hereinafter, this embodiment will be described. In addition, this embodiment demonstrated below does not unduly limit the content of this invention described in the claim. Moreover, not all of the configurations described in the present embodiment are necessary constituent requirements of the present invention.
1.構成
図1に、本実施形態のゲーム装置の機能ブロック図の一例を示す。なお本実施形態のゲーム装置は図1の構成要素(各部)の一部を省略した構成としてもよい。
1. Configuration FIG. 1 shows an example of a functional block diagram of the game apparatus of the present embodiment. Note that the game device of this embodiment may have a configuration in which some of the components (each unit) in FIG. 1 are omitted.
入力部150は、プレーヤによる入力面に対する接触操作を受け付ける(接触入力を検出する)ためのものであり、接触操作の接触位置の座標値を連続的に検出し、検出値を処理部100に出力する。入力部150の機能は、タッチパネルやタッチパッドにより実現することができる。接触位置の検出方式としては、静電容量結合方式、抵抗膜方式(4線式、5線式)、超音波表面弾性波方式、赤外線走査方式などがある。入力面への接触操作(タッチ操作)は、指先を用いて行ってもよいし、タッチペンなどの入力部材を用いて行ってもよい。
The
入力部150は、圧力センサ152を含む。圧力センサ152は、入力面に対する接触操作の圧力を検出し、検出値を処理部100に出力する。圧力センサ152としては、タッチパネルやタッチパッドに設けられたゲージ式圧力センサや静電容量式圧力センサを用いることができる。また、圧力センサ152として、タッチペンに設けられた筆圧センサを用いてもよい。
The
記憶部170は、処理部100の各部としてコンピュータを機能させるためのプログラムや各種データを記憶するとともに、処理部100のワーク領域として機能し、その機能はハードディスク、RAMなどにより実現できる。
The
表示部190は、処理部100で生成されたゲーム画像を出力するものであり、その機能は、入力部150としても機能するタッチパネル、LCD或いはCRTなどのディスプレイにより実現できる。
The
音出力部192は、処理部100で生成された音を出力するものであり、その機能は、スピーカ、或いはヘッドフォンなどにより実現できる。
The
通信部196はサーバや他のゲーム装置との間で通信を行うための各種制御を行うものであり、その機能は、各種プロセッサ又は通信用ASICなどのハードウェアや、プログラムなどにより実現できる。
The
なお、サーバが有する情報記憶媒体や記憶部に記憶されている処理部100の各部としてコンピュータを機能させるためのプログラムや各種データを、ネットワークを介して受信し、受信したプログラムやデータを記憶部170に記憶してもよい。このようにプログラムや各種データを受信して端末を機能させる場合も本発明の範囲内に含む。
Note that a program and various data for causing the computer to function as each unit of the
処理部100(プロセッサ)は、入力部150からの入力情報(タッチパネルやタッチパッドの出力値、圧力センサ152の出力値)、プログラム、通信部196を介して受信したデータなどに基づいて、ゲーム処理、画像生成処理、音生成処理、などの処理を行う。処理部100の機能は各種プロセッサ(CPU、DSP等)、ASIC(ゲートアレイ等)などのハードウェアや、プログラムにより実現できる。処理部100は、加圧判定部110、ゲーム制御部112、基準座標更新部114、表示制御部116、画像生成部120、音生成部130を含む。
The processing unit 100 (processor) performs game processing based on input information from the input unit 150 (touch panel or touchpad output value,
加圧判定部110は、圧力センサ152の出力値に基づいて、入力面に対する接触操作が所定以上の加圧を伴う押し込み操作であるか否かを判定する。また、入力部150が圧力センサ152を備えない場合、加圧判定部110は、タッチパネルやタッチパッドの出力値に基づいて、入力面に対する接触操作の接触面積(入力面に接触している指の面積)を算出(検出)し、当該接触面積の時間的な変化に基づいて、接触操作が押し込み操作であるか否かを判定してもよい。例えば、接触面積が所定以上に変化した場合に、押し込み操作がなされたと判定し、接触面積が所定以上を維持している場合に、押し込み操作が継続していると判定してもよい。
Based on the output value of the
ゲーム制御部112は、入力面に設定された基準座標から、所定以上の加圧を伴わない接触操作(押し込み操作ではない接触操作)に応じて指定された指示座標までの距離、及び、基準座標から指示座標への方向の少なくとも一方に基づいて、ゲームを制御する。例えば、ゲーム制御部112は、ゲーム空間に配置されたオブジェクト(キャラクタ、車両、ボール等)の移動制御を行ってもよい。この場合、ゲーム制御部112は、基準座標から指示座標までの距離に基づいてオブジェクトの移動速度(或いは、移動距離)を決定し、基準座標から指示座標への方向に基づいてオブジェクトの移動方向を決定してもよい。
The
基準座標更新部114は、押し込み操作がなされた場合に、基準座標を更新する。基準座標の更新先の座標は、押し込み操作の接触位置の座標でもよいし、押し込み操作の接触位置から所定距離離れた座標でもよいし、押し込み操作がなされる直前の指示座標でもよいし、プレーヤによって事前に指定された座標でもよい。また、基準座標の更新先の座標は、移動制御の対象となるオブジェクト(キャラクタ等)の座標でもよい。オブジェクトの座標とは、ゲーム制御上のオブジェクトの座標でもよいし、オブジェクト画像の重心でもよいし、オブジェクト画像の所定の部位(例えば、キャラクタの頭部)でもよい。移動制御の対象となるオブジェクトが複数表示されている場合には、操作可能な状態になっているオブジェクトの座標でもよいし、逆に操作可能な状態になっていないオブジェクトの座標でもよい。また、プレーヤの操作対象ではないオブジェクト(例えば、敵キャラクタ等のNPC)の座標でもよい。
The reference coordinate
また、基準座標更新部114は、指示座標の指定(所定以上の加圧を伴わない接触操作)が継続している間に、押し込み操作がなされた場合に、基準座標を更新してもよい。例えば、所定以上の加圧を伴わない接触操作が所定時間以上継続している場合に、指示座標の指定が継続している状態としてもよいし、所定以上の加圧を伴わない接触操作が継続している間における指示座標の総移動距離が所定距離以上である場合に、指示座標の指定が継続している状態としてもよい。また、基準座標更新部114は、押し込み操作の継続中に押し込み操作の接触位置が変更された場合に、変更後の押し込み操作の接触位置に応じて基準座標を更新してもよい。また、基準座標更新部114は、基準座標が更新された後、所定の接触操作がなされた場合に、基準座標の更新をキャンセルしてもよい。また、基準座標更新部114は、基準座標が設定されているときに、押し込み操作がなされた場合に、押し込み操作の圧力に応じて(例えば、圧力に応じた速度で)基準座標が押し込み操作の接触位置に近づくように基準座標を更新してもよい。また、押し込み操作の圧力に応じて、基準座標をどのくらい押し込み操作の接触位置に近づけるかを決定し、押し込み操作の圧力が大きくなるほど、基準座標が押し込み操作の接触位置に近づくようにしてもよい。例えば、押し込み操作の圧力が所定以上であれば、基準座標が押し込み操作の接触位置に重なるように基準座標を近づけて、押し込み操作の圧力がその50パーセントの力であれば、更新前の基準座標と押し込み操作の接触位置の中間地点に基準座標を更新するようにしてもよい。
In addition, the reference coordinate
また、基準座標更新部114は、基準座標が設定されていない状態のとき(例えば、初
回起動時や、基準座標のキャンセルなどが行われたとき)は、自動的に、入力面の所定位置(予め決まった座標(例えば、入力面の中心や四隅のいずれか、或いは、プレーヤによって事前に指定された座標)や、移動制御の対象となるオブジェクトの座標など)に基準座標を設定してもよい。また、基準座標更新部114は、基準座標が設定されていない状態のときは、押し込み操作がなされた場合に、押し込み操作の接触位置の座標や入力面の所定位置に基準座標を設定してもよい。
In addition, the reference coordinate
表示制御部116は、基準座標を表す所定の画像を表示領域に表示させる制御を行う。所定の画像とは、少なくとも基準座標が表示領域のどこにあるのか分かるような画像であればよい。例えば、基準座標を中心とする所定形状(例えば、円、多角形)の画像を、所定の画像としてもよい。また、基準座標を移動制御の対象となるオブジェクトの座標に設定する場合、当該オブジェクトの画像を所定の画像としてもよいし、当該オブジェクトの画像に所定の画像を重畳させて(半透明化して)表示してもよい。また、基準座標にゲームに関する情報(キャラクタのパラメータや、使用中のアイテムに関する情報)を表示し、当該情報を所定の画像としてもよい。表示制御部116は、基準座標が更新されている間、又は、指示座標が指定されている間は、所定の画像を表示させないようにしてもよい(移動制御の対象となるオブジェクトの画像を所定の画像とする場合を除く)。
The
画像生成部120は、処理部100で行われる種々の処理の結果に基づいて描画処理を行い、これによりゲーム画像(移動制御の対象となるオブジェクト画像、所定の画像を含む画像)を生成し、表示部190に出力する。画像生成部120は、オブジェクト空間(ゲーム空間)内において仮想カメラ(所与の視点)から見える画像(いわゆる3次元画像)を生成してもよい。
The
音生成部130は、処理部100で行われる種々の処理の結果に基づいて音処理を行い、BGM、効果音、又は音声などのゲーム音を生成し、音出力部192に出力する。
The
2.本実施形態の手法
次に本実施形態の手法について図面を用いて説明する。
2. Next, the method of this embodiment will be described with reference to the drawings.
図2は、表示部190(タッチパネル)に表示されるゲーム画面(ゲーム画像)の一例を示す図である。 FIG. 2 is a diagram illustrating an example of a game screen (game image) displayed on the display unit 190 (touch panel).
ゲーム画面GIには、ゲーム空間に配置されたキャラクタCR(プレーヤキャラクタ)が表示され、プレーヤは、タッチパネル(入力面)への接触操作を行うことで、キャラクタCRをゲーム空間内で移動させることができる。入力面であるゲーム画面GIの所定位置には基準座標RCが設定され、ゲーム画面GIには、基準座標RCを表す所定の画像PIが表示される。ここでは、ゲーム画面GIの左下領域に基準座標RCを設定しているが、プレーヤが事前に指定した位置に基準座標RCを設定するようにしてもよい。また、ここでは、所定の画像PIとして、基準座標RCを中心とする円を表す画像を表示している。 The game screen GI displays a character CR (player character) arranged in the game space, and the player can move the character CR in the game space by performing a touch operation on the touch panel (input surface). it can. A reference coordinate RC is set at a predetermined position on the game screen GI as an input surface, and a predetermined image PI representing the reference coordinate RC is displayed on the game screen GI. Here, the reference coordinate RC is set in the lower left area of the game screen GI, but the reference coordinate RC may be set at a position designated in advance by the player. Here, an image representing a circle centered on the reference coordinate RC is displayed as the predetermined image PI.
プレーヤが、ゲーム画面GI上の任意の位置をタッチする接触操作(入力面に対する所定以上の加圧を伴わない接触操作)を行うと、接触位置の座標(入力面の座標系における座標)が指示座標DCとして指定(入力)され、基準座標RCから指示座標DCまでの距離及び基準座標RCから指示座標DCへの方向に基づいて、キャラクタCRの移動が制御される。すなわち、基準座標RCから指示座標DCまでの距離に基づいてキャラクタCRの移動速度や移動距離が制御され、基準座標RCから指示座標DCへの方向に基づいてキャラクタCRの移動方向が制御される。指示座標DCが指定されている(入力面に対する所定以上の加圧を伴わない接触操作が継続している)間は、基準座標RCから指示座標D
Cまでの距離及び基準座標RCから指示座標DCへの方向に基づく移動制御が繰り返される。
When the player performs a touch operation (a touch operation that is not accompanied by a predetermined pressure or more on the input surface) that touches an arbitrary position on the game screen GI, the coordinates of the touch position (coordinates in the coordinate system of the input surface) are indicated. Designated (input) as coordinates DC, the movement of the character CR is controlled based on the distance from the reference coordinates RC to the designated coordinates DC and the direction from the reference coordinates RC to the designated coordinates DC. That is, the moving speed and moving distance of the character CR are controlled based on the distance from the reference coordinate RC to the designated coordinate DC, and the moving direction of the character CR is controlled based on the direction from the reference coordinate RC to the designated coordinate DC. While the designated coordinate DC is specified (the contact operation without pressing the input surface over a predetermined amount is continued), the designated coordinate D is changed from the reference coordinate RC.
The movement control based on the distance to C and the direction from the reference coordinate RC to the designated coordinate DC is repeated.
ここで、図3に示すように、プレーヤが、ゲーム画面GI上の任意の位置APにおいて、入力面に対する所定以上の加圧を伴う接触操作(押し込み操作)を行うと、図4に示すように、基準座標RCが、当該押し込み操作の接触位置(位置AP)の座標に更新される。基準座標RCが更新されると、所定の画像PIの表示位置も、更新後の基準座標RCを中心とする位置に更新される。その後、図5に示すように、押し込み操作ではない接触操作により指示座標DCが指定されると、更新後の基準座標RCから指示座標DCまでの距離及び更新後の基準座標RCから指示座標DCへの方向に基づいてキャラクタCRの移動制御が行われる。 Here, as shown in FIG. 3, when the player performs a contact operation (push-in operation) with a predetermined pressure or more on the input surface at an arbitrary position AP on the game screen GI, as shown in FIG. The reference coordinates RC are updated to the coordinates of the contact position (position AP) of the pushing operation. When the reference coordinates RC are updated, the display position of the predetermined image PI is also updated to a position centered on the updated reference coordinates RC. After that, as shown in FIG. 5, when the designated coordinate DC is designated by a contact operation that is not a push-in operation, the distance from the updated reference coordinate RC to the designated coordinate DC and the updated reference coordinate RC to the designated coordinate DC. The movement control of the character CR is performed based on the direction.
このように、本実施形態によれば、入力面に対する所定以上の加圧を伴わない接触操作(押し込み操作ではない接触操作)がなされた場合には、基準座標RCを更新せずに、当該接触操作により指定された指示座標DCに基づきキャラクタCRの移動制御を行い、入力面に対する所定以上の加圧を伴う接触操作(押し込み操作)がなされた場合に、基準座標RCを更新することで、プレーヤが意図しないタイミングで基準座標RCが更新されることを防止し、入力面を所定以上の力で押し込むという直観的且つプレーヤの明確な意思を伴う接触操作により基準座標RCを更新できるタッチユーザインターフェースを提供することができる。 As described above, according to the present embodiment, when a contact operation (a contact operation that is not a push-in operation) that does not involve a pressurization or more than a predetermined pressure on the input surface is performed, the reference coordinate RC is not updated and the contact is performed. The movement of the character CR is controlled based on the designated coordinates DC specified by the operation, and when a contact operation (push-in operation) with a predetermined pressure or more is performed on the input surface, the reference coordinate RC is updated to thereby update the player. A touch user interface that prevents the reference coordinate RC from being updated at an unintended timing and can update the reference coordinate RC by a touch operation with an intuitive and clear intention of the player to push the input surface with a force greater than a predetermined force. Can be provided.
上記例では、押し込み操作が1回なされた場合に基準座標RCを更新する場合について説明したが、押し込み操作が同じ位置で所定回数繰り返された場合や、押し込み操作が同じ位置で所定時間継続した場合に、基準座標RCを更新するようにしてもよい。また、接触操作がなされていない状態で押し込み操作がなされた場合には基準座標RCを更新せずに、押し込み操作ではない接触操作が所定時間以上継続している状態で、押し込み操作がなされた場合に、基準座標RCを更新するようにしてもよい。このようにすると、入力面に対する接触操作の開始時に意図せず強く加圧したことで基準座標RCが更新されてしまうことを防止することができる。 In the above example, the case where the reference coordinate RC is updated when the pushing operation is performed once has been described. However, when the pushing operation is repeated a predetermined number of times at the same position, or when the pushing operation is continued at the same position for a predetermined time. In addition, the reference coordinate RC may be updated. In addition, when the pressing operation is performed in a state where the contact operation is not performed, the reference coordinate RC is not updated, and the pressing operation is performed while the contact operation that is not the pressing operation continues for a predetermined time or more. In addition, the reference coordinate RC may be updated. In this way, it is possible to prevent the reference coordinate RC from being updated due to unintentionally pressing strongly at the start of the contact operation on the input surface.
また、上記例では、基準座標RCを、押し込み操作の接触位置の座標に更新する場合について説明したが、基準座標RCを、押し込み操作の接触位置から所定距離離れた座標に更新してもよいし、押し込み操作がなされる直前の指示座標DCに更新してもよいし、プレーヤによって事前に指定された座標に更新してもよい。また、基準座標RCを、キャラクタCRの座標に更新してもよい。この場合、キャラクタCRの画像自体を、基準座標RCを表す所定の画像としてもよいし、キャラクタCRに重畳させて所定の画像PIを表示するようにしてもよい。また、基準座標RCを、押し込み操作がなされたときの指の向いている方向(指の先端)の座標に更新してもよい。例えば、図6に示すように、指FGが入力面に接触する部分の圧力の分布において、圧力が高くなっていく方向を指の向いている方向Dとし、圧力が最も高い位置(指の先端)から方向Dに沿って所定距離離れた座標に基準座標RCを設定してもよい。また、接触操作の接触面積の変化から加圧を判定する場合には、接触面積の変化の起点となった座標を指の先端とし、変化が広がっていく方向に指があると判定してもよい。また、入力面における押し込み操作がなされた位置に基づいて指の向いている方向を判定してもよい。例えば、押し込み操作の接触位置が入力面の左側領域にある場合には、右斜め上方向を指の向いている方向とし、接触位置が入力面の右側領域にある場合には、左斜め上方向を指の向いている方向としてもよい。 In the above example, the case where the reference coordinate RC is updated to the coordinate of the contact position of the push operation has been described. However, the reference coordinate RC may be updated to a coordinate that is a predetermined distance away from the contact position of the push operation. The instruction coordinates DC immediately before the pressing operation may be updated, or the coordinates specified in advance by the player may be updated. Further, the reference coordinates RC may be updated to the coordinates of the character CR. In this case, the image of the character CR itself may be a predetermined image representing the reference coordinates RC, or the predetermined image PI may be displayed superimposed on the character CR. Further, the reference coordinate RC may be updated to the coordinate in the direction in which the finger is facing (the tip of the finger) when the pushing operation is performed. For example, as shown in FIG. 6, in the pressure distribution in the portion where the finger FG contacts the input surface, the direction in which the pressure increases is the direction D in which the finger is facing, and the position where the pressure is highest (the tip of the finger The reference coordinates RC may be set at coordinates that are a predetermined distance away from each other in the direction D. In addition, when determining the pressure from the change in the contact area of the contact operation, even if it is determined that the finger is in the direction in which the change spreads, with the coordinate that is the starting point of the change in the contact area as the tip of the finger Good. Further, the direction in which the finger is pointing may be determined based on the position where the push operation is performed on the input surface. For example, if the contact position of the push operation is in the left area of the input surface, the upper right direction is the direction in which the finger is facing, and if the contact position is in the right area of the input surface, the upper left direction May be the direction in which the finger is pointing.
また、押し込み操作の継続中に押し込み操作の接触位置が変更された場合に、変更後の押し込み操作の接触位置に応じて基準座標RCを更新するようにしてもよい。例えば、変更後の押し込み操作の接触位置に順次基準座標RCを更新してもよいし、変更後の押し込
み操作の接触位置から所定距離離れた位置であって変更前の接触位置と変更後の接触位置とを結ぶ線分に沿った位置に順次基準座標RCを更新してもよい。また、最初に押し込み操作がなされた位置を基点として、変更後の押し込み操作の接触位置の基点からの方向に応じて、基準座標RCを更新してもよい。具体的には、予め基点からの方向に対応付けて基準座標RCの更新先の座標を設定してもよい。例えば、基点から上方向に押し込み操作の接触位置が変更された場合には、入力面の中心座標に基準座標RCを更新し、基点から右方向に押し込み操作の接触位置が変更された場合には、入力面の右隅の座標に基準座標RCを更新し、基点から左方向に押し込み操作の接触位置が変更された場合には、入力面の左隅の座標に基準座標RCを更新し、基点から下方向に押し込み操作の接触位置が変更された場合には、キャラクタCRの座標に基準座標RCを更新するようにしてもよい。また、キャラクタCRや敵キャラクタ等のキャラクタが複数存在する場合に、基点からの方向に対応付けてキャラクタを設定しておき、押し込み操作の接触位置の基点からの方向に対応付けられたキャラクタの座標に基準座標RCを更新するようにしてもよい。基点からの方向と基準座標RCの更新先の座標(或いは、キャラクタ)とを対応付けておく場合、当該対応関係をプレーヤが把握できるような態様で所定の画像PIを表示することが望ましい。このように、押し込み操作の継続中の接触位置に応じて基準座標RCを更新するように構成することで、プレーヤは入力面を押し込んだまま指等を移動させるという直観的且つプレーヤの明確な意思を伴う接触操作により基準座標RCを更新することができる。なお、押し込み操作がなされた後、接触操作が継続している状態で、押し込み操作ではない接触操作の接触位置が変更された場合に、変更後の当該接触操作の接触位置に応じて基準座標RCを更新するようにしてもよい。
Further, when the contact position of the push operation is changed while the push operation is continued, the reference coordinates RC may be updated according to the contact position of the push operation after the change. For example, the reference coordinate RC may be sequentially updated to the contact position of the push operation after the change, or a position that is a predetermined distance away from the contact position of the push operation after the change, and the contact position before the change and the contact after the change. The reference coordinates RC may be sequentially updated to positions along line segments connecting the positions. In addition, the reference coordinate RC may be updated according to the direction from the base point of the contact position of the changed push operation with the position where the push operation is first performed as the base point. Specifically, the coordinates of the update destination of the reference coordinates RC may be set in advance in association with the direction from the base point. For example, when the contact position of the push operation is changed upward from the base point, the reference coordinate RC is updated to the center coordinate of the input surface, and when the contact position of the push operation is changed rightward from the base point When the reference coordinate RC is updated to the coordinate of the right corner of the input surface and the contact position of the push operation is changed from the base point to the left, the reference coordinate RC is updated to the coordinate of the left corner of the input surface, and from the base point When the contact position of the pushing operation is changed downward, the reference coordinates RC may be updated to the coordinates of the character CR. In addition, when there are a plurality of characters such as the character CR and the enemy character, the character is set in association with the direction from the base point, and the coordinates of the character associated with the direction from the base point of the touch position of the push operation are set. The reference coordinate RC may be updated. When the direction from the base point and the coordinate (or character) to which the reference coordinate RC is updated are associated, it is desirable to display the predetermined image PI in such a manner that the player can grasp the correspondence. In this way, by configuring the reference coordinate RC to be updated according to the contact position during the pressing operation, the player can intuitively and clearly have the intention of moving the finger or the like while pressing the input surface. The reference coordinate RC can be updated by a contact operation involving. When the contact position of the contact operation that is not the push-in operation is changed in a state where the contact operation is continued after the push-in operation is performed, the reference coordinates RC are changed according to the contact position of the contact operation after the change. May be updated.
また、基準座標RCが設定されているときに、押し込み操作がなされた場合に、押し込み操作の圧力に応じて基準座標RCが押し込み操作の接触位置に近づくように基準座標RCを更新してもよい。例えば、押し込み操作の圧力が高いほど、基準座標RCが当該押し込み操作の接触位置に近づく際の基準座標RCの移動速度が速くなるようにしてもよい。 Further, when the pushing operation is performed when the reference coordinate RC is set, the reference coordinate RC may be updated so that the reference coordinate RC approaches the contact position of the pushing operation according to the pressure of the pushing operation. . For example, the higher the pressure of the push operation, the faster the moving speed of the reference coordinate RC when the reference coordinate RC approaches the contact position of the push operation.
また、基準座標RCが更新された後、所定の接触操作がなされた場合に、基準座標RCの更新をキャンセルしてもよい。例えば、押し込み操作がなされた位置において、基準座標RCの更新から所定時間内に、押し込み操作ではない接触操作がなされた後に、再び押し込み操作がなされた場合に、基準座標RCの更新をキャンセルしてもよい。また、押し込み操作がなされた位置から、押し込み操作を継続したままその接触位置が所定距離以上移動した場合(例えば、押し込み操作の接触位置が入力面の端まで移動した)場合や、押し込み操作を継続したままその接触位置が所定の軌跡を描くように移動した場合に、基準座標RCの更新をキャンセルしてもよい。基準座標RCの更新をキャンセルした場合、入力面に基準座標RCが設定されていない状態に戻してもよいし、基準座標RCの更新履歴を記憶しておいて1つ前の基準座標RCに戻すようにしてもよいし、初期位置(入力面の所定位置)に基準座標RCを設定するようにしてもよい。このように、基準座標RCの更新をプレーヤ自身がキャンセルできるようにすることで、プレーヤの利便性を向上することができる。 Further, when a predetermined contact operation is performed after the reference coordinate RC is updated, the update of the reference coordinate RC may be canceled. For example, when a push operation is performed again after a contact operation that is not a push operation is performed within a predetermined time from the update of the reference coordinate RC at the position where the push operation is performed, the update of the reference coordinate RC is canceled. Also good. Also, if the contact position has moved more than a predetermined distance from the position where the push operation was performed (for example, the contact position of the push operation has moved to the end of the input surface), or continue the push operation If the contact position moves so as to draw a predetermined locus, the update of the reference coordinate RC may be canceled. When the update of the reference coordinate RC is canceled, it may be returned to the state where the reference coordinate RC is not set on the input surface, or the update history of the reference coordinate RC is stored and returned to the previous reference coordinate RC. Alternatively, the reference coordinates RC may be set at an initial position (a predetermined position on the input surface). As described above, by allowing the player to cancel the update of the reference coordinate RC, the convenience of the player can be improved.
3.処理
次に、本実施形態のゲーム装置の処理の一例について図7のフローチャートを用いて説明する。
3. Processing Next, an example of processing of the game device of the present embodiment will be described with reference to the flowchart of FIG.
まず、処理部100は、入力面の座標系における所定位置に基準座標RCを設定する(ステップS10)。次に、処理部100は、入力部150からの入力情報に基づいて、入力面に対する接触操作があったか否かを判断し(ステップS11)、接触操作がなかった場合(ステップS11のN)には、ステップS15に移行する。
First, the
接触操作があった場合(ステップS11のY)には、加圧判定部110は、圧力センサ152の出力値に基づいて、当該接触操作が所定以上の加圧を伴う押し込み操作であるか否かを判定する(ステップS12)。当該接触操作が押し込み操作でない(所定以上の加圧を伴わない接触操作である)場合(ステップS12のN)には、ゲーム制御部112は、基準座標RCから、当該接触操作に応じて指定された指示座標DCまでの距離及び基準座標RCから指示座標DCへの方向に基づいてキャラクタCRの移動を制御する(ステップS13)。一方、当該接触操作が押し込み操作である場合(ステップS12のY)には、基準座標更新部114は、基準座標RCを更新する(ステップS14)。例えば、基準座標更新部114は、押し込み操作の接触位置に応じて(接触位置の座標に、或いは接触位置から所定距離離れた座標に)基準座標RCを更新する。
When there is a contact operation (Y in step S11), the
次に、表示制御部116と画像生成部120は、ゲーム画像(キャラクタCR、基準座標RCに表示される所定の画像PI等を含む画像)の描画処理を行い(ステップS15)、ステップS11に移行する。以降、ステップS11〜S15の処理を1フレーム(例えば、1/60秒)毎に繰り返す。
Next, the
本発明は、上記実施形態で説明したものに限らず、種々の変形実施が可能である。例えば、明細書又は図面中の記載において広義や同義な用語として引用された用語は、明細書又は図面中の他の記載においても広義や同義な用語に置き換えることができる。 The present invention is not limited to that described in the above embodiment, and various modifications can be made. For example, terms cited as broad or synonymous terms in the description in the specification or drawings can be replaced with broad or synonymous terms in other descriptions in the specification or drawings.
100…処理部、110…加圧判定部、112…ゲーム制御部、114…基準座標更新部、116…表示制御部、120…画像生成部、130…音生成部、150…入力部、152…圧力センサ、170…記憶部、190…表示部、192…音出力部、196…通信部
DESCRIPTION OF
Claims (8)
前記入力面に設定された基準座標から、プレーヤによる前記接触操作に応じて指定された指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、
前記接触操作が、前記入力面に対する所定以上の加圧を伴う押し込み操作であるか否かを判定する加圧判定部と、
前記押し込み操作がなされた場合に、前記基準座標を更新する基準座標更新部としてコンピュータを機能させることを特徴とするプログラム。 A program for a game device that executes a game based on input information from an input unit that accepts a touch operation on an input surface,
The game is controlled based on at least one of the distance from the reference coordinates set on the input surface to the designated coordinates designated in accordance with the contact operation by the player and the direction from the reference coordinates to the designated coordinates. A game control unit to
A pressure determination unit that determines whether or not the contact operation is a push-in operation involving a predetermined pressure or more on the input surface;
A program that causes a computer to function as a reference coordinate update unit that updates the reference coordinates when the pushing operation is performed.
前記指示座標は、前記所定以上の加圧を伴わない前記接触操作に応じて指定されることを特徴とするプログラム。 In claim 1,
The program according to claim 1, wherein the designated coordinates are designated in accordance with the contact operation not accompanied by the pressurization exceeding the predetermined value.
前記加圧判定部は、
前記入力面に設けられた圧力センサの出力値に基づいて、前記接触操作が前記押し込み操作であるか否かを判定することを特徴とするプログラム。 In claim 1 or 2,
The pressure determination unit
A program for determining whether or not the contact operation is the push-in operation based on an output value of a pressure sensor provided on the input surface.
前記基準座標更新部は、
前記指示座標の指定が継続している間に、前記押し込み操作がなされた場合に、前記基準座標を更新することを特徴とするプログラム。 In any one of Claims 1 thru | or 3,
The reference coordinate update unit
A program for updating the reference coordinates when the pushing operation is performed while the designation coordinates are continuously specified.
前記基準座標更新部は、
前記押し込み操作の継続中に前記押し込み操作の接触位置が変更された場合に、変更後の前記押し込み操作の接触位置に応じて前記基準座標を更新することを特徴とするプログラム。 In any one of Claims 1 thru | or 4,
The reference coordinate update unit
When the contact position of the push operation is changed while the push operation is continued, the reference coordinate is updated according to the contact position of the push operation after the change.
前記基準座標更新部は、
前記基準座標が更新された後、所定の接触操作がなされた場合に、前記基準座標の更新をキャンセルすることを特徴とするプログラム。 In any one of Claims 1 thru | or 5,
The reference coordinate update unit
A program that cancels updating of the reference coordinates when a predetermined contact operation is performed after the reference coordinates are updated.
前記基準座標更新部は、
前記基準座標が設定されているときに、前記押し込み操作がなされた場合に、前記押し込み操作の圧力に応じて前記基準座標が前記押し込み操作の接触位置に近づくように前記基準座標を更新することを特徴とするプログラム。 In any one of Claims 1 thru | or 6,
The reference coordinate update unit
When the pushing operation is performed when the reference coordinates are set, the reference coordinates are updated so that the reference coordinates approach the contact position of the pushing operation according to the pressure of the pushing operation. A featured program.
前記入力面に設定された基準座標から、プレーヤによる前記接触操作に応じて指定された指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、
前記接触操作が、前記入力面に対する所定以上の加圧を伴う押し込み操作であるか否かを判定する加圧判定部と、
前記押し込み操作がなされた場合に、前記基準座標を更新する基準座標更新部とを含むことを特徴とするゲーム装置。 A game device that executes a game based on input information from an input unit that accepts a touch operation on an input surface,
The game is controlled based on at least one of the distance from the reference coordinates set on the input surface to the designated coordinates specified in accordance with the contact operation by the player and the direction from the reference coordinates to the designated coordinates. A game control unit to
A pressure determination unit that determines whether or not the contact operation is a push-in operation involving a predetermined pressure or more on the input surface;
A game apparatus comprising: a reference coordinate update unit that updates the reference coordinates when the pushing operation is performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018018320A JP7105574B2 (en) | 2018-02-05 | 2018-02-05 | Program and game device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018018320A JP7105574B2 (en) | 2018-02-05 | 2018-02-05 | Program and game device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2019134881A true JP2019134881A (en) | 2019-08-15 |
| JP7105574B2 JP7105574B2 (en) | 2022-07-25 |
Family
ID=67623920
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018018320A Active JP7105574B2 (en) | 2018-02-05 | 2018-02-05 | Program and game device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7105574B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014147668A1 (en) * | 2013-03-22 | 2014-09-25 | 株式会社スクウェア・エニックス | Video game processing device, video game processing method, and video game processing program |
| JP2016051266A (en) * | 2014-08-29 | 2016-04-11 | 株式会社Cygames | Method to improve user input operability |
| JP2016201028A (en) * | 2015-04-13 | 2016-12-01 | 株式会社Cygames | Program, electronic device, and method for improving operability of user input |
| JP2017016711A (en) * | 2016-10-26 | 2017-01-19 | 富士通株式会社 | Display program |
| JP2017204024A (en) * | 2016-05-09 | 2017-11-16 | 日立マクセル株式会社 | Mobile terminal device |
-
2018
- 2018-02-05 JP JP2018018320A patent/JP7105574B2/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2014147668A1 (en) * | 2013-03-22 | 2014-09-25 | 株式会社スクウェア・エニックス | Video game processing device, video game processing method, and video game processing program |
| JP2016051266A (en) * | 2014-08-29 | 2016-04-11 | 株式会社Cygames | Method to improve user input operability |
| JP2016201028A (en) * | 2015-04-13 | 2016-12-01 | 株式会社Cygames | Program, electronic device, and method for improving operability of user input |
| JP2017204024A (en) * | 2016-05-09 | 2017-11-16 | 日立マクセル株式会社 | Mobile terminal device |
| JP2017016711A (en) * | 2016-10-26 | 2017-01-19 | 富士通株式会社 | Display program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP7105574B2 (en) | 2022-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5951638B2 (en) | Virtual controller for touch display | |
| JP6145099B2 (en) | Game controller for touch-enabled mobile devices | |
| JP6185123B1 (en) | Program, control method, and information processing apparatus | |
| JP5374564B2 (en) | Drawing apparatus, drawing control method, and drawing control program | |
| CN104115107B (en) | For manipulating device, method and the computer-readable recording medium of user interface elements | |
| JP5676036B1 (en) | User interface program and game program including the program | |
| JP2016134052A (en) | Interface program and game program | |
| US11759702B2 (en) | Game system, processing method, and information storage medium | |
| US9072968B2 (en) | Game device, game control method, and game control program for controlling game on the basis of a position input received via touch panel | |
| JP4388878B2 (en) | Input processing program and input processing apparatus | |
| JP6216862B1 (en) | GAME METHOD AND GAME PROGRAM | |
| JP4748657B2 (en) | Input data processing program and input data processing apparatus | |
| JP6387239B2 (en) | Program and server | |
| JP6189515B1 (en) | GAME METHOD AND GAME PROGRAM | |
| JP6641041B2 (en) | Display control program, display control method, and display control system | |
| JP7105574B2 (en) | Program and game device | |
| JP5081399B2 (en) | GAME DEVICE, PROGRAM, AND INFORMATION RECORDING MEDIUM | |
| JP2021062251A (en) | Program and game device | |
| JP3768223B1 (en) | GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM | |
| JP5773818B2 (en) | Display control apparatus, display control method, and computer program | |
| JP5354820B2 (en) | Input processing program and input processing apparatus | |
| JP7105573B2 (en) | Program and game device | |
| JP6446149B1 (en) | Program, processing apparatus, and processing method | |
| JP2018027301A (en) | Program, control method, and information processing apparatus | |
| JP2018069034A (en) | Game method and game program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20210121 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20220125 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20220126 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220328 |
|
| 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: 20220614 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20220712 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7105574 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |