JP7442106B2 - Terminal device, control method and control program - Google Patents

Terminal device, control method and control program Download PDF

Info

Publication number
JP7442106B2
JP7442106B2 JP2022180072A JP2022180072A JP7442106B2 JP 7442106 B2 JP7442106 B2 JP 7442106B2 JP 2022180072 A JP2022180072 A JP 2022180072A JP 2022180072 A JP2022180072 A JP 2022180072A JP 7442106 B2 JP7442106 B2 JP 7442106B2
Authority
JP
Japan
Prior art keywords
route
game medium
terminal device
game
player
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2022180072A
Other languages
Japanese (ja)
Other versions
JP2023015259A (en
Inventor
幸司 柿澤
翔大 下田
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.)
GREE Inc
Original Assignee
GREE Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP2019112873A external-priority patent/JP6898385B2/en
Application filed by GREE Inc filed Critical GREE Inc
Priority to JP2022180072A priority Critical patent/JP7442106B2/en
Publication of JP2023015259A publication Critical patent/JP2023015259A/en
Priority to JP2024017807A priority patent/JP2024036642A/en
Application granted granted Critical
Publication of JP7442106B2 publication Critical patent/JP7442106B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

本発明は、端末装置、制御方法及び制御プログラムに関する。 The present invention relates to a terminal device, a control method, and a control program.

従来、プレイヤが仮想空間内に位置するキャラクタを操作するゲームが普及している。このようなゲームでは、キャラクタは、プレイヤによる、移動方向を指定する操作により仮想空間内を移動する。そして、プレイヤは、キャラクタが遭遇した敵キャラクタと対戦したり、発生したイベントを攻略したりしてゲームを進行させる。 Conventionally, games in which a player operates a character located in a virtual space have become popular. In such a game, a character moves within a virtual space by an operation by a player that specifies a direction of movement. Then, the player advances the game by fighting against enemy characters that the character has encountered and conquering events that have occurred.

このようなゲームでは、プレイヤは、所定の目的位置までキャラクタを操作することによって、敵キャラクタと遭遇し、又は、イベントを発生させる。そして、目的位置を所定の順序で訪れることによってゲームが進行する。このようなプレイヤによるキャラクタの操作を支援する方法として、特許文献1には、プレイヤが指定した目的位置までキャラクタを自動的に移動させる移動制御方法が記載されている。 In such games, a player encounters an enemy character or causes an event to occur by operating the character to a predetermined target position. The game progresses by visiting the target positions in a predetermined order. As a method for supporting such a player's operation of a character, Patent Document 1 describes a movement control method for automatically moving a character to a target position specified by the player.

特開2005-176878号公報Japanese Patent Application Publication No. 2005-176878

特許文献1に記載の移動制御方法では、プレイヤは、目的位置までキャラクタを移動させるために、目的位置を指定する。しかしながら、目的位置を指定する操作は、移動方向を指定してキャラクタを移動させる操作と比較すると、プレイヤにとって直感的な操作とはいい難かった。また、特許文献1に記載の移動制御方法では、プレイヤは、目的位置を指定するために、あらかじめ目的位置を把握する必要があった。しかしながら、プレイヤは、目的位置を訪れたことがない場合や、目的位置の方角のみを把握しているが正確な位置を把握していない場合等、目的位置についての正確な知識を有していない場合があった。このような場合、プレイヤは、目的位置を指定することができず、特許文献1に記載の移動制御方法は、プレイヤによるキャラクタの操作を支援することができなかった。 In the movement control method described in Patent Document 1, a player specifies a target position in order to move a character to the target position. However, the operation of specifying a target position is less intuitive for the player than the operation of specifying a direction of movement and moving a character. Furthermore, in the movement control method described in Patent Document 1, the player needs to know the target position in advance in order to specify the target position. However, the player does not have accurate knowledge about the target position, such as when the player has never visited the target position, or when the player knows only the direction of the target position but does not know the exact position. There was a case. In such a case, the player cannot specify the target position, and the movement control method described in Patent Document 1 cannot support the player's operation of the character.

本発明は、上述した課題を解決すべくなされたものであり、プレイヤにとって直感的な操作により、プレイヤによるキャラクタの操作を支援することを目的とする。 The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to support the player's operation of a character through intuitive operation for the player.

上述した課題を解決するために、本発明に係る端末装置は、仮想空間内に位置するゲーム媒体を表示する表示部と、仮想空間における所定位置に関する情報を記憶する記憶部と、プレイヤによる、移動方向を含む移動指示を取得する取得部と、仮想空間内のゲーム媒体の位置から所定位置への経路を算出する算出部と、算出された経路が移動方向に関する所定条件を満たすか否かを判定する判定部と、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が所定位置まで移動するように、ゲーム媒体の表示を制御する表示制御部と、を備える。 In order to solve the above-mentioned problems, a terminal device according to the present invention includes a display unit that displays game content located in a virtual space, a storage unit that stores information regarding a predetermined position in the virtual space, and a terminal device that displays game content located in a virtual space. an acquisition unit that acquires a movement instruction including a direction; a calculation unit that calculates a route from the position of the game medium in the virtual space to a predetermined position; and a determination unit that determines whether the calculated route satisfies a predetermined condition regarding the movement direction. and a display control unit that controls display of the game content so that the game content moves to a predetermined position along the route when it is determined that the route satisfies a predetermined condition.

また、本発明に係る端末装置において、経路は、複数の要素経路によって構成され、所定条件は、移動方向と、ゲーム媒体の位置と接続する要素経路の方向とがなす角の大きさが所定角度以下であることである、ことが好ましい。 Further, in the terminal device according to the present invention, the route is constituted by a plurality of element routes, and the predetermined condition is that the size of the angle between the movement direction and the direction of the element route connecting the position of the game medium is a predetermined angle. It is preferable that the following is true.

また、本発明に係る端末装置において、移動指示は、操作位置に関する情報を含み、算出部は、操作位置に関する情報が所定範囲内である場合に、経路を算出しない、ことが好ましい。 Further, in the terminal device according to the present invention, it is preferable that the movement instruction includes information regarding the operating position, and the calculation unit does not calculate the route when the information regarding the operating position is within a predetermined range.

また、本発明に係る端末装置において、表示制御部は、経路が所定条件を満たさないと判定された場合、ゲーム媒体が移動方向に移動するように、ゲーム媒体の表示を制御する、ことが好ましい。 Further, in the terminal device according to the present invention, it is preferable that the display control unit controls the display of the game content so that the game content moves in the movement direction when it is determined that the route does not satisfy a predetermined condition. .

また、本発明に係る端末装置において、表示制御部は、経路が所定条件を満たすと判定された場合、経路の少なくとも一部を仮想空間に表示する、ことが好ましい。 Further, in the terminal device according to the present invention, it is preferable that the display control unit displays at least a portion of the route in the virtual space when it is determined that the route satisfies a predetermined condition.

また、本発明に係る端末装置において、表示制御部は、経路に従って移動しているゲーム媒体が所定位置に到達する前に停止した場合、プレイヤに移動指示の入力を促す情報を表示部に表示する、ことが好ましい。 Furthermore, in the terminal device according to the present invention, if the game medium moving along the route stops before reaching a predetermined position, the display control section displays information prompting the player to input a movement instruction on the display section. , is preferable.

また、本発明に係る端末装置は、プレイヤによる接触を検出する操作部を備え、取得部は、プレイヤが操作部に接触している接触位置を所定時間間隔で取得し、移動方向は、取得部が最後に取得した接触位置の、その直前に取得した接触位置を基準とする方向である、ことが好ましい。 Further, the terminal device according to the present invention includes an operation section that detects a touch by the player, and the acquisition section acquires the contact position where the player is touching the operation section at predetermined time intervals, and the movement direction is determined by the acquisition section. It is preferable that the direction is based on the contact position acquired immediately before the last acquired contact position.

また、本発明に係る端末装置において、算出部は、ゲーム媒体の位置からの複数の経路と、複数の経路のそれぞれに係るパラメータとを算出する、ことが好ましい。 Further, in the terminal device according to the present invention, it is preferable that the calculation unit calculates a plurality of routes from the position of the game medium and parameters related to each of the plurality of routes.

また、本発明に係る端末装置において、表示制御部は、複数の経路が所定条件を満たすと判定された場合、所定条件を満たすと判定された経路のうち、パラメータが最も小さい経路に従ってゲーム媒体が移動するように、ゲーム媒体の表示を制御する、ことが好ましい。 Furthermore, in the terminal device according to the present invention, when it is determined that a plurality of routes satisfy the predetermined condition, the display control section displays the game content according to the route with the smallest parameter among the routes determined to satisfy the predetermined condition. Preferably, the display of the game medium is controlled to move.

また、本発明に係る端末装置において、算出部は、ゲーム媒体の位置との関係が所定関係である所定位置への経路を算出する、ことが好ましい。 Furthermore, in the terminal device according to the present invention, it is preferable that the calculation unit calculates a route to a predetermined position that has a predetermined relationship with the position of the game medium.

上述した課題を解決するために、本発明に係る制御方法は、記憶部と、仮想空間内に位置するゲーム媒体を表示する表示部と、を備える端末装置の制御方法であって、仮想空間における所定位置に関する情報を記憶部に記憶し、プレイヤによる、移動方向を含む移動指示を取得し、仮想空間内のゲーム媒体の位置から所定位置への経路を算出し、算出された経路が移動方向に関する所定条件を満たすか否かを判定し、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が所定位置まで移動するように、ゲーム媒体の表示を制御する、ことを含む。 In order to solve the above-mentioned problems, a control method according to the present invention is a control method for a terminal device that includes a storage section and a display section that displays game content located in a virtual space. Information regarding the predetermined position is stored in the storage unit, a movement instruction including the movement direction from the player is obtained, a route is calculated from the position of the game medium in the virtual space to the predetermined position, and the calculated route is related to the movement direction. The method includes determining whether a predetermined condition is satisfied, and if it is determined that the route satisfies the predetermined condition, controlling the display of the game content so that the game content moves to a predetermined position along the route.

上述した課題を解決するために、本発明に係る制御プログラムは、記憶部と、仮想空間内に位置するゲーム媒体を表示する表示部と、を備える端末装置の制御プログラムであって、仮想空間における所定位置に関する情報を記憶部に記憶し、プレイヤによる、移動方向を含む移動指示を取得し、仮想空間内のゲーム媒体の位置から所定位置への経路を算出し、算出された経路が移動方向に関する所定条件を満たすか否かを判定し、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が所定位置まで移動するように、ゲーム媒体の表示を制御する、ことを含むことを端末装置に実行させる。 In order to solve the above-mentioned problems, a control program according to the present invention is a control program for a terminal device that includes a storage section and a display section that displays game content located in a virtual space. Information regarding the predetermined position is stored in the storage unit, a movement instruction including the movement direction from the player is obtained, a route is calculated from the position of the game medium in the virtual space to the predetermined position, and the calculated route is related to the movement direction. determining whether or not a predetermined condition is satisfied, and if it is determined that the route satisfies the predetermined condition, controlling the display of the game content so that the game content moves along the route to a predetermined position; Let the device execute it.

本発明に係る端末装置、制御方法及び制御プログラムによって、プレイヤにとって直感的な操作により、プレイヤによるキャラクタの操作を支援することが可能となる。 With the terminal device, control method, and control program according to the present invention, it is possible to support the player's operation of the character through intuitive operation for the player.

端末装置によって提供されるゲームの概略について説明するための模式図である。FIG. 2 is a schematic diagram for explaining an outline of a game provided by a terminal device. 端末装置によって提供されるゲームの概略について説明するための模式図である。FIG. 2 is a schematic diagram for explaining an outline of a game provided by a terminal device. 端末装置1の概略構成の一例を示す図である。1 is a diagram showing an example of a schematic configuration of a terminal device 1. FIG. (a)は、端末装置1の表示部13に表示されるフィールド画面410の一例を示す図であり、(b)は、端末装置1の表示部13に表示されるフィールド画面420の一例を示す図である。(a) is a diagram showing an example of a field screen 410 displayed on the display unit 13 of the terminal device 1, and (b) is a diagram showing an example of a field screen 420 displayed on the display unit 13 of the terminal device 1. It is a diagram. (a)は、端末装置1の表示部13に表示されるフィールド画面510の一例を示す図であり、(b)は、端末装置1の表示部13に表示されるフィールド画面520の一例を示す図である。(a) is a diagram showing an example of a field screen 510 displayed on the display unit 13 of the terminal device 1, and (b) is a diagram showing an example of a field screen 520 displayed on the display unit 13 of the terminal device 1. It is a diagram. (a)は、操作部12を上面にした端末装置1を側面から見た模式図であり、(b)は、操作部12を上面にした端末装置1を上面から見た場合の模式図である。(a) is a schematic diagram of the terminal device 1 viewed from the side with the operation unit 12 facing up, and (b) is a schematic diagram of the terminal device 1 viewed from the top with the operation unit 12 facing up. be. 操作部12を上面にした端末装置1を上面から見た場合の模式図である。FIG. 2 is a schematic diagram of the terminal device 1 viewed from above with the operation unit 12 facing upward. (a)は、端末装置1が、移動可能領域413を分割する処理の一例を示す図であり、(b)は、端末装置1が、経路算出用グラフを生成し、経路算出用グラフにおいて、ゲーム媒体411の位置から目的位置への経路を算出する処理の一例を示す図である。(a) is a diagram showing an example of a process in which the terminal device 1 divides the movable area 413, and (b) is a diagram in which the terminal device 1 generates a route calculation graph, and in the route calculation graph, 4 is a diagram illustrating an example of a process for calculating a route from the position of the game medium 411 to the target position. FIG. 算出された経路と移動方向とをフィールド画面910に表示した図である。9 is a diagram showing a calculated route and moving direction on a field screen 910. FIG. (a)領域テーブル1010のデータ構造の一例を示す図であり、(b)は、目的位置テーブル1020のデータ構造の一例を示す図である。(a) is a diagram showing an example of the data structure of an area table 1010, and (b) is a diagram showing an example of the data structure of the destination position table 1020. 端末装置1における移動処理の一例を示すフロー図である。3 is a flow diagram showing an example of movement processing in the terminal device 1. FIG. 端末装置1における移動指示取得処理の一例を示すフロー図である。3 is a flow diagram showing an example of a movement instruction acquisition process in the terminal device 1. FIG. 端末装置1における経路算出処理の一例を示すフロー図である。3 is a flow diagram showing an example of route calculation processing in the terminal device 1. FIG.

以下、図面を参照しつつ、本発明の様々な実施形態について説明する。ただし、本発明の技術的範囲はそれらの実施形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Hereinafter, various embodiments of the present invention will be described with reference to the drawings. However, it should be noted that the technical scope of the present invention is not limited to these embodiments, but extends to the invention described in the claims and equivalents thereof.

(本実施形態の概要)
図1及び図2は、端末装置によって提供されるゲームの概略について説明するための模式図である。
(Summary of this embodiment)
1 and 2 are schematic diagrams for explaining the outline of a game provided by a terminal device.

まず、図1について説明する。端末装置は、仮想空間内に位置するゲーム媒体を表示し、仮想空間における目的位置に関する情報を記憶する(図1の(1))。図1の(1)に示す例では、ゲーム媒体は、プレイヤによって操作されるキャラクタである。ゲーム媒体は、ゲーム装置によって提供される各種ゲーム又は各種サービス等において使用される電子データであり、例えば、カード又はアバターであってよい。 First, FIG. 1 will be explained. The terminal device displays the game content located in the virtual space and stores information regarding the target position in the virtual space ((1) in FIG. 1). In the example shown in (1) of FIG. 1, the game medium is a character operated by the player. The game medium is electronic data used in various games or various services provided by the game device, and may be, for example, a card or an avatar.

ゲーム媒体は、アイテム、ポイント、仮想通貨、チケット又はパラメータであってよい。また、ゲーム媒体は、レベル情報、ステータス情報、パラメータ情報(体力値及び攻撃力等)又は能力情報(スキル、アビリティ、呪文、ジョブ等)であってよい。ゲーム媒体は、プレイヤによって、ゲーム内で取得、保有、使用、管理、交換、合成、強化、売却、廃棄及び/又は贈与等され得る任意の電子データであってよい。また、ゲーム媒体の利用態様は本明細書で明示されるものに限られない。 Game media may be items, points, virtual currency, tickets, or parameters. Further, the game content may be level information, status information, parameter information (physical strength value, attack power, etc.), or ability information (skills, abilities, spells, jobs, etc.). Game media may be any electronic data that can be acquired, held, used, managed, exchanged, synthesized, enhanced, sold, discarded, and/or gifted within a game by a player. Furthermore, the manner in which the game medium is used is not limited to that specified in this specification.

目的位置は、プレイヤがゲーム媒体を操作して到達させるべき仮想空間における位置を表す。目的位置は、例えば、敵ゲーム媒体の位置、又は、イベントが発生する位置である。目的位置は、ゲーム媒体のパラメータを変更させるためのパラメータ変更位置、仮想空間内に設けられた通路の分岐点、仮想空間内に設けられたモニュメント等のオブジェクトの設置位置であってもよい。また、目的位置は、仮想空間内においてゲーム媒体が到達可能な任意の位置であってもよい。目的位置は、プレイヤによって任意に設定可能であってよい。また、目的位置は、ゲームの進行状況に応じて新たに追加されたり、削除されたりしてもよい。 The target position represents a position in the virtual space that the player should reach by operating the game medium. The target position is, for example, the position of the enemy game medium or the position where an event occurs. The target position may be a parameter change position for changing the parameters of the game medium, a branch point of a passage provided in the virtual space, or an installation position of an object such as a monument provided in the virtual space. Furthermore, the target position may be any position within the virtual space that is reachable by the game medium. The target position may be arbitrarily set by the player. Further, the target position may be newly added or deleted depending on the progress of the game.

ゲーム媒体が目的位置に到達することによって、プレイヤは、敵ゲーム媒体との対戦ゲームや、その他のイベントを進行することができる。なお、図1の(1)に示す例では、目的位置が表示されているが、端末装置は、目的位置を表示しなくてもよい。なお、目的位置は、所定位置の一例である。 When the game medium reaches the target position, the player can play a competitive game against an enemy game medium or proceed with other events. Note that in the example shown in (1) of FIG. 1, the destination position is displayed, but the terminal device does not need to display the destination position. Note that the target position is an example of a predetermined position.

