JP2021062251A - Program and game device - Google Patents

Program and game device Download PDF

Info

Publication number
JP2021062251A
JP2021062251A JP2021003911A JP2021003911A JP2021062251A JP 2021062251 A JP2021062251 A JP 2021062251A JP 2021003911 A JP2021003911 A JP 2021003911A JP 2021003911 A JP2021003911 A JP 2021003911A JP 2021062251 A JP2021062251 A JP 2021062251A
Authority
JP
Japan
Prior art keywords
coordinates
coordinate
predetermined
distance
designated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2021003911A
Other languages
Japanese (ja)
Inventor
正 齊藤
Tadashi Saito
正 齊藤
史郎 谷
Shiro Tani
史郎 谷
伸太郎 村井
Shintaro Murai
伸太郎 村井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bandai Namco Entertainment Inc
Original Assignee
Bandai Namco Entertainment Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bandai Namco Entertainment Inc filed Critical Bandai Namco Entertainment Inc
Priority to JP2021003911A priority Critical patent/JP2021062251A/en
Publication of JP2021062251A publication Critical patent/JP2021062251A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a game device or the like that achieves an operation feeling such as a joy stick on a touch panel, while helping a player recognize reference coordinates, preventing game control unintended by the player from being performed.SOLUTION: A game device has: a game control unit that controls a game on the basis of a distance from reference coordinates to indicated coordinates set on a display area of a touch panel and a direction from the reference coordinates to the indicated coordinates; a reference coordinates setting unit that sets the reference coordinates at a predetermined position in the display area, if predetermined conditions are met, including cancelled designation of the indicated coordinates; a reference coordinates update part whereby, if, while the indicated coordinates are designated, the distance from the reference coordinates to the indicated coordinates changes from a state of not exceeding a predetermined distance to a state of exceeding the predetermined distance, the reference coordinates are updated so that the distance from the reference coordinates to the indicated coordinates becomes equal to or larger than the predetermined distance; and a display control unit that allows a predetermined image representing the reference coordinates set at the predetermined position to be displayed in the display area.SELECTED DRAWING: Figure 6

Description

本発明は、プログラム及びゲーム装置に関する。 The present invention relates to programs and game devices.

物理的なジョイスティック(アナログスティック)を操作してキャラクタの移動等を制御するゲームが知られている。近年、タッチパネルを使用したゲーム(スマートフォン等で実行されるゲーム)が普及しており、そのようなゲームにおいてもジョイスティックのような操作感でキャラクタの移動等を制御したいという要請がある。従来、タッチパネル上の任意の1点を押圧することで移動命令の入力を行い、タッチパネルの中心点(基準座標)に対する押圧点(指示座標)の方向と距離に応じてカーソルの移動を制御する技術が知られている(特許文献1参照)。 A game is known in which a physical joystick (analog stick) is operated to control the movement of a character. In recent years, games using touch panels (games executed by smartphones and the like) have become widespread, and even in such games, there is a demand for controlling the movement of characters with a joystick-like operation feeling. Conventionally, a technique of inputting a movement command by pressing an arbitrary point on the touch panel and controlling the movement of the cursor according to the direction and distance of the pressing point (instructed coordinates) with respect to the center point (reference coordinates) of the touch panel. Is known (see Patent Document 1).

特開平11−53115号公報Japanese Unexamined Patent Publication No. 11-53115

しかしながら、従来の技術では、基準座標が固定されていること、ゲーム中においてプレーヤは移動するキャラクタの方を注視していること、及び、タッチパネルではプレーヤは触覚で基準座標を認識することができないことが要因となり、プレーヤが操作中に基準座標を認識できなくなってしまい、プレーヤが意図していない移動制御が発生してしまう可能性があった。 However, in the conventional technique, the reference coordinates are fixed, the player is gazing at the moving character during the game, and the touch panel does not allow the player to recognize the reference coordinates by touch. This may cause the player to be unable to recognize the reference coordinates during operation, resulting in movement control not intended by the player.

本発明は、以上のような課題に鑑みてなされたものであり、その目的とするところは、ジョイスティックのような操作感をタッチパネルで実現しつつ、プレーヤが基準座標を認識し易くしてプレーヤの意図しないゲーム制御が行われることを防止することが可能なプログラム及びゲーム装置を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to make it easier for the player to recognize the reference coordinates while realizing a joystick-like operation feeling on the touch panel. An object of the present invention is to provide a program and a game device capable of preventing unintended game control from being performed.

(1)本発明は、タッチパネルの表示領域に設定された基準座標から、プレーヤによる前記表示領域への接触操作に応じて指定された指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、前記指示座標の指定がされなくなったことを含む所定の条件が満たされた場合に、前記表示領域内の所定位置に前記基準座標を設定する基準座標設定部と、前記指示座標が指定されている間において、前記基準座標から前記指示座標までの距離が、所定距離を超えない状態から前記所定距離を超える状態に変化した場合に、前記基準座標を、前記基準座標から前記指示座標までの距離が前記所定距離以上になるように更新する基準座標更新部と、前記所定位置に設定された前記基準座標を表す所定の画像を前記表示領域に表示させる表示制御部としてコンピュータを機能させることを特徴とするプログラムに関する。また本発明は、コンピュータ読み取り可能な情報記憶媒体であって、上記各部としてコンピュータを機能させるためのプログラムを記憶した情報記憶媒体に関する。また本発明は、上記各部を含むゲーム装置に関する。 (1) In the present invention, the distance from the reference coordinates set in the display area of the touch panel to the designated coordinates according to the contact operation with the display area by the player, and from the reference coordinates to the designated coordinates. When a game control unit that controls the game and a predetermined condition including that the designated coordinates are no longer specified are satisfied based on at least one of the directions of, the reference is placed at a predetermined position in the display area. When the distance from the reference coordinate to the designated coordinate changes from a state where the reference coordinate is not exceeded to a state where the designated coordinate is exceeded while the reference coordinate setting unit for setting the coordinates and the designated coordinate are specified. A reference coordinate updating unit that updates the reference coordinates so that the distance from the reference coordinates to the designated coordinates is equal to or greater than the predetermined distance, and a predetermined image representing the reference coordinates set at the predetermined position. The present invention relates to a program characterized in that a computer functions as a display control unit to be displayed in the display area. The present invention also relates to a computer-readable information storage medium, which stores a program for operating a computer as each of the above parts. The present invention also relates to a game device including each of the above parts.

本発明によれば、基準座標から指示座標までの距離が所定距離を超えない状態から所定距離を超える状態に変化した場合に基準座標を更新するとともに、指示座標が指定されなくなったことを含む所定の条件が満たされた場合に基準座標を所定位置に設定して当該基
準座標を表す所定の画像を表示することで、プレーヤが基準座標を認識し易くしてプレーヤの意図しないゲーム制御が行われることを防止することができる。
According to the present invention, when the distance from the reference coordinate to the designated coordinate changes from a state in which the designated coordinate does not exceed the predetermined distance to a state in which the designated coordinate exceeds the predetermined distance, the reference coordinate is updated and the designated coordinate is not specified. By setting the reference coordinates at a predetermined position and displaying a predetermined image representing the reference coordinates when the above condition is satisfied, the player can easily recognize the reference coordinates and the game control not intended by the player is performed. Can be prevented.

(2)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記基準座標更新部は、前記基準座標を、前記基準座標から前記指示座標までの距離が前記所定距離に保たれるように更新してもよい。 (2) Further, in the program, the information storage medium, and the game device according to the present invention, the reference coordinate updating unit keeps the reference coordinates at the predetermined distance from the reference coordinates to the designated coordinates. You may update it.

本発明によれば、基準座標を、基準座標から指示座標までの距離が所定距離に保たれるように更新することで、プレーヤが基準座標を認識し易くしてプレーヤの意図しないゲーム制御が行われることを防止することができる。 According to the present invention, by updating the reference coordinates so that the distance from the reference coordinates to the designated coordinates is maintained at a predetermined distance, the player can easily recognize the reference coordinates and the game can be controlled unintentionally by the player. It can be prevented from being damaged.

(3)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記ゲーム制御部は、前記基準座標が前記所定位置に設定されている場合は、前記基準座標から前記所定距離の範囲外での前記指示座標の指定を無効にしてもよい。 (3) Further, in the program, the information storage medium, and the game device according to the present invention, when the reference coordinates are set at the predetermined positions, the game control unit is outside the range of the predetermined distance from the reference coordinates. The designation of the indicated coordinates may be invalidated.

本発明によれば、基準座標から指示座標までの距離が長くなりすぎることを防止することができ、プレーヤの意図しない移動制御が行われることを防止することができる。 According to the present invention, it is possible to prevent the distance from the reference coordinate to the designated coordinate to become too long, and it is possible to prevent the movement control unintentional by the player from being performed.

