Terminal device, control method, and control program
The terminal device addresses unintuitive target position specification in virtual space games by calculating and guiding character movement within virtual space games, ensuring alignment with player input, thus providing intuitive control and assisting navigation to target positions.
Patent Information
- Application Number
- JP2025016789
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-02-04
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2038-10-22
AI Technical Summary
Existing movement control methods in virtual space games require players to specify target positions, which can be unintuitive and difficult when the destination is unknown or only generally known, leading to challenges in accurately controlling characters.
A terminal device that displays a game medium in a virtual space, calculates paths based on player input, and controls the medium's movement to a target position while ensuring the direction aligns within predetermined conditions, providing intuitive control even when the exact location is unknown.
Enables players to control characters intuitively and assist in navigating to target positions, even in uncertain conditions, by automatically guiding the character along calculated paths that meet direction criteria, enhancing gameplay experience.
Smart Images

Figure 0007957364000001 
Figure 0007957364000002 
Figure 0007957364000003
Abstract
Description
Technical Field
[0001] The present invention relates to a terminal device, a control method, and a control program.
Background Art
[0002] Conventionally, games in which a player operates a character located in a virtual space have become widespread. In such games, the character is controlled by the player's operation of specifying a moving direction to move within the virtual space. Then, the player battles against enemy characters encountered by the character or clears generated events to progress the game.
[0003] In such games, the player operates the character to a predetermined target position to encounter an enemy character or trigger an event. Then, visiting the target positions in a predetermined order progresses the game. As a method of supporting the player's operation of the character Patent Document 1 describes a movement control method for automatically moving a character to a target position specified by the player.
Prior Art Documents
Patent Documents
[0004]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0005] In the movement control method described in Patent Document 1, the player specifies a target position to move the character to the target position. However, the operation of specifying the target position is different from the operation of specifying the moving direction Compared to the operation of moving a character by specifying a position, this is a more intuitive operation for the player. It was difficult to say. Also, in the movement control method described in Patent Document 1, the player moves to the target position. In order to specify it, it was necessary to know the target location in advance. However, the player This applies to situations where you have never visited the destination location, or where you only know the general direction of the destination location, but not the exact location. In some cases, the location was not known, or there was a lack of accurate knowledge about the target location. In such cases, the player cannot specify the target position, as described in Patent Document 1. The movement control method was unable to assist the player in controlling the character.
[0006] This invention was made to solve the above-mentioned problems and is intuitive for the player. The purpose of these controls is to assist the player in controlling the character. [Means for solving the problem]
[0007] To solve the above-mentioned problems, the terminal device according to the present invention provides a game located in a virtual space. A display unit that displays a medium, and a storage unit that stores information about a predetermined location in a virtual space. The system includes an acquisition unit that obtains movement instructions, including the direction of movement, from the player, and a game medium within a virtual space. A calculation unit calculates the path from the body's position to a predetermined position, and the calculated path relates to the direction of movement. A determination unit that determines whether or not predetermined conditions are met, and when it is determined that the route meets the predetermined conditions The display of the game medium is controlled so that the game medium moves to a predetermined position according to the path. It comprises a display control unit and
[0008] Furthermore, in the terminal device according to the present invention, the route is composed of multiple elemental routes, The predetermined condition is that the magnitude of the angle formed between the movement direction and the direction of the element path connected to the position of the game medium is equal to or less than a predetermined angle.
[0009] Further, in the terminal device according to the present invention, the movement instruction includes information related to an operation position, and the calculation unit preferably does not calculate the route when the information related to the operation position is within a predetermined range.
[0010] Further, in the terminal device according to the present invention, the display control unit, when it is determined that the route does not satisfy the predetermined condition, controls the display of the game medium such that the game medium moves in the movement direction.
[0011] Further, in the terminal device according to the present invention, the display control unit, when it is determined that the route satisfies the predetermined condition, preferably displays at least a part of the route in the virtual space.
[0012] Further, in the terminal device according to the present invention, the display control unit, when the game medium moving along the route stops before reaching a predetermined position, preferably displays, on the display unit, information prompting the player to input a movement instruction.
[0013] Further, the terminal device according to the present invention includes an operation unit that detects contact by the player, and the acquisition unit acquires, at predetermined time intervals, a contact position where the player is in contact with the operation unit, and the movement direction is a direction of the contact position most recently acquired by the acquisition unit, with reference to the contact position acquired immediately before that.
[0014] Further, in the terminal device according to the present invention, the calculation unit preferably calculates a plurality of routes from the position of the game medium and parameters related to each of the plurality of routes.
[0015] Furthermore, in the terminal device according to the present invention, the display control unit is configured such that when a plurality of routes satisfy a predetermined condition is determined, among the routes determined to satisfy the predetermined condition, the one with the smallest parameter it is preferable that the display of the game medium is controlled such that the game medium moves along the route Yes.
[0016] Furthermore, in the terminal device according to the present invention, the calculation unit is configured to calculate a route to a predetermined position that has a predetermined relationship with the position of the game medium It is preferable to calculate a route to a predetermined position that is a relationship.
[0017] In order to solve the above-described problems, a control method according to the present invention includes a storage unit and a storage unit that stores a position in a virtual space A control method for a terminal device, comprising: a display unit that displays a game medium to be placed; stores information about a predetermined position in the storage unit, and stores the movement direction and movement direction by the player obtains an instruction to move, calculates a route from the position of the game medium in the virtual space to a predetermined position, and calculates the route It is determined whether the route satisfies a predetermined condition regarding the direction of movement, and the route satisfies the predetermined condition If it is determined that the game medium moves to a predetermined position along the route, including controlling the display.
[0018] In order to solve the above-mentioned problems, a control program according to the present invention includes a storage unit and a virtual space A control program for a terminal device, comprising: a display unit that displays a game medium located within the terminal device; stores information about a predetermined position in the virtual space in the storage unit, and obtains a movement instruction including the direction of movement, and calculates a route from the position of the game medium in the virtual space to a predetermined position and determines whether the calculated route satisfies a predetermined condition regarding the moving direction, and the route satisfies the predetermined condition. If the conditions are met, the game medium will move to the designated location according to the path. The terminal device is made to perform actions that include controlling the display of the game medium. [Effects of the Invention]
[0019] The terminal device, control method, and control program according to the present invention provide intuitive control for the player. This allows for assistance in controlling the character by the player. [Brief explanation of the drawing]
[0020] [Figure 1] This is a schematic diagram illustrating the general outline of the game provided by the terminal device. [Figure 2] This is a schematic diagram illustrating the general outline of the game provided by the terminal device. [Figure 3] This figure shows an example of the schematic configuration of terminal device 1. [Figure 4] (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. [Figure 5] (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. [Figure 6] (a) is a schematic diagram of the terminal device 1 viewed from the side with the operating section 12 facing upwards, and (b) is a schematic diagram of the terminal device 1 viewed from above with the operating section 12 facing upwards. [Figure 7] This is a schematic diagram showing the terminal device 1 as viewed from above, with the operating section 12 facing upwards. [Figure 8](a) is a diagram showing an example of the process by which the terminal device 1 divides the movable area 413, and (b) is a diagram showing an example of the process by which the terminal device 1 generates a path calculation graph and calculates a path from the position of the game medium 411 to the target position in the path calculation graph. [Figure 9] This diagram shows the calculated path and direction of movement displayed on the field screen 910. [Figure 10] (a) is a diagram showing an example of the data structure of the region table 1010, and (b) is a diagram showing an example of the data structure of the target location table 1020. [Figure 11] This is a flowchart showing an example of the movement process in terminal device 1. [Figure 12] This is a flowchart showing an example of the process for acquiring movement instructions in terminal device 1. [Figure 13] This is a flowchart showing an example of the route calculation process in terminal device 1. [Modes for carrying out the invention]
[0021] Various embodiments of the present invention will be described below with reference to the drawings. However, the present invention The technical scope is not limited to those embodiments, but extends to the invention and the claims described therein. Please note that this applies to equal objects.
[0022] (Summary of this embodiment) Figures 1 and 2 are diagrams illustrating the outline of the game provided by the terminal device. This is a diagram.
[0023] First, let's explain Figure 1. The terminal device displays the game medium located in the virtual space. , it stores information about the target location in the virtual space (Figure 1(1)). Figure 1(1) In the example shown, the game medium is the character controlled by the player. This refers to the electricity used in various games or services provided by game devices. This is child data, which may be, for example, a card or an avatar.
[0024] The game medium may be an item, points, virtual currency, a ticket, or a parameter. Furthermore, the game medium includes level information, status information, and parameter information (health and attack). This may be information about strength, etc., or ability information (skills, abilities, spells, jobs, etc.). These can be acquired, owned, used, managed, exchanged, synthesized, enhanced, and sold within the game by the player. It may be any electronic data that can be discarded and / or donated. Also, the use of game media. The embodiments are not limited to those explicitly stated herein.
[0025] The target location is the virtual space position that the player should reach by manipulating the game medium. The target location is, for example, the location of the enemy game medium or the location where an event occurs. The target location is the parameter change location for changing the parameters of the game medium, virtual space Objects such as branching points in passageways within the space, and monuments placed within the virtual space. The installation location may also be any other location. Furthermore, the target location is a location that the game medium can reach within the virtual space. It may be any possible position. The target position can be set arbitrarily by the player. Good. Also, objective locations are added or removed depending on the game's progress. You may do so.
[0026] When the game medium reaches the target location, the player engages in a battle against the enemy game medium. You can proceed with the game and other events. In the example shown in Figure 1 (1), Although the target location is displayed, the terminal device does not need to display the target location. The location shown is just one example of a predetermined location.
[0027] Next, the terminal device acquires movement instructions, including the direction of movement, from the player (Figure 1). 2)) A movement instruction is an instruction to automatically move the game medium to the target position. Furthermore, the direction of movement is input by the player, and the game medium is in order to reach the target position. This is the initial direction to move. In other words, movement instructions, including the direction of movement, are given within the virtual space. This is an instruction to move the game medium to the target position. (See Figure 1(2)) In the example, movement instructions, including the direction of movement, are given when the player touches the control panel, which is a touch panel. The data is acquired by the terminal device by performing an operation that changes the contact position.
[0028] Next, let's explain Figure 2. The terminal device is located in the virtual space and is intended to be used for the game medium. The path to the location is calculated (Figure 2(3)). The path is the path the game medium takes to reach the target location. It is any possible path. For example, the path can be the shortest path.
[0029] Next, the terminal device determines whether the calculated path satisfies predetermined conditions regarding the direction of movement. If the path is determined to satisfy the predetermined conditions, the game medium will move to the target location according to the path. The display of the game medium is controlled to move (Figure 2(4)). For example, the predetermined conditions are The direction in which the game medium initially moves according to the calculated path, and the movement included in the movement instruction. The angle formed with the direction is less than or equal to a predetermined angle.
[0030] As explained above with reference to Figures 1 and 2, the terminal device is located in a virtual space. It displays the game medium and stores information about the target location in the virtual space. The device receives movement instructions, including the direction of movement, from the player. The terminal device also operates in a virtual space. The system calculates the path from the location of the game medium within the interval to the target location. The terminal device also calculates the path. The system determines whether the chosen path satisfies predetermined conditions regarding the direction of movement, and if the path satisfies the predetermined conditions, If determined, the game medium will move to the target location according to the path. Controls the display. This prevents the terminal device from knowing the player's target location accurately. Even in such cases, intuitive controls allow the player to automatically move the game medium to the target position. This enables players to control the game medium and assists them in their operation.
[0031] The above explanation of Figures 1 and 2 is merely to deepen understanding of the present invention. The present invention is specifically implemented in the embodiments described below, and the present invention It may be implemented in various modifications without substantially exceeding the principles of clarity. All modifications are included within the scope of the present invention and the disclosure herein.
[0032] (Configuration of terminal device 1) Figure 3 shows an example of the schematic configuration of terminal device 1.
[0033] Terminal device 1 may be a communication terminal such as a multi-function mobile phone (a so-called "smartphone"). Terminal device 1 is a mobile phone (so-called "smartphone"), a personal information terminal (PersonalA) (Digital Assistant, PDA), tablet device or tablet P It may be a C (Personal Computer), etc. Terminal device 1 is a portable game This could be a device, portable music player, or laptop computer, etc.
[0034] Terminal device 1 provides a game that progresses through the player's control of a character. Therefore, the terminal device 1 comprises a storage unit 11, an operation unit 12, a display unit 13, and a processing unit 1 It is equipped with 4 and .
[0035] The memory unit 11 includes, for example, ROM (Read Only Memory) and RAM (Ra). It is equipped with semiconductor memory devices such as (ndom access memory). The storage unit 11 is , operating system program used for processing in processing unit 14, driver program It stores Grams, application programs, and data, etc. These are stored in the storage unit 11. The driver program includes an input device driver program that controls the operation unit 12, and This is an output device driver program, etc., that controls the display unit 13. It is stored in the storage unit 11. The application programs are control programs that manage the progress of the game, etc. The data stored in memory unit 11 is various data used during game execution (for example) This includes information related to the game medium, etc. Furthermore, the memory unit 11 stores data related to predetermined processing. You may temporarily store it.
[0036] The operation unit 12 is a pointing device such as a touch panel. Input keys may also be used. The player uses the control unit 12 to input letters, numbers and symbols, or The player can input the position on the display screen of the display unit 13. The operation unit 12 is for the player When operated by, it generates a signal corresponding to that operation. The generated signal is then used by It is supplied to the processing unit 14 as a layer instruction.
[0037] The display unit 13 is a liquid crystal display. The display unit 13 is an organic EL (electroluminescent) display. A ro-Luminescence) display or the like may also be used. The display unit 13 is the processing unit 14 It displays video based on the video data supplied, and images based on the image data.
[0038] The processing unit 14 is one or more processors that operate according to a computer program, each One or more dedicated hardware circuits that perform at least some of the processing types, These can be configured as circuits, including combinations thereof. Unit 14 comprehensively controls the overall operation of terminal device 1, for example, the CPU ( The processing unit 14 is the Central Processing Unit. The programs stored in and the inputs in response to the operation of the control unit 12 by the player Based on type instructions, various information processing procedures are executed in appropriate steps to control the operation of the display unit 13. The processing unit 14 processes the operating system program stored in the storage unit 11. It performs various information processing based on the driver program and application program. Furthermore, the processing unit 14 can execute multiple programs in parallel.
[0039] (Explanation of various screens) The following are examples of various screens displayed on the display unit 13 of the terminal device 1, referring to Figures 4 and 5. I will explain this.
[0040] Figure 4(a) shows an example of a field screen 410 displayed on the display unit 13 of the terminal device 1. This is a diagram. The field screen 410 shows the player controlling the game medium located in the virtual space. This is the screen used to create and advance the game. In the example shown in Figure 4(a), the field drawing Surface 410 provides a 3D virtual space at a predetermined viewpoint position and predetermined line of sight direction within the virtual space. Includes an image of a two-dimensional screen surface when projected onto a predetermined two-dimensional screen surface. Example For example, a given viewpoint position is near the game medium. Also, for example, a given line of sight direction is This is the orientation of the game medium's position relative to a predetermined viewpoint.
[0041] Field screen 410 shows that terminal device 1, in the main menu screen (not shown), This may be displayed when a game start command is received from a layer. The main menu screen is: The player operates the control unit 12 to run the application program for the game. When Gram is launched, it may be displayed following a predetermined title screen or similar.
[0042] The field screen 410 includes the game medium 411, the target position 412a, and the target position 412 b, movable area 413, operation instruction object 414, menu screen display instruction object Includes object 415 and, hereafter, target position 412a and target position 412b This is sometimes also referred to as the target position 412.
[0043] Game medium 411 is a game medium located in a virtual space and operated by the player. The player operates the game medium 411 via the control unit 12 to advance the game. ru.
[0044] The target location 412 is in the virtual space that the player should reach by operating the game medium. Represents a position. In the example shown in Figure 4(a), the target position 412 is determined by a predetermined object. The player can see its location. The target location 412 is where the player It doesn't need to be displayed in a way that makes it visible. This allows for more realistic 3D games and other applications. In games that include realistic depictions, while maintaining user controllability, the aim is to portray situations that are close to reality. This can improve the game. Also, the target position 412 is determined according to the player's game progress. Whether or not it is displayed may be changed. For example, the target position 412 is determined by a predetermined event. It doesn't need to be displayed until it occurs. This allows the player to determine the target location 412. Because it becomes impossible to predict the content of the event based on the target location 412, This prevents you from doing certain things, allowing you to enjoy the game more.
[0045] For example, the target position 412 may be the position where the enemy game medium is placed. In this case, When the game medium 411 reaches the target position 412, a battle game against an enemy game medium (not shown) begins. A screen will appear, and the player can play a game against an opponent. Also, for example, the target location 412 is the location set as the location where the event occurred. Good. In this case, when the game medium 411 reaches the target position 412, an event (not shown) occurs. The screen will appear, and the player will be able to view the scenario corresponding to the event.
[0046] Furthermore, the target position 412 may be any position in the virtual space. For example, target position 4 12 may be a branching point of a passage in the virtual space. This allows the game medium 4 Since route 11 will stop at the fork in the path, the player must choose which branch to take. Players can make their own decisions and experience the feeling that they are progressing through the game based on their own choices. It is possible.
[0047] The movable area 413 allows the game medium 411 to move within the virtual space. This is a region. The movable region 413 changes shape depending on the player's game progress. It may be configured to enable movement in response to a specific event. For example, it may be configured to enable movement in response to a specific event. The operating area 413 expands, allowing the game medium 411 to reach a new target position 412. It can be set. This allows players to proceed with the game in the correct order. It becomes u.
[0048] The operation instruction object 414 is a manual control for the player to operate the game medium 411. This is an object for inputting operation instructions. The player operates the control unit 12 and inputs operation instructions. When an input is made with the input position within the display area of object 414, terminal device 1 will input The manual operation instruction is obtained, which includes the direction of operation based on the position. In terminal device 1, the game medium 411 moves in the direction of operation on the field screen 410. This controls the display of the game medium 411. The direction corresponding to the input position is the input position. This is the direction relative to the center of the display area of the operation instruction object 414. The player controls the operation instruction The indicated object 414 allows the game medium 411 to be operated manually.
[0049] In the following steps, the player operates the control unit 12 and inputs within the display area of the object. The act of inputting a placement is sometimes referred to as the player selecting an object.
[0050] The menu screen display instruction object 415 is a menu for displaying the menu screen. This is an object that the player uses to input on-screen display instructions. When display instruction object 415 is selected, terminal device 1 displays a menu screen. The terminal device 1 that obtained the menu screen display instruction is shown in Figure Display a menu screen that is not shown. The menu screen is used by the player to progress through the game. Useful information is displayed. For example, the menu screen displays information about game media 411, game Information regarding the position of the media 411, information regarding the target position, and information regarding the movable area 413 This displays information, including details about the game's progress.
[0051] Figure 4(b) shows an example of a field screen 420 displayed on the display unit 13 of the terminal device 1. This is a diagram showing that in the field screen 410, terminal device 1 moves This screen is displayed when a movement instruction including the direction of movement is received. The same reference numeral is used for each component, and the explanation is omitted. Furthermore, movement instructions including the direction of movement are also used. For example, when the player touches the control unit 12, which is a touch panel, and changes the position of that contact... The movement instruction, including the direction of movement, is acquired by terminal device 1 by performing the operation. Further details will be provided later.
[0052] The field screen 420 includes the movement instruction acquisition effect 421. The movement instruction acquisition effect 421 is This is a display effect indicating that the movement instruction entered by the player has been acquired by terminal device 1. The movement instruction acquisition effect 421 may display the direction of movement included in the movement instruction. Figure 4(b In the example shown, the movement instruction acquisition effect 421 displays the direction of movement using an arrow. This allows the player to confirm whether or not the input movement instruction has been received by terminal device 1. It can be bitten. Also, the player can determine if the input movement instruction includes any direction of movement. This allows you to verify whether or not the game medium is affected by the player's actions. It is possible to recognize early on that 411 is moving to a target location unintended by the player. Cut.
[0053] Furthermore, the movement instruction acquisition effect 421 is a display effect that disappears after a predetermined time has elapsed. Good. This reduces the visibility of the field screen 420 due to the movement instruction acquisition effect 421. It can prevent diarrhea.
[0054] Figure 5(a) shows an example of a field screen 510 displayed on the display unit 13 of the terminal device 1. This is a diagram. The field screen 510 shows that terminal device 1 is following the path and the game medium 411 is This is displayed when the display of the game medium 411 is being controlled to move to the target position 412. This is the screen that appears.
[0055] When a movement instruction including the direction of movement is entered on the field screen 420, the terminal device 1 Next, the path from the location of the game medium 411 to the target location 412 is calculated. Then, terminal device 1 This determines whether the calculated path satisfies predetermined conditions regarding the direction of movement. Subsequently, If it is determined that the path meets the predetermined conditions, terminal device 1 will access the game medium 411 according to the path. The display on the game medium 411 is controlled so that it moves to the target position 412. Terminal device 1 Details of the process for calculating the route and the process for determining whether or not predetermined conditions are met will be described later. In the example shown in Figure 5(a), it is determined that the path to the target position 412a satisfies the predetermined conditions. It is.
[0056] The field screen 510 includes a route display effect 511. The route display effect 511 is a predetermined rule This is a display effect that shows at least a portion of the routes determined to satisfy the conditions in a virtual space. The path display effect 511 occurs when the game medium 411 is moving to the target position according to the path. This is displayed. This allows the player to see that the game medium 411 is moving towards the target position. It can be confirmed that it is present. Also, the player can see what kind of game medium 411 is This allows you to verify whether you are moving along a designated path.
[0057] Furthermore, the route display effect 511 shows the route from the current position of the game medium 411 to the target position. Only the points leading to the location may be displayed in the virtual space. This allows the route display effect 511 to This prevents a decrease in the visibility of the field screen 420.
[0058] Furthermore, even if the game medium 411 is moving along the route, the terminal device 1 will Manual operation instructions, including the direction of operation, can be obtained. In this case, terminal device 1 will receive instructions on the route. Therefore, control over the display of the game medium 411 to allow it to move is interrupted. Next, terminal device 1 moves the game medium 411 in the direction of operation on the field screen 510. Control the display of the game medium 411 so that it moves.
[0059] Furthermore, even if the game medium 411 is moving along the path, the terminal device 1 will A new movement instruction including the direction of movement can be obtained. In this case, terminal device 1 moves From the position of the game medium 411 at the time the instruction is input to each of the target positions 412 The corresponding path is calculated. Subsequently, a movement instruction is entered on field screen 420. The same process as in the previous case is performed. This allows the player to move the game medium 411 to the target position 412 If you want to move the game medium 411 to another destination location 412 while it is moving to location 412 Furthermore, the game medium 411 can be moved to another target location 412 with simple operation.
[0060] Figure 5(b) shows an example of a field screen 520 displayed on the display unit 13 of the terminal device 1. This is a diagram showing the movement according to the path in the field screen 510. If the moving game medium 411 comes into contact with an obstacle object before reaching the target position 412 This is the screen that appears when this happens. Also, due to the relocation of game media 411, The world screen 520 is in the vicinity of the game medium 411, and is different from the field screen 510. Includes an image projecting a 3D virtual space at the viewpoint position. Obstacle objects are, for example, , an enemy game medium. Game medium 411, which is moving along the path, is at the target position 412. If the terminal device 1 comes into contact with an obstacle object before reaching its destination, the game medium 411 will stop. The display on the game medium 411 is controlled to stop it. Contact with an object occurs when the game medium 411 is within a predetermined range from an obstacle object. This includes cases where it is included.
[0061] The field screen 520 shows obstacle objects 521 and movement instruction input instruction effect 522 This includes the obstacle object 521 which the game medium 411 can pass through and move. This object is configured not to be accessible. Note that obstacle object 521 is a terminal. The device may move within the virtual space under the control of device 1. The movement instruction input instruction effect 522 is This is information prompting the input of a move command for the layer. In the example shown in Figure 5(b), the move command input instruction Effect 522 involves using the arrow and finger to make contact with the operation unit 12, which is a touch panel, and the contact position Information prompting the player to change the position is displayed. This allows the player to Furthermore, it becomes clear that the operation unit 12 must be operated.
[0062] Furthermore, before the game medium 411, which is moving along the path, reaches its target location, the enemy game If the player comes into contact with the obstacle object 521, which is the medium, a game against the enemy game medium will begin. The game may begin. The versus game screen (not shown) is displayed on the display unit 13 of terminal device 1. It may proceed by being shown, or it may proceed on the field screen 520. i. In this case, after the versus game ends, terminal device 1 will stop the game medium 411. This controls the display of the game medium 411.
[0063] Furthermore, the movement instruction input instruction effect 522 moves just before the game medium 411 stops. The display effect may be one that prompts input of movement instructions that include the direction along the path as the direction of movement. Then, the movement instruction input instruction effect 522 was the movement that the game medium 411 was moving just before it stopped. The display effect may include an arrow pointing in the direction of the road. This allows the player to understand the game medium. The direction of movement that allows the body 411 to reach the desired target position can be recognized. Furthermore, if the game medium 411 stops at a location not on the path, the movement instruction input instruction effect 52 The direction indicated by 2 may also be the direction in which the game medium 411 returns to its position on the path. A case in which the game medium 411 stops at a location not on the path is, for example, when the game medium 411 is obstructed. The game or event started due to contact with harmful object 521, etc. This occurs when the game medium 411 moves from its position along the path.
[0064] (Explanation of the process by which the terminal device acquires movement instructions) In the following section, referring to Figures 6 and 7, terminal device 1 acquires movement instructions from the player. Let me explain the process.
[0065] Figure 6(a) is a schematic diagram of the terminal device 1 viewed from the side with the operating section 12 facing upwards. (b) is a schematic diagram of the terminal device 1 as viewed from above, with the operating section 12 facing upwards. Now, using Figures 6(a) and 6(b), let's consider the case where the operation unit 12 is a touch panel. Next, we will explain an example of the process by which terminal device 1 acquires movement instructions from the player.
[0066] First, terminal device 1 detects whether the operation unit 12 has made contact with the player's operation unit 12. Determine whether or not. In the example shown in Figure 6(a), the player is at position 611a of the control unit 12. They are in contact. Therefore, terminal device 1 has an operation unit 12 that is in contact with the player's operation unit 12. It is determined that contact has been detected.
[0067] Next, if the control unit 12 determines that contact has been detected, the terminal device 1 will control the player The contact position in contact with the workpiece 12 is set as the input position at predetermined time intervals (for example, 1 / 30 second). To obtain. In the example shown in Figure 6(a), the player moves from position 611a to position 611d. The contact position is changed. And terminal device 1 responds to the player changing the contact position. During the process, positions 611a, 611b, 611c, and 611d are contacted for a predetermined time. The input position is obtained as an interval.
[0068] Next, terminal device 1 detects when the operation unit 12 has finished making contact with the player's operation unit 12. Determine whether or not it was played. In the example shown in Figure 6(a), the player is at position 6 of the control unit 12. After making contact with 11d, the contact is terminated. Therefore, terminal device 1 is at position 611d After acquiring the input position, the operation unit 12 detects the end of contact with the player's operation unit 12. It is determined that it has been detected.
[0069] Next, terminal device 1 compares the last acquired input position with the input position acquired immediately before it. It determines whether or not they are more than a predetermined distance apart. In the example shown in Figure 6(b), terminal device 1 is the closest The input position acquired later is position 611d. Terminal device 1 also acquires position 611d. The input position acquired immediately before is position 611c. Therefore, terminal device 1 is at position It is determined whether 611d and position 611c are separated by a predetermined distance or more. Based on the position coordinates of the operating unit 12 at position 11d and the position coordinates of the operating unit 12 at position 611c It may be carried out accordingly.
[0070] Next, the last input position obtained and the input position obtained immediately before it are separated by a predetermined distance or more. If it is determined that the device is in operation, terminal device 1 acquires an operation instruction. The operation instruction is first acquired The position coordinates of the input position obtained at the operation unit 12 are included as the coordinates of the operation position. The instruction is to move the direction of the last acquired input position relative to the input position acquired immediately before it. This includes the direction of movement. In the example shown in Figure 6(b), the coordinates of the operating position are the operation of position 611a. These are the position coordinates in section 12. The direction of movement is based on position 611c of position 611d. This is the direction. Note that the coordinates of the operating position are just one example of information regarding the operating position.
[0071] Furthermore, if the last acquired input position and the input position acquired immediately before it are separated by a predetermined distance or more If it is determined that the device is not playing, terminal device 1 will not acquire the operation instruction. When the speed at which the position of contact changes is large, the game medium 411 moves to the target position. Because movement will be automatic, intuitive controls will be possible for the player. The player inputs different game controls depending on the speed at which the contact position changes. This becomes possible. And terminal device 1 can provide a variety of game operations. .
[0072] Next, terminal device 1, upon receiving an operation instruction from the player, responds to the operation instruction. Determine whether the coordinates of the included operating positions are within a predetermined range.
[0073] Figure 7 is a schematic diagram of the terminal device 1 as viewed from above, with the operating section 12 facing upwards. Now, using Figure 7, if the coordinates of the operation position included in the operation instruction of terminal device 1 are within a predetermined range The process for determining whether or not to do so will be explained. In the example shown in Figure 7, the operation unit 12 is rectangular. This consists of an upper region 711a, which is above the two diagonals, and a lower region, which is below the two diagonals. It is divided into 711b and the lateral region 711c which is not included in the upper region 711a and the lower region 711b. It is divided.
[0074] Terminal device 1 checks whether the coordinates of the operation position included in the operation instruction are included in the lateral region 711c. This determines whether the operation position coordinates of terminal device 1 are above one of the diagonals of the operation unit 12. The coordinates of the operating position are determined by determining whether it is located to the side and below the other one. It is determined whether the coordinates of the operation position are included in the lateral region 711c. If it is determined that it is not included, terminal device 1 determines that the operation instruction is a movement instruction. That is, terminal device 1 provides operation instructions as movement instructions including the coordinates of the operation position and the direction of movement. Acquire. If it is determined that the coordinates of the operation position are included in the lateral region 711c, the terminal device 1 The operation instruction is not acquired as a movement instruction. Note that the coordinates of the operation position are in the lateral region 711c. Being included is an example of the coordinates of the operating position being within a predetermined range.
[0075] In this way, the player will be able to perform different actions depending on the coordinates of the operation position included in the movement instruction. The terminal device 1 can input various game controls and provides diverse game controls. This becomes possible. However, if it is determined that the coordinates of the operating position are not included in the lateral region 711c, The terminal device 1 may acquire the operation instruction as a viewpoint movement instruction. The terminal device 1 adjusts the viewpoint position and line of sight direction according to the direction of movement included in the movement instruction. The display of the field screen will be changed so that either one of them moves.
[0076] (Explanation of the process by which the terminal device calculates the route) In the following section, referring to Figure 8, terminal device 1 moves from the position of the game medium in the virtual space to the target position. This section explains the process of calculating the route to [destination].
[0077] First, terminal device 1, upon receiving a movement instruction from the player, will perform the following actions as described below. Next, the system calculates the path from the location of the game medium in the virtual space to the target location.
[0078] Figure 8(a) is a diagram showing an example of the process by which terminal device 1 divides the movable area 413. Furthermore, Figure 8(b) shows that terminal device 1 generates a route calculation graph, and the route calculation graph The diagram shows an example of the process for calculating the path from the position of the game medium 411 to the target position. That is the case.
[0079] The terminal device 1, having received the movement instruction, divides the movable area 413 into multiple polygonal regions. Of these, the polygonal region including the position of the game medium 411 is identified. In the example shown in Figure 8(a), Terminal device 1 divides the movable region 413 from polygonal region 413a to polygonal region 413 Of the elements e, polygonal region 413a is identified as a polygonal region containing the position of the game medium. ru.
[0080] The multiple polygonal regions obtained by dividing the movable region 413 are pre-recorded in the storage unit 11. Even if it is not remembered, if it is determined that the coordinates of the operating position included in the movement instruction are within a predetermined range The terminal device 1 may calculate accordingly. For example, the terminal device 1 may calculate Delaunay Using known algorithms such as the (Delaunay) algorithm, moveable region 4 You may calculate multiple polygonal regions by dividing 13 into parts.
[0081] Next, terminal device 1 determines the relationship between the target position 412 and the position of the game medium 411. Extract the target position 412 which has a fixed relationship. For example, the relationship with the position of the game medium 411 is A fixed relationship is defined as the distance in virtual space from the position of the game medium 411 being less than or equal to a predetermined distance. This is the case. In the example shown in Figure 8(a), the target position 412a and the target position 412b are The target position 412, which has a predetermined relationship with the position of the game medium 411, was extracted. Let's assume that.
[0082] Next, terminal device 1 identifies polygonal regions that include each of the extracted target locations 412. In the example shown in Figure 8(a), the polygonal region 413b is a polygon that includes the target position 412a. It is identified as a region. Furthermore, the polygonal region 413c is a polygon that includes the target position 412b. It has been identified as a morphological region.
[0083] Next, terminal device 1 has multiple nodes and at least one connecting the multiple nodes Generates a path calculation graph that includes links. The nodes in the path calculation graph are game media. This includes the position of the current location, the target location, and the vertices of multiple polygonal regions. In the example shown in Figure 8(b), the path The nodes of the calculation graph are the 822 vertices of the polygonal region 413a~413e and the game medium 4 Node 823 corresponding to position 11, and node 823 corresponding to target position 412a and target position 412b It includes nodes 824a and 824b. Also, a link to the route calculation graph. This includes the sides of multiple polygonal regions and the vertices of a polygonal region that include the position of the game medium or the target position. Includes a straight line connecting the node corresponding to the position of the game medium or the target position. As shown in Figure 8(b). In this example, the link for the path calculation graph is the sides of the polygonal region 413a~413e and the game The vertices of the polygonal region 413a that include the position of the medium 411, and the positions corresponding to the game medium 411 It includes a straight line connecting node 823. Similarly, the links in the path calculation graph are multiple The line connecting the vertices of polygonal region 413b and node 824a, and the vertices of polygonal region 413c It includes a straight line connecting node 824b. In this way, the graph for path calculation is extracted. By creating a graph that includes only the target location as a node, the computational processing required to calculate the path is reduced. This can reduce the load.
[0084] Next, terminal device 1 determines the location of the target location 412 extracted from the location of the game medium 411. The shortest path to each location is calculated. For example, terminal device 1 uses Dijkstra's algorithm. ) or known algorithms for finding the shortest path such as the A* algorithm The shortest path from the game medium's position to the target position may be calculated using this method. As shown in Figure 8(b). In this example, terminal device 1 moves from node 823, which corresponds to the location of the game medium 411, to the target location Route 825a to node 824a corresponding to 412a, and from node 823 to destination location 41 The path 825b to node 824b, which corresponds to node 2b, is being calculated.
[0085] Note that the shortest path is the path with the lowest path cost. Path cost is included in the path. This is the sum of the costs of the links. The cost of a link is calculated based on the distance between the nodes at both ends of the link. This is the straight-line distance (link length) in the virtual space. This reduces the time it takes for 411 to move to its target position, improving the player's gameplay. This can help maintain and improve motivation to continue with the project. Note that route costs are related to the parameters of the route. This is an example of a meter.
[0086] Furthermore, by using the publicly known algorithms for finding the shortest path as described above, The terminal device 1 has multiple paths from the location of the game medium 411, and each of the multiple paths Calculate the route cost related to this.
[0087] Furthermore, terminal device 1 is configured to calculate only routes where the route cost is less than or equal to a predetermined cost. It may be configured as follows: For example, terminal device 1 may have each of the calculated, extracted target locations By extracting only the shortest paths to a destination whose path cost is less than or equal to a predetermined cost, Only routes with a route cost less than or equal to a predetermined cost may be calculated. In this way, This reduces the processing load and processing time of the process that determines whether a route satisfies predetermined conditions, as described later. It is possible.
[0088] 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 The value of the link may be the length of the link multiplied by a predetermined coefficient. The predetermined coefficient is the link Events or game effects that occur when the game medium 411 moves between the nodes at both ends. It may be determined according to the following. For example, when the game medium 411 moves between nodes, If an unfavorable effect occurs for the player, the predetermined coefficient is set to a value greater than 1. That's fine. An effect that is disadvantageous to the player is, for example, a parameter such as the health value in game medium 411. The meter decreases, the movement speed of the game medium decreases, or you come into contact with an enemy game medium. This is the kind of effect it has. Also, when the game medium 411 moves between nodes, the player The predetermined coefficient may be set to a value less than 1 if it results in a favorable effect for the user. A beneficial effect for a layer is, for example, an increase in the parameters of the game medium, or the game Effects such as increasing the movement speed of the medium or allowing the acquisition of game mediums such as items. Yes. In this way, the game medium 411 follows a path that is advantageous to the player. Since the character will move to the target location, this motivates the player to input movement commands.
[0089] Furthermore, the path calculated using the above explanation is the shortest path on the path calculation graph. Terminal device 1 further smooths the calculated path, thereby reducing the movable area. You may calculate the shortest path at 413.
[0090] (Explanation of the process by which the terminal device determines whether or not the route meets predetermined conditions) Below, using Figure 9, we will determine whether the calculated path satisfies predetermined conditions regarding the direction of movement. The process determined by the terminal device 1 will be explained. Figure 9 shows the calculated path and direction of movement. This is a diagram displayed on the field screen 910. Figure 9 shows the field screen 910 and the movement direction 9 11, the path 912a from the game medium's location to the target location 412a, and the location of the game medium The path 912b from the game medium is shown. The position of and the element path 912a1 connected to it, and the element path 912 connected to element path 912a1 a2 is included. Path 912b includes element path 912b1 which connects to the location of the game medium, and It includes an elementary path 912b1 and an element path 912b2 that connects to it. Note that an element path is a path This refers to the linear portion that makes up the graph, and corresponds to one link in the graph used for route calculation. Furthermore, in the following, among the elemental paths that make up the path, the one that connects to the location of the game medium The element path is referred to as the first element path. In the example shown in Figure 9, the elements that make up path 912a Of the paths, the first element path is element path 912a1. Also, path 912b is formed by Of the element paths, the first element path is element path 912b1. Note that the direction of movement is 911 Routes 912a and 912b are illustrated for illustrative purposes only and are shown in the field screen. It does not need to be displayed in 910.
[0091] First, terminal device 1 configures the movement direction 911 included in the movement instruction and the calculated path. The magnitude of the angle formed between the direction of the first element path and the other element paths is calculated. This is shown in Figure 9. In this example, terminal device 1 has an angle 913a formed by the direction of movement 911 and the direction of the element path 912a1. The size is calculated. Similarly, terminal device 1 is in the direction of movement 911 and element path 912b1. Calculate the size of the angle 913b that the object makes with the other object.
[0092] Next, terminal device 1 determines whether the calculated angle is less than or equal to a predetermined angle. In the example shown in Figure 9, the terminal device 1 has a corner 913a of less than or equal to a predetermined angle. It is determined that the size of 913b is not less than the specified angle. Therefore, terminal device 1 ensures that the angle between the direction of movement and the direction of the first element path is less than or equal to a predetermined angle. Determine whether or not this is the case. Note that the size of the angle between the direction of movement and the direction of the first element path is Being below a predetermined angle is one example of satisfying a predetermined condition regarding the direction of movement.
[0093] Next, terminal device 1 determines that the angle size is less than or equal to a predetermined angle and proceeds along the path. The display of the game medium is controlled so that the game medium moves to the target position. The difference between the direction of movement included in the movement instructions and the direction the game medium initially moves becomes smaller, making it more intuitive. This enables more precise control.
[0094] Furthermore, if the angle between the direction of movement and the direction of the first element path is less than a predetermined angle, If it is determined that the path is the one with the lowest path cost, terminal device 1 will play the game according to the path with the lowest path cost. The display of the game medium 411 is controlled so that the medium moves to the target position. If multiple target locations exist in the same direction, the game medium 411 moves to the nearest target location. Because it becomes mobile, travel time can be reduced.
[0095] Furthermore, in the explanation above, the direction of the first element path is defined in a three-dimensional virtual space. The first element path is projected onto a 2D screen at a predetermined viewpoint position and predetermined line of sight direction. This is the direction of the first element path on the 2D screen when projected. In other words, the first element The direction of the elementary path is not the direction in the 3D virtual space, but the direction displayed on the display unit 13. This is the direction of the first element path on the world screen. By defining it this way, the player can Since movement instructions can be entered based on the direction displayed on the display unit 13, it is more intuitive. This enables various operations.
[0096] (Explanation of various data) The following explanation will use Figure 10 to describe the various types of data stored in the memory unit 11.
[0097] Figure 10(a) shows the data structure of the region table 1010 which manages information about polygonal regions. This is a diagram showing an example of the structure. Region table 1010 contains region ID 1011, vertex 1012 And, adjacent area ID 1013, etc., are stored in association with it.
[0098] Region ID 1011 is identification information that can uniquely identify the polygonal region. Vertex 1012 is This is information that can uniquely identify the vertices of a polygonal region. In the example shown in Figure 10(a), vertex 1 012 is the coordinate of a vertex of the polygonal region. In the example shown in Figure 10(a), vertex 10 12 stores three coordinates. That is, in the example shown in Figure 10(a), the polygon The region is triangular. Also, in the example shown in Figure 10(a), the coordinates of each vertex are quadratic. Although described in the original coordinate system, it may also be described in a 3D coordinate system, or in a different coordinate system. This is also acceptable. Adjacent region ID 1013 is identification information for other polygonal regions adjacent to the polygonal region. Yes, there are. Adjacent polygonal regions are defined as polygonal regions that share at least one side.
[0099] Figure 10(b) shows the data from the target location table 1020, which manages information about the target location. This is a diagram showing an example of the structure. The target location table 1020 contains target location ID 1021, position Location 1022 and area ID 1023 are stored in association with each other. The data stored in the cable 1020 is one of the pieces of information regarding the target location in the virtual space. This is an example.
[0100] Target location ID 1021 is identification information that uniquely identifies the target location. Location 1022 This is the coordinate representing the position of the target location. Region ID 1023 is a polygon that contains the target location inside. This is identification information for the shape region.
[0101] (Explanation of Processing Unit 14) The following describes the processing unit 14 of terminal device 1.
[0102] As shown in Figure 3, the processing unit 14 includes an acquisition unit 141, a calculation unit 142, and a determination unit 14 The system comprises 3 and a display control unit 144 as its functional blocks. Each of these parts is a processing unit 1 It is a functional module implemented by a program executed on the processor of unit 4. Each of these components may be implemented in terminal device 1 as firmware.
[0103] The acquisition unit 141 acquires movement instructions, including the direction of movement, from the player. For example, acquisition Unit 141 determines whether or not the operation unit 12 has detected contact with the player's operation unit 12. If contact is detected, the acquisition unit 141 will determine that the player has made contact with the operation unit 12. The contact position is acquired as the input position at predetermined time intervals.
[0104] Next, the acquisition unit 141 determines that the operation unit 12 has finished making contact with the player's operation unit 12. Determine whether or not it has been detected. If it is determined that the end of contact has been detected, the acquisition unit 141 will Is the last acquired input position and the input position acquired immediately before it separated by a predetermined distance or more? The system determines whether or not the device is located. If it is determined that the device is located more than a predetermined distance away, the acquisition unit 141 issues an operation instruction. The input position is obtained. The operation instruction manipulates the position coordinates of the operation unit 12 at the input position obtained first. It is included as the position coordinates. Also, the operation instruction is obtained immediately before the last acquired input position. The direction relative to the input position is included as the direction of movement.
[0105] Next, the acquisition unit 141 checks whether the coordinates of the operation position included in the operation instruction are within a predetermined range. The unit determines whether the coordinates of the operating position are outside a predetermined range. If it is determined that the coordinates of the operating position are not within a predetermined range, the acquisition unit 141 will The operation instruction is acquired as a movement instruction. If it is determined that the coordinates of the operation position are within a predetermined range, In addition, the acquisition unit 141 does not acquire the movement instruction. Note that the coordinates of the operation position are within a predetermined range. If this is determined, the acquisition unit 141 may acquire the operation instruction as a viewpoint movement instruction.
[0106] Furthermore, the acquisition unit 141 is used for manual operation by the player to operate the game medium 411. The unit acquires instructions. For example, the acquisition unit 141 receives instructions when the player operates the operation unit 12, and the field On screen 410, input is made with the display area of the operation instruction object 414 as the input position. In this case, a manual operation instruction is obtained that includes the direction corresponding to the input position as the operating direction.
[0107] Furthermore, the acquisition unit 141 acquires the menu screen for displaying the menu screen by the player. The unit acquires display instructions. For example, the acquisition unit 141 acquires instructions when the player operates the operation unit 12, and the fee In the 410 window, depending on the selection of the menu screen display object, the menu - Obtain screen display instructions.
[0108] The calculation unit 142, in response to the acquisition unit 141 acquiring a move instruction from the player, Among the multiple polygonal regions obtained by dividing the movable region 413, the multiple regions including the position of the game medium 411 The rectangular region is identified. Next, the calculation unit 142 refers to the target position table 1020, A target position 412 is extracted where the distance in virtual space from the game medium's location is less than or equal to a predetermined distance. Next, the calculation unit 142 refers to the target position table 1020 and extracts the target. The polygonal region containing each of the target positions 412 is identified. Subsequently, the calculation unit 142 performs the path calculation. The output graph is generated. Next, the calculation unit 142 extracts from the position of the game medium 411. The calculation unit 142 calculates the path to each of the target locations 412. Calculate the route cost for the road.
[0109] Furthermore, the calculation unit 142 determines that among the extracted routes to the target location 412, the route cost is predetermined. Only routes with a cost less than or equal to the calculated cost may be calculated. For example, the calculation unit 142 calculates the extracted routes. Of the shortest paths to each of the given target locations, the path cost is less than or equal to a predetermined cost. By extracting only the routes, the system calculates only the routes whose route cost is less than or equal to a predetermined cost.
[0110] As explained above, the calculation unit 142 calculates the operation position included in the movement instruction from the player. If the coordinates are within a predetermined range, the target position 412 extracted from the position of the game medium 411 The route to each of these points is not calculated.
[0111] The determination unit 143 determines whether the calculated path satisfies predetermined conditions regarding the direction of movement. For example, the predetermined conditions are the direction of movement and the elemental path that constitutes the path, and the game medium 41 The angle between position 1 and the direction of the first element path connecting to it is a predetermined angle (for example, 60 degrees). ) or less. Note that if multiple routes are calculated by the calculation unit 142, The unit 143 determines predetermined conditions regarding the direction of movement for each of the multiple calculated paths. Determine whether the condition is met or not.
[0112] If the display control unit 144 determines that a route satisfies predetermined conditions, it will proceed with the game according to the route. The display of the game medium is controlled so that the medium moves to the target position. For example, the display control unit. 144 is a table for displaying images that make it appear as if the game medium is walking in the direction of movement. The display of the game medium is controlled by supplying display data to the display unit 13.
[0113] Furthermore, if the display control unit 144 determines that the route satisfies predetermined conditions, the display unit 13 will Control and display at least a portion of the path in virtual space. For example, the display control unit 144, Of the route, only the section from the current game medium 411 to the target location 412 is virtual. It is acceptable to display it in between.
[0114] Furthermore, if the display control unit 144 determines that multiple routes satisfy predetermined conditions, then the predetermined conditions Of the routes that were determined to satisfy the criteria, the game medium was selected according to the route with the lowest route cost. Control the display of the game medium so that it moves.
[0115] Furthermore, the display control unit 144 determines when the game medium moving along the path reaches the target position. If the game medium comes into contact with an obstacle object before the game starts, the game medium will stop. Control the display.
[0116] Furthermore, the display control unit 144 determines when the game medium moving along the path reaches the target position. If the movement stops before the intended movement is complete, the display unit will show information prompting the player to input a movement command. .
[0117] Furthermore, if the display control unit 144 determines that the route does not meet the predetermined conditions, the display unit 1 Control 3 to move in the direction of movement included in the movement instruction entered by the player. The game's display is controlled to ensure that the player moves in a straight line. This ensures that the target location exists in the direction of movement. Even if not, the player can move the game medium in the direction of movement. This can provide a more intuitive operation for the user. The display control unit 144 moves straight ahead. If the game medium reaches the outer edge of the movable area, the game medium will stop. Controls the display on the video media.
[0118] Furthermore, the display control unit 144 receives the manual operation instruction from the player when the acquisition unit 141 has acquired it. In response, the game medium moves in the direction of operation included in the manual operation instructions. Controls the display.
[0119] Furthermore, the display control unit 144 receives the player's instruction to display the menu screen from the acquisition unit 141. Depending on the gains, the display unit 13 is controlled to display a menu screen. For example, display control Unit 144 acquires display data for displaying the menu screen from the storage unit 11 and displays to the display unit 13.
[0120] Furthermore, upon acquiring a viewpoint movement instruction from a player via the acquisition unit 141, the display control unit 144 controls the display unit 13 to change the field screen display such that at least one of the viewpoint position and the line-of-sight direction moves. For example, the display control unit 144 moves the viewpoint position in the movement direction included in the viewpoint movement instruction, and changes the field screen display such that the direction of the game medium relative to the moved viewpoint position serves as the line-of-sight direction.
[0121] (Description of Processing Flow by Terminal Device) Hereinafter, the processing flow of the terminal device 1 will be described with reference to FIGS. 11 to 13.
[0122] FIG. 11 is a flowchart illustrating an example of a movement processing flow performed by the terminal device 1.
[0123] First, the storage unit 11 of the terminal device 1 stores information related to a target position in a virtual space (S1101). Subsequently, the display unit 13 of the terminal device 1 displays a game medium located within the virtual space (S1103). Subsequently, the acquisition unit 141 of the terminal device 1 performs 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 performs a route calculation process (S1107). Details of the route calculation process will be described later.
[0124] Subsequently, the determination unit 143 of the terminal device 1 determines whether the angle formed between the movement direction included in the movement instruction and the direction of the first element route connected to the position of the game medium among the element routes constituting the calculated route is equal to or smaller than a predetermined angle (S1109). If it is determined that the temperature is below a certain level (S1109-Y), the display control unit 144 of the terminal device 1 will: Control the display of the game medium so that it moves along the designated path (S1111). Next, the display control unit 144 determines when the game medium moving along the path reaches the target position. Determine whether or not it has been done (S1113). If it is determined that the target position has not been reached, In other words, it was determined that the game medium, which was moving along a path, stopped before reaching its destination. If this occurs (S1113-N), the display control unit 144 instructs the player to input a movement command. The information is displayed (S1115), and the process proceeds to S1105. It is determined that the target location has been reached. In case (S1113-Y), the series of processes is terminated. Also, if the angle size is less than or equal to a predetermined angle If it is determined that the game medium is in motion (S1109-N), the display control unit 144 will indicate that the game medium is in motion. Control the display of the game medium so that it moves in a straight line in the included direction of movement (S1117), and a series of Processing will now be terminated.
[0125] Figure 12 is a flowchart showing an example of the process for acquiring movement instructions in terminal device 1. First, the acquisition unit 141 of the terminal device 1 is determined when the operation unit 12 makes contact with the player's operation unit 12. Determine whether or not contact has been detected (S1201). If it is determined that contact has not been detected ( If contact is detected (S1201-N), proceed to S1201. Y), The acquisition unit 141 inputs the contact position where the player is in contact with the control unit at predetermined time intervals. The position is acquired (S1203). Next, the acquisition unit 141 tells the operation unit 12 that the player It is determined whether or not the end of contact with the operating part 12 has been detected (S1205). If it is determined that completion has not been detected (S1205-N), proceed to S1203. End of contact. If it is determined that a touch has been detected (S1205-Y), the acquisition unit 141 determines whether the last acquired input position and the input position acquired immediately before that are separated by a predetermined distance or more ( S1207). If it is determined that they are separated by a predetermined distance or more (S1207-Y), the acquisition unit 1 41 acquires an operation instruction including the coordinates of the operation position and the movement direction (S1209). If it is determined that they are not separated by the predetermined distance or more (S1207-N), the process proceeds 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 processes . If it is determined that the coordinates of the operation position are within the predetermined range (S1211-Y), the process proceeds to S1201.
[0126] Figure 13 is a flowchart 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 identifies a polygonal region including the position of the game content (S13 01). 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 content 411 (S1303). Subsequently, the calculation unit 142 identifies a polygonal region including each of the extracted target positions (S1305). Subsequently, the calculation unit 14 2 generates a route calculation graph (S1307). Subsequently, the calculation unit 142 calculates the shortest route from the position of the game content to each of the extracted target positions, and the route cost associated with each route (S1309), and ends the series of processes.
[0127] As described above, the terminal device 1 according to the present invention allows a game content positioned in a virtual space to It includes a display unit 13 for displaying information. Furthermore, the terminal device 1 according to the present invention is intended for use in a virtual space. It includes a storage unit 11 that stores location information. Furthermore, the terminal device 1 according to the present invention is The system includes an acquisition unit 141 that acquires movement instructions, including the direction of movement, based on the layer. The terminal device 1 calculates the path from the location of the game medium in the virtual space to the target location. It is equipped with an outlet 142. Furthermore, the terminal device 1 according to the present invention is such that the calculated path is related to the direction of movement. The terminal according to the present invention includes a determination unit 143 that determines whether or not predetermined conditions are met. If device 1 determines that the path satisfies predetermined conditions, the game medium will move to the target position according to the path. It includes a display control unit 144 that controls the display of the game medium so that it moves to the desired position. By having such a configuration, the terminal device 1 according to the present invention allows the player to control the character. This makes it possible to support the project.
[0128] Furthermore, in the terminal device 1 according to the present invention, the route is composed of a plurality of elemental routes. Good. Also, the predetermined conditions are the direction of movement and the direction of the element path connected to the position of the game medium. The size of the angle formed may be less than or equal to a predetermined angle. In this way, the game The medium will move in a direction close to the direction of movement included in the movement instruction entered by the player. Therefore, intuitive controls are achieved for the player.
[0129] Furthermore, in the terminal device 1 according to the present invention, the movement instruction includes information regarding the operating position. Good. Also, the calculation unit 142 calculates the path when the information regarding the operating position is within a predetermined range. No calculation is necessary. In this way, if the information regarding the operating position is within a predetermined range... Additionally, it becomes possible to assign different game controls, increasing the diversity of gameplay.
[0130] Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 determines that the route satisfies predetermined conditions. If it is determined that the game medium will not move in the direction of movement, the display of the game medium will be changed. It is permissible to control it. In this way, even if the path does not meet the predetermined conditions, The game medium moves in a direction close to the direction of movement included in the movement instruction entered by the player. This allows for more intuitive controls for the player.
[0131] Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 determines that the route satisfies predetermined conditions. If it is determined that this is the case, at least a portion of the path may be displayed in the virtual space. This allows players to easily see the path the game medium will take. .
[0132] Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 moves according to the path. If the game medium stops before reaching its designated position, the player will be prompted to move it. Information may be displayed on the display unit. In this way, the player can further use the control unit 12 They can recognize that they need to take action.
[0133] Furthermore, the terminal device 1 according to the present invention is equipped with an operation unit 12 that detects contact by a player. Good. Also, in the terminal device 1 according to the present invention, the acquisition unit 141 is operated by the player. The contact position where it is in contact may be acquired at predetermined time intervals. The direction of movement is determined by the acquisition unit 14 The direction of the last contact position acquired by 1, relative to the contact position acquired immediately before it. Good. This way, the player can move the game medium in the direction they want to move the contact point. By changing it, you can move the game medium, resulting in more intuitive controls. It becomes possible.
[0134] Furthermore, in the terminal device 1 according to the present invention, the display control unit 144 determines that multiple paths meet predetermined conditions. If it is determined that the conditions are met, then among the routes determined to meet the predetermined conditions, the route with the lowest route cost is selected. The display on the game medium may be controlled so that the player moves outside the game medium following a small path. In this way, when multiple target locations exist in the same direction, the game medium is most... Because the system will move to a nearby destination, travel time can be reduced.
[0135] Furthermore, in the terminal device 1 according to the present invention, the calculation unit 142 has a relationship with the position of the game medium. The path to the target location, which has a predetermined relationship, can be calculated. This reduces the computational load required.
[0136] Furthermore, the present invention includes a storage unit 11 and a display that shows a game medium located in a virtual space. The control method for the terminal device 1, which includes part 13, provides information regarding a predetermined position in a virtual space. This includes storing in the memory unit 11. Furthermore, the control method according to the present invention includes the player moving This includes obtaining movement instructions that include the direction of movement. Furthermore, the control method according to the present invention is in a virtual space This includes calculating the path from the location of the game medium to the target location. The control method involves determining whether the calculated path satisfies predetermined conditions regarding the direction of movement. This includes. Furthermore, the control method according to the present invention, when it is determined that a path satisfies predetermined conditions, Controlling the display of the game medium so that it moves to a predetermined position along the path. This includes. By having such a configuration, the control method according to the present invention is performed by the player This enables support for character manipulation.
[0137] Furthermore, the present invention includes a storage unit 11 and a display that shows a game medium located in a virtual space. The control program of the terminal device 1, which includes part 13, relates to a predetermined position in the virtual space. The terminal device 1 is instructed to perform an action that includes storing information in the storage unit 11. Furthermore, the present invention The control method includes obtaining movement instructions from the player, including the direction of movement. The terminal device 1 is made to execute. Furthermore, the control method according to the present invention is the position of the game medium in the virtual space The terminal device 1 is instructed to perform a task that includes calculating the route from the starting point to the target location. The control method according to the invention determines whether the calculated path satisfies predetermined conditions regarding the direction of movement. The terminal device 1 is instructed to perform actions including determining the path. Furthermore, the control method according to the present invention is a path If it is determined that the predetermined conditions are met, the game medium moves to the predetermined position according to the path. Thus, the terminal device 1 is made to perform actions including controlling the display of the game medium. By having such a configuration, the control program according to the present invention allows the player to control the character This enables support for the operation of the device.
[0138] (Variation 1) In the above description, the calculation unit 142 calculates the distance in virtual space from the position of the game medium. This method extracts target locations where the distance is less than or equal to a predetermined distance, but it is not limited to this. For example, The calculation unit 142 calculates the path from the position of the game medium to all target positions in the path calculation graph. After calculating the route and route cost, the target location where the route cost is less than or equal to a predetermined value is extracted. It is acceptable. Also, if a value other than the link length is used as the cost of the link, the calculation unit 1 42 extracts target locations where the total length of links included in the route is less than or equal to a predetermined value. stomach.
[0139] Furthermore, the polygonal region may be associated with any of several region groups. Outlet 142 is associated with a region group in which a polygonal region containing the location of the game medium is located. The target location included in the associated polygonal region may be extracted. In this case, the memory unit 11 In the region table 1010, for each polygonal region, an identifier for identifying region groups. It stores related information. Then, the calculation unit 142 calculates a polygon including the position of the game medium. After identifying the region, refer to region table 1010 and associate it with the identified polygonal region. The identification information of the selected region group is obtained. Subsequently, the calculation unit 142 calculates the acquired region group Obtain the region ID 1011 of other polygonal regions associated with the identification information of P. Then, The calculation unit 142 refers to the target position table 1020 and the acquired area ID 1023. The target location is extracted by obtaining the target location ID 1021 of the linked target locations. In this way, the game medium can automatically move to a target location and to a location where it cannot move automatically. This allows for flexible setting of the target location.
[0140] (Modification 2) In the above explanation, the display control unit 144 is intended for the game medium that is moving along the path. If the game comes into contact with an obstacle object before reaching its position, the game medium will stop. While it is intended to control the display of video media, it is not limited to this. For example, game media may have problems. You may choose to avoid contact with harmful objects.
[0141] In this case, the storage unit 11 is located within a predetermined range centered on the obstacle object from the movable area. It stores multiple polygonal regions obtained by dividing the region excluding the area. This allows it to follow the path The moving game medium will not come into contact with any obstacle objects before reaching its destination. It becomes u.
[0142] Furthermore, depending on the type of obstacle object, the game medium will come into contact with the obstacle object. Whether or not it is set to be different may be for obstacle objects, game media The game begins when the player makes physical contact with the opponent game medium, and the player makes physical contact with the game medium. This may include NPCs (non-player characters) who initiate the event. The memory unit 11 is located within a predetermined range centered on the obstacle object, which is an NPC, from the movable area. It stores multiple polygonal regions obtained by dividing the region excluding the area. This allows it to follow the path The moving game medium will encounter an obstacle object, which is an NPC, before reaching its destination. It will be possible to make contact with obstacle objects, which are the enemy game medium, without making physical contact. The player can skip NPC events and engage in enemy gameplay by inputting movement commands. You can enjoy competitive games against other media. Also, the game media that moves along the route The body does not come into contact with obstacle objects, which are the enemy game medium, and does not come into contact with NPC obstacle objects. The ct may be set to be touchable. This allows players to skip the competitive game. You can enjoy events with NPCs while keeping things brief.
[0143] (Variation 3) In the explanation above, among the elements that make up the path, the element that connects to the location of the game medium. The magnitude of the angle between the direction of the first element path, which is the path, and the direction of movement included in the movement instruction is predetermined. The path is determined to satisfy the prescribed conditions when the angle is less than or equal to the specified angle, but this is not limited to this. Whether or not the condition is met depends on the degree of deviation between the first element path and the movement instruction entered by the player, which is a predetermined value. The determination may also be made based on whether or not the following applies.
[0144] In this case, the acquisition unit 141 of the terminal device 1 acquires the following information instead of the operating position and direction of movement: The terminal device 1 determines the movement instruction, including the input position of the sequence. The determination unit 143 of the terminal device 1 determines the first element path. The distance between the represented line segment and each of the acquired input position coordinates is calculated. Next, The fixed part 143 calculates the degree of deviation by averaging each of the calculated distances. The determination unit 143 determines whether the degree of deviation is less than or equal to a predetermined value, and determines that the path is It determines whether certain conditions are met. Based on this, the game medium determines the movement input by the player. Because it will initially move along the input position included in the instructions, it is more convenient for the player. Intuitive operation is achieved.
[0145] Note that the degree of deviation is not limited to the method described above and may be calculated using any method. For example, the degree of deviation is The sum of the distances between the line segment representing the first element path and the coordinates of each of the acquired input positions. It may also be a value. Furthermore, the determination unit 143 represents the position of the game medium and the element path connected to it. The distance between the line segment and each of the acquired set of input position coordinates, if the value is small or large Alternatively, a predetermined number of distances may be extracted, and their average value or sum may be used as the degree of deviation.
[0146] Furthermore, whether or not the predetermined conditions are met is determined by the first element path and the movement instruction entered by the player. The determination may also be made by whether the degree of agreement is equal to or greater than a predetermined value. The degree of agreement is, for example, the first item The inner product of the vector corresponding to the primary path and the vector corresponding to the movement instruction entered by the player is It is acceptable. The vector corresponding to the first element path is, for example, the two endpoints of the first element path. Among these, a vector whose starting point is one endpoint, which is the position of the game medium, and whose ending point is the other endpoint. The vector corresponding to the movement instruction entered by the player is, for example, included in the movement instruction. The last input position obtained among the input positions is used as the endpoint, and the input position obtained immediately before it is used. This is a vector that starts from [point]. The vector corresponding to the movement instruction is based on other input positions. It may also be a defined vector.
[0147] Furthermore, the determination unit 143 determines the first element path and the movement of the calculated path from among the paths. The path with the smallest degree of deviation from the indicated path, or the first element path constituting the path and the movement instruction match. Only the path with the highest degree may be determined to satisfy the predetermined conditions.
[0148] (Modification 4) In the explanation above, the direction of movement included in the movement instruction is the last acquired input position. The direction is defined as the direction relative to the input position obtained immediately before, but it is not limited to this. For example, the direction of movement is The orientation of the last acquired input position relative to the first acquired input position may also be used. Furthermore, the direction of movement may be the direction of a straight line calculated based on a series of acquired input positions. i. In this case, the calculated straight line is, for example, the distance to the coordinates of the acquired series of input positions (or The line can be the one that minimizes the sum of distance-based values (such as the square of the distance).
[0149] This means that if the player makes an error in operation just before ending contact with the control unit 12, Even if present, it reduces the possibility of the game medium moving in a direction unintended by the player, and plays To enable operation in accordance with Ya's intentions.
[0150] (Variation 5) In the above explanation, if it is determined that multiple paths satisfy predetermined conditions regarding the direction of movement, The display control unit 144 controls the game medium to move along the path with the lowest path cost. This controls the display of the game medium, but it is not limited to this. For example, the first element that constitutes the path If there are multiple paths where the angle between the path and the direction of movement is less than or equal to a predetermined angle, display The control unit 144 controls the game so that the game medium moves along the path with the smallest corner size. The display on the media may be controlled.
[0151] In this way, the game medium minimizes the difference between the movement direction included in the movement instructions. Since the player will move along a path that makes things easier, the controls are more intuitive for the player. This will be realized.
[0152] (Experimental variation 6) Furthermore, the determination unit 143 determines the direction of the first element path that constitutes the path and the movement included in the movement instruction. When determining whether the angle formed with the direction is less than or equal to a predetermined angle, the difference for each path A fixed angle may be defined. For example, the determination unit 143 determines that the larger the path cost, the greater the predetermined angle. A predetermined angle may be set to make it larger. Also, the determination unit 143 determines the position of the game medium and The greater the distance in virtual space to the destination location reached by the route, the larger the predetermined angle. A predetermined angle may be set to make it larger. Also, the determination unit 143 determines if the length of the first element path is The predetermined angle may be set such that the longer the length, the larger the predetermined angle becomes.
[0153] When a player tries to move the game device to a distant target location, Because predicting the shortest path becomes difficult, the direction of movement and the first element path included in the movement instruction The direction is likely to differ. As described above, by configuring the determination unit 143, the distant target position can be determined. Even when moving the game medium, the size of the angle between the first element path and the direction of movement Because the angle tends to be less than a predetermined angle, players can easily move the game medium to a distant target location. It becomes possible to move it.
[0154] (Example 7) Furthermore, the present invention may be provided through the cooperation of a terminal device and a server device. Terminal device 1 is equipped with a communication unit and is connected to the server device in a communicative manner. Some of the functions in 1 are provided by the server device. For example, the processing unit of terminal device 1. Unit 14 acquires a signal corresponding to a movement instruction from the player and transmits it to the server device via the communication unit. The message is sent. Then, the server device moves the game medium according to the received movement instruction. The display data to be shown is generated and sent to terminal device 1. Then, the processing unit 1 of terminal device 1 4 controls the display unit 13 so that the game medium moves based on the received display data. It is displayed here. In this way, the game according to the present invention can be played regardless of the processing power of terminal device 1. We can provide the service.
[0155] Those skilled in the art can make various changes, substitutions, and modifications without departing from the spirit and scope of the present invention. It should be understood that additions to this are possible. For example, the spirit and scope of the present invention In this regard, the functions of each of the above-mentioned parts may be combined or separated as appropriate. The processes may be carried out in a different order. Furthermore, the embodiments and modifications described above may be combined as appropriate. They may be implemented in combination.
Claims
1. Computers, In the game space, a first means for moving the game medium toward a first target position, A second means for receiving a movement instruction from the player to move the game medium toward a second target position when the game medium is moving toward the first target position, When the relationship between the second path from the position of the game medium to the second target position and the movement instruction satisfies predetermined conditions, the third means functions in the game space to move the game medium along the second path toward the second target position. The aforementioned movement instruction includes the direction of movement, The aforementioned predetermined conditions relate to the direction of movement. program.
2. The program according to claim 1, wherein the first target position and / or the second target position is a position where an enemy game medium is placed, an event occurrence position, or a branching point of a passage provided in the game space.
3. The program according to claim 1 or 2, wherein the first target position and / or the second target position are changed to be displayed or not depending on the progress of the game.
4. There are multiple candidates for the first target position, The program according to any one of claims 1 to 3, wherein the first target position is a position among the plurality of candidates that has a predetermined relationship with the position of the game medium.
5. There are multiple candidates for the first target position, The program according to any one of claims 1 to 3, wherein the first means extracts candidates as first target positions whose distance in the game space from the position of the game medium is less than or equal to a predetermined distance, in response to receiving a movement instruction from the player.
6. The first means is a program according to any one of claims 1 to 5, wherein if the relationship between the first path from the position of the game medium to the first target position and the movement instruction for moving the game medium toward the first target position satisfies the predetermined conditions, the program moves the game medium toward the first target position along the first path.
7. The program according to any one of claims 1 to 6, wherein the first target position and the second target position are positions to which the game medium should reach.
8. The aforementioned second path consists of one or more element paths, The program according to claim 7, wherein the predetermined condition is that the angle between the direction of movement and the direction of the element path connected to the position of the game medium is less than or equal to a predetermined angle.
9. The program according to claim 7, wherein the predetermined condition is that the degree of agreement calculated based on the vector corresponding to the movement instruction and the vector corresponding to the second path is greater than or equal to a predetermined value.
10. The first means calculates a first path to the first target position, The third means is a program according to any one of claims 1 to 9 that calculates the second path.
11. The computer has a touch panel, The program according to any one of claims 1 to 10, wherein the second means acquires the contact position to the touch panel at predetermined time intervals, and when contact to the touch panel is completed, accepts the movement instruction if the last acquired contact position and the previously acquired contact position are separated by a predetermined distance or more.
12. The program according to claim 11, wherein the movement instruction is in the direction of the last acquired contact position, with reference to the contact position acquired immediately before it.
13. The first means involves a first step of moving the game medium toward a first target position in the game space, The second means includes a second step of receiving a movement instruction from the player to move the game medium from its position toward a second target position when the game medium is moving toward the first target position, The third means includes, if the relationship between the second path to the second target position and the movement instruction satisfies predetermined conditions, moving the game medium toward the second target position along the second path in the game space, The aforementioned movement instruction includes the direction of movement, A game control method wherein the predetermined conditions relate to the direction of movement.
14. In the game space, a first means for moving the game medium toward a first target position, When the game medium is moving toward the first target position, a second means receives a movement instruction from the player to move the game medium from its position toward the second target position, The system includes a third means for moving the game medium toward the second target position along the second path in the game space when the relationship between the second path to the second target position and the movement instruction satisfies predetermined conditions, The aforementioned movement instruction includes the direction of movement, A game control system in which the predetermined conditions relate to the direction of movement.
Citation Information
Patent Citations
Adsorbing agent and utilization thereof
JP1982001440A
Signal generator of sewing machine
JP1987008785A
Game device, movement control method and program
JP2005176878A
Program, game device and information storage medium
JP2006254951A
Information processor and information processing program
JP2008204191A