続いて、端末装置は、プレイヤによる、移動方向を含む移動指示を取得する(図1の(2))。移動指示は、ゲーム媒体を目的位置に自動的に移動させるための指示である。また、移動方向は、プレイヤによって入力された、ゲーム媒体が目的位置に到達するために最初に移動すべき方向である。すなわち、移動方向を含む移動指示は、仮想空間内において、目的位置までゲーム媒体を移動させるための指示である。なお、図1の(2)に示す例では、移動方向を含む移動指示は、プレイヤがタッチパネルである操作部に接触し、その接触位置を変化させる操作をすることによって、端末装置によって取得される。 Subsequently, the terminal device obtains a movement instruction including a movement direction from the player ((2) in FIG. 1). The movement instruction is an instruction to automatically move the game medium to a target position. Further, the movement direction is the direction input by the player in which the game medium should first move in order to reach the target position. That is, the movement instruction including the movement direction is an instruction to move the game medium to a target position in the virtual space. Note that in the example shown in (2) of FIG. 1, the movement instruction including the movement direction is obtained by the terminal device when the player touches the operation section, which is a touch panel, and performs an operation to change the touch position. .

続いて、図2について説明する。端末装置は、仮想空間内のゲーム媒体の位置から目的位置への経路を算出する(図2の(3))。経路は、ゲーム媒体が目的位置に到達することができる任意の経路である。例えば、経路は、最短経路であってよい。 Next, FIG. 2 will be explained. The terminal device calculates a route from the position of the game medium in the virtual space to the target position ((3) in FIG. 2). A path is any path by which game media can reach a destination location. For example, the path may be the shortest path.

続いて、端末装置は、算出された経路が移動方向に関する所定条件を満たすか否かを判定し、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が目的位置まで移動するように、ゲーム媒体の表示を制御する(図2の(4))。例えば、所定条件は、算出された経路に従ってゲーム媒体が最初に移動する方向と、移動指示に含まれる移動方向とがなす角の大きさが所定角度以下であることである。 Next, the terminal device determines whether or not the calculated route satisfies a predetermined condition regarding the movement direction, and if it is determined that the route satisfies the predetermined condition, the terminal device causes the game medium to move to the destination position along the route. , controls the display of game content ((4) in FIG. 2). For example, the predetermined condition is that the size of the angle between the direction in which the game medium initially moves along the calculated route and the movement direction included in the movement instruction is less than or equal to the predetermined angle.

以上、図1及び図2を参照しつつ説明したとおり、端末装置は、仮想空間内に位置するゲーム媒体を表示し、仮想空間における目的位置に関する情報を記憶する。また、端末装置は、プレイヤによる、移動方向を含む移動指示を取得する。また、端末装置は、仮想空間内のゲーム媒体の位置から目的位置への経路を算出する。また、端末装置は、算出された経路が移動方向に関する所定条件を満たすか否かを判定し、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が目的位置まで移動するように、ゲーム媒体の表示を制御する。これにより、端末装置は、プレイヤが目的位置を正確に把握していない場合であっても、直感的な操作によりプレイヤがゲーム媒体を目的位置まで自動的に移動させることを可能とし、プレイヤによるゲーム媒体の操作を支援する。 As described above with reference to FIGS. 1 and 2, the terminal device displays the game content located in the virtual space and stores information regarding the target position in the virtual space. Further, the terminal device obtains a movement instruction including a movement direction from the player. The terminal device also calculates a route from the position of the game medium in the virtual space to the target position. Further, the terminal device determines whether or not the calculated route satisfies a predetermined condition regarding the movement direction, and if it is determined that the route satisfies the predetermined condition, the terminal device causes the game medium to move to the destination position along the route. Control the display of game media. As a result, the terminal device allows the player to automatically move the game medium to the target position through intuitive operation even if the player does not know the target position accurately, and allows the player to play the game Assist with media operations.

なお、上述した図1及び図2の説明は、本発明の内容への理解を深めるための説明に過ぎない。本発明は、具体的には、次に説明する各実施形態において実施され、且つ、本発明の原則を実質的に超えずに、さまざまな変形例によって実施されてもよい。このような変形例はすべて、本発明および本明細書の開示範囲に含まれる。 Note that the above description of FIGS. 1 and 2 is merely an explanation for deepening understanding of the content of the present invention. Specifically, the present invention is implemented in each embodiment described below, and may be implemented by various modifications without substantially exceeding the principles of the present invention. All such variations are within the scope of the invention and disclosure herein.

(端末装置1の構成)
図3は、端末装置1の概略構成の一例を示す図である。
(Configuration of terminal device 1)
FIG. 3 is a diagram showing an example of a schematic configuration of the terminal device 1. As shown in FIG.

端末装置1は、多機能携帯電話(所謂「スマートフォン」)等の通信端末であってよい。端末装置1は、携帯電話(所謂「スマートフォン」)、携帯情報端末(Personal Digital Assistant,PDA)、タブレット端末又はタブレットPC(Personal Computer)等であってよい。端末装置1は、携帯ゲーム機、携帯音楽プレイヤ又はノートPC等であってよい。 The terminal device 1 may be a communication terminal such as a multifunctional mobile phone (so-called "smartphone"). The terminal device 1 may be a mobile phone (so-called "smartphone"), a personal digital assistant (PDA), a tablet terminal, a tablet PC (Personal Computer), or the like. The terminal device 1 may be a portable game machine, a portable music player, a notebook PC, or the like.

端末装置1は、プレイヤがキャラクタを操作することによって進行するゲームを提供する。そのために、端末装置1は、記憶部11と、操作部12と、表示部13と、処理部14と、を備える。 The terminal device 1 provides a game that is played by a player operating a character. For this purpose, the terminal device 1 includes a storage section 11, an operation section 12, a display section 13, and a processing section 14.

記憶部11は、例えば、ROM(Read Only Memory)、RAM(Random Access Memory)等の半導体メモリ装置を備える。記憶部11は、処理部14での処理に用いられるオペレーティングシステムプログラム、ドライバプログラム、アプリケーションプログラム及びデータ等を記憶する。記憶部11に記憶されるドライバプログラムは、操作部12を制御する入力デバイスドライバプログラム、及び、表示部13を制御する出力デバイスドライバプログラム等である。記憶部11に記憶されるアプリケーションプログラムは、ゲームの進行を制御する制御プログラム等である。記憶部11に記憶されるデータは、ゲームの実行時において使用される各種データ(例えば、ゲーム媒体に関する情報等)等である。また、記憶部11は、所定の処理に係るデータを一時的に記憶してもよい。 The storage unit 11 includes, for example, a semiconductor memory device such as a ROM (Read Only Memory) or a RAM (Random Access Memory). The storage unit 11 stores operating system programs, driver programs, application programs, data, etc. used in processing by the processing unit 14. The driver programs stored in the storage unit 11 include an input device driver program that controls the operation unit 12, an output device driver program that controls the display unit 13, and the like. The application program stored in the storage unit 11 is a control program that controls the progress of the game. The data stored in the storage unit 11 includes various data (for example, information regarding the game content, etc.) used when the game is executed. Furthermore, the storage unit 11 may temporarily store data related to predetermined processing.

操作部12は、タッチパネル等のポインティングデバイスである。なお、操作部12は、入力キー等でもよい。プレイヤは、操作部12を用いて、文字、数字及び記号、若しくは、表示部13の表示画面上の位置等を入力することができる。操作部12は、プレイヤにより操作されると、その操作に対応する信号を発生する。そして、発生した信号は、プレイヤの指示として、処理部14に供給される。 The operation unit 12 is a pointing device such as a touch panel. Note that the operation unit 12 may be an input key or the like. The player can use the operation unit 12 to input characters, numbers, symbols, positions on the display screen of the display unit 13, and the like. When operated by the player, the operation unit 12 generates a signal corresponding to the operation. The generated signal is then supplied to the processing section 14 as an instruction from the player.

表示部13は、液晶ディスプレイである。なお、表示部13は、有機EL(Electro-Luminescence)ディスプレイ等でもよい。表示部13は、処理部14から供給された映像データに応じた映像や、画像データに応じた画像等を表示する。 The display section 13 is a liquid crystal display. Note that the display section 13 may be an organic EL (Electro-Luminescence) display or the like. The display section 13 displays a video according to the video data supplied from the processing section 14, an image according to the image data, and the like.

処理部14は、コンピュータプログラムに従って動作する一又は複数のプロセッサ、各種処理のうち少なくとも一部の処理を実行する一又は複数の専用のハードウェア回路、あるいはそれらの組み合わせ、を含む回路(Circuitry)として構成し得る。処理部14は、端末装置1の全体的な動作を統括的に制御するものであり、例えば、CPU(Central Processing Unit)である。処理部14は、記憶部11に記憶されているプログラム及びプレイヤによる操作部12の操作に応じて入力された各種指示等に基づいて、各種情報処理を適切な手順で実行し、表示部13の動作を制御する。処理部14は、記憶部11に記憶されているオペレーティングシステムプログラム、ドライバプログラム及びアプリケーションプログラムに基づいて各種情報処理を実行する。また、処理部14は、複数のプログラムを並列に実行することができる。 The processing unit 14 is a circuit including one or more processors that operate according to a computer program, one or more dedicated hardware circuits that execute at least some of various types of processing, or a combination thereof. Can be configured. The processing unit 14 controls the overall operation of the terminal device 1, and is, for example, a CPU (Central Processing Unit). The processing unit 14 executes various information processing in appropriate steps based on the program stored in the storage unit 11 and various instructions inputted by the player in response to the operation of the operation unit 12, and displays the information on the display unit 13. Control behavior. The processing unit 14 executes various information processing based on the operating system program, driver program, and application program stored in the storage unit 11. Furthermore, the processing unit 14 can execute multiple programs in parallel.

(各種画面の説明)
以下、図4及び図5を参照して、端末装置1の表示部13に表示される各種画面の一例について説明する。
(Explanation of various screens)
Examples of various screens displayed on the display unit 13 of the terminal device 1 will be described below with reference to FIGS. 4 and 5.

図4(a)は、端末装置1の表示部13に表示されるフィールド画面410の一例を示す図である。フィールド画面410は、プレイヤが仮想空間内に位置するゲーム媒体を操作して、ゲームを進行させるための画面である。図4(a)に示す例では、フィールド画面410は、仮想空間内の所定の視点位置及び所定の視線方向において3次元仮想空間を所定の2次元スクリーン面に投影した場合における2次元スクリーン面の画像を含む。例えば、所定の視点位置は、ゲーム媒体の近傍である。また、例えば、所定の視線方向は、所定の視点位置を基準とするゲーム媒体の位置の方向である。 FIG. 4A is a diagram showing an example of a field screen 410 displayed on the display unit 13 of the terminal device 1. The field screen 410 is a screen on which the player operates the game medium located in the virtual space to advance the game. In the example shown in FIG. 4(a), the field screen 410 is a two-dimensional screen surface when a three-dimensional virtual space is projected onto a predetermined two-dimensional screen surface at a predetermined viewpoint position and a predetermined viewing direction in the virtual space. Contains images. For example, the predetermined viewpoint position is in the vicinity of the game medium. Further, for example, the predetermined line of sight direction is the direction of the position of the game medium with respect to the predetermined viewpoint position.

フィールド画面410は、端末装置1が、図示しないメインメニュー画面において、プレイヤによるゲーム開始指示を取得したときに表示されてよい。メインメニュー画面は、プレイヤによる操作部12の操作により、ゲームを実行するためのアプリケーションプログラムが起動されたときに、所定のタイトル画面等に続いて表示されてよい。 The field screen 410 may be displayed when the terminal device 1 receives a game start instruction from a player on a main menu screen (not shown). The main menu screen may be displayed following a predetermined title screen or the like when an application program for executing the game is started by the player's operation on the operation unit 12.

フィールド画面410は、ゲーム媒体411と、目的位置412aと、目的位置412bと、移動可能領域413と、操作指示オブジェクト414と、メニュー画面表示指示オブジェクト415と、を含む。なお、以降では、目的位置412aと目的位置412bとは、併せて目的位置412と称されることがある。 The field screen 410 includes a game medium 411, a target position 412a, a target position 412b, a movable area 413, an operation instruction object 414, and a menu screen display instruction object 415. Note that, hereinafter, the target position 412a and the target position 412b may be collectively referred to as the target position 412.

ゲーム媒体411は、プレイヤによって操作される、仮想空間内に位置するゲーム媒体である。プレイヤは、操作部12を介して、ゲーム媒体411を操作し、ゲームを進行する。 Game media 411 is a game media located in a virtual space that is operated by a player. The player operates the game medium 411 via the operation unit 12 to progress the game.

目的位置412は、プレイヤがゲーム媒体を操作して到達させるべき仮想空間における位置を表す。図4(a)に示す例では、目的位置412は、所定のオブジェクトによってプレイヤがその位置を視認できるように表示されている。目的位置412は、プレイヤが視認できるように表示されなくてもよい。これにより、3Dゲームなどの、よりリアリティのある表現が含まれるゲームにおいて、現実に近い状況を表現しつつ、ユーザの操作性を向上することができる。また、目的位置412は、プレイヤのゲームの進行状況に応じて表示されるか否かが変更されてもよい。例えば、目的位置412は、所定のイベントが発生するまでは表示されなくてよい。これにより、プレイヤは、目的位置412を把握することができなくなるため、目的位置412に基づいてイベントの内容を予測することができなくなり、ゲームをより楽しむことができるようになる。 The target position 412 represents a position in the virtual space that the player should reach by operating the game medium. In the example shown in FIG. 4A, the target position 412 is displayed by a predetermined object so that the player can visually recognize the position. The target position 412 does not have to be displayed so that the player can see it. As a result, in a game including a more realistic expression such as a 3D game, it is possible to express a situation close to reality and improve operability for the user. Further, whether or not the target position 412 is displayed may be changed depending on the progress of the player's game. For example, destination location 412 may not be displayed until a predetermined event occurs. As a result, the player is no longer able to grasp the target position 412, and therefore cannot predict the content of the event based on the target position 412, making it possible to enjoy the game even more.

例えば、目的位置412は、敵ゲーム媒体が配置された位置であってよい。この場合、ゲーム媒体411が目的位置412に到達すると、図示しない敵ゲーム媒体との対戦ゲーム画面が表示され、プレイヤは、敵ゲーム媒体との対戦ゲームをプレイすることができる。また、例えば、目的位置412は、イベントの発生位置として設定された位置であってよい。この場合、ゲーム媒体411が目的位置412に到達すると、図示しないイベント画面が表示され、プレイヤは、イベントに対応するシナリオを閲覧することができる。 For example, the target location 412 may be a location where enemy game content is placed. In this case, when the game medium 411 reaches the target position 412, a battle game screen with an enemy game medium (not shown) is displayed, and the player can play a battle game with the enemy game medium. Further, for example, the destination position 412 may be a position set as an event occurrence position. In this case, when the game medium 411 reaches the target position 412, an event screen (not shown) is displayed, and the player can view a scenario corresponding to the event.

また、目的位置412は、仮想空間内の任意の位置であってよい。例えば、目的位置412は、仮想空間内に設けられた通路の分岐点であってよい。これにより、ゲーム媒体411は、通路の分岐点で停止することとなるため、プレイヤは、いずれの分岐を選択するかを自ら判断することができ、プレイヤ自身の選択でゲームを進行している感覚を味わうことができる。 Furthermore, the target position 412 may be any position within the virtual space. For example, the destination position 412 may be a branch point of a passage provided in the virtual space. As a result, the game medium 411 stops at the branch point of the passage, so the player can decide for himself which branch to select, giving the player a sense of progressing through the game based on his own choices. You can taste it.

移動可能領域413は、仮想空間内においてゲーム媒体411が移動することができる領域である。移動可能領域413は、プレイヤのゲームの進行状況に応じてその形状が変化するように設定されてよい。例えば、所定のイベントが発生したことに応じて、移動可能領域413が広がり、ゲーム媒体411が新たな目的位置412に到達できるように設定されてよい。これにより、プレイヤは、適切な順序でゲームを進行することができるようになる。 The movable area 413 is an area in which the game medium 411 can move within the virtual space. The movable area 413 may be set so that its shape changes depending on the player's progress in the game. For example, in response to the occurrence of a predetermined event, the movable area 413 may be expanded so that the game medium 411 can reach a new target position 412. This allows the player to progress through the game in an appropriate order.

操作指示オブジェクト414は、プレイヤがゲーム媒体411を操作するための手動操作指示を入力するためのオブジェクトである。プレイヤが操作部12を操作し、操作指示オブジェクト414の表示領域内を入力位置とする入力をした場合、端末装置1は、入力位置に応じた方向を操作方向として含む手動操作指示を取得する。手動操作指示を取得した端末装置1は、フィールド画面410においてゲーム媒体411が操作方向に移動するように、ゲーム媒体411の表示を制御する。入力位置に応じた方向とは、入力位置の、操作指示オブジェクト414の表示領域の中心に対する方向である。プレイヤは、操作指示オブジェクト414により、手動でゲーム媒体411を操作することができる。 The operation instruction object 414 is an object for inputting manual operation instructions for the player to operate the game medium 411. When the player operates the operation unit 12 and inputs an input position within the display area of the operation instruction object 414, the terminal device 1 acquires a manual operation instruction including a direction corresponding to the input position as the operation direction. Having acquired the manual operation instruction, the terminal device 1 controls the display of the game medium 411 so that the game medium 411 moves in the operation direction on the field screen 410. The direction according to the input position is the direction of the input position with respect to the center of the display area of the operation instruction object 414. The player can manually operate the game medium 411 using the operation instruction object 414.

なお、以降では、プレイヤが操作部12を操作し、オブジェクトの表示領域内を入力位置とする入力をすることを、プレイヤがオブジェクトを選択すると称することがある。 Note that hereinafter, when the player operates the operation unit 12 and inputs an input position within the display area of the object, it may be referred to as the player selecting an object.