(4)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記ゲーム制御部は、前記基準座標が前記所定位置に設定されている場合は、前記所定の画像に関連する領域外での前記指示座標の指定を無効にしてもよい。 (4) Further, in the program, the information storage medium, and the game device according to the present invention, the game control unit is outside the area related to the predetermined image when the reference coordinates are set to the predetermined position. The designation of the indicated coordinates may be invalidated.

本発明によれば、基準座標から指示座標までの距離が長くなりすぎることを防止することができ、プレーヤの意図しない移動制御が行われることを防止することができる。 According to the present invention, it is possible to prevent the distance from the reference coordinate to the designated coordinate to become too long, and it is possible to prevent the movement control unintentional by the player from being performed.

(5)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記表示制御部は、前記基準座標が更新されている間は、前記所定の画像を表示させないようにしてもよい。 (5) Further, in the program, the information storage medium, and the game device according to the present invention, the display control unit may not display the predetermined image while the reference coordinates are updated.

本発明によれば、基準画像が更新されている間(基準座標から所定距離を超えるような指示座標の指定が継続している間)は所定の画像を非表示にすることで、所定の画像によってゲーム画像が見え難くなることを防止することができる。なお、基準座標が更新されていない間や所定位置に設定されている間(プレーヤが基準座標の位置を把握する必要性が高い状況)には、所定の画像が表示されるため、プレーヤは基準座標を認識することができる。 According to the present invention, a predetermined image is hidden by hiding the predetermined image while the reference image is being updated (while the designation of the indicated coordinates that exceeds the predetermined distance from the reference coordinates continues). It is possible to prevent the game image from becoming difficult to see. Note that while the reference coordinates are not updated or set to a predetermined position (a situation in which the player has a high need to grasp the position of the reference coordinates), the predetermined image is displayed, so that the player can refer to the reference. The coordinates can be recognized.

(6)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記表示制御部は、前記指示座標が指定されている間は、前記所定の画像を表示させないようにしてもよい。 (6) Further, in the program, the information storage medium, and the game device according to the present invention, the display control unit may not display the predetermined image while the indicated coordinates are specified.

本発明によれば、指示座標が指定されている間(接触操作が継続している間)は所定の画像を非表示にすることで、所定の画像によってゲーム画像が見え難くなることを防止することができる。その後、接触操作がされなくなり、所定位置に基準座標が設定された場合には、所定の画像が表示されるため、プレーヤは基準座標を認識することができる。 According to the present invention, by hiding a predetermined image while the designated coordinates are specified (while the contact operation continues), it is possible to prevent the game image from becoming difficult to see due to the predetermined image. be able to. After that, when the contact operation is stopped and the reference coordinates are set at the predetermined positions, the predetermined image is displayed, so that the player can recognize the reference coordinates.

(7)また本発明に係るプログラム、情報記憶媒体及びゲーム装置では、前記基準座標設定部は、複数の前記所定位置の候補の中から、前記基準座標の設定時の前記表示領域において前記所定の画像が視認し易い位置を選択し、選択した前記所定位置に前記基準座標を設定してもよい。 (7) Further, in the program, the information storage medium, and the game device according to the present invention, the reference coordinate setting unit is selected from a plurality of candidates for the predetermined position in the display area at the time of setting the reference coordinates. You may select a position where the image is easily visible and set the reference coordinates at the selected predetermined position.

本発明によれば、複数の所定位置のうち所定の画像が視認し易い位置に基準座標を設定することで、プレーヤが基準座標をより認識し易くすることができる。 According to the present invention, it is possible to make it easier for the player to recognize the reference coordinates by setting the reference coordinates at a position where the predetermined image is easily visible among the plurality of predetermined positions.

本実施形態のゲーム装置の機能ブロック図の一例を示す図。The figure which shows an example of the functional block diagram of the game apparatus of this embodiment. 表示部に表示されるゲーム画面の一例を示す図。The figure which shows an example of the game screen displayed on the display part. 表示部に表示されるゲーム画面の一例を示す図。The figure which shows an example of the game screen displayed on the display part. 表示部に表示されるゲーム画面の一例を示す図。The figure which shows an example of the game screen displayed on the display part. 表示部に表示されるゲーム画面の一例を示す図。The figure which shows an example of the game screen displayed on the display part. 本実施形態のゲーム装置の処理の流れを示すフローチャート。The flowchart which shows the processing flow of the game apparatus of this embodiment.

以下、本実施形態について説明する。なお、以下に説明する本実施形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また本実施形態で説明される構成の全てが、本発明の必要構成要件であるとは限らない。 Hereinafter, this embodiment will be described. The present embodiment described below does not unreasonably limit the content of the present invention described in the claims. Moreover, not all of the configurations described in the present embodiment are the necessary constituent requirements of the present invention.

1.構成
図1に、本実施形態のゲーム装置の機能ブロック図の一例を示す。なお本実施形態のゲーム装置は図1の構成要素(各部)の一部を省略した構成としてもよい。
1. 1. Configuration FIG. 1 shows an example of a functional block diagram of the game device of the present embodiment. The game device of this embodiment may have a configuration in which some of the components (each part) of FIG. 1 are omitted.

入力部150は、プレーヤによる接触入力を検出するためのものであり、接触位置の座標値(指示座標)を連続的に検出し、処理部100に出力する。入力部150の機能は、タッチパネルにより実現することができる。タッチパネル方式としては、静電容量結合方式、抵抗膜方式(4線式、5線式)、超音波表面弾性波方式、赤外線走査方式などがある。タッチパネルへの接触操作(タッチ操作)は、指先を用いて行ってもよいし、タッチペンなどの入力部材を用いて行ってもよい。 The input unit 150 is for detecting the contact input by the player, continuously detects the coordinate value (instructed coordinate) of the contact position, and outputs the coordinate value (instructed coordinate) to the processing unit 100. The function of the input unit 150 can be realized by a touch panel. Examples of the touch panel method include a capacitance coupling method, a resistance film method (4-wire type, 5-wire type), an ultrasonic surface acoustic wave method, and an infrared scanning method. The touch operation for touching the touch panel may be performed using a fingertip or an input member such as a touch pen.

記憶部170は、処理部100の各部としてコンピュータを機能させるためのプログラムや各種データを記憶するとともに、処理部100のワーク領域として機能し、その機能はハードディスク、RAMなどにより実現できる。 The storage unit 170 stores programs and various data for operating the computer as each unit of the processing unit 100, and also functions as a work area of the processing unit 100, and the function can be realized by a hard disk, RAM, or the like.

表示部190は、処理部100で生成されたゲーム画像を出力するものであり、その機能は、入力部150としても機能するタッチパネルにより実現できる。 The display unit 190 outputs a game image generated by the processing unit 100, and its function can be realized by a touch panel that also functions as an input unit 150.

音出力部192は、処理部100で生成された音を出力するものであり、その機能は、スピーカ、或いはヘッドフォンなどにより実現できる。 The sound output unit 192 outputs the sound generated by the processing unit 100, and its function can be realized by a speaker, headphones, or the like.

通信部196はサーバや他のゲーム装置との間で通信を行うための各種制御を行うものであり、その機能は、各種プロセッサ又は通信用ASICなどのハードウェアや、プログラムなどにより実現できる。 The communication unit 196 performs various controls for communicating with the server and other game devices, and its functions can be realized by hardware such as various processors or communication ASICs, programs, and the like.

なお、サーバが有する情報記憶媒体や記憶部に記憶されている処理部100の各部としてコンピュータを機能させるためのプログラムや各種データを、ネットワークを介して受信し、受信したプログラムやデータを記憶部170に記憶してもよい。このようにプログラムや各種データを受信して端末を機能させる場合も本発明の範囲内に含む。 It should be noted that the information storage medium of the server and the programs and various data for operating the computer as each part of the processing unit 100 stored in the storage unit are received via the network, and the received programs and data are stored in the storage unit 170. You may memorize it in. The case where the terminal is made to function by receiving the program and various data in this way is also included in the scope of the present invention.

処理部100(プロセッサ)は、入力部150からの入力情報(タッチパネルの表示領域への接触操作に応じて指定された指示座標)、プログラム、通信部196を介して受信したデータなどに基づいて、ゲーム処理、画像生成処理、音生成処理、などの処理を行う。処理部100の機能は各種プロセッサ(CPU、DSP等)、ASIC(ゲートアレイ
等)などのハードウェアや、プログラムにより実現できる。処理部100は、ゲーム制御部110、基準座標設定部112、基準座標更新部114、表示制御部116、画像生成部120、音生成部130を含む。
The processing unit 100 (processor) is based on the input information from the input unit 150 (instruction coordinates designated according to the contact operation to the display area of the touch panel), the program, the data received via the communication unit 196, and the like. Performs game processing, image generation processing, sound generation processing, and other processing. The function of the processing unit 100 can be realized by hardware such as various processors (CPU, DSP, etc.), ASIC (gate array, etc.), or a program. The processing unit 100 includes a game control unit 110, a reference coordinate setting unit 112, a reference coordinate update unit 114, a display control unit 116, an image generation unit 120, and a sound generation unit 130.

ゲーム制御部110は、タッチパネルの表示領域に設定された基準座標から指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御する。例えば、ゲーム制御部110は、ゲーム空間に配置されたオブジェクト(キャラクタ、車両、ボール等)の移動制御を行ってもよい。この場合、ゲーム制御部110は、基準座標から指示座標までの距離に基づいてオブジェクトの移動速度(或いは、移動距離)を決定し、基準座標から指示座標への方向に基づいてオブジェクトの移動方向を決定してもよい。 The game control unit 110 controls the game based on at least one of the distance from the reference coordinate set in the display area of the touch panel to the designated coordinate and the direction from the reference coordinate to the designated coordinate. For example, the game control unit 110 may control the movement of objects (characters, vehicles, balls, etc.) arranged in the game space. In this case, the game control unit 110 determines the moving speed (or moving distance) of the object based on the distance from the reference coordinate to the designated coordinate, and determines the moving direction of the object based on the direction from the reference coordinate to the designated coordinate. You may decide.

基準座標設定部112は、指示座標の指定がされなくなったことを含む所定の条件が満たされた場合に、表示領域内の所定位置に基準座標を設定する。所定の条件は、指示座標の指定がされなくなったことでもよいし、指示座標の指定がされなくなってから所定時間が経過したことでもよいし、指示座標の指定がされなくなった後に所定の接触操作が行われたことでもよい。また、所定位置は、表示領域の予め決まった座標(例えば、表示領域の中心や四隅のいずれか、或いは、プレーヤによって事前に指定された座標)でもよいし、移動制御の対象となるオブジェクトの座標でもよいし、指示座標が指定されなくなる直前の指示座標でもよい。オブジェクトの座標とは、ゲーム制御上のオブジェクトの座標でもよいし、オブジェクト画像の重心でもよいし、オブジェクト画像の所定の部位(例えば、キャラクタの頭部)でもよい。また、移動制御の対象となるオブジェクトが複数表示されている場合には、操作可能な状態になっているオブジェクトの座標でもよいし、逆に操作可能な状態になっていないオブジェクトの座標でもよい。また、基準座標設定部112は、複数の所定位置の候補の中から選択した1つの所定位置に基準座標を設定してもよい。 The reference coordinate setting unit 112 sets the reference coordinates at a predetermined position in the display area when a predetermined condition including that the designated coordinates are no longer specified is satisfied. The predetermined condition may be that the designated coordinates are no longer specified, that a predetermined time has elapsed since the designated coordinates are no longer specified, or that a predetermined contact operation is performed after the designated coordinates are no longer specified. May have been done. Further, the predetermined position may be a predetermined coordinate of the display area (for example, any of the center and four corners of the display area, or a coordinate predetermined in advance by the player), or the coordinates of the object to be moved and controlled. Alternatively, it may be the indicated coordinates immediately before the indicated coordinates are no longer specified. The coordinates of the object may be the coordinates of the object under game control, the center of gravity of the object image, or a predetermined part of the object image (for example, the head of the character). When a plurality of objects subject to movement control are displayed, the coordinates of the objects that are in the operable state may be used, or conversely, the coordinates of the objects that are not in the operable state may be used. Further, the reference coordinate setting unit 112 may set the reference coordinates at one predetermined position selected from a plurality of candidates for the predetermined position.

基準座標更新部114は、指示座標が指定されている間において、基準座標から指示座標までの距離が、所定距離を超えない状態から所定距離を超える状態に変化した場合に、基準座標を、基準座標から指示座標までの距離が所定距離以上になるように更新する。例えば、基準座標を、基準座標から指示座標までの距離が所定距離に保たれる(所定距離を維持する)ように更新する。なお、基準座標更新部114は、指示座標が指定されている間において、基準座標から指示座標までの距離が所定距離を超えない場合には、基準座標を更新しない。また、基準座標更新部114は、基準座標を更新する場合、基準座標から指示座標への方向に基づいて基準座標を更新してもよい。 The reference coordinate updating unit 114 uses the reference coordinate as a reference when the distance from the reference coordinate to the designated coordinate changes from a state in which the reference coordinate does not exceed the predetermined distance to a state in which the reference coordinate exceeds the predetermined distance while the designated coordinate is specified. Update so that the distance from the coordinates to the indicated coordinates is greater than or equal to the predetermined distance. For example, the reference coordinates are updated so that the distance from the reference coordinates to the designated coordinates is maintained at a predetermined distance (maintains a predetermined distance). The reference coordinate updating unit 114 does not update the reference coordinate if the distance from the reference coordinate to the designated coordinate does not exceed the predetermined distance while the designated coordinate is specified. Further, when updating the reference coordinates, the reference coordinate updating unit 114 may update the reference coordinates based on the direction from the reference coordinates to the designated coordinates.

表示制御部116は、所定位置に設定された基準座標を表す所定の画像を表示領域に表示させる制御を行う。所定の画像とは、少なくとも基準座標が表示領域のどこにあるのか分かるような画像であればよい。例えば、基準座標を中心とする所定距離の範囲を表す形状(例えば、基準座標を中心とし所定距離を半径とする円、基準座標を中心とし基準座標から所定距離の位置に頂点がある多角形)の画像を、所定の画像としてもよい。また、基準座標を移動制御の対象となるオブジェクトの座標に設定する場合、当該オブジェクトの画像を所定の画像としてもよいし、当該オブジェクトの画像に所定の画像を重畳させて(半透明化して)表示してもよい。また、基準座標にゲームに関する情報(キャラクタのパラメータや、使用中のアイテムに関する情報)を表示し、当該情報を所定の画像としてもよい。表示制御部116は、基準座標が更新されている間、又は、指示座標が指定されている間は、所定の画像を表示させないようにしてもよい(移動制御の対象となるオブジェクトの画像を所定の画像とする場合を除く)。 The display control unit 116 controls to display a predetermined image representing the reference coordinates set at the predetermined position in the display area. The predetermined image may be an image that at least shows where the reference coordinates are in the display area. For example, a shape representing a range of a predetermined distance centered on the reference coordinates (for example, a circle centered on the reference coordinates and a radius of the predetermined distance, a polygon centered on the reference coordinates and having an apex at a predetermined distance from the reference coordinates). The image of may be a predetermined image. Further, when the reference coordinates are set to the coordinates of the object to be the target of the movement control, the image of the object may be a predetermined image, or the predetermined image may be superimposed on the image of the object (semi-transparent). It may be displayed. In addition, information about the game (character parameters and information about the item in use) may be displayed in the reference coordinates, and the information may be used as a predetermined image. The display control unit 116 may not display a predetermined image while the reference coordinates are updated or the designated coordinates are specified (the image of the object to be the target of the movement control is predetermined). (Except when using the image of).

また、ゲーム制御部110は、基準座標が所定位置に設定されている場合は、基準座標
から所定距離の範囲外での指示座標の指定(入力)を無効にしてもよいし、所定の画像に関連する領域外での指示座標の指定を無効にしてもよい。所定の画像に関連する領域は、所定の画像の領域そのものであってもよいし、所定の画像よりも大きい領域でもよいし、所定の画像よりも小さい領域でもよい。また、所定の画像に関連する領域は、所定の画像の全てを含む領域でもよいし、所定の画像の一部を含む領域でもよいし、所定の画像に関連付けて設定された領域であれば所定の画像を含まない領域でもよい。また、移動制御の対象となるオブジェクトの画像を所定の画像とする場合は、当該オブジェクトの画像の一部又は全部を含む所定形状(例えば、矩形、円形)の領域でもよい。
Further, when the reference coordinate is set to the predetermined position, the game control unit 110 may invalidate the designation (input) of the designated coordinate outside the range of the predetermined distance from the reference coordinate, and may disable the designation (input) of the designated coordinate in the predetermined image. The specification of the indicated coordinates outside the relevant area may be invalidated. The region related to the predetermined image may be the region of the predetermined image itself, the region larger than the predetermined image, or the region smaller than the predetermined image. Further, the area related to the predetermined image may be an area including all of the predetermined image, an area including a part of the predetermined image, or a predetermined area as long as it is an area set in association with the predetermined image. The area may not include the image of. When the image of the object subject to movement control is a predetermined image, it may be a region having a predetermined shape (for example, a rectangle or a circle) including a part or all of the image of the object.