メニュー画面表示指示オブジェクト415は、メニュー画面を表示するためのメニュー画面表示指示をプレイヤが入力するためのオブジェクトである。プレイヤがメニュー画面表示指示オブジェクト415を選択すると、端末装置1は、メニュー画面を表示するためのメニュー画面表示指示を取得する。メニュー画面表示指示を取得した端末装置1は、図示しないメニュー画面を表示する。メニュー画面は、プレイヤがゲームを進行するために有用な情報を表示する。例えば、メニュー画面は、ゲーム媒体411に関する情報、ゲーム媒体411の位置に関する情報、目的位置に関する情報、移動可能領域413に関する情報、及び、ゲームの進行状況に関する情報等を表示する。 The menu screen display instruction object 415 is an object for the player to input a menu screen display instruction for displaying a menu screen. When the player selects the menu screen display instruction object 415, the terminal device 1 obtains a menu screen display instruction for displaying the menu screen. The terminal device 1 that has received the menu screen display instruction displays a menu screen (not shown). The menu screen displays information useful for the player to progress through the game. For example, the menu screen displays information about the game medium 411, information about the position of the game medium 411, information about the target position, information about the movable area 413, information about the progress of the game, and the like.

図4(b)は、端末装置1の表示部13に表示されるフィールド画面420の一例を示す図である。フィールド画面420は、フィールド画面410において、端末装置1が移動方向を含む移動指示を取得した場合に表示される画面である。なお、上述した説明と同一の構成については同一の符号を付し、説明を省略する。また、移動方向を含む移動指示は、例えば、プレイヤがタッチパネルである操作部12に接触し、その接触位置を変化させる操作をすることによって、端末装置1によって取得される。移動方向を含む移動指示の詳細は後述する。 FIG. 4B is a diagram showing an example of a field screen 420 displayed on the display unit 13 of the terminal device 1. The field screen 420 is a screen that is displayed when the terminal device 1 obtains a movement instruction including a movement direction on the field screen 410. Note that the same components as those described above are designated by the same reference numerals, and the description thereof will be omitted. Further, a movement instruction including a movement direction is obtained by the terminal device 1, for example, when the player touches the operation unit 12, which is a touch panel, and performs an operation to change the touch position. Details of the movement instruction including the movement direction will be described later.

フィールド画面420は、移動指示取得効果421を含む。移動指示取得効果421は、プレイヤが入力した移動指示が端末装置1によって取得されたことを示す表示効果である。移動指示取得効果421は、移動指示に含まれる移動方向を表示してよい。図4(b)に示す例では、移動指示取得効果421は、矢印によって移動方向を表示している。これにより、プレイヤは、入力された移動指示が端末装置1によって取得されたか否かを確かめることができる。また、プレイヤは、入力された移動指示が如何なる移動方向を含むかを確かめることができる。そして、プレイヤは、プレイヤの誤操作によってゲーム媒体411がプレイヤの意図しない目的位置に移動していくことを、早期に認識することができる。 The field screen 420 includes a movement instruction acquisition effect 421. The movement instruction acquisition effect 421 is a display effect indicating that the movement instruction input by the player has been acquired by the terminal device 1. The movement instruction acquisition effect 421 may display the movement direction included in the movement instruction. In the example shown in FIG. 4(b), the movement instruction acquisition effect 421 displays the movement direction using an arrow. Thereby, the player can confirm whether the input movement instruction has been acquired by the terminal device 1 or not. Furthermore, the player can confirm what direction of movement the input movement instruction includes. Then, the player can recognize at an early stage that the game medium 411 will move to a target position not intended by the player due to the player's erroneous operation.

また、移動指示取得効果421は、所定時間経過後に消滅するような表示効果であってよい。これにより、移動指示取得効果421によってフィールド画面420の視認性が低下することを防ぐことができる。 Further, the movement instruction acquisition effect 421 may be a display effect that disappears after a predetermined period of time has elapsed. Thereby, it is possible to prevent the visibility of the field screen 420 from decreasing due to the movement instruction acquisition effect 421.

図5(a)は、端末装置1の表示部13に表示されるフィールド画面510の一例を示す図である。フィールド画面510は、端末装置1が、経路に従ってゲーム媒体411が目的位置412まで移動するように、ゲーム媒体411の表示を制御している場合に表示される画面である。 FIG. 5A is a diagram showing an example of a field screen 510 displayed on the display unit 13 of the terminal device 1. The field screen 510 is a screen that is displayed when the terminal device 1 is controlling the display of the game medium 411 so that the game medium 411 moves along the route to the destination position 412.

フィールド画面420において移動方向を含む移動指示が入力されると、端末装置1は、ゲーム媒体411の位置から目的位置412への経路を算出する。続いて、端末装置1は、算出された経路が移動方向に関する所定条件を満たすか否かを判定する。続いて、経路が所定条件を満たすと判定された場合、端末装置1は、経路に従ってゲーム媒体411が目的位置412まで移動するように、ゲーム媒体411の表示を制御する。端末装置1が経路を算出する処理と所定条件を満たすか否かを判定する処理との詳細は後述する。なお、図5(a)に示す例では、目的位置412aへの経路が所定条件を満たすと判定されている。 When a movement instruction including a movement direction is input on the field screen 420, the terminal device 1 calculates a route from the position of the game medium 411 to the destination position 412. Subsequently, the terminal device 1 determines whether the calculated route satisfies a predetermined condition regarding the direction of movement. Subsequently, if it is determined that the route satisfies the predetermined condition, the terminal device 1 controls the display of the game medium 411 so that the game medium 411 moves to the destination position 412 according to the route. Details of the process in which the terminal device 1 calculates a route and the process in which it determines whether a predetermined condition is satisfied will be described later. Note that in the example shown in FIG. 5A, it is determined that the route to the destination position 412a satisfies the predetermined condition.

フィールド画面510は、経路表示効果511を含む。経路表示効果511は、所定条件を満たすと判定された経路の少なくとも一部を仮想空間に表示する表示効果である。経路表示効果511は、ゲーム媒体411が経路に従って目的位置まで移動している場合に表示される。これにより、プレイヤは、ゲーム媒体411が目的位置に向かって移動していることを確かめることができる。また、プレイヤは、ゲーム媒体411がどのような経路に従って移動しているかを確かめることができる。 The field screen 510 includes a route display effect 511. The route display effect 511 is a display effect that displays at least a portion of a route determined to satisfy a predetermined condition in a virtual space. The route display effect 511 is displayed when the game medium 411 is moving along the route to the destination position. This allows the player to confirm that the game medium 411 is moving toward the target position. Furthermore, the player can check what route the game medium 411 is moving along.

また、経路表示効果511は、経路のうち、現在のゲーム媒体411の位置から目的位置に至る箇所のみを仮想空間に表示してよい。これにより、経路表示効果511によってフィールド画面420の視認性が低下することを防ぐことができる。 Furthermore, the route display effect 511 may display only the portion of the route from the current position of the game medium 411 to the destination position in the virtual space. This can prevent the visibility of the field screen 420 from decreasing due to the route display effect 511.

なお、ゲーム媒体411が経路に従って移動している場合であっても、端末装置1は、操作方向を含む手動操作指示を取得することができる。この場合、端末装置1は、経路に従ってゲーム媒体411が移動するようにゲーム媒体の表示を制御することを中断する。続いて、端末装置1は、フィールド画面510においてゲーム媒体411が操作方向に移動するように、ゲーム媒体411の表示を制御する。 Note that even if the game medium 411 is moving along a route, the terminal device 1 can obtain manual operation instructions including the operation direction. In this case, the terminal device 1 stops controlling the display of the game content so that the game content 411 moves along the route. Subsequently, the terminal device 1 controls the display of the game medium 411 so that the game medium 411 moves in the operation direction on the field screen 510.

また、ゲーム媒体411が経路に従って移動している場合であっても、端末装置1は、新たに移動方向を含む移動指示を取得することができる。この場合、端末装置1は、移動指示が入力された時点におけるゲーム媒体411の位置から目的位置412のそれぞれに対応する経路を算出する。続いて、フィールド画面420において移動指示が入力された場合と同様の処理を行う。これにより、プレイヤは、ゲーム媒体411が目的位置412に移動しているときに他の目的位置412にゲーム媒体411を移動させたくなった場合に、簡易な操作でゲーム媒体411を他の目的位置412に移動させることができる。 Further, even if the game medium 411 is moving along the route, the terminal device 1 can newly obtain a movement instruction including the movement direction. In this case, the terminal device 1 calculates a route corresponding to each of the target positions 412 from the position of the game medium 411 at the time when the movement instruction is input. Subsequently, the same process as when a movement instruction is input on the field screen 420 is performed. With this, when the player wants to move the game medium 411 to another target position 412 while the game medium 411 is moving to the target position 412, the player can move the game medium 411 to the other target position with a simple operation. 412.

図5(b)は、端末装置1の表示部13に表示されるフィールド画面520の一例を示す図である。フィールド画面520は、フィールド画面510において、経路に従って移動しているゲーム媒体411が目的位置412に到達する前に障害物オブジェクトに接触した場合に表示される画面である。なお、ゲーム媒体411が移動したことに伴い、フィールド画面520は、フィールド画面510とは異なる、ゲーム媒体411の近傍である視点位置において3次元仮想空間を投影した画像を含む。障害物オブジェクトは、例えば、敵ゲーム媒体である。経路に従って移動しているゲーム媒体411が目的位置412に到達する前に障害物オブジェクトに接触した場合、端末装置1は、ゲーム媒体411が停止するように、ゲーム媒体411の表示を制御する。なお、ゲーム媒体411が障害物オブジェクトに接触した場合とは、ゲーム媒体411が障害物オブジェクトから所定範囲内に含まれた場合を含む。 FIG. 5B is a diagram showing an example of a field screen 520 displayed on the display unit 13 of the terminal device 1. The field screen 520 is a screen that is displayed when the game medium 411 moving along the route contacts an obstacle object before reaching the target position 412 on the field screen 510 . Note that, as the game medium 411 moves, the field screen 520 includes an image in which a three-dimensional virtual space is projected at a viewpoint position that is different from the field screen 510 and is in the vicinity of the game medium 411. The obstacle object is, for example, an enemy game medium. If the game medium 411 moving along the route comes into contact with an obstacle object before reaching the destination position 412, the terminal device 1 controls the display of the game medium 411 so that the game medium 411 stops. Note that the case where the game medium 411 comes into contact with an obstacle object includes the case where the game medium 411 is included within a predetermined range from the obstacle object.

フィールド画面520は、障害物オブジェクト521と、移動指示入力指示効果522とを含む。障害物オブジェクト521は、ゲーム媒体411が通過して移動することができないように設定されたオブジェクトである。なお、障害物オブジェクト521は、端末装置1の制御によって仮想空間内を移動してもよい。移動指示入力指示効果522は、プレイヤに移動指示の入力を促す情報である。図5(b)に示す例では、移動指示入力指示効果522は、矢印と指を用いて、タッチパネルである操作部12に接触し、その接触位置を変化させる操作をプレイヤに促す情報が表示されている。これにより、プレイヤは、さらに操作部12を操作しなければならないことを認識することができる。 The field screen 520 includes an obstacle object 521 and a movement instruction input instruction effect 522. The obstacle object 521 is an object that is set so that the game medium 411 cannot move through it. Note that the obstacle object 521 may move within the virtual space under the control of the terminal device 1. The movement instruction input instruction effect 522 is information that prompts the player to input a movement instruction. In the example shown in FIG. 5B, the movement instruction input instruction effect 522 displays information that prompts the player to use an arrow and a finger to touch the operation unit 12, which is a touch panel, and change the contact position. ing. This allows the player to recognize that he or she must further operate the operation unit 12.

なお、経路に従って移動しているゲーム媒体411が目的位置に到達する前に敵ゲーム媒体である障害物オブジェクト521に接触した場合、敵ゲーム媒体との対戦ゲームが開始されてよい。対戦ゲームは、端末装置1の表示部13に図示しない対戦ゲーム画面が表示されることによって進行されてもよく、フィールド画面520において進行されてもよい。この場合、対戦ゲームが終了した後に、端末装置1は、ゲーム媒体411が停止するように、ゲーム媒体411の表示を制御する。 Note that if the game medium 411 moving along the route comes into contact with an obstacle object 521 that is an enemy game medium before reaching the target position, a battle game with the enemy game medium may be started. The competitive game may be advanced by displaying a competitive game screen (not shown) on the display unit 13 of the terminal device 1, or may be advanced on the field screen 520. In this case, after the competitive game ends, the terminal device 1 controls the display of the game medium 411 so that the game medium 411 stops.

また、移動指示入力指示効果522は、ゲーム媒体411が停止する直前に移動していた経路上の方向を移動方向として含む移動指示の入力を促す表示効果であってよい。例えば、移動指示入力指示効果522は、ゲーム媒体411が停止する直前に移動していた経路上の方向を指す矢印を含む表示効果であってよい。これにより、プレイヤは、ゲーム媒体411を所望の目的位置に到達させることができる移動方向を認識することができる。また、ゲーム媒体411が経路上でない位置に停止した場合、移動指示入力指示効果522が示す方向は、ゲーム媒体411が経路上の位置に戻るための方向であってもよい。ゲーム媒体411が経路上でない位置に停止する場合とは、例えば、ゲーム媒体411が障害物オブジェクト521に接触するなどして、対戦ゲームやイベント等が開始されたことによって、ゲーム媒体411が経路上の位置から移動した場合である。 Further, the movement instruction input instruction effect 522 may be a display effect that prompts input of a movement instruction that includes the direction on the route in which the game medium 411 was moving immediately before it stopped as the movement direction. For example, the movement instruction input instruction effect 522 may be a display effect that includes an arrow pointing in the direction on the route that the game medium 411 was moving immediately before it stopped. This allows the player to recognize the moving direction in which the game medium 411 can reach the desired destination position. Further, when the game medium 411 stops at a position that is not on the route, the direction indicated by the movement instruction input instruction effect 522 may be a direction in which the game medium 411 returns to the position on the route. A case where the game medium 411 stops at a position that is not on the route is, for example, when the game medium 411 comes into contact with an obstacle object 521 and a competitive game, an event, etc. has started, and the game medium 411 is stopped at a position that is not on the route. This is the case when moving from the position.

(端末装置が移動指示を取得する処理の説明)
以下では、図6及び図7を参照して、端末装置1がプレイヤによる移動指示を取得する処理について説明する。
(Explanation of the process by which the terminal device acquires movement instructions)
Below, with reference to FIGS. 6 and 7, a process in which the terminal device 1 acquires a movement instruction from a player will be described.

図6(a)は、操作部12を上面にした端末装置1を側面から見た模式図である。図6(b)は、操作部12を上面にした端末装置1を上面から見た場合の模式図である。以下では、図6(a)及び図6(b)を用いて、操作部12がタッチパネルである場合において、端末装置1がプレイヤによる移動指示を取得する処理の一例について説明する。 FIG. 6A is a schematic diagram of the terminal device 1 viewed from the side with the operation unit 12 facing upward. FIG. 6(b) is a schematic diagram of the terminal device 1 viewed from above with the operation unit 12 facing upward. An example of a process in which the terminal device 1 acquires a movement instruction from a player when the operation unit 12 is a touch panel will be described below with reference to FIGS. 6(a) and 6(b).

まず、端末装置1は、操作部12が、プレイヤの操作部12に対する接触を検出したか否かを判定する。図6(a)に示した例では、プレイヤは、操作部12の位置611aに接触している。したがって、端末装置1は、操作部12が、プレイヤの操作部12に対する接触を検出したと判定する。 First, the terminal device 1 determines whether or not the operation unit 12 has detected a contact of the player with the operation unit 12 . In the example shown in FIG. 6(a), the player is in contact with a position 611a of the operation section 12. Therefore, the terminal device 1 determines that the operation unit 12 has detected the player's contact with the operation unit 12.

続いて、操作部12が接触を検出したと判定された場合、端末装置1は、プレイヤが操作部12に接触している接触位置を所定時間間隔(例えば、1/30秒)で入力位置として取得する。図6(a)に示した例では、プレイヤは、位置611aから位置611dまで接触位置を変化させている。そして、端末装置1は、プレイヤが接触位置を変化させる過程で接触した位置611aと位置611bと位置611cと位置611dとを所定時間間隔で入力位置として取得している。 Subsequently, if it is determined that the operation unit 12 has detected a contact, the terminal device 1 inputs the contact position where the player is touching the operation unit 12 at predetermined time intervals (for example, 1/30 seconds) as an input position. get. In the example shown in FIG. 6A, the player changes the contact position from position 611a to position 611d. Then, the terminal device 1 acquires the positions 611a, 611b, 611c, and 611d that the player touched in the process of changing the contact position as input positions at predetermined time intervals.

続いて、端末装置1は、操作部12が、プレイヤの操作部12に対する接触の終了を検出したか否かを判定する。図6(a)に示した例では、プレイヤは、操作部12の位置611dに接触した後、接触を終了している。したがって、端末装置1は、位置611dを入力位置として取得した後、操作部12が、プレイヤの操作部12に対する接触の終了を検出したと判定する。 Subsequently, the terminal device 1 determines whether the operation unit 12 has detected the end of the player's contact with the operation unit 12. In the example shown in FIG. 6A, the player touches the position 611d of the operation section 12 and then ends the touch. Therefore, after acquiring the position 611d as the input position, the terminal device 1 determines that the operation unit 12 has detected the end of the player's contact with the operation unit 12.

続いて、端末装置1は、最後に取得した入力位置と、その直前に取得した入力位置とが所定距離以上離れているか否かを判定する。図6(b)に示した例では、端末装置1が最後に取得した入力位置は、位置611dである。また、端末装置1が位置611dを取得する直前に取得した入力位置は、位置611cである。したがって、端末装置1は、位置611dと位置611cとが所定距離以上離れているか否かを判定する。判定は、位置611dの操作部12における位置座標と位置611cの操作部12における位置座標に基づいて行われてよい。 Subsequently, the terminal device 1 determines whether the input position acquired last and the input position acquired immediately before are separated by a predetermined distance or more. In the example shown in FIG. 6(b), the last input position acquired by the terminal device 1 is position 611d. Further, the input position acquired immediately before the terminal device 1 acquires the position 611d is the position 611c. Therefore, the terminal device 1 determines whether the position 611d and the position 611c are separated by a predetermined distance or more. The determination may be made based on the position coordinates of the operation unit 12 at the position 611d and the position coordinates of the operation unit 12 at the position 611c.