また、基準座標設定部112は、複数の所定位置の候補の中から、基準座標の設定時の表示領域において所定の画像が視認し易い位置を選択し、選択した所定位置に基準座標を設定してもよい。例えば、複数の所定位置の候補を、表示領域の予め決まった座標、移動制御の対象となるオブジェクトの座標、及び指示座標が指定されなくなる直前の指示座標の3つの位置としてもよい。基準座標設定部112は、複数の所定位置の候補のうち、視認し易さの度合いが最も高い候補を選択してもよい。また、プレーヤが複数の所定位置の候補の優先順位を予め設定しておき、視認し易さの度合いが最も高い候補が複数ある場合に、優先順位が高い候補を優先的に選択してもよい。また、優先順位が最も高い候補について視認し難いか否かを判定し、視認し難いと判定した場合に、次に優先順位が高い候補について同じ判定を行い、視認し易いと判定した場合に当該候補を選択してもよい。また、視認し難いと判定された所定位置に最も近く且つ視認し易い位置に基準座標を設定してもよい。例えば、表示領域の予め決まった座標を所定位置とする場合において、当該座標が視認し難いと判定された場合には、表示領域内から複数の座標を抽出し、所定位置の候補とする。そして、抽出した候補の中から、最も視認し易く、且つ当初の所定位置の座標からの距離が最も短い候補を選択し、当該座標に基準座標を設定するようにしてもよい。また、基準座標設定部112は、所定位置の周囲に所定の画像以外のオブジェクト画像(キャラクタ、背景等)が所定数以上存在する場合に、当該所定位置について視認し難いと判定してもよいし、所定位置の周囲に存在する所定の画像以外のオブジェクト画像の数が多いほど、当該所定位置の視認し易さの度合いを低くしてもよい。また、基準座標設定部112は、所定位置に配置される所定の画像に他のオブジェクト画像(所定の画像以外のオブジェクト画像)が所定の割合以上重畳する場合に、当該所定位置について視認し難いと判定してもよいし、所定位置に配置される所定の画像に他のオブジェクト画像が重畳する割合が高いほど、当該所定位置の視認し易さの度合いを低くしてもよい。 Further, the reference coordinate setting unit 112 selects a position in which the predetermined image is easily visible in the display area at the time of setting the reference coordinate from a plurality of candidates for the predetermined position, and sets the reference coordinate at the selected predetermined position. You may. For example, a plurality of predetermined position candidates may be set to three positions: predetermined coordinates of the display area, coordinates of an object subject to movement control, and designated coordinates immediately before the designated coordinates are no longer specified. The reference coordinate setting unit 112 may select the candidate having the highest degree of visibility from the plurality of candidates at a predetermined position. Further, the player may set the priority of a plurality of candidates at predetermined positions in advance, and when there are a plurality of candidates having the highest degree of visibility, the candidate having the highest priority may be preferentially selected. .. In addition, it is determined whether or not the candidate with the highest priority is difficult to visually recognize, and when it is determined that it is difficult to visually recognize, the same judgment is made for the candidate with the next highest priority, and when it is determined that it is easy to visually recognize, the relevant Candidates may be selected. Further, the reference coordinates may be set at a position closest to a predetermined position determined to be difficult to see and easily visible. For example, when a predetermined coordinate of the display area is set as a predetermined position and it is determined that the coordinate is difficult to see, a plurality of coordinates are extracted from the display area and used as a candidate for the predetermined position. Then, from the extracted candidates, the candidate that is the easiest to see and has the shortest distance from the coordinates of the initial predetermined position may be selected, and the reference coordinates may be set in the coordinates. Further, the reference coordinate setting unit 112 may determine that it is difficult to visually recognize the predetermined position when there are a predetermined number or more of object images (characters, backgrounds, etc.) other than the predetermined image around the predetermined position. , The degree of visibility of the predetermined position may be lowered as the number of object images other than the predetermined image existing around the predetermined position is large. Further, when the reference coordinate setting unit 112 superimposes another object image (object image other than the predetermined image) on the predetermined image arranged at the predetermined position by a predetermined ratio or more, it is difficult to visually recognize the predetermined position. It may be determined, and the higher the ratio of other object images superimposed on the predetermined image arranged at the predetermined position, the lower the degree of visibility of the predetermined position may be.

画像生成部120は、処理部100で行われる種々の処理の結果に基づいて描画処理を行い、これによりゲーム画像(移動制御の対象となるオブジェクト画像、所定の画像を含む画像)を生成し、表示部190に出力する。画像生成部120は、オブジェクト空間(ゲーム空間)内において仮想カメラ(所与の視点)から見える画像(いわゆる3次元画像)を生成してもよい。 The image generation unit 120 performs drawing processing based on the results of various processing performed by the processing unit 100, thereby generating a game image (an object image to be moved controlled, an image including a predetermined image). Output to the display unit 190. The image generation unit 120 may generate an image (so-called three-dimensional image) that can be seen from a virtual camera (given viewpoint) in the object space (game space).

音生成部130は、処理部100で行われる種々の処理の結果に基づいて音処理を行い、BGM、効果音、又は音声などのゲーム音を生成し、音出力部192に出力する。 The sound generation unit 130 performs sound processing based on the results of various processes performed by the processing unit 100, generates game sounds such as BGM, sound effects, and voice, and outputs them to the sound output unit 192.

2.本実施形態の手法
次に本実施形態の手法について図面を用いて説明する。
2. The method of the present embodiment Next, the method of the present embodiment will be described with reference to the drawings.

図2は、表示部190(タッチパネル)に表示されるゲーム画面(ゲーム画像)の一例を示す図である。 FIG. 2 is a diagram showing 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を中心とする所定距離Dの範囲(基準座標RCを中心とし所定距離Dを半径とする円)を表す画像を表示している。
A character CR (player character) arranged in the game space is displayed on the game screen GI, and the player can move the character CR in the game space by performing a contact operation with the touch panel. Reference coordinate RC is set at a predetermined position on the game screen GI (display area of the touch panel), 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 region of the game screen GI, but the reference coordinate RC may be set at a position designated in advance by the player. Further, here, as a predetermined image PI, an image representing a range of a predetermined distance D centered on the reference coordinate RC (a circle centered on the reference coordinate RC and having a predetermined distance D as a radius) is displayed.

プレーヤが、所定の画像PIの領域内(基準座標RCから所定距離Dの範囲内)の任意の位置をタッチする接触操作を行うと、接触位置の座標(表示領域の座標系における座標)が指示座標DCとして指定(入力)され、基準座標RCから指示座標DCまでの距離及び基準座標RCから指示座標DCへの方向に基づいて、キャラクタCRの移動が制御される。すなわち、基準座標RCから指示座標DCまでの距離に基づいてキャラクタCRの移動速度や移動距離が制御され、基準座標RCから指示座標DCへの方向に基づいてキャラクタCRの移動方向が制御される。なお、基準座標RCが所定位置に配置されている場合は、基準座標RCから所定距離Dの範囲外での指示座標の指定は無効となり(プレーヤが基準座標RCから所定距離Dの範囲外の任意の位置をタッチする接触操作を行っても、指示座標DCは指定されない)、移動制御は行われない。所定の画像PI内において指示座標DCが指定されている(接触操作が継続している)間は、基準座標RCから指示座標DCまでの距離及び基準座標RCから指示座標DCへの方向に基づく移動制御が繰り返される。 When the player performs a contact operation by touching an arbitrary position within the area of the predetermined image PI (within the range of the predetermined distance D from the reference coordinate RC), the coordinates of the contact position (coordinates in the coordinate system of the display area) are instructed. It is designated (input) as the coordinate DC, and the movement of the character CR is controlled based on the distance from the reference coordinate RC to the designated coordinate DC and the direction from the reference coordinate RC to the designated coordinate 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. When the reference coordinate RC is arranged at a predetermined position, the designation of the indicated coordinate outside the range of the predetermined distance D from the reference coordinate RC becomes invalid (the player can arbitrarily specify the indicated coordinate outside the range of the predetermined distance D from the reference coordinate RC). Even if the contact operation of touching the position of is performed, the indicated coordinate DC is not specified), and the movement control is not performed. While the designated coordinate DC is specified in the predetermined image PI (contact operation continues), the movement is based on the distance from the reference coordinate RC to the designated coordinate DC and the direction from the reference coordinate RC to the designated coordinate DC. Control is repeated.