続いて、最後に取得した入力位置と、その直前に取得した入力位置とが所定距離以上離れていると判定された場合、端末装置1は、操作指示を取得する。操作指示は、最初に取得した入力位置の操作部12における位置座標を操作位置の座標として含む。また、操作指示は、最後に取得した入力位置の、その直前に取得した入力位置を基準とする方向を移動方向として含む。図6(b)に示した例では、操作位置の座標は、位置611aの操作部12における位置座標である。また、移動方向は、位置611dの位置611cを基準とする方向である。なお、操作位置の座標は、操作位置に関する情報の一例である。 Subsequently, if it is determined that the input position acquired last and the input position acquired immediately before are separated by a predetermined distance or more, the terminal device 1 acquires an operation instruction. The operation instruction includes the position coordinates of the first acquired input position on the operation unit 12 as the coordinates of the operation position. Further, the operation instruction includes, as the movement direction, a direction based on the input position acquired immediately before the input position acquired last. In the example shown in FIG. 6(b), the coordinates of the operation position are the position coordinates of the operation unit 12 at position 611a. Further, the moving direction is a direction based on the position 611c of the position 611d. Note that the coordinates of the operating position are an example of information regarding the operating position.

なお、最後に取得した入力位置と、その直前に取得した入力位置とが所定距離以上離れていないと判定された場合、端末装置1は、操作指示を取得しない。これにより、プレイヤが接触している位置を変化させる速度が大きいときにゲーム媒体411は目的位置まで自動的に移動することとなるため、プレイヤにとって直感的な操作が可能となる。また、プレイヤは、接触している位置を変化させる速度に応じて異なるゲーム操作を入力することが可能となる。そして、端末装置1は、多様なゲーム操作を提供することが可能となる。 Note that if it is determined that the input position acquired last and the input position acquired immediately before are not separated by a predetermined distance or more, the terminal device 1 does not acquire the operation instruction. As a result, the game medium 411 automatically moves to the target position when the speed at which the player is changing the contact position is high, so that the player can perform an intuitive operation. Furthermore, the player can input different game operations depending on the speed at which the contact position is changed. The terminal device 1 can then provide a variety of game operations.

続いて、端末装置1は、プレイヤによる操作指示を取得したことに応じて、操作指示に含まれる操作位置の座標が所定範囲内であるか否かを判定する。 Subsequently, in response to acquiring the operation instruction from the player, the terminal device 1 determines whether the coordinates of the operation position included in the operation instruction are within a predetermined range.

図7は、操作部12を上面にした端末装置1を上面から見た場合の模式図である。以下では、図7を用いて、端末装置1が操作指示に含まれる操作位置の座標が所定範囲内であるか否かを判定する処理について説明する。図7に示す例では、四角形である操作部12は、2本の対角線の上側である上側領域711aと、2本の対角線の下側である下側領域711bと、上側領域711aと下側領域711bに含まれない横側領域711cとに分割されている。 FIG. 7 is a schematic diagram of the terminal device 1 viewed from above, with the operation section 12 facing upward. Below, using FIG. 7, a process in which the terminal device 1 determines whether the coordinates of the operation position included in the operation instruction are within a predetermined range will be described. In the example shown in FIG. 7, the rectangular operation unit 12 has an upper region 711a above two diagonals, a lower region 711b below the two diagonals, an upper region 711a and a lower region. It is divided into a horizontal region 711c that is not included in 711b.

端末装置1は、操作指示に含まれる操作位置の座標が横側領域711cに含まれるか否かを判定する。例えば、端末装置1は、操作位置の座標が操作部12の対角線の1本の上側に位置し、且つ、他の1本の下側に位置するか否かを判定することで、操作位置の座標が横側領域711cに含まれるか否かを判定する。操作位置の座標が横側領域711cに含まれないと判定された場合、端末装置1は、操作指示が移動指示であると判定する。すなわち、端末装置1は、操作指示を、操作位置の座標と移動方向とを含む移動指示として取得する。操作位置の座標が横側領域711cに含まれると判定された場合、端末装置1は、操作指示を移動指示として取得しない。なお、操作位置の座標が横側領域711cに含まれることは、操作位置の座標が所定範囲内であることの一例である。 The terminal device 1 determines whether the coordinates of the operation position included in the operation instruction are included in the horizontal area 711c. For example, the terminal device 1 determines whether the coordinates of the operating position are located above one diagonal line of the operating unit 12 and below the other one, thereby determining the operating position. It is determined whether the coordinates are included in the horizontal area 711c. If it is determined that the coordinates of the operation position are not included in the horizontal area 711c, the terminal device 1 determines that the operation instruction is a movement instruction. That is, the terminal device 1 acquires the operation instruction as a movement instruction including the coordinates of the operation position and the movement direction. If it is determined that the coordinates of the operation position are included in the horizontal area 711c, the terminal device 1 does not acquire the operation instruction as a movement instruction. Note that the fact that the coordinates of the operation position are included in the horizontal area 711c is an example of the fact that the coordinates of the operation position are within a predetermined range.

このようにすることで、プレイヤは、移動指示に含まれる操作位置の座標に応じて異なるゲーム操作を入力することができ、端末装置1は、多様性なゲーム操作を提供することが可能となる。なお、操作位置の座標が横側領域711cに含まれないと判定された場合、端末装置1は、操作指示を視点移動指示として取得してもよい。視点移動指示を取得した端末装置1は、移動指示に含まれる移動方向に応じて、視点位置及び視線方向の少なくとも何れかが移動するようにフィールド画面の表示を変更する。 By doing so, the player can input different game operations depending on the coordinates of the operation position included in the movement instruction, and the terminal device 1 can provide a variety of game operations. . Note that if it is determined that the coordinates of the operation position are not included in the horizontal area 711c, the terminal device 1 may acquire the operation instruction as a viewpoint movement instruction. The terminal device 1 that has acquired the viewpoint movement instruction changes the display of the field screen so that at least one of the viewpoint position and the line-of-sight direction moves according to the movement direction included in the movement instruction.

(端末装置が経路を算出する処理の説明)
以下では、図8を参照して、端末装置1が仮想空間内のゲーム媒体の位置から目的位置への経路を算出する処理について説明する。
(Explanation of the process by which the terminal device calculates the route)
Below, with reference to FIG. 8, a process in which the terminal device 1 calculates a route from the position of the game medium in the virtual space to the target position will be described.

まず、端末装置1は、プレイヤによる移動指示を取得したことに応じて、後述するように、仮想空間内のゲーム媒体の位置から目的位置への経路を算出する。 First, in response to acquiring a movement instruction from the player, the terminal device 1 calculates a route from the position of the game medium in the virtual space to the destination position, as will be described later.

図8(a)は、端末装置1が、移動可能領域413を分割する処理の一例を示す図である。また、図8(b)は、端末装置1が、経路算出用グラフを生成し、経路算出用グラフにおいて、ゲーム媒体411の位置から目的位置への経路を算出する処理の一例を示す図である。 FIG. 8A is a diagram illustrating an example of a process in which the terminal device 1 divides the movable area 413. Further, FIG. 8(b) is a diagram illustrating an example of a process in which the terminal device 1 generates a route calculation graph and calculates a route from the position of the game medium 411 to the target position in the route calculation graph. .

移動指示を取得した端末装置1は、移動可能領域413を分割した複数の多角形領域のうち、ゲーム媒体411の位置を含む多角形領域を特定する。図8(a)に示す例では、端末装置1は、移動可能領域413を分割した多角形領域413aから多角形領域413eのうち、多角形領域413aがゲーム媒体の位置を含む多角形領域であると特定している。 The terminal device 1 that has obtained the movement instruction specifies the polygonal area that includes the position of the game medium 411 from among the plurality of polygonal areas obtained by dividing the movable area 413. In the example shown in FIG. 8A, the terminal device 1 is configured such that among the polygonal regions 413a to 413e obtained by dividing the movable region 413, the polygonal region 413a is a polygonal region that includes the position of the game content. It is specified that

なお、移動可能領域413を分割した複数の多角形領域は、あらかじめ記憶部11に記憶されていてもよく、移動指示に含まれる操作位置の座標が所定範囲内であると判定されたことに応じて端末装置1によって算出されてもよい。例えば、端末装置1は、ドロネー(Delaunay)のアルゴリズム等の公知のアルゴリズムを用いて、移動可能領域413を分割した複数の多角形領域を算出してよい。 Note that the plurality of polygonal regions obtained by dividing the movable region 413 may be stored in advance in the storage unit 11, and the polygonal regions obtained by dividing the movable region 413 may be stored in advance in the storage unit 11. It may also be calculated by the terminal device 1. For example, the terminal device 1 may calculate a plurality of polygonal regions obtained by dividing the movable region 413 using a known algorithm such as Delaunay's algorithm.

続いて、端末装置1は、目的位置412のうち、ゲーム媒体411の位置との関係が所定関係である目的位置412を抽出する。例えば、ゲーム媒体411の位置との関係が所定関係であるとは、ゲーム媒体411の位置からの仮想空間における距離が所定距離以下であることである。図8(a)に示す例では、目的位置412aと目的位置412bとが、ゲーム媒体411の位置との関係が所定関係である目的位置412として抽出されたものとする。 Subsequently, the terminal device 1 extracts, from among the target positions 412, a target position 412 that has a predetermined relationship with the position of the game medium 411. For example, a predetermined relationship with the position of the game medium 411 means that the distance from the position of the game medium 411 in the virtual space is equal to or less than a predetermined distance. In the example shown in FIG. 8A, it is assumed that the target position 412a and the target position 412b are extracted as the target position 412 having a predetermined relationship with the position of the game medium 411.

続いて、端末装置1は、抽出された目的位置412のそれぞれを含む多角形領域を特定する。図8(a)に示す例では、多角形領域413bが、目的位置412aを含む多角形領域として特定されている。また、多角形領域413cが、目的位置412bを含む多角形領域として特定されている。 Subsequently, the terminal device 1 specifies a polygonal area that includes each of the extracted target positions 412. In the example shown in FIG. 8A, the polygonal region 413b is specified as the polygonal region including the target position 412a. Further, the polygonal region 413c is specified as the polygonal region including the target position 412b.

続いて、端末装置1は、複数のノードと、複数のノードの間を接続する少なくとも一のリンクとを含む経路算出用グラフを生成する。経路算出用グラフのノードは、ゲーム媒体の位置と目的位置と、複数の多角形領域の頂点とを含む。図8(b)に示す例では、経路算出用グラフのノードは、多角形領域413a~413eの頂点822と、ゲーム媒体411の位置に対応するノード823と、目的位置412a及び目的位置412bに対応するノード824a及びノード824bとを含んでいる。また、経路算出用グラフのリンクは、複数の多角形領域の辺と、ゲーム媒体の位置又は目的位置を含む多角形領域の頂点とゲーム媒体の位置又は目的位置に対応するノードとを結ぶ直線とを含む。図8(b)に示す例では、経路算出用グラフのリンクは、多角形領域413a~413eの辺と、ゲーム媒体411の位置を含む多角形領域413aの頂点と、ゲーム媒体411の位置に対応するノード823とを結ぶ直線とを含んでいる。同様に、経路算出用グラフのリンクは、多角形領域413bの頂点とノード824aとを結ぶ直線と、多角形領域413cの頂点とノード824bとを結ぶ直線とを含んでいる。このように、経路算出用グラフを抽出された目的位置のみをノードとして含むグラフとすることで、経路の算出に要する計算処理の負荷を抑えることができる。 Subsequently, the terminal device 1 generates a route calculation graph including a plurality of nodes and at least one link connecting the plurality of nodes. The nodes of the route calculation graph include the position of the game medium, the target position, and the vertices of a plurality of polygonal areas. In the example shown in FIG. 8(b), the nodes of the route calculation graph correspond to the vertices 822 of the polygonal areas 413a to 413e, the node 823 corresponding to the position of the game medium 411, and the target position 412a and the target position 412b. 824a and 824b. In addition, links in the route calculation graph are straight lines connecting the edges of multiple polygonal areas, the vertices of the polygonal area including the position of the game medium or the target position, and the node corresponding to the position of the game medium or the target position. including. In the example shown in FIG. 8(b), the links of the route calculation graph correspond to the sides of the polygonal areas 413a to 413e, the vertices of the polygonal area 413a including the position of the game medium 411, and the position of the game medium 411. and a straight line connecting the node 823. Similarly, the links in the route calculation graph include a straight line connecting the vertex of the polygonal region 413b and the node 824a, and a straight line connecting the vertex of the polygonal region 413c and the node 824b. In this way, by making the route calculation graph a graph that includes only the extracted destination positions as nodes, it is possible to suppress the computational load required for route calculation.

続いて、端末装置1は、ゲーム媒体411の位置から抽出された目的位置412のそれぞれへの最短経路を算出する。例えば、端末装置1は、ダイクストラ(Dijkstra)のアルゴリズム又はA*アルゴリズム等の最短経路を求めるための公知のアルゴリズムを用いて、ゲーム媒体の位置から目的位置への最短経路を算出してよい。図8(b)に示す例では、端末装置1は、ゲーム媒体411の位置に対応するノード823から目的位置412aに対応するノード824aへの経路825aと、ノード823から目的位置412bに対応するノード824bへの経路825bとを算出している。 Subsequently, the terminal device 1 calculates the shortest route from the position of the game medium 411 to each of the extracted target positions 412. For example, the terminal device 1 may calculate the shortest path from the position of the game medium to the target position using a known algorithm for determining the shortest path, such as Dijkstra's algorithm or A* algorithm. In the example shown in FIG. 8(b), the terminal device 1 connects a route 825a from a node 823 corresponding to the position of the game medium 411 to a node 824a corresponding to the target position 412a, and a route 825a from the node 823 to a node corresponding to the target position 412b. The route 825b to 824b is calculated.

なお、最短経路は、経路コストが最も小さい経路である。経路コストは、経路に含まれるリンクのコストを合計した値である。リンクのコストは、リンクの両端のノードの間の仮想空間における直線距離(リンクの長さ)である。このようにすることで、ゲーム媒体411が目的位置まで移動するために要する時間を短くすることができ、プレイヤのゲームに対する継続意欲を維持向上することができる。なお、経路コストは、経路に係るパラメータの一例である。 Note that the shortest route is the route with the lowest route cost. The route cost is the sum of the costs of links included in the route. The cost of a link is the straight-line distance (the length of the link) in virtual space between nodes at both ends of the link. By doing so, the time required for the game medium 411 to move to the target position can be shortened, and the player's desire to continue playing the game can be maintained and improved. Note that the route cost is an example of a parameter related to the route.

また、上述したような最短経路を求めるための公知のアルゴリズムを用いることによって、端末装置1は、ゲーム媒体411の位置からの複数の経路と、複数の経路のそれぞれに係る経路コストを算出する。 Further, by using the well-known algorithm for finding the shortest route as described above, the terminal device 1 calculates a plurality of routes from the position of the game medium 411 and a route cost for each of the plurality of routes.

なお、端末装置1は、経路コストが所定のコスト以下である経路のみを算出するように構成されてもよい。例えば、端末装置1は、算出された、抽出された目的位置のそれぞれへの最短経路のうち、経路コストが所定のコスト以下である経路のみを抽出することで、経路コストが所定のコスト以下である経路のみを算出してよい。このようにすることで、後述する、経路が所定条件を満たすか否かを判定する処理の処理負荷や処理時間を低減することができる。 Note that the terminal device 1 may be configured to calculate only routes whose route cost is less than or equal to a predetermined cost. For example, the terminal device 1 extracts only routes whose route cost is less than or equal to a predetermined cost from among the shortest routes to each of the calculated and extracted destination positions. Only a certain route may be calculated. By doing so, it is possible to reduce the processing load and processing time of processing for determining whether or not a route satisfies a predetermined condition, which will be described later.

なお、リンクのコストは、リンクの長さ以外の値であってよい。例えば、リンクのコストは、リンクの長さに所定の係数を乗じた値であってよい。また、所定の係数は、リンクの両端のノードの間をゲーム媒体411が移動するときに生じるイベント又はゲーム効果等に応じて定められてよい。例えば、ノードの間をゲーム媒体411が移動するときに、プレイヤにとって不利な効果が生じる場合に、所定の係数は1よりも大きい値に定められてよい。プレイヤにとって不利な効果とは、例えば、ゲーム媒体411の体力値等のパラメータが減少したり、ゲーム媒体の移動速度が減少したり、敵ゲーム媒体と接触したりするような効果である。また、ノードの間をゲーム媒体411が移動するときに、プレイヤにとって有利な効果が生じる場合に、所定の係数は1より小さい値に定められてよい。プレイヤにとって有利な効果とは、例えば、ゲーム媒体のパラメータが増加したり、ゲーム媒体の移動速度が増加したり、アイテム等のゲーム媒体を獲得できたりするような効果である。このようにすることで、ゲーム媒体411はプレイヤにとって有利な経路に従って目的位置まで移動することとなるため、プレイヤが移動指示を入力する動機づけとなる。 Note that the cost of a link may be a value other than the length of the link. For example, the cost of a link may be the length of the link multiplied by a predetermined coefficient. Further, the predetermined coefficient may be determined according to an event or a game effect that occurs when the game medium 411 moves between nodes at both ends of the link. For example, the predetermined coefficient may be set to a value greater than 1 if a disadvantageous effect for the player occurs when the game medium 411 moves between nodes. Effects that are disadvantageous to the player include, for example, a decrease in a parameter such as the physical strength value of the game medium 411, a decrease in the movement speed of the game medium, or an effect such as contact with an enemy game medium. Further, the predetermined coefficient may be set to a value smaller than 1 if an advantageous effect for the player occurs when the game medium 411 moves between nodes. Effects advantageous to the player include, for example, an increase in the parameters of the game medium, an increase in the movement speed of the game medium, and the ability to acquire game contents such as items. By doing so, the game medium 411 moves to the destination position along a route that is advantageous to the player, thereby motivating the player to input a movement instruction.

なお、上述した説明により算出された経路は、経路算出用グラフにおける最短経路である。端末装置1は、算出された経路にさらに平滑化処理を施すことにより、移動可能領域413における最短経路を算出してよい。 Note that the route calculated according to the above explanation is the shortest route in the route calculation graph. The terminal device 1 may calculate the shortest route in the movable area 413 by further performing smoothing processing on the calculated route.