ここで、指示座標DCが指定されている間において、基準座標RCから指示座標DCまでの距離が所定距離Dを超えない状態(図2)から、基準座標RCから指示座標DCまでの距離が所定距離Dを超える状態(図3)に変化した場合には、図4に示すように、基準座標RCが、基準座標RCから指示座標DCまでの距離が所定距離Dに保たれるように更新される。すなわち、基準座標RCは、指示座標DCから所定距離Dを保って追従するように移動する。このとき基準座標RCは、更新前の基準座標RCと指示座標DCとを結ぶ線分に沿った方向(すなわち、移動距離が最短となる方向)に移動する。そして、更新後の基準座標RCから指示座標DCまでの距離及び更新後の基準座標RCから指示座標DCへの方向に基づく移動制御が行われる。基準座標RCが更新されると、所定の画像PIの表示位置も、更新後の基準座標RCを中心とする位置に更新される。なお、所定の画像PIの表示位置の更新は基準座標RCの更新と同時でなくてもよく、基準座標RCが更新されるタイミングから遅延させて所定の画像PIの表示位置を更新してもよい。以降、指示座標DCの指定がされなくなるまで、基準座標RCから指示座標DCまでの距離が所定距離Dを超えない場合には、基準座標RCは更新されず、所定距離Dを超える状態に変化した場合には、指示座標DCに追従するように基準座標RCが更新される。なお、基準座標RCの移動方向は、前述したものに限らない。例えば、基準座標RCから指示座標DCまでの距離が所定距離Dを超えたときの指示座標DCのベクトルに基づいて、基準座標RCの移動方向を決定してもよい。 Here, while the designated coordinate DC is specified, the distance from the reference coordinate RC to the designated coordinate DC is predetermined from the state where the distance from the reference coordinate RC to the designated coordinate DC does not exceed the predetermined distance D (FIG. 2). When the state changes to exceed the distance D (FIG. 3), as shown in FIG. 4, the reference coordinate RC is updated so that the distance from the reference coordinate RC to the indicated coordinate DC is maintained at the predetermined distance D. The coordinates. That is, the reference coordinate RC moves so as to follow the designated coordinate DC while maintaining a predetermined distance D. At this time, the reference coordinate RC moves in the direction along the line segment connecting the reference coordinate RC before the update and the indicated coordinate DC (that is, the direction in which the moving distance is the shortest). Then, movement control is performed based on the distance from the updated reference coordinate RC to the designated coordinate DC and the direction from the updated reference coordinate RC to the designated coordinate DC. When the reference coordinate RC is updated, the display position of the predetermined image PI is also updated to the position centered on the updated reference coordinate RC. The update of the display position of the predetermined image PI does not have to be performed at the same time as the update of the reference coordinate RC, and the display position of the predetermined image PI may be updated with a delay from the timing at which the reference coordinate RC is updated. .. After that, if the distance from the reference coordinate RC to the designated coordinate DC does not exceed the predetermined distance D until the designated coordinate DC is no longer specified, the reference coordinate RC is not updated and changes to a state exceeding the predetermined distance D. In this case, the reference coordinate RC is updated so as to follow the indicated coordinate DC. The moving direction of the reference coordinate RC is not limited to that described above. For example, the moving direction of the reference coordinate RC may be determined based on the vector of the designated coordinate DC when the distance from the reference coordinate RC to the designated coordinate DC exceeds the predetermined distance D.

指示座標DCの指定がされなくなると、所定条件が満たされたと判定され、基準座標RCはゲーム画面GIの所定位置(図2に示す基準座標RCの初期位置)に設定される。なお、指示座標DCの指定がされなくなってから所定時間が経過した場合に、所定条件が満たされたと判定してもよいし、指示座標DCの指定がされなくなった後にタップ操作(瞬間的なタッチ操作)が行われた場合に、所定条件が満たされたと判定してもよい。 When the designated coordinate DC is no longer specified, it is determined that the predetermined condition is satisfied, and the reference coordinate RC is set to the predetermined position of the game screen GI (the initial position of the reference coordinate RC shown in FIG. 2). In addition, when a predetermined time elapses after the designated coordinate DC is no longer specified, it may be determined that the predetermined condition is satisfied, or a tap operation (instantaneous touch) is performed after the designated coordinate DC is no longer specified. When the operation) is performed, it may be determined that the predetermined condition is satisfied.

このように、本実施形態によれば、所定の条件が満たされた場合に基準座標RCを所定位置に設定して当該基準座標RCを表す所定の画像PIを表示する(基準座標RCを明示する)とともに、基準座標RCから指示座標DCまでの距離が所定距離Dを超えない状態から所定距離Dを超える状態に変化した場合に、基準座標RCを、基準座標RCから指示
座標DCまでの距離が所定距離Dに保たれるように更新することで、プレーヤが基準座標RCを認識し易くしてプレーヤの意図しない移動制御が行われることを防止することができる。すなわち、本実施形態では、指示座標DCから所定距離Dを保って追従するように基準座標RCが更新されるため、プレーヤの操作感覚(プレーヤが操作時に意図した距離及び方向)と、実際に移動制御に用いられる距離及び方向(基準座標RCから指示座標DCまでの距離及び基準座標RCから指示座標DCへの方向)とのずれを小さくすることができる。
As described above, according to the present embodiment, when a predetermined condition is satisfied, the reference coordinate RC is set at a predetermined position and a predetermined image PI representing the reference coordinate RC is displayed (the reference coordinate RC is specified). ), And when the distance from the reference coordinate RC to the indicated coordinate DC changes from the state where the predetermined distance D does not exceed the state where the predetermined distance D is exceeded, the reference coordinate RC is changed to the distance from the reference coordinate RC to the indicated coordinate DC. By updating so that the predetermined distance D is maintained, it is possible to make it easier for the player to recognize the reference coordinate RC and prevent the player from performing unintended movement control. That is, in the present embodiment, since the reference coordinate RC is updated so as to keep the predetermined distance D from the indicated coordinate DC and follow it, the operation feeling of the player (distance and direction intended by the player at the time of operation) and the actual movement The deviation from the distance and direction used for control (distance from the reference coordinate RC to the designated coordinate DC and the direction from the reference coordinate RC to the designated coordinate DC) can be reduced.

また、本実施形態によれば、基準座標RCが所定位置に配置されている場合は、基準座標RCから所定距離Dの範囲外での指示座標の指定を無効にすることで、基準座標RCから指示座標DCまでの距離が長くなりすぎることを防止することができ、プレーヤの意図しない移動制御が行われることを防止することができる。また、基準座標RCが所定位置に配置されている場合に、所定の画像PIに関連する領域(所定の画像PIの領域、所定の画像PIの全てを含み所定の画像PIよりも大きい領域、所定の画像PIの一部を含み所定の画像PIよりも小さい領域)外での指示座標の指定を無効にするようにしてもよい。 Further, according to the present embodiment, when the reference coordinate RC is arranged at a predetermined position, the designation of the indicated coordinate outside the range of the predetermined distance D from the reference coordinate RC is invalidated, so that the reference coordinate RC can be used. It is possible to prevent the distance to the instruction coordinate DC from becoming too long, and it is possible to prevent the movement control unintentional by the player from being performed. Further, when the reference coordinate RC is arranged at a predetermined position, a region related to the predetermined image PI (a region of the predetermined image PI, a region including all of the predetermined image PI and larger than the predetermined image PI, a predetermined region). It is also possible to invalidate the designation of the indicated coordinates outside the area including a part of the image PI of

また、本実施形態では、指示座標DCが指定されている間や、基準座標RCが更新されている間は、所定の画像PIを表示させないようにしてもよい。指示座標DCが指定されている間は、基準座標RCは指示座標DCから所定距離D内にあるため、所定の画像PIにより基準座標RCを明示する必要はないからである。また、基準座標RCが更新されている間(基準座標RCから所定距離Dを超えるような指示座標DCの指定が継続している間)は、プレーヤの接触操作が表示領域内を大きく動くことになる。そのような状況において所定の画像PIを非表示にすることで、所定の画像PIによってゲーム画像が見え難くなることを防止することができる。 Further, in the present embodiment, the predetermined image PI may not be displayed while the indicated coordinate DC is specified or the reference coordinate RC is updated. This is because while the designated coordinate DC is specified, the reference coordinate RC is within the predetermined distance D from the designated coordinate DC, so that it is not necessary to clearly indicate the reference coordinate RC by the predetermined image PI. Further, while the reference coordinate RC is updated (while the designation of the indicated coordinate DC that exceeds the predetermined distance D from the reference coordinate RC continues), the contact operation of the player moves significantly in the display area. Become. By hiding the predetermined image PI in such a situation, it is possible to prevent the game image from becoming difficult to see due to the predetermined image PI.

上記例では、基準座標RCを、表示領域の予め決まった座標(所定位置の第1の例)に設定する場合について説明したが、基準座標RCを、指示座標DCが指定されなくなる直前の指示座標DC(所定位置の第2の例)に設定してもよい。また、基準座標RCを、指示座標DCが指定されていないとき(所定の条件が満たされたとき)のキャラクタCRの座標(所定位置の第3の例)に設定してもよい。この場合、キャラクタCRの画像自体を、基準座標RCを表す所定の画像としてもよいし、図5に示すように、キャラクタCRに重畳させて所定の画像PI(ここでは、基準座標RCを中心とする所定距離Dの範囲を表す画像)を表示するようにしてもよい。また、基準座標RCがキャラクタCRの座標に設定されている場合に、キャラクタCRの画像の領域外での指示座標の指定を無効にするようにしてもよいし、基準座標RCから所定距離Dの範囲外での指示座標の指定を無効にするとともに、キャラクタCRの画像の領域外での指示座標の指定を無効にする(基準座標RCから所定距離Dの範囲内且つキャラクタCRの画像の領域内での指示座標の指定のみを有効にする)ようにしてもよい。また、キャラクタCRが複数存在する場合には、所定の条件が満たされたときに移動制御の対象となっている(或いは、移動制御の対象となっていない)キャラクタCRの座標に基準座標RCを設定するようにしてもよい。 In the above example, the case where the reference coordinate RC is set to the predetermined coordinates of the display area (the first example of the predetermined position) has been described, but the reference coordinate RC is the designated coordinate immediately before the designated coordinate DC is no longer specified. It may be set to DC (second example of a predetermined position). Further, the reference coordinate RC may be set to the coordinates of the character CR (third example of the predetermined position) when the designated coordinate DC is not specified (when a predetermined condition is satisfied). In this case, the image itself of the character CR may be a predetermined image representing the reference coordinate RC, or as shown in FIG. 5, the image PI of the character CR is superimposed on the character CR and the predetermined image PI (here, the reference coordinate RC is the center). An image showing the range of the predetermined distance D) may be displayed. Further, when the reference coordinate RC is set to the coordinate of the character CR, the designation of the indicated coordinate outside the area of the image of the character CR may be invalidated, or the predetermined distance D from the reference coordinate RC may be invalidated. The specification of the indicated coordinates outside the range is invalidated, and the specification of the indicated coordinates outside the area of the character CR image is invalidated (within the range of the predetermined distance D from the reference coordinate RC and within the area of the character CR image). Only the specification of the indicated coordinates in is enabled). When there are a plurality of character CRs, the reference coordinate RC is set to the coordinates of the character CR that is the target of movement control (or is not the target of movement control) when a predetermined condition is satisfied. You may set it.