(経路が所定条件を満たすか否かを端末装置が判定する処理の説明)
以下、図9を用いて、算出された経路が移動方向に関する所定条件を満たすか否かを端末装置1が判定する処理について説明する。図9は、算出された経路と移動方向とをフィールド画面910に表示した図である。図9には、フィールド画面910と、移動方向911と、ゲーム媒体の位置から目的位置412aへの経路912aと、ゲーム媒体の位置から目的位置412bへの経路912bとが示されている。経路912aは、ゲーム媒体の位置と接続する要素経路912a1と、要素経路912a1と接続する要素経路912a2とを含む。経路912bは、ゲーム媒体の位置と接続する要素経路912b1と、要素経路912b1と接続する要素経路912b2とを含む。なお、要素経路とは、経路を構成する直線部分をいい、経路算出用グラフにおける一つのリンクに相当するものである。なお、また、以下では、経路を構成する要素経路のうち、ゲーム媒体の位置と接続する要素経路を第1要素経路と称する。図9に示される例では、経路912aを構成する要素経路のうち、第1要素経路は、要素経路912a1である。また、経路912bを構成する要素経路のうち、第1要素経路は、要素経路912b1である。なお、移動方向911と経路912aと経路912bとは、説明のために図示したものであり、フィールド画面910において表示されなくてもよい。
(Explanation of the process by which the terminal device determines whether the route satisfies the predetermined conditions)
Hereinafter, a process in which the terminal device 1 determines whether the calculated route satisfies a predetermined condition regarding the movement direction will be described using FIG. 9. FIG. 9 is a diagram showing the calculated route and moving direction displayed on the field screen 910. FIG. 9 shows a field screen 910, a movement direction 911, a path 912a from the position of the game medium to the target position 412a, and a path 912b from the position of the game medium to the target position 412b. The route 912a includes an element route 912a1 that connects to the position of the game medium, and an element route 912a2 that connects to the element route 912a1. The path 912b includes an element path 912b1 that connects to the position of the game medium, and an element path 912b2 that connects to the element path 912b1. Note that an element route refers to a straight line portion that constitutes a route, and corresponds to one link in a route calculation graph. Furthermore, in the following, among the element routes that constitute the route, the element route that connects to the position of the game medium will be referred to as a first element route. In the example shown in FIG. 9, the first element route among the element routes configuring the route 912a is the element route 912a1. Further, among the element routes forming the route 912b, the first element route is the element route 912b1. Note that the moving direction 911, the route 912a, and the route 912b are shown for explanation purposes, and do not need to be displayed on the field screen 910.

まず、端末装置1は、移動指示に含まれる移動方向911と、算出された経路を構成する要素経路のうち、第1要素経路の方向とがなす角の大きさを算出する。図9に示される例では、端末装置1は、移動方向911と要素経路912a1の方向とがなす角913aの大きさを算出する。同様に、端末装置1は、移動方向911と要素経路912b1の方向とがなす角913bの大きさを算出する。 First, the terminal device 1 calculates the size of the angle between the movement direction 911 included in the movement instruction and the direction of the first element route among the element routes that constitute the calculated route. In the example shown in FIG. 9, the terminal device 1 calculates the size of the angle 913a formed by the movement direction 911 and the direction of the element route 912a1. Similarly, the terminal device 1 calculates the size of the angle 913b formed by the movement direction 911 and the direction of the element route 912b1.

続いて、端末装置1は、算出された角の大きさが所定角度以下であるか否かを判定する。図9に示される例では、端末装置1は、角913aの大きさは所定角度以下であり、角913bの大きさは所定角度以下ではないと判定されたものとする。このようにすることで、端末装置1は、移動方向と、第1要素経路の方向とがなす角の大きさが所定角度以下であるか否かを判定する。なお、移動方向と、第1要素経路の方向とがなす角の大きさが所定角度以下であることは、移動方向に関する所定条件を満たすことの一例である。 Subsequently, the terminal device 1 determines whether the calculated angle size is less than or equal to a predetermined angle. In the example shown in FIG. 9, it is assumed that the terminal device 1 determines that the size of the corner 913a is less than or equal to the predetermined angle, and that the size of the corner 913b is not less than or equal to the predetermined angle. By doing so, the terminal device 1 determines whether the size of the angle between the moving direction and the direction of the first element route is less than or equal to the predetermined angle. Note that the fact that the size of the angle between the movement direction and the direction of the first element path is less than or equal to a predetermined angle is an example of satisfying the predetermined condition regarding the movement direction.

続いて、端末装置1は、角の大きさが所定角度以下であると判定された経路に従ってゲーム媒体が目的位置まで移動するように、ゲーム媒体の表示を制御する。これにより、移動指示に含まれる移動方向とゲーム媒体が最初に移動する方向との差が小さくなり、直感的な操作が可能となる。 Subsequently, the terminal device 1 controls the display of the game content so that the game content moves to the destination position according to the path determined to have the angle size less than or equal to the predetermined angle. This reduces the difference between the movement direction included in the movement instruction and the direction in which the game medium initially moves, allowing for intuitive operation.

なお、複数の経路が、移動方向と第1要素経路の方向とがなす角の大きさが所定角度以下であると判定された場合、端末装置1は、経路コストが最も小さい経路に従ってゲーム媒体が目的位置まで移動するように、ゲーム媒体411の表示を制御する。これにより、同一方向に複数の目的位置が存在する場合、ゲーム媒体411は、最も近い目的位置に移動するようになるため、移動時間を小さくすることができる。 Note that if it is determined that the angle between the movement direction and the direction of the first element route is less than or equal to a predetermined angle in the plurality of routes, the terminal device 1 selects the game content according to the route with the smallest route cost. The display of the game medium 411 is controlled so as to move to the target position. As a result, when a plurality of target positions exist in the same direction, the game medium 411 is moved to the closest target position, so that the moving time can be reduced.

また、上述した説明において、第1要素経路の方向とは、3次元仮想空間において定められた第1要素経路を、所定の視点位置及び所定の視線方向において2次元スクリーンに投影した際の、2次元スクリーンにおける第1要素経路の方向である。すなわち、第1要素経路の方向とは、3次元仮想空間における方向ではなく、表示部13に表示されたフィールド画面における第1要素経路の方向である。このように定めることで、プレイヤは、表示部13に表示されている方向に基づいて移動指示を入力すればよいため、より直感的な操作が可能となる。 In addition, in the above description, the direction of the first element path refers to the direction of the first element path defined in the three-dimensional virtual space, when the first element path is projected onto the two-dimensional screen at a predetermined viewpoint position and a predetermined line-of-sight direction. is the direction of the first element path in the dimensional screen. That is, the direction of the first element route is not the direction in the three-dimensional virtual space but the direction of the first element route on the field screen displayed on the display unit 13. By setting in this way, the player only has to input a movement instruction based on the direction displayed on the display unit 13, which enables more intuitive operation.

(各種データの説明)
以下、図10を用いて、記憶部11に記憶される各種データについて説明する。
(Explanation of various data)
Hereinafter, various data stored in the storage unit 11 will be explained using FIG. 10.

図10(a)は、多角形領域に関する情報を管理する領域テーブル1010のデータ構造の一例を示す図である。領域テーブル1010には、領域ID1011、頂点1012、及び、隣接領域ID1013等が関連付けて記憶されている。 FIG. 10A is a diagram showing an example of the data structure of a region table 1010 that manages information regarding polygonal regions. In the region table 1010, a region ID 1011, a vertex 1012, an adjacent region ID 1013, etc. are stored in association with each other.

領域ID1011は、多角形領域を一意に特定可能な識別情報である。頂点1012は、多角形領域の頂点を一意に特定可能な情報である。図10(a)に示す例では、頂点1012は、多角形領域の頂点の座標である。なお、図10(a)に示す例では、頂点1012には、3つの座標が記憶されている。すなわち、図10(a)に示す例では、多角形領域は、三角形である。また、図10(a)に示す例では、それぞれの頂点の座標は2次元座標系で記述されているが、3次元座標系で記述されてもよく、他の座標系で記述されてもよい。隣接領域ID1013は、多角形領域に隣接する他の多角形領域の識別情報である。隣接する多角形領域とは、少なくとも1つの辺を共有する多角形領域をいう。 The region ID 1011 is identification information that can uniquely identify a polygonal region. The vertex 1012 is information that can uniquely identify the vertex of the polygonal region. In the example shown in FIG. 10(a), the vertex 1012 is the coordinate of the vertex of the polygonal region. Note that in the example shown in FIG. 10(a), three coordinates are stored in the vertex 1012. That is, in the example shown in FIG. 10(a), the polygonal area is a triangle. Further, in the example shown in FIG. 10(a), the coordinates of each vertex are described in a two-dimensional coordinate system, but they may be described in a three-dimensional coordinate system or in another coordinate system. . Adjacent area ID 1013 is identification information of another polygonal area adjacent to the polygonal area. Adjacent polygonal areas refer to polygonal areas that share at least one side.

図10(b)は、目的位置に関する情報を管理する目的位置テーブル1020のデータ構造の一例を示す図である。目的位置テーブル1020には、目的位置ID1021、位置1022、及び、領域ID1023等が関連付けて記憶されている。なお、目的位置テーブル1020に記憶されているデータは、仮想空間における目的位置に関する情報の一例である。 FIG. 10(b) is a diagram showing an example of the data structure of a destination position table 1020 that manages information regarding destination positions. In the destination position table 1020, a destination position ID 1021, a position 1022, an area ID 1023, etc. are stored in association with each other. Note that the data stored in the destination position table 1020 is an example of information regarding the destination position in the virtual space.

目的位置ID1021は、目的位置を一意に特定可能な識別情報である。位置1022は、目的位置の位置を表す座標である。領域ID1023は、目的位置を内部に含む多角形領域の識別情報である。 The destination position ID 1021 is identification information that can uniquely specify the destination position. The position 1022 is a coordinate representing the position of the target position. The area ID 1023 is identification information of a polygonal area that includes the target position.

(処理部14の説明)
以下、端末装置1の処理部14について説明する。
(Description of processing unit 14)
The processing unit 14 of the terminal device 1 will be explained below.

図3に示されるように、処理部14は、取得部141と、算出部142と、判定部143と、表示制御部144とをその機能ブロックとして備える。これらの各部は、処理部14が備えるプロセッサで実行されるプログラムにより実現される機能モジュールである。これらの各部は、ファームウェアとして端末装置1に実装されてもよい。 As shown in FIG. 3, the processing unit 14 includes an acquisition unit 141, a calculation unit 142, a determination unit 143, and a display control unit 144 as its functional blocks. Each of these units is a functional module realized by a program executed by a processor included in the processing unit 14. Each of these parts may be implemented in the terminal device 1 as firmware.

取得部141は、プレイヤによる、移動方向を含む移動指示を取得する。例えば、取得部141は、操作部12が、プレイヤの操作部12に対する接触を検出したか否かを判定する。接触を検出したと判定された場合、取得部141は、プレイヤが操作部12に接触している接触位置を所定時間間隔で入力位置として取得する。 The acquisition unit 141 acquires a movement instruction including a movement direction from the player. For example, the acquisition unit 141 determines whether or not the operation unit 12 has detected the player's contact with the operation unit 12 . If it is determined that contact has been detected, the acquisition unit 141 acquires the contact position where the player is touching the operation unit 12 as an input position at predetermined time intervals.

続いて、取得部141は、操作部12が、プレイヤの操作部12に対する接触の終了を検出したか否かを判定する。接触の終了を検出したと判定された場合、取得部141は、最後に取得した入力位置と、その直前に取得した入力位置とが所定距離以上離れているか否かを判定する。所定距離以上離れていると判定された場合、取得部141は、操作指示を取得する。操作指示は、最初に取得した入力位置の操作部12における位置座標を操作位置の座標として含む。また、操作指示は、最後に取得した入力位置の、その直前に取得した入力位置に対する方向を移動方向として含む。 Subsequently, the acquisition unit 141 determines whether the operation unit 12 has detected the end of the player's contact with the operation unit 12. If it is determined that the end of the contact has been detected, the acquisition unit 141 determines whether the input position acquired last and the input position acquired immediately before are separated by a predetermined distance or more. If it is determined that the distance is a predetermined distance or more, the acquisition unit 141 acquires an operation instruction. The operation instruction includes the position coordinates of the first acquired input position on the operation unit 12 as the coordinates of the operation position. Further, the operation instruction includes the direction of the input position acquired last with respect to the input position acquired immediately before that as the movement direction.

続いて、取得部141は、操作指示に含まれる操作位置の座標が所定範囲内であるか否かを判定する。操作位置の座標が所定範囲内でないと判定された場合、取得部141は、操作指示を移動指示として取得する。操作位置の座標が所定範囲内であると判定された場合、取得部141は、移動指示を取得しない。なお、操作位置の座標が所定範囲内であると判定された場合、取得部141は、操作指示を視点移動指示として取得してよい。 Subsequently, the acquisition unit 141 determines whether the coordinates of the operation position included in the operation instruction are within a predetermined range. If it is determined that the coordinates of the operation position are not within the predetermined range, the acquisition unit 141 acquires the operation instruction as a movement instruction. If it is determined that the coordinates of the operation position are within the predetermined range, the acquisition unit 141 does not acquire the movement instruction. Note that if it is determined that the coordinates of the operation position are within a predetermined range, the acquisition unit 141 may acquire the operation instruction as a viewpoint movement instruction.

また、取得部141は、プレイヤによる、ゲーム媒体411を操作するための手動操作指示を取得する。例えば、取得部141は、プレイヤが操作部12を操作し、フィールド画面410において操作指示オブジェクト414の表示領域内を入力位置とする入力をした場合、入力位置に応じた方向を操作方向として含む手動操作指示を取得する。 The acquisition unit 141 also acquires manual operation instructions for operating the game medium 411 from the player. For example, when the player operates the operation unit 12 and makes an input in which the input position is within the display area of the operation instruction object 414 on the field screen 410, the acquisition unit 141 performs a manual operation including a direction corresponding to the input position as the operation direction. Get operating instructions.

また、取得部141は、プレイヤによる、メニュー画面を表示するためのメニュー画面表示指示を取得する。例えば、取得部141は、プレイヤが操作部12を操作し、フィールド画面410においてメニュー画面表示オブジェクトを選択したことに応じて、メニュー画面表示指示を取得する。 The acquisition unit 141 also acquires a menu screen display instruction from the player for displaying a menu screen. For example, the acquisition unit 141 acquires a menu screen display instruction in response to the player operating the operation unit 12 and selecting a menu screen display object on the field screen 410.

算出部142は、取得部141がプレイヤによる移動指示を取得したことに応じて、移動可能領域413を分割した複数の多角形領域のうち、ゲーム媒体411の位置を含む多角形領域を特定する。続いて、算出部142は、目的位置テーブル1020を参照して、ゲーム媒体の位置からの仮想空間における距離が所定距離以下である目的位置412を抽出する。続いて、算出部142は、目的位置テーブル1020を参照して、抽出された目的位置412のそれぞれを含む多角形領域を特定する。続いて、算出部142は、経路算出用グラフを生成する。続いて、算出部142は、ゲーム媒体411の位置から抽出された目的位置412のそれぞれへの経路を算出する。また、算出部142は、それぞれの経路に係る経路コストを算出する。 The calculation unit 142 specifies a polygonal area that includes the position of the game medium 411 from among the plurality of polygonal areas obtained by dividing the movable area 413 in response to the acquisition unit 141 acquiring the movement instruction from the player. Subsequently, the calculation unit 142 refers to the target position table 1020 and extracts a target position 412 whose distance in the virtual space from the position of the game medium is a predetermined distance or less. Subsequently, the calculation unit 142 refers to the target position table 1020 and identifies polygonal regions that include each of the extracted target positions 412. Subsequently, the calculation unit 142 generates a route calculation graph. Subsequently, the calculating unit 142 calculates a route from the position of the game medium 411 to each of the extracted target positions 412. Further, the calculation unit 142 calculates the route cost related to each route.

また、算出部142は、抽出された目的位置412への経路のうち、経路コストが所定のコスト以下である経路のみを算出してよい。例えば、算出部142は、算出された、抽出された目的位置のそれぞれへの最短経路のうち、経路コストが所定のコスト以下である経路のみを抽出することで、経路コストが所定のコスト以下である経路のみを算出する。 Furthermore, the calculation unit 142 may calculate only those routes whose route cost is equal to or less than a predetermined cost among the extracted routes to the destination position 412. For example, the calculation unit 142 extracts only routes whose route cost is less than or equal to a predetermined cost from among the calculated shortest routes to each of the extracted destination positions. Calculate only a certain route.

以上説明したように、算出部142は、プレイヤによる移動指示に含まれる操作位置の座標が所定範囲内である場合に、ゲーム媒体411の位置から抽出された目的位置412のそれぞれへの経路を算出しない。 As explained above, the calculation unit 142 calculates a route to each of the target positions 412 extracted from the position of the game medium 411 when the coordinates of the operation position included in the movement instruction by the player are within a predetermined range. do not.

判定部143は、算出された経路が移動方向に関する所定条件を満たすか否かを判定する。例えば、所定条件は、移動方向と、経路を構成する要素経路のうち、ゲーム媒体411の位置と接続する第1要素経路の方向とがなす角の大きさが所定角度(例えば、60度)以下であることである。なお、算出部142によって複数の経路が算出された場合、判定部143は、算出された複数の経路のそれぞれについて、移動方向に関する所定条件を満たすか否かを判定する。 The determination unit 143 determines whether the calculated route satisfies a predetermined condition regarding the direction of movement. For example, the predetermined condition is that the size of the angle formed by the direction of movement and the direction of the first element route that connects the position of the game medium 411 among the element routes constituting the route is less than or equal to a predetermined angle (for example, 60 degrees). It is to be. Note that when the calculation unit 142 calculates a plurality of routes, the determination unit 143 determines whether a predetermined condition regarding the movement direction is satisfied for each of the plurality of calculated routes.

表示制御部144は、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が目的位置まで移動するように、ゲーム媒体の表示を制御する。例えば、表示制御部144は、ゲーム媒体が移動方向に向かって歩行しているような画像を表示するための表示データを表示部13に供給することによって、ゲーム媒体の表示を制御する。 When it is determined that the route satisfies a predetermined condition, the display control unit 144 controls the display of the game content so that the game content moves to the destination position along the route. For example, the display control unit 144 controls the display of the game content by supplying display data to the display unit 13 for displaying an image in which the game content appears to be walking in the moving direction.

また、表示制御部144は、経路が所定条件を満たすと判定された場合、表示部13を制御して、経路の少なくとも一部を仮想空間に表示する。例えば、表示制御部144は、経路のうち、現在のゲーム媒体411の位置から目的位置412に至る箇所のみを仮想空間に表示してよい。 Further, when it is determined that the route satisfies the predetermined condition, the display control unit 144 controls the display unit 13 to display at least a portion of the route in the virtual space. For example, the display control unit 144 may display only the portion of the route from the current position of the game medium 411 to the destination position 412 in the virtual space.

また、表示制御部144は、複数の経路が所定条件を満たすと判定された場合、所定条件を満たすと判定された経路のうち、経路コストが最も小さい経路に従ってゲーム媒体が移動するように、ゲーム媒体の表示を制御する。 Furthermore, when it is determined that a plurality of routes satisfy the predetermined condition, the display control unit 144 controls the game so that the game content moves along the route with the smallest route cost among the routes determined to satisfy the predetermined condition. Control the display of media.

また、表示制御部144は、経路に従って移動しているゲーム媒体が目的位置に到達する前に障害物オブジェクトに接触した場合、ゲーム媒体が停止するように、ゲーム媒体の表示を制御する。 Furthermore, the display control unit 144 controls the display of the game medium so that if the game medium moving along the route comes into contact with an obstacle object before reaching the destination position, the game medium stops.

また、表示制御部144は、経路に従って移動しているゲーム媒体が目的位置に到達する前に停止した場合、プレイヤによる移動指示の入力を促す情報を前記表示部に表示する。 Furthermore, if the game medium moving along the route stops before reaching the destination position, the display control unit 144 displays information on the display unit that prompts the player to input a movement instruction.

また、表示制御部144は、経路が所定条件を満たさないと判定された場合、表示部13を制御して、ゲーム媒体がプレイヤによって入力された移動指示に含まれる移動方向に直進するように、ゲーム媒体の表示を制御する。これにより、移動方向に目的位置が存在しない場合であっても、プレイヤは移動方向にゲーム媒体を移動させることができ、プレイヤにとってより直感的な操作を提供することができる。表示制御部144は、直進しているゲーム媒体が移動可能領域の外縁に到達した場合、ゲーム媒体が停止するように、ゲーム媒体の表示を制御する。 Furthermore, if it is determined that the route does not satisfy the predetermined conditions, the display control unit 144 controls the display unit 13 so that the game content moves straight in the movement direction included in the movement instruction input by the player. Control the display of game media. Thereby, even if there is no target position in the movement direction, the player can move the game medium in the movement direction, and it is possible to provide a more intuitive operation for the player. The display control unit 144 controls the display of the game content so that when the game content moving straight reaches the outer edge of the movable area, the game content stops.

また、表示制御部144は、取得部141がプレイヤによる手動操作指示を取得したことに応じ、ゲーム媒体が手動操作指示に含まれる操作方向に移動するように、ゲーム媒体の表示を制御する。 Further, the display control unit 144 controls the display of the game content so that the game content moves in the operation direction included in the manual operation instruction in response to the acquisition unit 141 acquiring the manual operation instruction from the player.

また、表示制御部144は、取得部141がプレイヤによるメニュー画面表示指示を取得したことに応じ、表示部13を制御して、メニュー画面を表示する。例えば、表示制御部144は、メニュー画面を表示するための表示データを、記憶部11から取得し、表示部13に供給する。 Further, the display control unit 144 controls the display unit 13 to display a menu screen in response to the acquisition unit 141 acquiring a menu screen display instruction from the player. For example, the display control unit 144 acquires display data for displaying a menu screen from the storage unit 11 and supplies it to the display unit 13.

また、表示制御部144は、取得部141がプレイヤによる視点移動指示を取得したことに応じ、表示部13を制御して、視点位置及び視線方向の少なくとも一方が移動するようにフィールド画面の表示を変更する。例えば、表示制御部144は、視点位置を視点移動指示に含まれる移動方向に移動させるとともに、移動後の視点位置を基準としたゲーム媒体の方向を視点方向とするように、フィールド画面の表示を変更する。 In addition, in response to the acquisition unit 141 acquiring the viewpoint movement instruction from the player, the display control unit 144 controls the display unit 13 to display the field screen so that at least one of the viewpoint position and the line of sight direction moves. change. For example, the display control unit 144 moves the viewpoint position in the moving direction included in the viewpoint movement instruction, and displays the field screen so that the direction of the game medium based on the viewpoint position after the movement is the viewpoint direction. change.

(端末装置による処理の流れの説明)
以下、図11から図13を参照して、端末装置1による処理の流れについて説明する。
(Explanation of processing flow by terminal device)
The flow of processing by the terminal device 1 will be described below with reference to FIGS. 11 to 13.

図11は、端末装置1による移動処理の流れの一例を示したフロー図である。 FIG. 11 is a flow diagram showing an example of the flow of movement processing by the terminal device 1. As shown in FIG.

まず、端末装置1の記憶部11は、仮想空間における目的位置に関する情報を記憶する(S1101)。続いて、端末装置1の表示部13は、仮想空間内に位置するゲーム媒体を表示する(S1103)。続いて、端末装置1の取得部141は、移動指示取得処理を実行する(S1105)。移動指示取得処理の詳細は後述する。続いて、端末装置1の算出部142は、経路算出処理を実行する(S1107)。経路算出処理の詳細は後述する。 First, the storage unit 11 of the terminal device 1 stores information regarding the target position in the virtual space (S1101). Subsequently, the display unit 13 of the terminal device 1 displays the game content located in the virtual space (S1103). Subsequently, the acquisition unit 141 of the terminal device 1 executes a movement instruction acquisition process (S1105). Details of the movement instruction acquisition process will be described later. Subsequently, the calculation unit 142 of the terminal device 1 executes route calculation processing (S1107). Details of the route calculation process will be described later.

続いて、端末装置1の判定部143は、移動指示に含まれる移動方向と、算出された経路を構成する要素経路のうち、ゲーム媒体の位置に接続する第1要素経路の方向とがなす角の大きさが所定角度以下であるか否かを判定する(S1109)。角の大きさが所定角度以下であると判定された場合(S1109-Y)、端末装置1の表示制御部144は、経路に従ってゲーム媒体を移動するように、ゲーム媒体の表示を制御する(S1111)。続いて、表示制御部144は、経路に従って移動しているゲーム媒体が目的位置に到達したか否かを判定する(S1113)。目的位置に到達していないと判定された場合、すなわち、経路に従って移動しているゲーム媒体が目的位置に到達する前に停止したと判定された場合(S1113-N)、表示制御部144は、プレイヤに移動指示の入力を指示する情報を表示し(S1115)、S1105に進む。目的位置に到達したと判定された場合(S1113-Y)、一連の処理を終了する。また、角の大きさが所定角度以下でないと判定された場合(S1109-N)、表示制御部144は、ゲーム媒体が移動指示に含まれる移動方向に直進するように、ゲーム媒体の表示を制御し(S1117)、一連の処理を終了する。 Subsequently, the determination unit 143 of the terminal device 1 determines the angle formed by the movement direction included in the movement instruction and the direction of the first element route connecting to the position of the game medium among the element routes configuring the calculated route. It is determined whether the size of the angle is less than or equal to a predetermined angle (S1109). If it is determined that the angle size is less than or equal to the predetermined angle (S1109-Y), the display control unit 144 of the terminal device 1 controls the display of the game content so that the game content is moved along the route (S1111). ). Subsequently, the display control unit 144 determines whether the game medium moving along the route has reached the destination position (S1113). If it is determined that the target position has not been reached, that is, if it is determined that the game medium moving along the route has stopped before reaching the target position (S1113-N), the display control unit 144: Information instructing the player to input a movement instruction is displayed (S1115), and the process advances to S1105. If it is determined that the target position has been reached (S1113-Y), the series of processing ends. Further, if it is determined that the size of the corner is not less than the predetermined angle (S1109-N), the display control unit 144 controls the display of the game content so that the game content moves straight in the movement direction included in the movement instruction. (S1117), and the series of processing ends.

図12は、端末装置1における移動指示取得処理の流れの一例を示すフロー図である。まず、端末装置1の取得部141は、操作部12が、プレイヤの操作部12に対する接触を検出したか否かを判定する(S1201)。接触を検出していないと判定された場合(S1201-N)、S1201に進む。接触を検出したと判定された場合(S1201-Y)、取得部141は、プレイヤが操作部に接触している接触位置を所定時間間隔で入力位置として取得する(S1203)。続いて、取得部141は、操作部12が、プレイヤの操作部12に対する接触の終了を検出したか否かを判定する(S1205)。接触の終了を検出していないと判定された場合(S1205-N)、S1203に進む。接触の終了を検出したと判定された場合(S1205-Y)、取得部141は、最後に取得した入力位置と、その直前に取得した入力位置とが所定距離以上離れているか否かを判定する(S1207)。所定距離以上離れていると判定された場合(S1207-Y)、取得部141は、操作位置の座標と移動方向とを含む操作指示を取得する(S1209)。所定距離以上離れていないと判定された場合(S1207-N)、S1201に進む。続いて、取得部141は、操作指示に含まれる操作位置の座標が所定範囲内であるか否かを判定する(S1211)。操作位置の座標が所定範囲内でないと判定された場合(S1211-N)、取得部141は、操作指示を移動指示として取得し(S1213)、一連の処理を終了する。操作位置の座標が所定範囲内であると判定された場合(S1211-Y)、S1201に進む。 FIG. 12 is a flow diagram illustrating an example of the flow of movement instruction acquisition processing in the terminal device 1. First, the acquisition unit 141 of the terminal device 1 determines whether or not the operation unit 12 has detected the player's contact with the operation unit 12 (S1201). If it is determined that contact has not been detected (S1201-N), the process advances to S1201. If it is determined that contact has been detected (S1201-Y), the acquisition unit 141 acquires the contact position where the player is touching the operation unit as an input position at a predetermined time interval (S1203). Subsequently, the acquisition unit 141 determines whether the operation unit 12 has detected the end of the player's contact with the operation unit 12 (S1205). If it is determined that the end of contact has not been detected (S1205-N), the process advances to S1203. If it is determined that the end of contact has been detected (S1205-Y), the acquisition unit 141 determines whether the input position acquired last and the input position acquired immediately before are separated by a predetermined distance or more. (S1207). If it is determined that the distance is a predetermined distance or more (S1207-Y), the acquisition unit 141 acquires an operation instruction including the coordinates of the operation position and the movement direction (S1209). If it is determined that the distance is not more than the predetermined distance (S1207-N), the process advances to S1201. Subsequently, the acquisition unit 141 determines whether the coordinates of the operation position included in the operation instruction are within a predetermined range (S1211). If it is determined that the coordinates of the operation position are not within the predetermined range (S1211-N), the acquisition unit 141 acquires the operation instruction as a movement instruction (S1213), and ends the series of processing. If it is determined that the coordinates of the operation position are within the predetermined range (S1211-Y), the process advances to S1201.

図13は、端末装置1における経路算出処理の流れの一例を示すフロー図である。まず、端末装置1の算出部142は、ゲーム媒体の位置を含む多角形領域を特定する(S1301)。続いて、算出部142は、目的位置のうち、ゲーム媒体411の位置との関係が所定関係である目的位置を抽出する(S1303)。続いて、算出部142は、抽出された目的位置のそれぞれを含む多角形領域を特定する(S1305)。続いて、算出部142は、経路算出用グラフを生成する(S1307)。続いて、算出部142は、ゲーム媒体の位置から抽出された目的位置のそれぞれへの最短経路と、それぞれの経路に係る経路コストを算出し(S1309)、一連の処理を終了する。 FIG. 13 is a flow diagram illustrating an example of the flow of route calculation processing in the terminal device 1. First, the calculation unit 142 of the terminal device 1 specifies a polygonal area that includes the position of the game content (S1301). Subsequently, the calculation unit 142 extracts, from among the target positions, a target position that has a predetermined relationship with the position of the game medium 411 (S1303). Subsequently, the calculation unit 142 identifies polygonal regions including each of the extracted target positions (S1305). Subsequently, the calculation unit 142 generates a route calculation graph (S1307). Subsequently, the calculation unit 142 calculates the shortest route from the position of the game medium to each of the target positions extracted and the route cost for each route (S1309), and ends the series of processing.

以上説明したように、本発明に係る端末装置1は、仮想空間内に位置するゲーム媒体を表示する表示部13を備える。また、本発明に係る端末装置1は、仮想空間における目的位置に関する情報を記憶する記憶部11を備える。また、本発明に係る端末装置1は、プレイヤによる、移動方向を含む移動指示を取得する取得部141を備える。また、本発明に係る端末装置1は、仮想空間内のゲーム媒体の位置から目的位置への経路を算出する算出部142を備える。また、本発明に係る端末装置1は、算出された経路が移動方向に関する所定条件を満たすか否かを判定する判定部143を備える。また、本発明に係る端末装置1は、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が目的位置まで移動するようにゲーム媒体の表示を制御する表示制御部144を備える。このような構成を備えることにより、本発明に係る端末装置1は、プレイヤによるキャラクタの操作を支援することを可能とする。 As described above, the terminal device 1 according to the present invention includes the display unit 13 that displays game content located in a virtual space. Furthermore, the terminal device 1 according to the present invention includes a storage unit 11 that stores information regarding a target position in a virtual space. Furthermore, the terminal device 1 according to the present invention includes an acquisition unit 141 that acquires a movement instruction including a movement direction from the player. Furthermore, the terminal device 1 according to the present invention includes a calculation unit 142 that calculates a route from the position of the game medium in the virtual space to the target position. Furthermore, the terminal device 1 according to the present invention includes a determination unit 143 that determines whether the calculated route satisfies a predetermined condition regarding the direction of movement. The terminal device 1 according to the present invention also includes a display control unit 144 that controls the display of the game content so that the game content moves along the route to the destination position when it is determined that the route satisfies a predetermined condition. By having such a configuration, the terminal device 1 according to the present invention can support the player's operation of the character.

また、本発明に係る端末装置1において、経路は、複数の要素経路によって構成されてよい。また、所定条件は、移動方向と、ゲーム媒体の位置と接続する要素経路の方向とがなす角の大きさが所定角度以下であることであってよい。このようにすることで、ゲーム媒体は、プレイヤが入力した移動指示に含まれる移動方向に近い方向に移動することになるため、プレイヤにとって直感的な操作が実現される。 Furthermore, in the terminal device 1 according to the present invention, the route may be configured by a plurality of element routes. Further, the predetermined condition may be that the size of the angle between the moving direction and the direction of the element route connecting the position of the game medium is less than or equal to the predetermined angle. By doing so, the game medium moves in a direction close to the movement direction included in the movement instruction input by the player, so that an intuitive operation for the player is realized.

また、本発明に係る端末装置1において、移動指示は、操作位置に関する情報を含んでよい。また、算出部142は、操作位置に関する情報が所定範囲内である場合に、経路を算出しなくてよい。このようにすることで、操作位置に関する情報が所定範囲内である場合に、異なるゲーム操作を割り当てることが可能となり、ゲーム操作の多様性が増す。 Furthermore, in the terminal device 1 according to the present invention, the movement instruction may include information regarding the operating position. Further, the calculation unit 142 does not need to calculate the route when the information regarding the operation position is within a predetermined range. By doing this, it becomes possible to assign different game operations when the information regarding the operation position is within a predetermined range, increasing the variety of game operations.

また、本発明に係る端末装置1において、表示制御部144は、経路が所定条件を満たさないと判定された場合、ゲーム媒体が移動方向に移動するように、ゲーム媒体の表示を制御してよい。このようにすることで、経路が所定条件を満たさない場合であっても、ゲーム媒体は、プレイヤが入力した移動指示に含まれる移動方向に近い方向に移動することになるため、プレイヤにとってより直感的な操作が実現される。 Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 may control the display of the game content so that the game content moves in the movement direction when it is determined that the route does not satisfy a predetermined condition. . By doing this, even if the route does not satisfy the predetermined conditions, the game medium will move in a direction close to the movement direction included in the movement instruction input by the player, making it more intuitive for the player. operations are realized.

また、本発明に係る端末装置1において、表示制御部144は、経路が所定条件を満たすと判定された場合、経路の少なくとも一部を仮想空間に表示してよい。このようにすることで、プレイヤは、ゲーム媒体がこれから移動する経路を容易に確かめることができる。 Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 may display at least a portion of the route in the virtual space when it is determined that the route satisfies a predetermined condition. By doing so, the player can easily confirm the route that the game medium will travel from now on.

また、本発明に係る端末装置1において、表示制御部144は、経路に従って移動しているゲーム媒体が所定位置に到達する前に停止した場合、プレイヤによる移動指示を促す情報を表示部に表示してよい。このようにすることで、プレイヤは、さらに操作部12を操作しなければならないことを認識することができる。 Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 displays information on the display unit that prompts the player to instruct the player to move when the game medium that is moving along the route stops before reaching a predetermined position. It's fine. By doing so, the player can recognize that he must further operate the operation unit 12.

また、本発明に係る端末装置1は、プレイヤによる接触を検出する操作部12を備えてよい。また、本発明に係る端末装置1において、取得部141は、プレイヤが操作部12に接触している接触位置を所定時間間隔で取得してよい。また、移動方向は、取得部141が最後に取得した接触位置の、その直前に取得した接触位置を基準とする方向であってよい。このようにすることで、プレイヤは、ゲーム媒体を移動させたい方向に接触位置を変化させることでゲーム媒体を移動させることができるようになり、より直感的な操作が可能となる。 Further, the terminal device 1 according to the present invention may include an operation unit 12 that detects contact by a player. Furthermore, in the terminal device 1 according to the present invention, the acquisition unit 141 may acquire the contact position where the player is touching the operation unit 12 at predetermined time intervals. Further, the moving direction may be a direction based on a contact position acquired immediately before the last contact position acquired by the acquisition unit 141. By doing so, the player can move the game medium by changing the contact position in the direction in which he or she wants the game medium to move, allowing for more intuitive operation.

また、本発明に係る端末装置1において、表示制御部144は、複数の経路が所定条件を満たすと判定された場合、所定条件を満たすと判定された経路のうち、経路コストが最も小さい経路に従ってゲーム媒体外移動するように、ゲーム媒体の表示を制御してよい。このようにすることで、同一方向に複数の目的位置が存在する場合、ゲーム媒体は、最も近い目的位置に移動するようになるため、移動時間を小さくすることができる。 Furthermore, in the terminal device 1 according to the present invention, when it is determined that a plurality of routes satisfy the predetermined condition, the display control unit 144 selects the route that has the smallest route cost among the routes determined to satisfy the predetermined condition. The display of the game medium may be controlled to move outside the game medium. By doing this, when there are multiple target positions in the same direction, the game content is moved to the closest target position, so the travel time can be reduced.