また、表示領域の予め決まった座標と、指示座標DCが指定されなくなる直前の指示座標DCと、キャラクタCRの座標を、所定位置の複数の候補とし、当該複数の候補のうち、所定の画像PIが視認し易い位置に基準座標RCを設定してもよい。例えば、表示領域の予め決まった座標(所定位置の第1の候補)の周囲に、所定の画像PI以外の他のオブジェクト画像が所定数以上存在する(或いは、所定の画像PIに他のオブジェクト画像が所定の割合以上重畳する)場合には、当該位置では所定の画像PIが視認し難いと判断して、指示座標DCが指定されなくなる直前の指示座標DC(所定位置の第2の候補)やキャラクタCRの座標(所定位置の第3の候補)に、基準座標RCを設定して所定の画像P
Iを表示してもよい。同様に、所定位置の第2の候補の周囲に、所定の画像PI以外の他のオブジェクト画像が所定数以上存在する場合には、所定位置の第1の候補や第3の候補に、基準座標RCを設定して所定の画像PIを表示してもよい。また、所定位置の第3の候補の周囲に、所定の画像PI以外の他のオブジェクト画像が所定数以上存在する場合には、所定位置の第1の候補や第2の候補に、基準座標RCを設定して所定の画像PIを表示してもよい。また、所定位置の複数の候補に優先順位を設定しておき、複数の候補のうち優先順位が高く且つ所定の画像PIが視認し易い(視認し易さの度合いが高い)位置に基準座標RCを設定して所定の画像PIを表示してもよい。このように、複数の所定位置のうち所定の画像PIが視認し易い位置に基準座標RCを設定することで、プレーヤが基準座標RCをより認識し易くすることができる。
Further, the predetermined coordinates of the display area, the designated coordinates DC immediately before the designated coordinate DC is no longer specified, and the coordinates of the character CR are set as a plurality of candidates at a predetermined position, and among the plurality of candidates, a predetermined image PI The reference coordinate RC may be set at a position where is easily visible. For example, there are a predetermined number or more of other object images other than the predetermined image PI around the predetermined coordinates (first candidate of the predetermined position) of the display area (or other object images in the predetermined image PI). Is superimposed in a predetermined ratio or more), it is determined that the predetermined image PI is difficult to see at the position, and the designated coordinate DC (second candidate at the predetermined position) immediately before the designated coordinate DC is no longer specified or The reference coordinate RC is set at the coordinates of the character CR (the third candidate at the predetermined position), and the predetermined image P
I may be displayed. Similarly, when there are a predetermined number or more of object images other than the predetermined image PI around the second candidate at the predetermined position, the first candidate and the third candidate at the predetermined position have reference coordinates. RC may be set to display a predetermined image PI. Further, when there are a predetermined number or more of object images other than the predetermined image PI around the third candidate at the predetermined position, the reference coordinate RC is applied to the first candidate and the second candidate at the predetermined position. May be set to display a predetermined image PI. Further, priority is set for a plurality of candidates at a predetermined position, and the reference coordinate RC is set at a position where the priority is high among the plurality of candidates and the predetermined image PI is easily visible (high degree of visibility). May be set to display a predetermined image PI. In this way, by setting the reference coordinate RC at a position where the predetermined image PI is easily visible among the plurality of predetermined positions, the player can more easily recognize the reference coordinate RC.

また、上記例では、基準座標RCが所定位置に配置されている場合は、基準座標RCから所定距離Dの範囲外での指示座標の指定を無効にする場合について説明したが、基準座標RCから所定距離Dの範囲外で指示座標DCが指定された場合に、当該指示座標DCを無効とせずに、当該指示座標DCから基準座標RCまでの距離が所定距離Dになるように基準座標RCを更新する(基準座標RCを指示座標DCに近づける)ようにしてもよい。 Further, in the above example, when the reference coordinate RC is arranged at a predetermined position, the case where the designation of the indicated coordinate outside the range of the predetermined distance D from the reference coordinate RC is invalidated has been described. When the designated coordinate DC is specified outside the range of the predetermined distance D, the reference coordinate RC is set so that the distance from the designated coordinate DC to the reference coordinate RC becomes the predetermined distance D without invalidating the designated coordinate DC. It may be updated (the reference coordinate RC is brought closer to the indicated coordinate DC).

また、上記例では、指示座標DCが指定されている間において、基準座標RCから指示座標DCまでの距離が、所定距離Dを超えない状態から所定距離Dを超える状態に変化した場合に、基準座標RCを、基準座標RCから指示座標DCまでの距離が所定距離Dに保たれるように更新する場合について説明したが、基準座標RCを、基準座標RCから指示座標DCまでの距離が所定距離D以上になるように更新してもよい。例えば、基準座標RCが更新される度に、基準座標RCから指示座標DCまでの距離が長くなるように更新してもよい。具体的には、所定距離Dが「5」に設定されているとき、基準座標RCから指示座標DCまでの距離が「5」を超えると、指示座標DCまでの距離が「6」になるように基準座標RCを更新するとともに、所定距離Dを「5」から「6」に変更する。その後、指示座標DCの指定が継続している間に、指示座標DCまでの距離が「6」を超えると、指示座標DCまでの距離が「7」になるように基準座標RCを更新するとともに、所定距離Dを「6」から「7」に変更する。その後、指示座標DCの指定がされなくなったことを含む所定の条件が満たされた場合、基準座標RCを所定位置に設定し、所定距離Dを当初の「5」にリセットする。なお、基準座標RCを更新する際の基準座標RCから指示座標DCまでの距離の増加量はこれに限らない。例えば、所定距離Dを超えたときの基準座標RCから指示座標DCまでの距離を記憶しておき、その距離と所定距離Dとの差を算出し、算出した差に所定の係数(例えば、1未満の係数)を乗算してその距離に加算した値を、更新後の基準座標RCから指示座標DCまでの距離としてもよい。この場合、所定の係数が0より小さい場合は、指示座標DCに近づく方向に基準座標RCが移動して基準座標RCから指示座標DCまでの距離が長くなるように更新され、所定の係数が0より大きい場合は、指示座標DCから遠ざかる方向に基準座標RCが移動して基準座標RCから指示座標DCまでの距離が長くなるように更新される。例えば、所定距離Dが「5」に設定されているとき、基準座標RCから指示座標DCまでの距離が「5」を超えて「6」になる場合において、所定の係数が「−0.5」である場合には、指示座標DCまでの距離が「5.5」((6−5)×−0.5+6=5.5)になるように基準座標RCを更新するとともに、所定距離Dを「5」から「5.5」に変更し、所定の係数が「0.5」である場合には、指示座標DCまでの距離が「6.5」((6−5)×0.5+6=6.5)になるように基準座標RCを更新するとともに、所定距離Dを「5」から「6.5」に変更する。なお、所定距離Dが変更された(拡がった)後、基準座標RCから指示座標DCまでの距離が変更後の所定距離D以内である場合には、所定距離Dが拡がったままになるようにしてもよいし、拡がった所定距離Dを縮める(例えば、基準座標RCから指示座標DCまでの距離が当初の所定距離Dよりも大きければ、所定距離Dを基準座標RCから指示座標DCまでの距離になるように縮め、基準座標RCから指示座標DCまでの距離が
当初の所定距離D以下であれば、所定距離Dを当初の所定距離Dになるように縮める)ようにしてもよい。
Further, in the above example, when the distance from the reference coordinate RC to the designated coordinate DC changes from a state in which the predetermined distance D is not exceeded to a state in which the predetermined distance D is exceeded while the designated coordinate DC is specified, the reference is made. The case where the coordinate RC is updated so that the distance from the reference coordinate RC to the indicated coordinate DC is maintained at the predetermined distance D has been described. However, the reference coordinate RC is such that the distance from the reference coordinate RC to the indicated coordinate DC is the predetermined distance. It may be updated to be D or more. For example, each time the reference coordinate RC is updated, the distance from the reference coordinate RC to the indicated coordinate DC may be updated to be longer. Specifically, when the predetermined distance D is set to "5" and the distance from the reference coordinate RC to the indicated coordinate DC exceeds "5", the distance to the indicated coordinate DC becomes "6". The reference coordinate RC is updated to, and the predetermined distance D is changed from "5" to "6". After that, if the distance to the designated coordinate DC exceeds "6" while the designation of the designated coordinate DC continues, the reference coordinate RC is updated so that the distance to the designated coordinate DC becomes "7". , The predetermined distance D is changed from "6" to "7". After that, when a predetermined condition including that the designated coordinate DC is no longer specified is satisfied, the reference coordinate RC is set to a predetermined position and the predetermined distance D is reset to the initial "5". The amount of increase in the distance from the reference coordinate RC to the indicated coordinate DC when updating the reference coordinate RC is not limited to this. For example, the distance from the reference coordinate RC to the indicated coordinate DC when the predetermined distance D is exceeded is stored, the difference between the distance and the predetermined distance D is calculated, and a predetermined coefficient (for example, 1) is added to the calculated difference. A value obtained by multiplying (a coefficient less than) and adding to the distance may be used as the distance from the updated reference coordinate RC to the indicated coordinate DC. In this case, if the predetermined coefficient is smaller than 0, the reference coordinate RC moves in the direction approaching the designated coordinate DC and is updated so that the distance from the reference coordinate RC to the designated coordinate DC becomes longer, and the predetermined coefficient is 0. If it is larger, the reference coordinate RC moves in the direction away from the designated coordinate DC, and the distance from the reference coordinate RC to the designated coordinate DC is updated to be longer. For example, when the predetermined distance D is set to "5" and the distance from the reference coordinate RC to the indicated coordinate DC exceeds "5" and becomes "6", the predetermined coefficient is "-0.5". In the case of ", the reference coordinate RC is updated so that the distance to the indicated coordinate DC becomes" 5.5 "((6-5) x-0.5 + 6 = 5.5), and the predetermined distance D Is changed from "5" to "5.5", and when the predetermined coefficient is "0.5", the distance to the indicated coordinate DC is "6.5" ((6-5) x 0. The reference coordinate RC is updated so that 5 + 6 = 6.5), and the predetermined distance D is changed from "5" to "6.5". If the distance from the reference coordinate RC to the indicated coordinate DC is within the changed predetermined distance D after the predetermined distance D is changed (expanded), the predetermined distance D is kept expanded. Alternatively, the expanded predetermined distance D may be shortened (for example, if the distance from the reference coordinate RC to the indicated coordinate DC is larger than the initial predetermined distance D 0 , the predetermined distance D is set from the reference coordinate RC to the indicated coordinate DC. It contracted so that the distance, if the distance from the reference coordinate RC to the designated coordinates DC following the initial predetermined distance D 0, may be a predetermined distance D to the initial contracted so as to have a predetermined distance D 0) as ..