また、本発明に係る端末装置1において、算出部142は、ゲーム媒体の位置との関係が所定関係である目的位置への経路を算出してよい。このようにすることで、経路の算出に要する計算処理の負荷を抑えることができる。 Furthermore, in the terminal device 1 according to the present invention, the calculation unit 142 may calculate a route to a destination position that has a predetermined relationship with the position of the game medium. By doing so, it is possible to reduce the computational load required for route calculation.

また、本発明に係る、記憶部11と、仮想空間内に位置するゲーム媒体を表示する表示部13と、を備える端末装置1の制御方法は、仮想空間における所定位置に関する情報を記憶部11に記憶することを含む。また、本発明に係る制御方法は、プレイヤによる、移動方向を含む移動指示を取得することを含む。また、本発明に係る制御方法は、仮想空間内のゲーム媒体の位置から目的位置への経路を算出することを含む。また、本発明に係る制御方法は、算出された経路が移動方向に関する所定条件を満たすか否かを判定することを含む。また、本発明に係る制御方法は、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が所定位置まで移動するように、ゲーム媒体の表示を制御することを含む。このような構成を備えることにより、本発明に係る制御方法は、プレイヤによるキャラクタの操作を支援することを可能とする。 Further, the method for controlling the terminal device 1 including the storage unit 11 and the display unit 13 that displays game content located in the virtual space according to the present invention includes storing information regarding a predetermined position in the virtual space in the storage unit 11. Including remembering. Further, the control method according to the present invention includes obtaining a movement instruction including a movement direction from the player. Further, the control method according to the present invention includes calculating a route from the position of the game medium in the virtual space to the target position. Furthermore, the control method according to the present invention includes determining whether the calculated route satisfies a predetermined condition regarding the direction of movement. Further, the control method according to the present invention includes controlling the display of the game content so that the game content moves to a predetermined position along the route when it is determined that the route satisfies the predetermined condition. By having such a configuration, the control method according to the present invention makes it possible to support the player's operation of the character.

また、本発明に係る、記憶部11と、仮想空間内に位置するゲーム媒体を表示する表示部13と、を備える端末装置1の制御プログラムは、仮想空間における所定位置に関する情報を記憶部11に記憶することを含むことを端末装置1に実行させる。また、本発明に係る制御方法は、プレイヤによる、移動方向を含む移動指示を取得することを含むことを端末装置1に実行させる。また、本発明に係る制御方法は、仮想空間内のゲーム媒体の位置から目的位置への経路を算出することを含むことを端末装置1に実行させる。また、本発明に係る制御方法は、算出された経路が移動方向に関する所定条件を満たすか否かを判定することを含むことを端末装置1に実行させる。また、本発明に係る制御方法は、経路が所定条件を満たすと判定された場合、経路に従ってゲーム媒体が所定位置まで移動するように、ゲーム媒体の表示を制御することを含むことを端末装置1に実行させる。このような構成を備えることにより、本発明に係る制御プログラムは、プレイヤによるキャラクタの操作を支援することを可能とする。 Further, the control program of the terminal device 1 according to the present invention, which includes the storage unit 11 and the display unit 13 that displays game content located in the virtual space, stores information regarding a predetermined position in the virtual space in the storage unit 11. The terminal device 1 is caused to perform operations including storing. Further, the control method according to the present invention causes the terminal device 1 to perform a step including acquiring a movement instruction including a movement direction from the player. Further, the control method according to the present invention causes the terminal device 1 to perform a process including calculating a route from the position of the game medium in the virtual space to the target position. Further, the control method according to the present invention causes the terminal device 1 to perform a step including determining whether the calculated route satisfies a predetermined condition regarding the direction of movement. Further, the control method according to the present invention includes controlling the display of the game content so that the game content moves to a predetermined position along the route when it is determined that the route satisfies a predetermined condition. have it executed. By having such a configuration, the control program according to the present invention can support the player's operation of the character.

(変形例1)
上述した説明において、算出部142は、ゲーム媒体の位置からの仮想空間における距離が所定距離以下である目的位置を抽出するものとしたが、これに限られない。例えば、算出部142は、経路算出用グラフにおいて、ゲーム媒体の位置からすべての目的位置への経路と経路コストとを算出した後に、経路コストが所定値以下である目的位置を抽出してよい。また、リンクのコストとしてリンクの長さ以外の値を用いている場合、算出部142は、経路に含まれるリンクの長さの合計値が所定値以下である目的位置を抽出してよい。
(Modification 1)
In the above description, the calculation unit 142 extracts a target position whose distance in the virtual space from the position of the game medium is a predetermined distance or less, but the present invention is not limited to this. For example, after calculating the routes and route costs from the position of the game medium to all the target positions in the route calculation graph, the calculation unit 142 may extract target positions whose route costs are equal to or less than a predetermined value. Furthermore, when a value other than the link length is used as the link cost, the calculation unit 142 may extract destination positions where the total value of the lengths of links included in the route is equal to or less than a predetermined value.

また、多角形領域は、複数の領域グループの何れかに関連付けられてよい。そして、算出部142は、ゲーム媒体の位置が含まれる多角形領域が関連付けられた領域グループに関連付けられた多角形領域に含まれる目的位置を抽出してよい。この場合、記憶部11は、領域テーブル1010において、多角形領域ごとに、領域グループを識別するための識別情報を関連付けて記憶する。そして、算出部142は、ゲーム媒体の位置を含む多角形領域を特定した後、領域テーブル1010を参照し、特定された多角形領域に関連付けられた領域グループの識別情報を取得する。続いて、算出部142は、取得した領域グループの識別情報に関連付けられた他の多角形領域の領域ID1011を取得する。続いて、算出部142は、目的位置テーブル1020を参照して、取得した領域ID1023に関連付けられた目的位置の目的位置ID1021を取得することで、目的位置を抽出する。このようにすることで、ゲーム媒体が自動的に移動できる目的位置と自動的に移動できない目的位置を柔軟に設定することが可能となる。 Further, the polygonal region may be associated with any one of a plurality of region groups. The calculation unit 142 may then extract the target position included in the polygonal area associated with the area group associated with the polygonal area including the position of the game medium. In this case, the storage unit 11 stores identification information for identifying an area group in association with each polygonal area in the area table 1010. After specifying the polygonal area including the position of the game medium, the calculation unit 142 refers to the area table 1010 and obtains the identification information of the area group associated with the specified polygonal area. Subsequently, the calculation unit 142 obtains the region ID 1011 of another polygonal region associated with the obtained identification information of the region group. Subsequently, the calculation unit 142 refers to the destination position table 1020 and extracts the destination position by acquiring the destination position ID 1021 of the destination position associated with the acquired area ID 1023. By doing so, it becomes possible to flexibly set the target position to which the game content can automatically move and the target position to which it cannot automatically move.

(変形例2)
上述した説明では、表示制御部144は、経路に従って移動しているゲーム媒体が目的位置に到達する前に障害物オブジェクトに接触した場合、ゲーム媒体が停止するようにゲーム媒体の表示を制御するものとしたが、これに限られない。例えば、ゲーム媒体は、障害物オブジェクトに接触しないようにしてもよい。
(Modification 2)
In the above description, the display control unit 144 controls the display of the game medium so that if the game medium moving along the route comes into contact with an obstacle object before reaching the destination position, the game medium stops. However, it is not limited to this. For example, the game medium may avoid contact with an obstacle object.

この場合、記憶部11は、移動可能領域から障害物オブジェクトを中心とした所定範囲の領域を除いた領域を分割した複数の多角形領域を記憶する。これにより、経路に従って移動しているゲーム媒体は、目的位置に到達する前に障害物オブジェクトに接触しないようになる。 In this case, the storage unit 11 stores a plurality of polygonal areas obtained by dividing the movable area excluding a predetermined area around the obstacle object. This ensures that the game medium moving along the path does not come into contact with any obstacle objects before reaching the destination location.

また、障害物オブジェクトの種類に応じて、ゲーム媒体が障害物オブジェクトに接触するか否かが異なるように設定されてもよい。例えば、障害物オブジェクトには、ゲーム媒体と接触することで対戦ゲームが開始される敵ゲーム媒体と、ゲーム媒体と接触することでイベントが開始されるNPC(ノンプレイヤキャラクタ)とが含まれてよい。そして、記憶部11は、移動可能領域からNPCである障害物オブジェクトを中心とした所定範囲の領域を除いた領域を分割した複数の多角形領域を記憶する。これにより、経路に従って移動しているゲーム媒体は、目的位置に到達する前にNPCである障害物オブジェクトに接触せず、敵ゲーム媒体である障害物オブジェクトには接触し得るようになる。そして、プレイヤは、移動指示を入力することによって、NPCとのイベントを省略しつつ敵ゲーム媒体との対戦ゲームを楽しむことができる。また、経路に従って移動しているゲーム媒体は、敵ゲーム媒体である障害物オブジェクトに接触せず、NPCである障害物オブジェクトには接触し得るように設定されてもよい。これにより、プレイヤは、対戦ゲームを省略しつつNPCとのイベントを楽しむことができる。 Further, depending on the type of the obstacle object, whether or not the game medium comes into contact with the obstacle object may be set to differ. For example, the obstacle object may include an enemy game medium whose contact with the game medium starts a competitive game, and an NPC (non-player character) whose event starts when it comes into contact with the game medium. . Then, the storage unit 11 stores a plurality of polygonal areas obtained by dividing the movable area excluding a predetermined area around the obstacle object, which is an NPC. As a result, the game medium moving along the route does not come into contact with obstacle objects that are NPCs before reaching the destination position, but can come into contact with obstacle objects that are enemy game objects. By inputting a movement instruction, the player can enjoy a competitive game against an enemy game medium while omitting events with NPCs. Furthermore, the game medium moving along the route may be set so as not to come into contact with obstacle objects that are enemy game objects, but to be able to come into contact with obstacle objects that are NPCs. Thereby, the player can enjoy the event with the NPC while omitting the competitive game.

(変形例3)
上述した説明では、経路を構成する要素経路のうち、ゲーム媒体の位置と接続する要素経路である第1要素経路の方向と移動指示に含まれる移動方向とがなす角の大きさが所定角度以下であるときに経路が所定条件を満たすと判定したが、これに限られない。所定条件を満たすか否かは、第1要素経路と、プレイヤが入力した移動指示との乖離度が所定値以下であるか否かによって判定されてもよい。
(Modification 3)
In the above explanation, the size of the angle formed by the direction of the first element route, which is the element route connecting to the position of the game medium, and the movement direction included in the movement instruction among the element routes composing the route is less than or equal to a predetermined angle. Although it has been determined that the route satisfies the predetermined condition when , the route is not limited to this. Whether or not the predetermined condition is satisfied may be determined based on whether the degree of deviation between the first element route and the movement instruction input by the player is less than or equal to a predetermined value.

この場合、端末装置1の取得部141は、操作位置と移動方向とに代わり、取得した一連の入力位置を含む移動指示を取得する。端末装置1の判定部143は、第1要素経路を表す線分と、取得した一連の入力位置のそれぞれの座標との距離を算出する。続いて、判定部143は、算出されたそれぞれの距離を平均することで、乖離度を算出する。続いて、判定部143は、乖離度が所定値以下であるか否かを判定することによって、経路が所定条件を満たすか否かを判定する。これにより、ゲーム媒体は、プレイヤが入力した移動指示に含まれる入力位置に沿って最初に移動するようになるため、プレイヤにとってより直感的な操作が実現する。 In this case, the acquisition unit 141 of the terminal device 1 acquires a movement instruction including a series of acquired input positions instead of the operation position and movement direction. The determination unit 143 of the terminal device 1 calculates the distance between the line segment representing the first element route and the coordinates of each of the acquired series of input positions. Subsequently, the determination unit 143 calculates the degree of deviation by averaging each calculated distance. Subsequently, the determining unit 143 determines whether the route satisfies a predetermined condition by determining whether the degree of deviation is less than or equal to a predetermined value. As a result, the game medium first moves along the input position included in the movement instruction input by the player, thereby realizing a more intuitive operation for the player.

なお、乖離度は上述の方法に限らず、任意の方法で算出されてよい。例えば、乖離度は、第1要素経路を表す線分と、取得した一連の入力位置のそれぞれの座標との距離の合計値であってもよい。また、判定部143は、ゲーム媒体の位置と接続する要素経路を表す線分と、取得した一連の入力位置のそれぞれの座標との距離のうち、値が小さい又は大きい所定数の距離を抽出し、それらの平均値又は合計値を乖離度としてもよい。 Note that the degree of deviation may be calculated by any method other than the above method. For example, the degree of deviation may be the total value of the distances between the line segment representing the first element route and the coordinates of each of the acquired series of input positions. Further, the determination unit 143 extracts a predetermined number of distances having a small or large value among the distances between the line segment representing the element route connecting to the position of the game medium and the coordinates of each of the obtained series of input positions. , their average value or total value may be used as the deviation degree.

また、所定条件を満たすか否かは、第1要素経路と、プレイヤが入力した移動指示との一致度が所定値以上であるか否かによって判定されてもよい。一致度は、例えば、第1要素経路に対応するベクトルとプレイヤが入力した移動指示に対応するベクトルとの内積であってよい。第1要素経路に対応するベクトルは、例えば、第1要素経路の2つの端点のうち、ゲーム媒体の位置である一方の端点を始点とし、他方の端点を終点とするベクトルである。プレイヤが入力した移動指示に対応するベクトルは、例えば、移動指示に含まれる入力位置のうち最後に取得された入力位置を終点とし、その直前に取得された入力位置を始点とするベクトルである。移動指示に対応するベクトルは、他の入力位置に基づいて定められるベクトルであってもよい。 Further, whether or not the predetermined condition is satisfied may be determined based on whether the degree of coincidence between the first element route and the movement instruction input by the player is equal to or greater than a predetermined value. The degree of matching may be, for example, the inner product of the vector corresponding to the first element route and the vector corresponding to the movement instruction input by the player. The vector corresponding to the first element route is, for example, a vector whose starting point is one of the two end points of the first element route, which is the position of the game medium, and whose end point is the other end point. The vector corresponding to the movement instruction input by the player is, for example, a vector whose end point is the input position acquired last among the input positions included in the movement instruction and whose start point is the input position acquired immediately before that. The vector corresponding to the movement instruction may be a vector determined based on another input position.

また、判定部143は、算出された経路のうち、経路を構成する第1要素経路と移動指示との乖離度が最も小さい経路、又は、経路を構成する第1要素経路と移動指示との一致度が最も大きい経路のみを所定条件を満たす経路と判定してもよい。 Further, the determining unit 143 determines, among the calculated routes, a route that has the smallest degree of deviation between the first element route constituting the route and the movement instruction, or a route that matches the first element route constituting the route and the movement instruction. Only the route with the highest degree may be determined to be the route that satisfies the predetermined condition.

(変形例4)
上述した説明では、移動指示に含まれる移動方向は、最後に取得した入力位置の、その直前に取得した入力位置に対する方向としたが、これに限られない。例えば、移動方向は、最後に取得した入力位置の、最初に取得した入力位置に対する方向であってもよい。また、移動方向は、取得した一連の入力位置に基づいて算出された直線の方向であってもよい。この場合、算出される直線は、例えば、取得した一連の入力位置の座標との距離(又は、距離の二乗など、距離に基づく値)の合計値が最小となる直線であってよい。
(Modification 4)
In the above description, the movement direction included in the movement instruction is the direction of the input position obtained last with respect to the input position obtained immediately before that, but is not limited to this. For example, the movement direction may be the direction of the last acquired input position relative to the first acquired input position. Further, the movement direction may be a straight line direction calculated based on a series of acquired input positions. In this case, the straight line to be calculated may be, for example, a straight line for which the sum of the distances (or a value based on distance, such as the square of the distance) from the acquired coordinates of the series of input positions is the minimum.

これにより、プレイヤが操作部12に対する接触を終了する直前に操作を誤った場合であっても、プレイヤの意図しない方向にゲーム媒体が移動する可能性を低下させ、プレイヤの意に沿った操作を実現する。 As a result, even if the player makes a mistake in the operation immediately before ending contact with the operation unit 12, the possibility that the game medium will move in a direction not intended by the player is reduced, and the operation can be performed in accordance with the player's intention. Realize.

(変形例5)
上述した説明では、複数の経路が移動方向に関する所定条件を満たすと判定された場合、表示制御部144は、経路コストが最も小さい経路に従ってゲーム媒体が移動するようにゲーム媒体の表示を制御したが、これに限られない。例えば、経路を構成する第1要素経路と移動方向とがなす角の大きさが所定角度以下である経路が複数存在する場合、表示制御部144は、角の大きさが最も小さい経路に従ってゲーム媒体が移動するようにゲーム媒体の表示を制御してよい。
(Modification 5)
In the above description, when it is determined that a plurality of routes satisfy the predetermined condition regarding the movement direction, the display control unit 144 controls the display of the game content so that the game content moves along the route with the smallest route cost. , but not limited to this. For example, if there are multiple routes in which the angle between the first element route constituting the route and the movement direction is less than or equal to a predetermined angle, the display control unit 144 displays the game content according to the route with the smallest angle. The display of the game medium may be controlled so that the game medium moves.

このようにすることで、ゲーム媒体は、移動指示に含まれる移動方向との差が最も小さくなるような経路に従って移動することとなるため、プレイヤにとってより直感的な操作が実現する。 By doing so, the game medium moves along a path that minimizes the difference from the movement direction included in the movement instruction, thereby realizing a more intuitive operation for the player.

(変形例6)
また、判定部143は、経路を構成する第1要素経路の方向と移動指示に含まれる移動方向とがなす角の大きさが所定角度以下であるか否かを判定する際、経路ごとに異なる所定角度を定めてもよい。例えば、判定部143は、経路コストが大きいほど、所定角度が大きくなるように所定角度を定めてもよい。また、判定部143は、ゲーム媒体の位置と経路によって到達する目的位置との仮想空間内における距離が大きいほど、所定角度が大きくなるように所定角度を定めてもよい。また、判定部143は、第1要素経路の長さが長いほど、所定角度が大きくなるように所定角度を定めてもよい。
(Modification 6)
In addition, when determining whether the size of the angle formed by the direction of the first element route constituting the route and the movement direction included in the movement instruction is less than or equal to a predetermined angle, the determination unit 143 A predetermined angle may be determined. For example, the determination unit 143 may determine the predetermined angle such that the larger the route cost, the larger the predetermined angle. Further, the determination unit 143 may determine the predetermined angle such that the larger the distance in the virtual space between the position of the game medium and the target position reached by the route, the larger the predetermined angle becomes. Further, the determination unit 143 may determine the predetermined angle such that the longer the length of the first element path, the larger the predetermined angle.

プレイヤが遠方の目的位置にゲーム媒体を移動させようとする場合、プレイヤにとって最短経路を予測するのが困難となるため、移動指示に含まれる移動方向と第1要素経路の方向とが異なりやすい。上述したように判定部143を構成することで、遠方の目的位置にゲーム媒体を移動させる場合であっても、第1要素経路と移動方向とがなす角の大きさが所定角度以下となりやすくなるため、プレイヤは容易に遠方の目的位置にゲーム媒体を移動させることが可能となる。 When a player attempts to move the game medium to a distant destination position, it is difficult for the player to predict the shortest path, so the movement direction included in the movement instruction is likely to differ from the direction of the first element path. By configuring the determination unit 143 as described above, even when moving the game medium to a distant target position, the size of the angle between the first element path and the movement direction is likely to be less than or equal to the predetermined angle. Therefore, the player can easily move the game medium to a distant target position.

(変形例7)
なお、本発明は、端末装置とサーバ装置との協働によって提供されてもよい。この場合、端末装置1は、通信部を備え、サーバ装置と通信可能に接続される。そして、端末装置1における機能の一部は、サーバ装置によって提供される。例えば、端末装置1の処理部14は、プレイヤによる移動指示に対応する信号を取得し、通信部を介してサーバ装置に送信する。そして、サーバ装置は、受信した移動指示に応じてゲーム媒体が移動するように表示する表示データを生成し、端末装置1に送信する。そして、端末装置1の処理部14は、表示部13を制御して、受信した表示データに基づいてゲーム媒体が移動するように表示する。このようにすることで、端末装置1の処理能力によらず、本発明に係るゲームを提供することができる。
(Modification 7)
Note that the present invention may be provided by cooperation between a terminal device and a server device. In this case, the terminal device 1 includes a communication section and is communicably connected to the server device. Some of the functions of the terminal device 1 are provided by the server device. For example, the processing unit 14 of the terminal device 1 acquires a signal corresponding to a movement instruction from a player, and transmits it to the server device via the communication unit. Then, the server device generates display data for displaying the game content to move according to the received movement instruction, and transmits it to the terminal device 1. The processing unit 14 of the terminal device 1 then controls the display unit 13 to display the game content so as to move based on the received display data. By doing so, the game according to the present invention can be provided regardless of the processing capacity of the terminal device 1.

当業者は、本発明の精神および範囲から外れることなく、様々な変更、置換及び修正をこれに加えることが可能であることを理解されたい。例えば、本発明の精神および範囲において、上述した各部の機能は、適宜に結合又は分割されてよい。また、上述した各部の処理は、異なる順序で行われてもよい。また、上述した実施形態及び変形例は、適宜に組み合わせて実施されてもよい。 It should be understood that those skilled in the art can make various changes, substitutions, and modifications thereto without departing from the spirit and scope of the invention. For example, within the spirit and scope of the present invention, the functions of the above-mentioned parts may be combined or divided as appropriate. Further, the processing of each part described above may be performed in a different order. Furthermore, the embodiments and modifications described above may be implemented in appropriate combinations.

Claims (13)

仮想空間内に位置するゲーム媒体を表示する表示部と、
前記仮想空間における所定位置に関する情報を記憶する記憶部と、
プレイヤによる、移動方向を含む移動指示を取得する取得部と、
前記ゲーム媒体の移動可能領域内に複数のリンクを設定し、設定された複数の前記リンクのうちの一又は複数の前記リンクを、前記仮想空間内の前記ゲーム媒体の位置から前記所定位置への経路として算出する算出部と、
前記移動指示に含まれる前記移動方向と、前記経路を構成し且つ前記リンクに相当する要素経路のうちの前記ゲーム媒体の位置に接続する前記要素経路の方向とに基づいて、前記経路を前記ゲーム媒体の移動経路として判定する判定部と、
前記移動経路に従って前記ゲーム媒体が前記所定位置まで移動するように、前記ゲーム媒体の表示を制御する表示制御部と、
を備える、端末装置。
a display unit that displays game media located in the virtual space;
a storage unit that stores information regarding a predetermined position in the virtual space;
an acquisition unit that acquires movement instructions including a movement direction from the player;
A plurality of links are set within a movable area of the game medium, and one or more of the set links are connected from the position of the game medium in the virtual space to the predetermined position. a calculation unit that calculates a route;
The route is set in the game based on the movement direction included in the movement instruction and the direction of the element route that connects to the position of the game medium among the element routes that constitute the route and correspond to the link. a determination unit that determines the movement path of the medium;
a display control unit that controls display of the game medium so that the game medium moves to the predetermined position along the movement route;
A terminal device comprising:
前記移動経路に従って移動する前記ゲーム媒体が、前記仮想空間内の特定オブジェクトに関する所定範囲内に含まれた場合、前記特定オブジェクトに関する特定ゲームが実行される、請求項1に記載の端末装置。The terminal device according to claim 1, wherein when the game medium moving along the movement path is included within a predetermined range regarding the specific object in the virtual space, a specific game related to the specific object is executed. 前記算出部は、前記移動可能領域内の複数の前記リンクと各前記リンクのパラメータとに基づいて、前記経路を算出する、請求項1又は2に記載の端末装置。 The terminal device according to claim 1 or 2 , wherein the calculation unit calculates the route based on a plurality of the links in the movable area and parameters of each link . 前記リンクの前記パラメータは、前記リンクの長さに所定係数を乗じた値である、請求項に記載の端末装置。 The terminal device according to claim 3 , wherein the parameter of the link is a value obtained by multiplying the length of the link by a predetermined coefficient. 前記算出部は、前記経路を構成する一又は複数の前記リンクの前記パラメータの合計に応じた前記経路を算出する、請求項に記載の端末装置。 The terminal device according to claim 4 , wherein the calculation unit calculates the route according to the sum of the parameters of one or more of the links that constitute the route. 前記所定係数に対応する前記リンクに従って前記ゲーム媒体が移動すると前記プレイヤにとって不利なゲーム効果が生じるような場合、所定値よりも大きい値が前記所定係数として設定され、
前記算出部は、前記経路を構成する一又は複数の前記リンクの前記パラメータの合計が最小の前記経路を算出する、請求項に記載の端末装置。
In a case where moving the game medium according to the link corresponding to the predetermined coefficient causes a disadvantageous game effect to the player, a value larger than a predetermined value is set as the predetermined coefficient;
The terminal device according to claim 5 , wherein the calculation unit calculates the route with the smallest sum of the parameters of one or more of the links that constitute the route.
前記プレイヤにとって不利なゲーム効果は、前記ゲーム媒体のパラメータの減少、前記ゲーム媒体の移動速度の減少、及び前記ゲーム媒体と敵ゲーム媒体との接触、のうちの少なくとも一のゲーム効果である、請求項に記載の端末装置。 The game effect disadvantageous to the player is at least one of a decrease in a parameter of the game medium, a decrease in the movement speed of the game medium, and a contact between the game medium and an enemy game medium. Terminal device according to item 6 . 前記所定係数に対応する前記リンクに従って前記ゲーム媒体が移動すると前記プレイヤにとって有利なゲーム効果が生じるような場合、所定値よりも小さい値が前記所定係数として設定され、
前記算出部は、前記経路を構成する一又は複数の前記リンク前記パラメータの合計が最小の前記経路を算出する、請求項5~7のいずれか一項に記載の端末装置。
If a game effect advantageous to the player occurs when the game medium moves according to the link corresponding to the predetermined coefficient, a value smaller than the predetermined value is set as the predetermined coefficient;
The terminal device according to any one of claims 5 to 7 , wherein the calculation unit calculates the route with the smallest sum of the parameters of one or more of the links constituting the route.
前記プレイヤにとって有利なゲーム効果は、前記ゲーム媒体のパラメータの増加、前記ゲーム媒体の移動速度の増加、及び第1ゲーム媒体の獲得、のうちの少なくとも一のゲーム効果である、請求項に記載の端末装置。 9. The game effect advantageous to the player is at least one of an increase in a parameter of the game medium, an increase in the movement speed of the game medium, and an acquisition of a first game medium. terminal device. 前記リンクの設定において、前記算出部は、前記移動可能領域を複数の多角形領域に分割し、前記複数の多角形領域のそれぞれの頂点間の線分を前記リンクとする、請求項3~9のいずれか一項に記載の端末装置。 In setting the link , the calculation unit divides the movable area into a plurality of polygonal areas, and uses a line segment between vertices of each of the plurality of polygonal areas as the link. The terminal device according to any one of . 前記リンクの設定において、前記算出部は、前記所定位置に対応する点と、前記所定位置を含む前記多角形領域の頂点とを結ぶ線分、及び、前記ゲーム媒体の位置に対応する点と、前記ゲーム媒体の位置を含む前記多角形領域の頂点とを結ぶ線分、を前記リンクとする、請求項10に記載の端末装置。 In setting the link , the calculation unit calculates a line segment connecting a point corresponding to the predetermined position and a vertex of the polygonal area including the predetermined position, and a point corresponding to the position of the game medium; 11. The terminal device according to claim 10 , wherein the link is a line segment connecting vertices of the polygonal area including the position of the game medium. 記憶部と、仮想空間内に位置するゲーム媒体を表示する表示部と、を備える端末装置の制御方法であって、
前記仮想空間における所定位置に関する情報を前記記憶部に記憶し、
プレイヤによる、移動方向を含む移動指示を取得し、
前記ゲーム媒体の移動可能領域内に複数のリンクを設定し、設定された複数の前記リンクのうちの一又は複数の前記リンクを、前記仮想空間内の前記ゲーム媒体の位置から前記所定位置への経路として算出し、
前記移動指示に含まれる前記移動方向と、前記経路を構成し且つ前記リンクに相当する要素経路のうちの前記ゲーム媒体の位置に接続する前記要素経路の方向とに基づいて、前記経路を前記ゲーム媒体の移動経路として判定し、
前記移動経路に従って前記ゲーム媒体が前記所定位置まで移動するように、前記ゲーム媒体の表示を制御する、
ことを含む、制御方法。
A method for controlling a terminal device comprising a storage unit and a display unit displaying game content located in a virtual space, the method comprising:
storing information regarding a predetermined position in the virtual space in the storage unit;
Obtain movement instructions including movement direction from the player,
A plurality of links are set within a movable area of the game medium, and one or more of the set links are connected from the position of the game medium in the virtual space to the predetermined position. Calculate as a route,
The route is set in the game based on the movement direction included in the movement instruction and the direction of the element route that connects to the position of the game medium among the element routes that constitute the route and correspond to the link. Determined as the movement path of the medium,
controlling display of the game medium so that the game medium moves to the predetermined position according to the movement route;
control methods, including
記憶部と、仮想空間内に位置するゲーム媒体を表示する表示部と、を備える端末装置の制御プログラムであって、
前記仮想空間における所定位置に関する情報を前記記憶部に記憶し、
プレイヤによる、移動方向を含む移動指示を取得し、
前記ゲーム媒体の移動可能領域内に複数のリンクを設定し、設定された複数の前記リンクのうちの一又は複数の前記リンクを、前記仮想空間内の前記ゲーム媒体の位置から前記所定位置への経路として算出し、
前記移動指示に含まれる前記移動方向と、前記経路を構成し且つ前記リンクに相当する要素経路のうちの前記ゲーム媒体の位置に接続する前記要素経路の方向とに基づいて、前記経路を前記ゲーム媒体の移動経路として判定し、
前記移動経路に従って前記ゲーム媒体が前記所定位置まで移動するように、前記ゲーム媒体の表示を制御する、
ことを前記端末装置に実行させる、制御プログラム。
A control program for a terminal device comprising a storage unit and a display unit displaying game content located in a virtual space,
storing information regarding a predetermined position in the virtual space in the storage unit;
Obtain movement instructions including movement direction from the player,
A plurality of links are set within a movable area of the game medium, and one or more of the set links are connected from the position of the game medium in the virtual space to the predetermined position. Calculate as a route,
The route is set in the game based on the movement direction included in the movement instruction and the direction of the element route that connects to the position of the game medium among the element routes that constitute the route and correspond to the link. Determined as the movement path of the medium,
controlling display of the game medium so that the game medium moves to the predetermined position according to the movement route;
A control program that causes the terminal device to execute the following.
JP2022180072A 2019-06-18 2022-11-10 Terminal device, control method and control program Active JP7442106B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022180072A JP7442106B2 (en) 2019-06-18 2022-11-10 Terminal device, control method and control program
JP2024017807A JP2024036642A (en) 2019-06-18 2024-02-08 Terminal device, control method and control program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2019112873A JP6898385B2 (en) 2018-10-22 2019-06-18 Terminal device, control method and control program
JP2021097184A JP7177218B2 (en) 2019-06-18 2021-06-10 Terminal device, control method and control program
JP2022180072A JP7442106B2 (en) 2019-06-18 2022-11-10 Terminal device, control method and control program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2021097184A Division JP7177218B2 (en) 2019-06-18 2021-06-10 Terminal device, control method and control program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2024017807A Division JP2024036642A (en) 2019-06-18 2024-02-08 Terminal device, control method and control program

Publications (2)

Publication Number Publication Date
JP2023015259A JP2023015259A (en) 2023-01-31
JP7442106B2 true JP7442106B2 (en) 2024-03-04

Family

ID=77765522

Family Applications (3)

Application Number Title Priority Date Filing Date
JP2021097184A Active JP7177218B2 (en) 2019-06-18 2021-06-10 Terminal device, control method and control program
JP2022180072A Active JP7442106B2 (en) 2019-06-18 2022-11-10 Terminal device, control method and control program
JP2024017807A Pending JP2024036642A (en) 2019-06-18 2024-02-08 Terminal device, control method and control program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2021097184A Active JP7177218B2 (en) 2019-06-18 2021-06-10 Terminal device, control method and control program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2024017807A Pending JP2024036642A (en) 2019-06-18 2024-02-08 Terminal device, control method and control program

Country Status (1)

Country Link
JP (3) JP7177218B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007014457A (en) 2005-07-06 2007-01-25 Sega Corp Video game control program and video game apparatus
JP2009056181A (en) 2007-08-31 2009-03-19 Sega Corp Game machine
JP4262217B2 (en) 2005-04-26 2009-05-13 任天堂株式会社 GAME PROGRAM AND GAME DEVICE
JP2015029520A (en) 2013-07-31 2015-02-16 株式会社 ディー・エヌ・エー Game program and information processing device
JP2016059554A (en) 2014-09-17 2016-04-25 株式会社Pgユニバース Information processing device, information processing method and program
JP2017051493A (en) 2015-09-10 2017-03-16 株式会社バンダイナムコエンターテインメント Program and game system
JP6185123B1 (en) 2016-08-18 2017-08-23 グリー株式会社 Program, control method, and information processing apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4262217B2 (en) 2005-04-26 2009-05-13 任天堂株式会社 GAME PROGRAM AND GAME DEVICE
JP2007014457A (en) 2005-07-06 2007-01-25 Sega Corp Video game control program and video game apparatus
JP2009056181A (en) 2007-08-31 2009-03-19 Sega Corp Game machine
JP2015029520A (en) 2013-07-31 2015-02-16 株式会社 ディー・エヌ・エー Game program and information processing device
JP2016059554A (en) 2014-09-17 2016-04-25 株式会社Pgユニバース Information processing device, information processing method and program
JP2017051493A (en) 2015-09-10 2017-03-16 株式会社バンダイナムコエンターテインメント Program and game system
JP6185123B1 (en) 2016-08-18 2017-08-23 グリー株式会社 Program, control method, and information processing apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
桃太郎電鉄のお助け機能「いけますよ!」の実装に関する考察,ktbdmr 言葉黙, Hatena Blog [online],2016年05月23日,<https://kotodamar.hatenablog.com/entry/2016/05/23/%E6%A1%83%E5%A4%AA%E9%83%8E%E9%9B%BB%E9%89%84%E3%81%AE%E3%81%8A%E5%8A%A9%E3%81%91%E6%A9%9F%E8%83%BD%E3%80%8C%E3%81%84%E3%81%91%E3%81%BE%E3%81%99%E3%82%88%EF%BC%81%E3%80%8D%E3%81%AE%E5%AE%9F%E8%A3%85>,[2023年10月5日検索]

Also Published As

Publication number Publication date
JP7177218B2 (en) 2022-11-22
JP2024036642A (en) 2024-03-15
JP2023015259A (en) 2023-01-31
JP2021142354A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
US10828568B2 (en) Game system, etc. performing path finding of non-player character on the basis of movement history of player
JP4651604B2 (en) Video game processing apparatus and video game processing program
JP5745559B2 (en) Video game processing apparatus and video game processing program
JP4125760B2 (en) Video game processing apparatus, video game processing method, and video game processing program
US7374490B2 (en) Game system using touch panel input
JP4358181B2 (en) GAME PROGRAM AND GAME DEVICE
US8197339B2 (en) Video game processing apparatus, a method and a computer program product for processing a video game
JP5480347B2 (en) Video game processing apparatus and video game processing program
JP4137140B2 (en) Video game processing apparatus and video game processing program
JP2017051493A (en) Program and game system
US20140080599A1 (en) Information storage medium, game device, and server
JP6898385B2 (en) Terminal device, control method and control program
JP6545345B1 (en) Terminal device, control method and control program
JP7442106B2 (en) Terminal device, control method and control program
JP5325248B2 (en) Video game processing apparatus and video game processing program
JP6166191B2 (en) Video game processing apparatus and video game processing program
JP6807732B2 (en) Programs, game control methods, and information processing equipment
JP5977878B1 (en) Program, game control method, and information processing apparatus
JP2022017478A (en) Program, game control method and information processor
JP6731267B2 (en) Program, control method, and information processing device
JP5906350B1 (en) Program, game control method, and information processing apparatus
JP6695179B2 (en) program
US20230018553A1 (en) Processing Apparatus, Program, And Method
JP2017159149A (en) Video game processing device, and video game processing program
JP5945355B1 (en) Program, control method, and information processing apparatus

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221207

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231017

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231218

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240208

R150 Certificate of patent or registration of utility model

Ref document number: 7442106

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150