3.処理
次に、本実施形態のゲーム装置の処理の一例について図6のフローチャートを用いて説明する。
3. 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.

まず、基準座標設定部112は、タッチパネルの表示領域(ゲーム画面GI)内の所定位置に基準座標RCを設定する(ステップS10)。 First, the reference coordinate setting unit 112 sets the reference coordinate RC at a predetermined position in the display area (game screen GI) of the touch panel (step S10).

次に、処理部100は、プレーヤの接触操作による指示座標DCの入力があったか否かを判断し(ステップS11)、指示座標DCの入力があった場合(ステップS11のY)には、直前の(前回フレームで)指示座標DCの入力があったか否かを判断する(ステップS12)。直前の指示座標DCの入力があった(指示座標DCの指定が継続している)場合(ステップS12のY)には、基準座標更新部114は、基準座標RCから指示座標DCまでの距離が所定距離Dを超えない状態から所定距離Dを超える状態に変化した(前回フレームでは当該距離が所定距離D以下であり、今回フレームでは当該距離が所定距離Dより大である)か否かを判定する(ステップS13)。所定距離Dを超える状態に変化しなかった場合(ステップS13のN)には、ステップS16に移行し、所定距離Dを超える状態に変化した場合(ステップS13のY)には、基準座標更新部114は、基準座標RCを、基準座標RCから指示座標DCまでの距離が所定距離Dに保たれるように更新する(ステップS14)。 Next, the processing unit 100 determines whether or not the instruction coordinate DC has been input by the contact operation of the player (step S11), and if the instruction coordinate DC has been input (Y in step S11), immediately before. It is determined whether or not the indicated coordinate DC has been input (in the previous frame) (step S12). When the instruction coordinate DC has been input immediately before (the designation of the instruction coordinate DC continues) (Y in step S12), the reference coordinate update unit 114 determines the distance from the reference coordinate RC to the instruction coordinate DC. It is determined whether or not the state has changed from the state where the predetermined distance D is not exceeded to the state where the predetermined distance D is exceeded (the distance is equal to or less than the predetermined distance D in the previous frame, and the distance is larger than the predetermined distance D in the current frame). (Step S13). If the state does not change beyond the predetermined distance D (N in step S13), the process proceeds to step S16, and if the state changes beyond the predetermined distance D (Y in step S13), the reference coordinate update unit 114 updates the reference coordinate RC so that the distance from the reference coordinate RC to the designated coordinate DC is maintained at a predetermined distance D (step S14).

直前の指示座標DCの入力がなかった(前回フレームでは指示座標DCが指定されておらず、今回フレームで指示座標DCが指定された)場合(ステップS12のN)には、ゲーム制御部110は、入力された指示座標DCが基準座標RCから所定距離Dの範囲内であるか否かを判断し(ステップS15)、所定距離Dの範囲内である場合(ステップS15のY)には、ステップS16に移行し、所定距離Dの範囲外である場合(ステップS15のN)には、ステップS19に移行する(指示座標DCの入力を無効にする)。なお、ステップS15において、ゲーム制御部110は、入力された指示座標DCが所定の画像PIに関連する領域内であるか否かを判断してもよい。 If there is no input of the instruction coordinate DC immediately before (the instruction coordinate DC was not specified in the previous frame and the instruction coordinate DC was specified in the frame this time) (N in step S12), the game control unit 110 , It is determined whether or not the input indicated coordinate DC is within the range of the predetermined distance D from the reference coordinate RC (step S15), and if it is within the range of the predetermined distance D (Y in step S15), the step When the process proceeds to S16 and the distance is out of the range of the predetermined distance D (N in step S15), the process proceeds to step S19 (the input of the indicated coordinate DC is invalidated). In step S15, the game control unit 110 may determine whether or not the input instruction coordinate DC is within the region related to the predetermined image PI.

次に、ゲーム制御部110は、基準座標RCから指示座標DCまでの距離及び基準座標RCから指示座標DCへの方向に基づいてキャラクタCRの移動を制御する(ステップS16)。 Next, the game control unit 110 controls the movement of the character CR based on the distance from the reference coordinate RC to the designated coordinate DC and the direction from the reference coordinate RC to the designated coordinate DC (step S16).

指示座標DCの入力がなかった場合(ステップS11のN)には、直前の指示座標DCの入力があったか否かを判断する(ステップS17)。直前の指示座標DCの入力がなかった場合(ステップS17のN)には、ステップS19に移行する。直前の指示座標DCの入力があった(前回フレームでは指示座標DCが指定されたが、今回フレームでは指示座標DCが指定されなかった)場合(ステップS17のY)には、基準座標設定部112は、所定の条件が満たされたと判断して、表示領域内の所定位置に基準座標RCを設定する(ステップS18)。なお、ステップS18において、基準座標設定部112は、所定位置の複数の候補のうち、所定の画像PIが視認し易い位置に基準座標RCを設定してもよい。 When there is no input of the indicated coordinate DC (N in step S11), it is determined whether or not the immediately preceding indicated coordinate DC has been input (step S17). If there is no input of the immediately preceding indicated coordinate DC (N in step S17), the process proceeds to step S19. When the instruction coordinate DC has been input immediately before (the instruction coordinate DC was specified in the previous frame, but the instruction coordinate DC was not specified in this frame) (Y in step S17), the reference coordinate setting unit 112 Determines that the predetermined condition is satisfied, and sets the reference coordinate RC at a predetermined position in the display area (step S18). In step S18, the reference coordinate setting unit 112 may set the reference coordinate RC at a position where the predetermined image PI is easily visible among the plurality of candidates at the predetermined position.

次に、表示制御部116と画像生成部120は、ゲーム画像(キャラクタCR、基準座標RCに表示される所定の画像PI等を含む画像)の描画処理を行い(ステップS19)、ステップS11に移行する。以降、ステップS11〜S19の処理を1フレーム(例えば、1/60秒)毎に繰り返す。なお、ステップS19において、表示制御部116は、
ステップS11で指示座標DCの入力があったと判断した場合や、ステップS14で基準座標RCを更新した場合は、所定の画像PIを表示させないようにしてもよい。
Next, the display control unit 116 and the image generation unit 120 perform drawing processing of a game image (an image including a character CR, a predetermined image PI displayed on the reference coordinate RC, etc.) (step S19), and proceed to step S11. To do. After that, the processes of steps S11 to S19 are repeated every frame (for example, 1/60 second). In step S19, the display control unit 116
When it is determined in step S11 that the indicated coordinate DC has been input, or when the reference coordinate RC is updated in step S14, the predetermined image PI may not be displayed.

本発明は、上記実施形態で説明したものに限らず、種々の変形実施が可能である。例えば、明細書又は図面中の記載において広義や同義な用語として引用された用語は、明細書又は図面中の他の記載においても広義や同義な用語に置き換えることができる。 The present invention is not limited to the one described in the above embodiment, and various modifications can be made. For example, a term cited as a broad or synonymous term in a description in a specification or drawing can be replaced with a broad or synonymous term in another description in the specification or drawing.

100…処理部、110…ゲーム制御部、112…基準座標設定部、114…基準座標更新部、116…表示制御部、120…画像生成部、130…音生成部、150…入力部、170…記憶部、190…表示部、192…音出力部、196…通信部 100 ... Processing unit, 110 ... Game control unit, 112 ... Reference coordinate setting unit, 114 ... Reference coordinate update unit, 116 ... Display control unit, 120 ... Image generation unit, 130 ... Sound generation unit, 150 ... Input unit, 170 ... Storage unit, 190 ... Display unit, 192 ... Sound output unit, 196 ... Communication unit

Claims (8)

タッチパネルの表示領域に設定された基準座標から、プレーヤによる前記表示領域への接触操作に応じて指定された指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、
前記表示領域内の、プレーヤによって事前に指定された所定位置に前記基準座標を設定する基準座標設定部としてコンピュータを機能させることを特徴とするプログラム。
Based on the distance from the reference coordinates set in the display area of the touch panel to the designated coordinates specified in response to the player's contact operation with the display area, and at least one of the directions from the reference coordinates to the designated coordinates. And the game control unit that controls the game,
A program characterized in that a computer functions as a reference coordinate setting unit that sets the reference coordinates at a predetermined position designated in advance by a player in the display area.
請求項1において、
前記基準座標を更新する基準座標更新部として更にコンピュータを機能させ、
前記基準座標設定部は、
所定条件が満たされた場合に、前記所定位置に前記基準座標を設定することを特徴とするプログラム。
In claim 1,
Further, the computer is made to function as a reference coordinate update unit for updating the reference coordinates.
The reference coordinate setting unit is
A program characterized in that the reference coordinates are set at the predetermined position when a predetermined condition is satisfied.
請求項2において、
前記基準座標設定部は、
前記指示座標の指定がされなくなった場合に、前記所定条件が満たされたと判定することを特徴とするプログラム。
In claim 2,
The reference coordinate setting unit is
A program characterized in that it is determined that the predetermined condition is satisfied when the designated coordinates are no longer specified.
請求項1乃至3のいずれか1項において、
前記基準座標設定部は、
複数の前記所定位置の候補の中から選択した前記所定位置に前記基準座標を設定することを特徴とするプログラム。
In any one of claims 1 to 3,
The reference coordinate setting unit is
A program characterized in that the reference coordinates are set at the predetermined position selected from a plurality of candidates for the predetermined position.
請求項4において、
前記基準座標設定部は、
プレーヤによって設定された前記候補の優先順位に基づいて前記所定位置を選択することを特徴とするプログラム。
In claim 4,
The reference coordinate setting unit is
A program characterized by selecting the predetermined position based on the priority of the candidate set by the player.
請求項1乃至5のいずれか1項において、
前記ゲーム制御部は、
前記基準座標が前記所定位置に設定されている場合は、前記基準座標から所定距離の範囲外での前記指示座標の指定を無効にすることを特徴とするプログラム。
In any one of claims 1 to 5,
The game control unit
A program characterized in that when the reference coordinate is set to the predetermined position, the designation of the designated coordinate outside the range of the predetermined distance from the reference coordinate is invalidated.
請求項2又は請求項2に従属する請求項3乃至6のいずれか1項において、
前記基準座標更新部は、
前記指示座標が指定されている間において、前記基準座標から前記指示座標までの距離が、所定距離を超えない状態から前記所定距離を超える状態に変化した場合に、前記基準座標を、前記基準座標から前記指示座標までの距離が前記所定距離に保たれるように更新することを特徴とするプログラム。
In any one of claims 3 to 6, which is dependent on claim 2 or claim 2.
The reference coordinate update unit
While the designated coordinates are specified, when the distance from the reference coordinates to the designated coordinates changes from a state in which the predetermined distance is not exceeded to a state in which the designated coordinates are exceeded, the reference coordinates are changed to the reference coordinates. A program characterized in that the distance from to the indicated coordinates is updated so as to be maintained at the predetermined distance.
タッチパネルの表示領域に設定された基準座標から、プレーヤによる前記表示領域への接触操作に応じて指定された指示座標までの距離、及び、前記基準座標から前記指示座標への方向の少なくとも一方に基づいて、ゲームを制御するゲーム制御部と、
前記表示領域内の、プレーヤによって事前に指定された所定位置に前記基準座標を設定する基準座標設定部とを含むことを特徴とするゲーム装置。
Based on the distance from the reference coordinates set in the display area of the touch panel to the designated coordinates specified in response to the player's contact operation with the display area, and at least one of the directions from the reference coordinates to the designated coordinates. And the game control unit that controls the game,
A game device including a reference coordinate setting unit that sets the reference coordinates at a predetermined position designated in advance by the player in the display area.
JP2021003911A 2021-01-14 2021-01-14 Program and game device Pending JP2021062251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021003911A JP2021062251A (en) 2021-01-14 2021-01-14 Program and game device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021003911A JP2021062251A (en) 2021-01-14 2021-01-14 Program and game device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018018319A Division JP7105573B2 (en) 2018-02-05 2018-02-05 Program and game device

Publications (1)

Publication Number Publication Date
JP2021062251A true JP2021062251A (en) 2021-04-22

Family

ID=75486980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021003911A Pending JP2021062251A (en) 2021-01-14 2021-01-14 Program and game device

Country Status (1)

Country Link
JP (1) JP2021062251A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011229716A (en) * 2010-04-28 2011-11-17 Square Enix Co Ltd User interface processor, user interface processing method, and user interface processing program
JP2012133481A (en) * 2010-12-20 2012-07-12 Namco Bandai Games Inc Program, information storage medium and terminal device
JP2014045965A (en) * 2012-08-31 2014-03-17 Square Enix Co Ltd Video game processing device and video game processing program
JP2016009473A (en) * 2014-06-26 2016-01-18 ガンホー・オンライン・エンターテイメント株式会社 Terminal device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011229716A (en) * 2010-04-28 2011-11-17 Square Enix Co Ltd User interface processor, user interface processing method, and user interface processing program
JP2012133481A (en) * 2010-12-20 2012-07-12 Namco Bandai Games Inc Program, information storage medium and terminal device
JP2014045965A (en) * 2012-08-31 2014-03-17 Square Enix Co Ltd Video game processing device and video game processing program
JP2016009473A (en) * 2014-06-26 2016-01-18 ガンホー・オンライン・エンターテイメント株式会社 Terminal device

Similar Documents

Publication Publication Date Title
CN106249882B (en) Gesture control method and device applied to VR equipment
US10821360B2 (en) Data processing method and mobile terminal
JP6185123B1 (en) Program, control method, and information processing apparatus
US11266904B2 (en) Game system, game control device, and information storage medium
JP6206854B2 (en) GAME CONTROL DEVICE AND PROGRAM
JP5953418B1 (en) Program, electronic apparatus, system and method for improving user input operability
US11759702B2 (en) Game system, processing method, and information storage medium
JP6387239B2 (en) Program and server
US20210117070A1 (en) Computer-readable recording medium, computer apparatus, and method of controlling
JP5081399B2 (en) GAME DEVICE, PROGRAM, AND INFORMATION RECORDING MEDIUM
JP2021062251A (en) Program and game device
JP6775076B1 (en) Methods, programs, and electronics
KR20190142226A (en) Systems and methods for integrating haptics overlay in augmented reality
JP7105573B2 (en) Program and game device
JP6641041B2 (en) Display control program, display control method, and display control system
JP7105574B2 (en) Program and game device
JP6824369B1 (en) Methods, programs, and electronics
JP2018060539A (en) User interface program
US11908097B2 (en) Information processing system, program, and information processing method
JP7471782B2 (en) Program, electronic device, and method
JP6446149B1 (en) Program, processing apparatus, and processing method
JP2017157195A (en) User interface program
JP3768223B1 (en) GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM
JP6480520B2 (en) Program, control method, and information processing apparatus
JP2019166229A (en) Program and game device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210114

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220201

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220404

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220830

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230228