PROGRAM AND INFORMATION PROCESSING APPARATUS
The system addresses erroneous direction inputs in games by predicting and displaying movement paths based on touch panel inputs and environmental restrictions, reducing mistakes and improving user guidance.
Patent Information
- Application Number
- JP2023115925
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-07-14
- Publication Date
- 2024-12-04
- Estimated Expiration
- 2041-03-15
AI Technical Summary
Users often make erroneous direction inputs when instructing movements in games using touch panels, leading to unintended game operations.
A system that includes a processor to acquire touch position information, predict movement paths based on touch positions and environmental restrictions, and display a predicted path on the game space to guide the user's input.
Reduces erroneous operations by providing a clear visual prediction of the intended movement path, allowing users to correct their inputs before they are executed.
Smart Images

Figure 0007594318000001 
Figure 0007594318000002 
Figure 0007594318000003
Abstract
Description
[Technical field]
[0001] The present invention relates to PROGRAM AND INFORMATION PROCESSING APPARATUS Regarding. [Background technology]
[0002] Devices that receive directional instruction inputs from a user using a touch panel or the like are becoming popular (see Patent Document 1). In Patent Document 1, a directional instruction corresponding to a touch position on the touch panel is received from the user. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2017-1190443 A Summary of the Invention [Problem to be solved by the invention]
[0004] When performing an operation to specify a direction in a game using a touch panel or the like, a user may erroneously input a direction different from the desired direction.
[0005] The present invention has been made in consideration of the above-mentioned circumstances, and one of the problems to be solved is to provide a technique capable of suppressing erroneous operations when inputting direction indications. [Means for solving the problem]
[0006] In order to solve the above problems, a program according to one aspect of the present invention is characterized in that it causes a processor to function as an acquisition unit that acquires touch position information indicating a touch position on a touch panel, a designation unit that designates a movement direction of an object in a game space based on the touch position information, a prediction unit that, if there are multiple paths in the game space along which the object can move, predicts a path along which the object will move from among the multiple paths based on the movement direction designated by the designation unit and the shape of the environment that restricts the movement of the object in the game space, and a display control unit that displays an image indicating the prediction result by the prediction unit in the game space.
[0007] An information processing device according to another aspect of the present invention is characterized in that it includes an acquisition unit that acquires touch position information indicating a touch position on a touch panel, a designation unit that designates a movement direction of an object in a game space based on the touch position information, a prediction unit that, if there are multiple paths in the game space along which the object can move, predicts a path along which the object will move from among the multiple paths based on the movement direction designated by the designation unit and the shape of an environment that restricts the movement of the object in the game space, and a display control unit that displays an image indicating a prediction result by the prediction unit in the game space.
[0008] An information processing method according to another aspect of the present invention is characterized in that a processor acquires touch position information indicating a touch position on a touch panel, specifies a movement direction of an object in a game space based on the touch position information, and if there are multiple paths in the game space along which the object can move, predicts a path along which the object will move from among the multiple paths based on the specified movement direction and the shape of the environment that restricts the movement of the object in the game space, and displays an image indicating the prediction result in the game space. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram showing an example of the external appearance of an information processing device 10 according to a first embodiment. [Diagram 2] 1 is a block diagram showing an example of a configuration of an information processing device 10 according to a first embodiment. [Diagram 3] 1 is a diagram showing the relationship between an operation area R and a movement direction in the first embodiment. FIG. [Figure 4] 2 is a diagram showing an example of a display on a touch panel 11 in the first embodiment. FIG. [Diagram 5] 2 is a diagram showing an example of a display on a touch panel 11 in the first embodiment. FIG. [Figure 6] 2 is a diagram showing an example of a display on a touch panel 11 in the first embodiment. FIG. [Figure 7] 5 is a flowchart showing a process of a control unit 130 in the first embodiment. [Figure 8] 5 is a flowchart showing a process of a control unit 130 in the first embodiment. [Figure 9] 5 is a flowchart showing a process of a control unit 130 in the first embodiment. [Figure 10] FIG. 13 is a diagram showing a movement mode of a character C in the second embodiment. [Figure 11] FIG. 11 is a block diagram showing an example of a configuration of an information processing device 20 according to a second embodiment. [Figure 12] 13 is a diagram showing the relationship between an operation area R and an approximate designated direction in the second embodiment. FIG. [Figure 13] 13 is a diagram showing a method for predicting a path L by a prediction unit 226. FIG. [Figure 14] FIG. 11 is a diagram showing an example of a display on a touch panel 11 in a second embodiment. [Figure 15] FIG. 11 is a diagram showing an example of a display on a touch panel 11 in a second embodiment. [Figure 16] 13 is a flowchart showing the process of a control unit 220 in the second embodiment. [Figure 17] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification A2. [Figure 18]FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification A2. [Figure 19] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification A3. [Figure 20] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification A4. [Figure 21] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification A5. [Figure 22] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification A5. [Figure 23] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification A5. [Figure 24] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification A5. [Diagram 25] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification B2. [Figure 26] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification B2. [Figure 27] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification Example B3. [Figure 28] FIG. 13 is a diagram showing an example of a display on the touch panel 11 in Modification Example B4. [Figure 29] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification B5. [Diagram 30] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification B5. [Diagram 31] FIG. 13 is a diagram showing an example of a display on touch panel 11 in modification B5. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] [A: First embodiment] 1 is a diagram showing an example of the appearance of an information processing device 10 according to the first embodiment. The information processing device 10 is, for example, a portable information processing device such as a smartphone, a tablet terminal, or a portable game device. The information processing device 10 includes a touch panel 11. However, the information processing device 10 may be, for example, a commercial game device installed in a store or amusement facility, or a stationary information processing terminal such as a desktop personal computer.
[0011] The touch panel 11 is a device that integrates a display device that displays images and an input device (not shown) that receives instruction input. The touch panel 11 displays various images. The touch panel 11 detects a touch position, which is a position where an object touches the touch panel 11, by using, for example, electrostatic capacitance specified by the object touching the touch panel 11 and the touch panel 11. The touch panel 11 outputs touch position information indicating the touch position on the touch panel 11. In this embodiment, the touch panel 11 outputs, as the touch position information, coordinate information on an XY plane defined by an X-axis and a Y-axis, which will be described later.
[0012] 1, a touch position on touch panel 11 is defined by an X-axis and a Y-axis that are perpendicular to each other at an origin O set on touch panel 11. The X-axis and the Y-axis are set along the sides of touch panel 11, which is formed in a rectangle. More specifically, the X-axis is set along the long side of touch panel 11, which is formed in a rectangle, and the Y-axis is set along the short side of touch panel 11. Therefore, in a state where information processing device 10 is held so that the long side of touch panel 11 is in the left-right direction, the X-axis corresponds to the left-right direction of touch panel 11, and the Y-axis corresponds to the up-down direction of touch panel 11. In the following embodiments, unless otherwise specified, up, down, left, and right (upward, downward, left, and right) refer to the directions of the game space G displayed on the touch panel 11 when viewed while holding the information processing device 10 so that the origin O is located at the lower left of the touch panel 11. It should be noted that the X-axis and the Y-axis are not limited to being set with respect to the touch panel 11, and may be set with respect to the game space G, for example.
[0013] The information processing device 10 displays game images on the touch panel 11 by executing a game application program.
[0014] In FIG. 1, the touch panel 11 displays an image showing a part of the game space G as the image of the game. Characters C (denoted as C1 to C3 in FIG. 1) are placed in the game space G. A part of the game space G is, for example, an image of a predetermined range extracted from the game space G based on the position of the character C. In this embodiment, the "character C" is an example of an object that is the target of an instruction to move using, for example, the touch panel 11. The character C is a virtual living being that can progress the game. In addition to the character C, the object may be, for example, a "game-related object" that is a virtual inanimate object that can progress the game. In this embodiment, the character C is approximately circular, and the vertical, horizontal, and front-to-back lengths are equal. Hereinafter, the vertical, horizontal, and front-to-back lengths of the character C are referred to as the "character length." The character C cannot enter an area narrower than its own width (horizontal length, i.e., character length). In this embodiment, the minimum movement distance of character C is equal to the character length.
[0015] In this embodiment, the "game space G" is, for example, a virtual space provided in a game, and may be a two-dimensional space or a three-dimensional space. In this embodiment, the game space G is a two-dimensional space defined by an X axis and a Y axis. In this embodiment, the "game space G" is divided into, for example, a "movement-enabled space" in which the character C can move, and a "movement-restricted space" in which the movement of the character C is restricted. Among these, the "movement-restricted space" is a space in which the movement of the character C is restricted by, for example, the environment arranged in the game space G.
[0016] Here, the "environment" is, for example, an environment that prevents the movement of the character C in the game space. The environment that restricts the movement may be, for example, an environment in which obstacles such as rocks, mountains, walls, and blocks B are arranged inside, into which the character C cannot enter, or an environment having a specific terrain such as the sea, river, and valley, above which the character C cannot pass. The above environment may be formed, for example, by arranging a plurality of obstacles continuously or discontinuously, or may be formed by combining a plurality of terrains. In this embodiment, since the movement of the character C is prevented by the environment, the "shape of the environment" can also be said to be the shape of the boundary between the movable space and the movement-restricted space. The elements that constitute the environment, such as the obstacles and the specific terrain, are called "environmental components".
[0017] In this embodiment, the environmental component is block B. Character C cannot enter a space in which block B is placed. In this embodiment, block B is square and has the same length in the vertical direction and the same length in the horizontal direction. The vertical and horizontal lengths of block B are approximately equal to the character length. Note that the shape and size of block B and the shape and size of character C in this embodiment are merely examples, and various aspects can be applied depending on the specifications of the game. In this embodiment, the block B may disappear, for example, due to the use of an item or the action of the character C. In this case, the space occupied by the disappeared block B becomes part of the path L. In other words, the shape of the path L may change as the game progresses.
[0018] In this embodiment, the space in which no block B is arranged becomes a path L (L1 to L4 in FIG. 1) along which the character C can move. The path L is a space in which the character C can move in the game space G, that is, an example of the above-mentioned movable space. Blocks B, which are an example of an environment that restricts the movement of the character C, are arranged on both sides of the path L (in a direction perpendicular to the extension direction of the path L). Therefore, the character C can move along the extension direction of the path L, but movement not along the extension direction of the path L is restricted by the blocks B. For example, if the distance between the blocks B on both sides of the path L is longer than the minimum movement distance of the character C, the character C can move between the blocks B, i.e., in the width direction of the path L. On the other hand, if the distance between the blocks B on both sides of the path L is equal to the minimum movement distance of the character C, the character C cannot move in the width direction of the path L. In this embodiment, since the minimum movement distance of the character C is equal to the character length, the character C cannot move in the width direction of the path unless the distance between the blocks B on both sides of the path L is greater than the character length. If the distance between the blocks B on both sides of the path L is shorter than the minimum movement distance of the character C, the character C cannot enter the path L.
[0019] In addition, the points at which the paths L are connected to each other are referred to as connection points P (connection points P1, P2, etc. in FIG. 1). In this embodiment, for convenience of explanation, points indicating the connection points P are illustrated, but the connection points P do not need to be displayed on the touch panel 11.
[0020] For example, in FIG. 1, the touch panel 11 displays paths L1 to L4. The path L1 extends in the X-axis direction and has a path width in the Y-axis direction. The path width of the path L1 is approximately equal to one block B, that is, the character length. Therefore, the character C1 located on the path L1 can move in the X-axis direction (left and right direction), but cannot move in the Y-axis direction (up and down direction) because there is no space for movement. In Figure 1, the character C1 is moving to the right. Path L1 connects to path L4, which extends in the Y-axis direction, at connection point P2. Block B is located to the left of connection point P2, so character C, who has been moving leftward on path L1, cannot move further left than connection point P2. In other words, path L1 ends at connection point P2.
[0021] The path L2 extends in the Y-axis direction and has a path width in the X-axis direction. The path width of the path L2 is one block B, that is, approximately equal to the character length. Therefore, character C2 located on path L2 can move in the Y-axis direction (up and down), but cannot move in the X-axis direction (left and right) because there is no space for movement. In Figure 1, character C2 is moving upward. Path L2 connects to path L1, which extends in the X-axis direction, at connection point P1. Block B is located above connection point P1, so character C, who has moved upward on path L2, cannot move above connection point P1. In other words, path L2 ends at connection point P1.
[0022] The path L3 extends in the Y-axis direction and has a path width in the X-axis direction. The path width of the path L3 is two blocks B, that is, twice the character length. Therefore, character C3 located on path L3 can move in the Y-axis direction (up and down) as well as one character length in the X-axis direction (left and right). In Fig. 1, character C3 is moving downward from the right end of path L3, but it can also move one character length to the left, for example.
[0023] The path L4 extends in the Y-axis direction and has a path width in the X-axis direction. The path width of the path L4 is approximately equal to one block B, that is, the character length. Therefore, character C located on path L4 can move in the Y-axis direction (up and down direction), but cannot move in the X-axis direction (left and right direction) because there is no space for movement. Path L4 connects to path L1, which extends in the X-axis direction, at connection point P2. Block B is located above connection point P2, so character C, who has moved upward on path L4, cannot move above connection point P2. In other words, path L4 ends at connection point P2.
[0024] In the following embodiment, the movement direction of the character C is indicated by a dotted arrow, but such an arrow does not need to be displayed on the actual display screen. In addition, in Fig. 1 and other drawings, for convenience of explanation, multiple characters C (characters C1 to C3 in Fig. 1) may be illustrated in the game space G, but during actual game play, in principle, only one character C is displayed in the game space G. In other words, there is only one character C that is the target of movement instructions using the operation area R described below.
[0025] An operation area R is set on the touch panel 11. The operation area R is an example of an area that accepts an operation. The operation area R is also called a virtual pad. The operation area R is provided in a visible manner on the touch panel 11 for inputting instructions related to the game. In this embodiment, the operation area R is, for example, a circular area with the reference point Q as its center.
[0026] The operation area R may be a virtual area provided in a manner that is not visible on the touch panel 11 for inputting instructions related to the game. In this case, the control unit 130 described later may, for example, display only the reference point Q and detect a touch operation in its periphery as an input to the operation area R.
[0027] Furthermore, the position of the operation area R on the touch panel 11 may be fixed or variable. When the position of the operation area R is variable, the control unit 130 described later may, for example, hide the operation area R when the user's finger is removed from the touch panel 11, and when the user's finger touches the touch panel 11 from this state, redisplay the operation area R with the position as the reference point Q.
[0028] In this embodiment, the operation area R is used for inputting instructions regarding the movement direction of the character C in the game space G (hereinafter referred to as "movement direction instructions"). In the first embodiment, the movement directions that can be accepted in the operation area R are limited to directions along the X-axis or Y-axis, that is, four directions: upward, downward, leftward, and rightward. Therefore, there are four types of movement direction instructions: an upward movement instruction to move the character C upward, a downward movement instruction to move the character C downward, a leftward movement instruction to move the character C leftward, and a rightward movement instruction to move the character C rightward. In this embodiment, direction indication displays F1 to F4 (see FIG. 3) that serve as guides for up, down, left and right directions are displayed on operation area R. Using direction indication displays F1 to F4 as guides, the user inputs a movement direction instruction by touching a position on operation area R that corresponds to the desired movement direction. As will be described later, a touch on operation area R is accepted as any one of an instruction to move up, move down, move left and move right. The movement direction instruction is input by, for example, the user's thumb.
[0029] Thus, in the first embodiment, the movement direction of character C is limited by two factors: (1) the environment in the game space G (e.g., the placement of blocks B), and (2) the movement direction that can be accepted in the operation area R.
[0030] FIG. 2A is a block diagram showing an example of a hardware configuration of the information processing device 10 according to the first embodiment. The information processing device 10 includes a storage device 12 and a control device 13 in addition to the touch panel 11 described above.
[0031] The storage device 12 is an example of a recording medium readable by a computer such as a processor (for example, a non-transitoty recording medium readable by a computer). The storage device 12 stores a program executed by the control device 13 (the application program of the game described above) and various data used by the control device 13. For example, the storage device 12 is configured by a known recording medium such as a magnetic recording medium or a semiconductor recording medium, or a combination of multiple types of recording media.
[0032] The control device 13 is a processor such as a CPU (Central Processing Unit). The control device 13 comprehensively controls each element of the information processing device 10. The control device 13 executes a program stored in the storage device 12, thereby functioning as a control unit 130 shown in FIG. 2B.
[0033] FIG. 2B is a block diagram showing an example of the functional configuration of the control unit 130 according to the first embodiment. The control unit 130 includes a game control unit 131, an acquisition unit 132, a determination unit 134, a selection unit 136, and a display control unit 138. Note that some or all of the functions of the control unit 130 may be realized by a dedicated electronic circuit.
[0034] The game control unit 131 controls the progress of the game. For example, the game control unit 131 moves the character C in the game space G according to a moving direction determined by a determination unit 134 described later. The game control unit 131 also generates game image information indicating an image according to the progress of the game, and displays it on the touch panel 11.
[0035] The acquiring unit 132 acquires touch position information indicating a touch position on the touch panel 11. As described above, the touch panel 11 outputs coordinate information on the XY plane as touch position information. Therefore, the acquisition unit 132 acquires the coordinate information of the touch position output by the touch panel 11.
[0036] The determination unit 134 determines the moving direction of the character C based on the touch position information acquired by the acquisition unit 132. As described above, in the first embodiment, the movement direction of the character C is limited to four directions: up, down, left, and right. Therefore, the determination unit 134 determines the movement direction of the character C to be one of up, down, left, and right based on the touch position on the operation area R.
[0037] FIG. 3 is a diagram showing the relationship between the operation region R and the movement direction in the first embodiment. The operation area R has a reference point Q, an upward direction area RA1, a rightward direction area RA2, a downward direction area RA3, and a leftward direction area RA4. Hereinafter, the upward direction area RA1, the rightward direction area RA2, the downward direction area RA3, and the leftward direction area RA4 may be referred to as "directional areas RA". The reference point Q is a point that serves as a reference for the position of the operation area R. In this embodiment, the reference point Q is illustrated as a circle having a predetermined area from the viewpoint of visibility. The reference point Q is set, for example, at the position of the center of gravity of the operation area R. The reference point Q may be set at a position different from the position of the center of gravity of the operation area R.
[0038] The upward direction region RA1 is set above a reference point Q on the touch panel 11, and the rightward direction region RA2, the downward direction region RA3, and the leftward direction region RA4 are set to the right, below, and left of the reference point Q, respectively. The upward direction area RA1 is associated with the upward direction in the game space G, and the rightward direction area RA2, the downward direction area RA3, and the leftward direction area RA4 are associated with the rightward direction, the downward direction, and the leftward direction in the game space G, respectively.
[0039] Here, each of the directional areas RA1 to RA4 has a central angle around the reference point Q and is a sector whose arc is the outer edge of the operation area R. The central angle of this sector is greater than the angle obtained by dividing 360° into four, i.e., 90°. In this embodiment, the central angle of each of the directional areas RA1 to RA4 is 120°. Therefore, an overlapping region RB (RB1, RB2, RB3, RB4) is formed where adjacent directional regions RA overlap. Specifically, an overlapping region RB1 is formed to the upper right of the reference point Q where the upward directional region RA1 and the rightward directional region RA2 overlap. An overlapping region RB2 is formed to the lower right of the reference point Q where the rightward directional region RA2 and the downward directional region RA3 overlap. An overlapping region RB3 is formed to the lower left of the reference point Q where the downward directional region RA3 and the leftward region RA4 overlap. An overlapping region RB4 is formed to the upper left of the reference point Q where the leftward region RA4 and the upward directional region RA1 overlap.
[0040] Each overlapping region RB is associated with the same direction as the two direction regions RA that overlap in the region. That is, each overlapping region RB is associated with two directions. For example, overlapping region RB1 is associated with the upward direction and the rightward direction. Similarly, overlapping region RB2 is associated with the rightward direction and the downward direction, overlapping region RB3 is associated with the downward direction and the leftward direction, and overlapping region RB4 is associated with the leftward direction and the upward direction.
[0041] Moreover, among the upward direction region RA1, the rightward direction region RA2, the downward direction region RA3, and the leftward direction region RA4, the regions other than the overlapping regions RB1, RB2, RB3, and RB4, i.e., the regions that do not overlap with the other direction regions RA, are referred to as non-overlapping regions RC (RC1, RC2, RC3, and RC4). Since the non-overlapping region RC1 is a part of the upward direction region RA1, the upward direction is associated with the non-overlapping region RC1. Similarly, the rightward direction is associated with the non-overlapping region RC2, the downward direction is associated with the non-overlapping region RC3, and the leftward direction is associated with the non-overlapping region RC4.
[0042] That is, the upward region RA1 includes a non-overlapping region RC1, an overlapping region RB1 that overlaps with the rightward region RA2, and an overlapping region RB4 that overlaps with the leftward region RA4. The rightward region RA2 includes a non-overlapping region RC2, an overlapping region RB1 that overlaps with the upward region RA1, and an overlapping region RB2 that overlaps with the downward region RA3. The downward region RA3 includes a non-overlapping region RC3, an overlapping region RB2 that overlaps with the rightward region RA2, and an overlapping region RB3 that overlaps with the leftward region RA4. The leftward region RA4 includes a non-overlapping region RC4, an overlapping region RB3 that overlaps with the downward region RA3, and an overlapping region RB4 that overlaps with the upward region RA1.
[0043] Moreover, each of the overlapping regions RB1 to RB4 is further divided into two regions. In this embodiment, for example, the overlapping region RB1 is divided into an overlapping region RB1A that is a region on the side adjacent to the non-overlapping region RC1 and an overlapping region RB1B that is a region on the side adjacent to the non-overlapping region RC2 by dividing the central angle in half. The overlapping region RB2 is divided into an overlapping region RB2A that is a region on the side adjacent to the non-overlapping region RC2 and an overlapping region RB2B that is a region on the side adjacent to the non-overlapping region RC3 by dividing the central angle in half. The overlapping region RB3 is divided into an overlapping region RB3A that is a region on the side adjacent to the non-overlapping region RC3 and an overlapping region RB3B that is a region on the side adjacent to the non-overlapping region RC4 by dividing the central angle in half. The overlapping region RB4 is divided into an overlapping region RB4A that is a region on the side adjacent to the non-overlapping region RC4 and an overlapping region RB4B that is a region on the side adjacent to the non-overlapping region RC1 by dividing the central angle in half.
[0044] The boundaries of each area (directional area RA, overlap area RB, non-overlapping area RC) within operation area R shown in FIG. 3 may be virtually set in a manner that is not visible on touch panel 11, or may be displayed so as to be visible.
[0045] Next, the details of determining the movement direction based on the touch position will be described. The determination unit 134 determines the moving direction of the character C based on the touch position in the operation area R and the shape of the path L on which the character C is located. The shape of the path L on which the character C is located, i.e., the shape of the movable or non-movable area in the game space G, is acquired by referring to map data of the game space G included in the game application program, for example. The map data records at least the shape of the path L in the game space G, in other words, the arrangement of the blocks B in the game space G. When the shape of the path L in the game space G changes, for example, when a block B disappears, the map data is updated accordingly. For example, the determination unit 134 refers to map data of a predetermined range from the current position of the character C in the game space G, and acquires information on the shape of the path L on which the character C is located.
[0046] Hereinafter, a case where the touch position is in the non-overlapping region RC (pattern 1) and a case where the touch position is in the overlapping region RB (pattern 2) will be described separately.
[0047] <Pattern 1-1: When the touch position is in the non-overlapping region RC and there is a path extending in the direction corresponding to the touched non-overlapping region RC> If the touch position is in a non-overlapping area RC and there is a path extending in a direction corresponding to the touched non-overlapping area RC, the determination unit 134 determines the movement direction of the character C to be the direction corresponding to the touched non-overlapping area RC. For example, when the touch position is in the non-overlapping region RC1 and the character C is located on a path L extending at least in the upward direction (which may be the up-down direction), the determination unit 134 determines the moving direction of the character C to be the upward direction. Also, when the touch position is in the non-overlapping region RC2 and the character C is located on a path L extending at least in the right direction (which may be the left-right direction), the determination unit 134 determines the moving direction of the character C to be the right direction. Note that character C being located on path L extending in a predetermined direction corresponds to, for example, no block B being present closer than the minimum movement distance from the position of character C in the predetermined direction.
[0048] More specifically, pattern 1-1 corresponds to a case where the non-overlapping area RC1 is touched when the current position of the character C is on the path L2 in Fig. 1 (excluding the connection point P1). Since the non-overlapping area RC1 is associated with the upward direction and the path L2 extends upward except for the connection point P1, the character C can move upward along the path L1. Therefore, the determination unit 134 determines the movement direction of the character C to be the upward direction. Also, pattern 1-1 corresponds to, for example, a case where the non-overlapping area RC2 is touched when the current position of the character C is on the path L1 in Fig. 1. Since the non-overlapping area RC2 is associated with the right direction and the path L1 extends in the right direction, the character C can move to the right along the path L1. Therefore, the determination unit 134 determines the movement direction of the character C to be the right direction.
[0049] Thus, in pattern 1-1, when the touch position indicated by the touch position information is in the first area, the determination unit 134 determines that the character C, which is on a first path toward the first direction in the game space G, moves in the first direction. Also, in pattern 1-1, when the touch position indicated by the touch position information is in a second area that partially overlaps with the first area, the determination unit 134 determines that the character C, which is on a second path toward the second direction in the game space G, moves in the second direction. Applying this to the example using Figure 1 above, the first area corresponds to the upward direction area RA1, the first direction corresponds to the upward direction, the first path corresponds to path L2, the second area corresponds to the rightward direction area RA2, the second direction corresponds to the rightward direction area, and the second path corresponds to path L1.
[0050] In the example using Figure 1 above, the first and second regions were a combination of an upward region RA1 and a rightward region RA2, but they may be, for example, a combination of a rightward region RA2 and a downward region RA3, or a combination of a downward region RA3 and a leftward region RA4, or a combination of a leftward region RA4 and an upward region RA1.
[0051] In addition, in the example using Figure 1 above, the first region is described as the upward direction region RA1, the first direction is the upward direction, the second region is the rightward direction region RA2, and the second direction is the rightward direction, but for example, the first region may be the rightward direction region RA2, the first direction may be the rightward direction, the second region may be the upward direction region RA1, and the second direction may be the upward direction. In other words, one of the two directional regions RA that share the overlap region RB is defined as the first region and the other as the second region, the direction associated with the first region is defined as the first direction, and the direction associated with the second region is defined as the second direction.
[0052] <Pattern 1-2: When the touch position is in the non-overlapping region RC and there is no path extending in the direction corresponding to the touched non-overlapping region RC> If the touch position is in the non-overlapping region RC and there is no path extending in a direction corresponding to the touched non-overlapping region RC, the determination unit 134 determines to stop the movement of the character C. For example, if the non-overlapping region RC1 is touched when the current position of the character C is on the path L1 in FIG. 1, the direction corresponding to the touch position is the upward direction. However, since the path L1 extends in the left-right direction and the path width is the same as the character length, the character C cannot move in the up-down direction. Therefore, the determination unit 134 determines not to move the character C, that is, to stop the movement. At this time, the game control unit 131 may, for example, generate an error sound or display that a part of the character C (for example, a foot) is moving while the position of the character C itself is not moving. This is because the character C does not move because the movement is restricted by the shape of the path L, and to make it easier for the user to understand the possibility of an erroneous operation.
[0053] Thus, in pattern 1-2, when the touch position indicated by the touch position information is in the first area and the movement of the object in the game space G in the first direction is blocked, the determination unit 134 determines to stop the movement of the object. In the example using FIG. 1, the first region corresponds to the upward region RA1, and the first direction corresponds to the upward direction.
[0054] <Pattern 2: When the touch position is in the overlapping area RB> As described above, the overlapping regions RB are associated with two directions. Therefore, when the touch position is in the overlapping region RB, the determination unit 134 determines the moving direction of the character C to be one of the two directions associated with the touched overlapping region RB.
[0055] <Pattern 2-1: When the direction of extension of the path L on which the character C is located is only one of the two directions associated with the overlapping area RB in which the touch position is located> When the extending direction of the path L on which the character C is located is only one of the two directions associated with the overlapping area RB in which the touch position is located, the determination unit 134 determines the moving direction of the character C to be the direction of the path L. Specifically, pattern 2-1 is, for example, a case where the touch position is in the overlapping area RB1, and the position of the character C is either on the path L2 in FIG. 1 (excluding the connection point P1 with the path L1) or on the path L1 in FIG. 1. When the position of the character C is on the path L2, the extension direction of the path L2 is only the upward direction among the upward and right directions associated with the overlapping area RB1, so the determination unit 134 determines the movement direction of the character C to be the upward direction. Also, when the position of the character C is on the path L1, the extension direction of the path L is only the right direction among the upward and right directions associated with the overlapping area RB1, so the determination unit 134 determines the movement direction of the character C to be the right direction. Unlike pattern 2-2, which will be described later, in pattern 2-1, the movement direction is determined regardless of the touch position within the overlapping region RB.
[0056] Thus, in pattern 2-1, when the touch position indicated by the touch position information is in the first area, the determination unit 134 determines that the character C, which is on a first path toward the first direction in the game space G, moves in the first direction. Also, in pattern 2-1, when the touch position indicated by the touch position information is in a second area that partially overlaps with the first area, the determination unit 134 determines that the character C, which is on a second path toward the second direction in the game space G, moves in the second direction. Applying this to the example using Figure 1 above, the first area corresponds to the upward direction area RA1, the first direction corresponds to the upward direction, the first path corresponds to path L2, the second area corresponds to the rightward direction area RA2, the second direction corresponds to the rightward direction area, and the second path corresponds to path L1.
[0057] In the example using Figure 1 above, the first and second regions were a combination of an upward region RA1 and a rightward region RA2, but they may be, for example, a combination of a rightward region RA2 and a downward region RA3, or a combination of a downward region RA3 and a leftward region RA4, or a combination of a leftward region RA4 and an upward region RA1.
[0058] In addition, in the example using Figure 1 above, the first region is described as the upward direction region RA1, the first direction is the upward direction, the second region is the rightward direction region RA2, and the second direction is the rightward direction, but for example, the first region may be the rightward direction region RA2, the first direction may be the rightward direction, the second region may be the upward direction region RA1, and the second direction may be the upward direction. In other words, one of the two directional regions RA that share the overlap region RB is defined as the first region and the other as the second region, the direction associated with the first region is defined as the first direction, and the direction associated with the second region is defined as the second direction.
[0059] <Pattern 2-2: When the direction of extension of the path L on which the character C is located includes both of the two directions associated with the overlapping area RB in which the touch position is located> When the extension direction of the path L on which the character C is located includes both of the two directions associated with the overlapping region RB in which the touch position is located, the determination unit 134 determines the moving direction of the character C based on the touch position in the overlapping region RB. Specifically, the determination unit 134 determines the moving direction of the character C to be the direction associated with the non-overlapping region RC that is closer to the touch position among the non-overlapping regions RC adjacent to the overlapping region RB.
[0060] Pattern 2-2 corresponds to the case where, for example, the touch position is in the overlapping area RB2, and the position of the character C is at the connection point P1 of the paths L1 and L2 in FIG. 1. At the connection point P1, the character C can move to the right, left, and downward. Also, the right and downward directions are associated with the overlapping area RB2. Therefore, the question arises as to whether the moving direction of the character C should be the right or the downward direction.
[0061] In this case, the determination unit 134 determines the movement direction depending on whether the touch position in the overlap region RB2 is closer to the adjacent non-overlapping region RC2 or RC3. Specifically, when the touch position is in the overlap region RB2A adjacent to the non-overlapping region RC2, the determination unit 134 determines the movement direction of the character C to be rightward. When the touch position is in the overlap region RB2B adjacent to the non-overlapping region RC3, the determination unit 134 determines the movement direction of the character C to be downward. By doing so, it becomes possible to move the character C in a manner that accurately reflects the user's intention.
[0062] That is, when the touch position indicated by the touch position information exists in an overlapping area between the first area and the second area, the determination unit 134 divides the overlapping area RB into a first overlapping area that borders a first non-overlapping area of the first area that does not overlap with the second area, and a second overlapping area that borders a second non-overlapping area of the second area that does not overlap with the first area. When the touch position exists in the first overlapping area, the determination unit 134 selects the moving direction of the character C at the connection point P to be the first direction, and when the touch position exists in the second overlapping area, the determination unit 134 selects the moving direction of the character C at the connection point P to be the second direction. Applying this to the example using Figure 1 above, the first region corresponds to the rightward region RA2, the second region corresponds to the downward region RA3, the overlapping region RB corresponds to the overlapping region RB2, the first non-overlapping region corresponds to RC2, the first overlapping region corresponds to RB2A, the second non-overlapping region corresponds to RC3, the second overlapping region corresponds to RB2B, the connection point P corresponds to the connection point P1, the first direction corresponds to the rightward direction, and the second direction corresponds to the downward direction.
[0063] In other words, when one directional area RA corresponding to the first direction and another directional area RA corresponding to the second direction overlap in an overlap area RB, and the extension directions of the path L along which the character C can move at the connection point P are the first direction and the second direction, the determination unit 134 determines the movement direction to be the first direction if the touch position is close to one non-overlapping area RC corresponding to the first direction, and determines the movement direction to be the second direction if the touch position is close to the other non-overlapping area RC corresponding to the second direction.
[0064] For example, even if the overlapping area RB3 (corresponding to the downward and left directions) is touched at the position of character C3 in Figure 1 (which can move upward, downward, and left), the determination unit 134 can determine the movement direction of character C using the above-mentioned method.
[0065] In the example using Figure 1 above, the first and second regions were a combination of the rightward region RA2 and the downward region RA3, but they may be, for example, a combination of the upward region RA1 and the rightward region RA2, or a combination of the downward region RA3 and the leftward region RA4, or a combination of the leftward region RA4 and the upward region RA1.
[0066] In addition, in the example using Figure 1 above, the first region is described as the rightward direction region RA2, the first direction is the rightward direction, the second region is the downward direction region RA3, and the second direction is the downward direction, but for example, the first region may be the downward direction region RA3, the first direction may be the downward direction, the second region may be the rightward direction region RA2, and the second direction may be the rightward direction. In other words, one of the two directional regions RA that share the overlap region RB is defined as the first region and the other as the second region, the direction associated with the first region is defined as the first direction, and the direction associated with the second region is defined as the second direction.
[0067] <Pattern 2-3: When the direction of extension of the path L on which the character C is located does not include either of the two directions associated with the overlapping area RB in which the touch position is located> When the extending direction of the path L on which the character C is located does not include either of the two directions associated with the overlapping area RB in which the touch position is located, the determination unit 134 determines to stop the movement of the character C. For example, if the overlapping area RB4 is touched when the current position of the character C is at the connection point P2 in Figure 1, the directions corresponding to the touched position are the leftward and upward directions. However, at the connection point P2, the path L1 extends only to the rightward direction, and the path L4 extends only to the downward direction. Therefore, there is no path that extends in the direction corresponding to the touched position. Therefore, the determination unit 134 determines not to move the character C, that is, to stop the movement. At this time, the game control unit 131 may, for example, generate an error sound, or display that a part of the character C (for example, the feet) is moving without moving the position of the character C itself, as in pattern 1-2. This is to make it easier for the user to understand that the character C does not move because the movement is restricted by the shape of the path L, and to make it easier for the user to understand the possibility of an erroneous operation.
[0068] Thus, in pattern 2-3, when the touch position indicated by the touch position information is in an overlapping area between the first area and the second area and the movement of the object in the game space G in the first direction and the second direction is blocked, the determination unit 134 determines to stop the movement of the object. Applying this to the example using Figure 1 above, the first region corresponds to the upward region RA1, the second region corresponds to the leftward region RA4, the overlapping region between the first and second regions corresponds to the overlapping region RB4, the first direction corresponds to the upward direction, and the second direction corresponds to the leftward direction.
[0069] In the example using Figure 1 above, the first and second regions were a combination of an upward region RA1 and a leftward region RA4, but they may be, for example, a combination of an upward region RA1 and a rightward region RA2, or a combination of a rightward region RA2 and a downward region RA3, or a combination of a downward region RA3 and a leftward region RA4.
[0070] In addition, in the example using Figure 1 above, the first region is described as the upward direction region RA1, the first direction is the upward direction, the second region is the leftward direction region RA4, and the second direction is the leftward direction, but for example, the first region may be the leftward direction region RA4, the first direction may be the leftward direction, the second region may be the upward direction region RA1, and the second direction may be the upward direction. In other words, one of the two directional regions RA that share the overlap region RB is defined as the first region and the other as the second region, the direction associated with the first region is defined as the first direction, and the direction associated with the second region is defined as the second direction.
[0071] The decision unit 134 further functions as a selection unit 136 and a display control unit 138 (see FIG. 2B). When there is a connection point P with another route L on the side of the moving direction of the character C, the selection unit 136 selects the moving direction of the character C at the connection point P based on the touch position information. The selection unit 136 acquires the map data of the game space G, for example, by referring to the map data included in the application program of the game. For example, the determination unit 134 refers to the map data of a predetermined range from the current position of the character C in the game space G, and determines whether or not there is a connection point P with another path L in the moving direction of the character C. The predetermined range is arbitrary, and may be, for example, the range of the game space G displayed on the touch panel 11 at the current time, or within a predetermined distance in the game space G from the current position of the character C, or may be a range that can be reached within a predetermined time when the character C moves along the path L at the moving speed of the character C defined in the game.
[0072] The selection unit 136 selects the moving direction of the character C at the connection point P, assuming that the current touch position continues until the character C reaches the connection point P. The method of selecting the movement direction by the selection unit 136 is the same as the method of determining the movement direction by the determination unit 134 described above, that is, the above patterns 1-1, 1-2, 2-1, 2-2, and 2-3. If the touch position is changed before the character C reaches the connection point P, the selection unit 136 may reselect the movement direction of the character C at the connection point P based on the changed touch position.
[0073] The display control unit 138 displays in the game space G an image indicating the result of the selection by the selection unit 136 (hereinafter referred to as a “selection result image”). The selection result image may be, for example, an icon indicating the route on the side selected by the selection unit 136.
[0074] 4 to 6 are diagrams showing an example of a display on the touch panel 11 in the first embodiment. 4 displays an area of the game space G including a path L5 extending in the Y-axis direction (up-down direction), a path L6 extending in the X-axis direction (left-right direction), and a connection point P3 between the paths L5 and L6. The path widths of the paths 5 and L6 are equal to the character length, and the character C cannot move in the path width direction on the paths 5 and L6. In addition, a block B is located to the left of the connection point P3, and the character C who has moved leftward on the path L6 cannot move further to the left than the connection point P3. In other words, the path L6 ends at the connection point P3.
[0075] Here, as shown in FIG. 4, it is assumed that the character C4 is located below the connection point P3 of the path L5, and the touch position is located somewhere in the overlapping area RB1 indicated by hatching. In this case, the determination unit 134 determines the moving direction of the character C4 to be the upward direction according to the above pattern 2-1. That is, the path L5 on which the character C4 is located extends in the vertical direction, and the upward and rightward directions are associated with the overlapping area RB1, which is the touch position, so the determination unit 134 determines the moving direction of the character C4 to be the upward direction.
[0076] In the moving direction (upward) of the character C4 determined by the determination unit 134, there is a connection point P3 between the paths L5 and L6. For example, if the touch position by the user remains in the overlapping area RB1, the state will be pattern 2-2 at the connection point P3, and the character C4 will move either upward or to the right. However, it is difficult for the user to grasp in which direction the character C4 will move at the connection point P3 if the current operation state is continued. If the character C4 does not move in the direction desired by the user at the connection point P3, the operation of instructing the movement direction at the connection point P3 will be an erroneous operation for the user. If an erroneous operation occurs, for example, the user may lose time in changing the direction of the character C4, which may cause disadvantages in the game progress.
[0077] Therefore, when there is a connection point P with another path L in the moving direction of the character C4, the determination unit 134 pre-selects a moving direction based on the current touch position using the selection unit 136. Furthermore, the determination unit 134 displays a selection result image in the game space G using the display control unit 138 before the character C4 reaches the connection point P. The user can check the displayed selection result image and decide in advance (before the character C4 reaches the connection point P) whether to continue with the current touch position or change the touch position, thereby preventing erroneous operations.
[0078] The selection unit 136 may select the movement direction of the character C at the connection point P based on the touch position information, for example, only when the touch position is in the overlapping area RB and there is a connection point P with another path L on the side of the movement direction of the character C. According to this embodiment, when the touch position is in the overlapping area RB and it is relatively difficult to estimate the moving direction at the connection point P, the user can know in advance the moving direction at the connection point P, and can suppress erroneous operations. Also, for example, when the connection point P is on the moving direction side of the character C, the user can know whether the touch position is in the overlapping area RB or the non-overlapping area RC based on whether the selection result image is displayed or not.
[0079] In the present embodiment, the description will be given assuming that the movement direction at the connection point P is selected even when the touch position is in the non-overlapping region RC.
[0080] 5, when the touch position T is in the overlapping area RB1A, the selection unit 136 selects the upward movement direction of the character C4 at the connection point P3. This is the application of the above-mentioned pattern 2-2 by the determination unit 134. Before the character C4 reaches the connection point P3, the display control unit 138 displays in the game space G a mark M1 indicating that the moving direction of the character C4 at the connection point P3 is an upward direction. Mark M1 is an example of a selection result image. 5, the mark M1 has a shape in which three triangles, each with a base extending along the width direction of the path L5 and an apex angle located upward from the base, are connected along the extension direction of the path L5. Such a mark M1 reminds the user of upward movement. 5, the display position of the mark M1 is a location near the connection point P3 on the path L5. By displaying the mark M1 near the connection point P3, the user can easily understand that the movement direction of the character C4 indicated by the mark M1 is the movement direction at the connection point P3. By looking at the mark M1, the user can understand that the character C4 will move upward at the connection point P3. If the user wishes to allow the character C4 to move upward at the connection point P3, the user need only maintain the current touch position T. On the other hand, if the user wishes to move the character C4 to the right at the connection point P3, the user need only move the touch position T toward the non-overlapping area RC2 (see FIG. 3) so that the touch position T becomes part of the overlapping area RB1B.
[0081] 6, for example, when the touch position T is in the overlapping area RB1B, the selection unit 136 selects the moving direction of the character C at the connection point P3 to the right. This is the application of the above-mentioned pattern 2-2 in the determination unit 134. Before the character C4 reaches the connection point P3, the display control unit 138 displays in the game space G a mark M2 indicating that the moving direction of the character C4 at the connection point P3 is the rightward direction. The mark M2 is also an example of a selection result image. 6, the mark M2 has a base that extends along the width direction of the path L6, and has a shape in which three triangles, each with an opposite apex angle located to the right of the base, are connected along the extension direction of the path L6. Such a mark M2 reminds the user of movement to the right. 6, the display position of the mark M2 is a location near the connection point P3 on the path L6. By displaying the mark M2 near the connection point P3, the user can easily understand that the movement direction of the character C4 indicated by the mark M2 is the movement direction at the connection point P3. By looking at the mark M2, the user can understand that the character C4 will move to the right at the connection point P3. If the user wishes to allow the character C4 to move to the right at the connection point P3, the user can simply maintain the current touch position. On the other hand, if the user wishes to move the character C4 upward at the connection point P3, the user can move the touch position toward the non-overlapping area RC1 (see FIG. 3) so that the touch position is in the overlapping area RB1A.
[0082] 5, for example, assume that the touch position T is in the overlapping area RB1A, a mark M1 indicating an upward movement is displayed near the connection point P3 on the path L5, and the user moves the touch position T to the overlapping area RB1B before the character C reaches the connection point P3. In this case, the selection unit 136 changes the movement direction at the connection point P3 to the right, and the display control unit 138 changes the image displayed near the connection point P3 to a mark M2 indicating a rightward movement as shown in FIG.
[0083] In this way, when the touch position indicated by the touch position information is in the overlapping area RB between the first area and the second area, and the connection point P of the first path and the second path is on the movement direction side of the character C in the game space G, the selection unit 136 selects the movement direction of the character C at the connection point P from the first direction and the second direction based on the touch position information. The display control unit 138 displays the selection result image in the game space before the character C reaches the connection point. Applying this to the example using Figures 4 to 6 above, the first area corresponds to the upward area RA1, the second area corresponds to the rightward area RA2, the overlapping area between the first and second areas corresponds to the overlapping area RB1, the movement direction of character C corresponds to the upward direction, the connection point between the first and second paths corresponds to P3, the first direction corresponds to the upward direction, the second direction corresponds to the rightward direction, and the images indicating the selection result correspond to marks M1 and M2, respectively.
[0084] In addition, the selection unit 136 divides the overlapping area into a first overlapping area that borders a first non-overlapping area of the first area that does not overlap with the second area, and a second overlapping area that borders a second non-overlapping area of the second area that does not overlap with the first area, and when a touch position is present in the first overlapping area, selects the movement direction of character C at the connection point to be the first direction, and when a touch position is present in the second overlapping area, selects the movement direction of character C at the connection point to be the second direction. Applying this to the example using Figures 4 to 6 above, the overlap area corresponds to overlap area RB1, the first area corresponds to upward area RA1, the second area corresponds to rightward area RA2, the first non-overlapping area corresponds to non-overlapping area RC1, the first overlapping area corresponds to overlapping area RB1A, the second non-overlapping area corresponds to non-overlapping area RC2, the second overlapping area corresponds to RB1B, the connection point corresponds to connection point P3, the first direction corresponds to the upward direction, and the second direction corresponds to the rightward direction.
[0085] Furthermore, the display control unit 138 displays the selection result image at a position based on the connection point P in the game space. The position based on the connection point P may be, for example, a position having a predetermined positional relationship with the connection point P, a position within a range of a predetermined distance from the connection point P, or a position in a predetermined direction based on the connection point P. Specifically, the position based on the connection point P may be, for example, the position of the connection point in the game space G, a position advanced in the movement direction side selected by the selection unit 136 based on the connection point P, or a position between the connection point P and the object. Furthermore, the position based on the connection point P may be, for example, a movement-restricted space around the connection point P (for example, on a block). In the example using the above-mentioned Figs. 4 to 6, the selection result image corresponds to the marks M1 and M2, and the position based on the connection point P corresponds to a position on the path L that is a predetermined distance or less from the connection point P3.
[0086] In addition, the selection unit 136 may select the movement direction of the character C at the connection point P even if, for example, the two directions associated with the overlapping area RB in which the touch position exists do not coincide with at least one of the extension directions of the multiple paths L connected to the connection point P on the movement direction side of the character C (for example, when the touch position is in the overlapping area RB1, there is a connection point P between a path L extending upward and a path L extending leftward), or even if the above two directions are not included in the extension directions of the multiple paths L connected to the connection point P (for example, when the touch position is in the overlapping area RB1, there is a connection point P between a path L extending rightward and a path L extending leftward).
[0087] Next, an example of the operation of the control unit 130 of the information processing device 10 will be described with reference to Fig. 7 to Fig. 9. The operation shown in Fig. 7 is started when a predetermined start operation is performed.
[0088] The acquiring unit 132 acquires touch position information indicating a touch position on the touch panel 11 (Step S100). If the touch position indicated by the touch position information is not located within the operation region R (step S102: NO), the control unit 130 returns to step S100. If the touch position is located within the operation region R (step S102: YES), the determination unit 134 executes a subroutine of a current moving direction determination process for determining the moving direction of the character C from the current position (step S104).
[0089] FIG. 8 is a flowchart showing a procedure for the current movement direction determination process. The determination unit 134 determines whether or not the touch position indicated by the touch position information is located in any of the non-overlapping areas RC of the operation area R (step S200). If the touch position is located in a non-overlapping area RC (step S200: YES), the determination unit 134 determines whether or not there is a path L extending from the position of the character C in a direction associated with the touched non-overlapping area RC (step S202). If the path L exists (step S202: YES), the determination unit 134 determines the moving direction of the character C to be the direction associated with the touched non-overlapping region RC (step S204), and ends the processing of this flowchart. On the other hand, if there is no path L (step S202: NO), the determination unit 134 determines to stop the movement of the character C from the current position (step S208), and ends the processing of this flowchart.
[0090] If the touch position is not located in the non-overlapping region RC (step S200: NO), it means that the touch position is located in the overlapping region RB. The determination unit 134 determines whether or not there is a path L extending from the position of the character C in at least one of the two directions associated with the touched overlapping region RB (step S206). If there is no path L (step S206: NO), the determination unit 134 determines to stop the movement of the character C from the current position (step S208), and ends the processing of this flowchart.
[0091] If a path L exists (step S206: YES), the determination unit 134 determines whether there is one path L, i.e., whether there is only a path L extending in one of the two directions corresponding to the touched overlapping area RB, or whether there are two paths L each heading in one of the two directions (step S210). If there is one path L (step S210: YES), the determination unit 134 determines the moving direction of the character C to be the extending direction of the path L (step S212), and ends the processing of this flowchart. Also, if there is not one path L (step S210: NO), that is, if there are two paths L, the determination unit 134 determines the moving direction of the character C based on the touch position in the overlapping region RB (step S214), and ends the processing of this flowchart. More specifically, the determination unit 134 determines the moving direction of the character C to be the direction associated with the non-overlapping region RC that is closer to the touch position out of the two non-overlapping regions RC adjacent to the touched overlapping region RB.
[0092] When the current movement direction determination process of step S104 ends, if the movement direction from the current position of the character C is determined by the current movement direction determination process (steps S204, S212, S214), the game control unit 131 moves the character C in the game space G in the determined movement direction. Also, if it is determined by the current movement direction determination process to stop the movement of the character C (step S208), the game control unit 131 stops the movement of the character C in the game space G.
[0093] Furthermore, when the current movement direction determination process of step S104 ends, the selection unit 136 judges whether or not the movement direction of the character C from the current position has been determined by the current movement direction determination process (step S106). If the movement direction from the current position has not been determined (step S106: NO), that is, if there is no path L along which the character C can move and the character C stops moving at the current position, the control unit 130 returns to step S100.
[0094] On the other hand, when the movement direction from the current position is determined (step S106: YES), the selection unit 136 determines whether or not the path L on the movement direction side has a connection point P where another path L connects (step S108). If there is no connection point P (step S108: NO), the control unit 130 returns to step S100. On the other hand, if there is a connection point P (step S108: YES), the selection unit 136 executes a connection point movement direction selection process subroutine for selecting the movement direction of the character C at the connection point P (step S110).
[0095] FIG. 9 is a flowchart showing a procedure for the connection point movement direction selection process. The selection unit 136 determines whether or not the touch position indicated by the touch position information is located in any of the non-overlapping areas RC in the operation area R (step S300). If the touch position is located in the non-overlapping area RC (step S300: YES), the selection unit 136 determines whether or not there is a path L extending from the connection point P in a direction associated with the touched non-overlapping area RC (step S302). If a path L exists (step S302: YES), the selection unit 136 selects the movement direction of the character C from the connection point P in the direction associated with the touched non-overlapping region RC (step S304), and ends the processing of this flowchart. On the other hand, if the path L does not exist (step S302: NO), the selection unit 136 selects to stop the movement of the character C at the connection point P (step S308), and ends the processing of this flowchart.
[0096] If the touch position is not located in the non-overlapping region RC (step S300: NO), it means that the touch position is located in the overlapping region RB. The selection unit 136 determines whether or not there is a path L extending from the connection point P in at least one of the two directions associated with the touched overlapping region RB (step S306). If the path L does not exist (step S306: NO), the selection unit 136 selects to stop the movement of the character C at the connection point P (step S308), and ends the processing of this flowchart.
[0097] If a path L exists (step S306: YES), the selection unit 136 determines whether there is one path L, i.e., whether there is only a path L extending in one of the two directions corresponding to the touched overlapping area RB, or whether there are two paths L each heading in one of the two directions (step S310). If there is one path L (step S310: YES), the selection unit 136 selects the moving direction of the character C from the connection point P in the extending direction of the path L (step S312), and ends the processing of this flowchart. Also, if there is not one path L (step S310: NO), that is, if there are two paths L, the selection unit 136 selects the movement direction of the character C based on the touch position in the overlapping region RB (step S314), and ends the processing of this flowchart. More specifically, the selection unit 136 selects the movement direction of the character C as the direction associated with the non-overlapping region RC that is closer to the touch position out of the two non-overlapping regions RC adjacent to the touched overlapping region RB.
[0098] When the connection point movement direction selection process of step S110 ends, the display control unit 138 determines whether or not the movement direction of the character C from the connection point P has been selected by the connection point movement direction selection process (step S112). If the movement direction from the connection point P has not been selected (step S112: NO), that is, if there is no path L along which the character C can move at the connection point P and the movement stops at the connection point P, the control unit 130 returns to step S100.
[0099] On the other hand, if the movement direction from the connection point P is selected (step S112: YES), the display control unit 138 displays a selection result image, i.e., an image indicating the movement direction of the character C at the connection point P, in the game space G (step S114), and the control unit 130 returns to step S100. For example, if the character C passes through a connection point P after the selection result image is displayed in step S114, the determination in step S108 as to whether the connection point P is in the direction of movement is NO, so the process does not reach step S114 and the selection result image is no longer displayed. Also, for example, if after the selection result image is displayed in step S114, character C changes his movement direction and the connection point P is no longer located in the direction of movement, the determination in step S108 as to whether the connection point P is located in the direction of movement will be NO, so the process will not reach step S114 and the selection result image will not be displayed.
[0100] As described above, according to the first embodiment, when there is a connection point between paths L on the movement direction side of the character C in the game space G, the selection unit 136 selects the movement direction of the character C at the connection point, and the display control unit 138 displays the selection result image before the character C reaches the connection point P. This allows the user to know in advance the movement direction of the character C at the connection point P, and can prevent erroneous operations such as instructing the character C to move in an unintended direction.
[0101] In the first embodiment, for example, the following configuration may be adopted.
[0102] [Variation A1] In the above-described first embodiment, the display control unit 138 displays the selection result image at a position based on the connection point P in the game space G. However, the present invention is not limited to this, and the display control unit 138 may display the selection result image at a position based on the character C in the game space G. Specifically, for example, as shown in FIG. 17, a mark M5 indicating the selection result may be displayed in front of and near the character C8. The "position based on character C" may be, for example, a position having a predetermined positional relationship with character C, a position within a range of a predetermined distance from character C, or a position in a predetermined direction based on character C. Specifically, the "position based on character C" may be, for example, the current position of character C in game space G, or a position on the path forward or backward in the traveling direction of character C. Furthermore, the "position based on character C" may be, for example, a movement-restricted space around character C (for example, on block B). Generally, a user who is playing a game often focuses his or her gaze on the character C. By displaying the selection result image at a position based on the character C, the user can check the selection result image without significantly moving his or her line of sight from the character C.
[0103] [Variation A2] In the above-described first embodiment, the selection result image is an image showing a selection result at a connection point P located within the display range of the touch panel 11. However, the present invention is not limited to this, and for example, a selection result image corresponding to a connection point P located outside the display range of the touch panel 11 may be displayed. In other words, the display control unit 138 may cause an image representing a portion of the game space G to be displayed on the touch panel 11, and the selection result image may be displayed at a position within the game space G based on the positional relationship between the range displayed on the touch panel 11 (hereinafter referred to as the "display range") and the connection point P. An "image showing a part of the game space" is, for example, an image that extracts a part of the game space G and does not display the entire area of the game space G. An image showing a part of the game space G is, for example, an image that extracts a predetermined range from the game space G based on the position of the character C. Furthermore, the "position based on the positional relationship between the display range and the connection point" may be, for example, a position that is selectively changed depending on whether the display range includes the connection point P. For example, when the connection point P is located within the display range, the connection point P may be the "position based on the positional relationship between the display range and the connection point," and when the connection point P is located outside the display range, the "position based on the positional relationship between the display range and the connection point" may be on the character C (or a position between the character C and the connection point within the display range).
[0104] 17 and 18 are diagrams showing an example of a display mode of the display selection result image on the touch panel 11 in the modification A2. 17 and 18 show a game space G that is wider than the display range 11A of the touch panel 11. In Fig. 17 and 18, the display range 11A of the touch panel 11 is a predetermined range based on the position of the character C8. Therefore, as the character C8 moves, the display range 11A of the touch panel 11 also moves. The character C8 is moving rightward on a path L12 extending in the X-axis direction. Outside the display range 11A on the side of the moving direction of the character C8, the path L12 connects with a path L13 extending in the Y-axis direction. The connection point between the paths L12 and L13 is P5. For example, when the area to be processed by the selection unit 136 (e.g., the acquisition range of map data) is wider than the display range 11A at least in the movement direction side of the character C8 (e.g., the area 136A shown in FIG. 17), the movement direction at the connection point P5 is selected before the connection point P5 is displayed on the touch panel 11. In the example of FIG. 17, for example, it is assumed that the character C8 moves upward at the connection point P5.
[0105] The display control unit 138 displays this selection result even before the connection point P5 is displayed on the touch panel 11. Specifically, for example, as shown in Fig. 17, a mark M5, which is a selection result image, may be displayed near the character C8. The display position of the mark M5 is changed in conjunction with the movement of the character C. In other words, the mark M5 is displayed so that its display position and the position of the character C8 are constant. The mark M5 has a shape in which three triangles, each with a base extending along the X direction, which is the width direction of the path L13, and an opposite angle located upward from the base, are connected along the Y direction, which is the extension direction of the path L13. Such a mark M5 reminds the user of upward movement. By looking at the mark M5, the user can know in advance (before the connection point P5 enters the display range) that the connection point P5 is in the direction of movement of the character C8. Also, by looking at the mark M5, the user can know in advance (before the connection point P5 is reached) that the movement direction of the character C8 at the connection point P5 is upward. Generally, a user playing a game often focuses his or her gaze on the character C. By displaying the mark M5 near the character C8, the user can check the mark M5 without significantly moving his or her gaze from the character C8.
[0106] In FIG. 17, the mark M5 is displayed in front of and near the character C8, but it may be in any of various "positions based on the character C" as shown in the modification example A1. FIG. 17 can be said to show the display mode of the modification A1.
[0107] 18, for example, a mark M5 may be displayed at an end of display range 11A of touch panel 11 that is close to connection point P5. By displaying mark M5 at the end of touch panel 11, the user can intuitively grasp the direction in which connection point P5 is located.
[0108] 17, when the character C8 moves and the connection point P5 enters the display range of the touch panel 11, for example, the display position of the mark M5 may be changed to the position of the connection point P5, or the display position of the mark M5 may remain in the vicinity of the character C8. Also, for example, the mark M5 may be displayed in two places, the connection point P5 and the vicinity of the character C8. Also, in the display mode of Figure 18, when the character C8 moves and the connection point P5 enters the display range of the touch panel 11, the movement of mark M5 relative to the game space G may be stopped, for example, when the display position of mark M5 overlaps with the connection point P5, and the display position of mark M5 may remain as the position of the connection point P5.
[0109] Also, for example, the display mode of the selection result image may be changed based on the position of the display range 11A and the connection point P5, in other words, the positional relationship between the character C and the connection point P5. Specifically, for example, the closer the positions of the character C and the connection point P5 are, the darker the display color of the selection result image may be, the larger the size of the selection result image may be, or the blinking speed of the selection result image may be increased. This allows the user to intuitively grasp the positional relationship between the connection point P, which is not within the display range of the touch panel 11, and the character C.
[0110] [Variation A3] In the above-described first embodiment, the selection unit 136 selects the movement direction at the connection point P closest to the character C on the path L along which the character C moves, and the display control unit 138 displays the selection result image. However, without being limited to this, the selection unit 136 may select, for example, each of the movement directions at a plurality of connection points P on the path L along which the character C moves, and the display control unit 138 may display each selection result image.
[0111] FIG. 19 is a diagram showing an example of a display on touch panel 11 in modification A3. The touch panel 11 shown in Figure 19 displays the same game space G as in Figures 4 to 6, i.e., an area including a path L5 extending in the Y-axis direction (up and down direction), a path L6 extending in the X-axis direction (left and right direction), and a connection point P3 between paths L5 and L6. Here, path L5 connects to path L14 at connection point P6, which is located above connection point P3. Path L14 extends in the X-axis direction (left-right direction), and the path width is equal to the character length. Block B is placed above connection point P6, so character C4, who has moved upward on path L5, cannot move above connection point P6. In other words, path L5 ends at connection point P6.
[0112] Here, as shown in FIG. 19, it is assumed that the character C4 is located below the connection point P3 of the path L5 and the touch position is in the overlapping area RB1A. 4 and 5, the determination unit 134 determines the moving direction of the character C4 on the path L5 to be the upward direction. The selection unit 136 selects the moving direction of the character C4 at the connection point P3 to be the upward direction. The display control unit 138 displays a mark M1 indicating that the moving direction of the character C4 at the connection point P3 is the upward direction near the connection point P3 in the game space G before the character C4 reaches the connection point P3.
[0113] As a result of moving the connection point P3 in the upward direction, the character C4 reaches the connection point P6. That is, the connection point P6 with the path L14 is on the moving direction side of the character C4. Therefore, the selection unit 136 selects the moving direction of the character C4 at the connection point P6 based on the touch position. In the example of FIG. 19, the touch position is in the overlapping area RB1A. The overlapping area RB1A (overlapping area RB1) is associated with the upward direction and the rightward direction, but the moving direction at the connection point P6 is the rightward direction or the leftward direction. That is, as in the above pattern 2-1, of the two directions (upward and rightward) associated with the overlapping area RB1, only the path L (path L14 extending in the rightward direction) that extends in one direction exists. Therefore, the selection unit 136 selects the moving direction of the character C4 at the connection point P6 to the rightward direction, and the display control unit 138 displays a selection result image of the moving direction of the character C4 at the connection point P6 in the vicinity of the connection point P6 in the game space G.
[0114] That is, when the selection unit 136 selects the first direction as the movement direction of the character C at the first connection point, the touch position indicated by the touch position information is in the overlapping area RB, and the second connection point where the third path toward the third direction and the first path connect is present in the traveling direction of the character C that has passed through the connection point P, the selection unit 136 selects the movement direction of the character C at the second connection point from the first direction and the third direction based on the touch position information. The display control unit 138 displays, in the game space G, a selection result image corresponding to the first connection point and a selection result image corresponding to the second connection point. The "third direction" is a direction in the game space G. The third direction is at least a direction different from the first direction. The third direction may be a direction different from the first direction and the second direction. The third direction may be the same as the second direction. Applying this to the example using Figure 19 above, the first direction corresponds to the upward direction, the first connection point corresponds to connection point P3, the overlapping area RB corresponds to overlapping area RB1A, the third direction corresponds to the rightward direction, the third path corresponds to path L14, the first path corresponds to path L5, the second connection point corresponds to connection point P6, the selection result image corresponding to the first connection point corresponds to mark M1, and the selection result image corresponding to the second connection point corresponds to mark M6.
[0115] In this way, the user can check the movement direction at multiple connection points P in advance (before the character C reaches the connection point P) and decide whether or not to change the touch position, thereby preventing erroneous operations. In particular, when the distance between adjacent connection points P is short, in an aspect in which only the selection result at the connection point P closest to the character C is displayed, there is a possibility that the operation to specify the movement direction at the next connection point P will not be completed in time. By displaying the movement direction at multiple connection points P in advance, the user can specify the movement direction with ample time.
[0116] [Variation A4] In the first embodiment, a selection result image was displayed when the movement direction at the connection point P was determined, and was not displayed when the movement of the character C was stopped at the connection point P (step S112: NO in FIG. 7). Without being limited to this, even when the movement of the character C is stopped at the connection point P, the display control unit 138 may display an image indicating that fact.
[0117] FIG. 20 is a diagram showing an example of a display on touch panel 11 in modification A4. The touch panel 11 shown in Figure 20 displays an area including a path L15 extending in the Y-axis direction (up and down direction), a path L16 extending in the X-axis direction (left and right direction), and a connection point P7 between paths L15 and L16. A block B is placed above the connection point P7, so character C9 moving upward on path L15 cannot move above the connection point P7. In other words, path L15 ends at the connection point P7. Also, a block B is placed to the right of the connection point P7, so character C9 moving rightward on path L16 cannot move further to the right than the connection point P7. In other words, path L16 also ends at the connection point P7.
[0118] Assume that the character C9 is located below the connection point P7 of the path L15, and the touch position is in the overlapping area RB1. In this case, the determination unit 134 determines the moving direction of the character C9 on the path L15 to be upward. The connection point P7 is located on the moving direction side of the path L15. The selection unit 136 refers to the map data ahead of the moving direction of the character C and selects the moving direction of the character C9 at the connection point P7. For example, in Figure 20, the movement of character C9 is blocked by block B above connection point P7. If a path extending to the right were connected to connection point P7, character C9 would move to the right because the touch position is at RB1, and would be able to avoid stopping. However, path L16 extending only to the left is connected to connection point P7, and character C9 would be unable to avoid stopping. Therefore, the selection unit 136 selects that the character C9 stops at the connection point P7.
[0119] The display control unit 138 displays in the game space G, as a selection result image, an image indicating that the character C9 stops at the connection point P7. 20, the display control unit 138 displays an "x" mark M7 at the position of the connection point P7. The display position of the mark M7 is arbitrary, but since it is preferable that the user can grasp at what position the character C9 will stop, it is preferable that the mark M7 be displayed at a position based on a position where the movement of the character C9 is blocked, for example.
[0120] In addition, for example, even if the determination unit 134 determines that the movement of the character C will stop at a location other than the connection point P (for example, the end of the path L), an image indicating that the movement of the character C will stop may be displayed. For example, when character C is moving toward block B that is farther away than the minimum movement distance of character C, and character C's movement will stop at the position of block B, the determination unit 134 may determine in advance (before the distance between character C and block B becomes equal to or less than the minimum movement distance of character C) that character C will stop moving. In this case as well, the display control unit 138 may display in the game space G an image indicating the result of the determination unit 134 to stop.
[0121] 2B, the selection unit 136 is a part of the determination unit 134. Therefore, for example, as illustrated in FIG. 20, when the selection unit 136 selects that the character C stops at the connection point P, this can be considered as one example of the case where the determination unit 134 has determined that the character C stops moving.
[0122] That is, when the touch position indicated by the touch position information is in the first area or the second area and there is a location in the game space G in the moving direction of the character C where the movement in the first direction and the second direction is blocked, the determination unit 134 determines to stop the movement of the character C at the location where the movement is blocked. The display control unit 138 displays an image indicating the result of the determination by the determination unit 134 in the game space G. Applying this to the example using Figure 20, the first area corresponds to the upward direction, the second area corresponds to the rightward direction, the first direction corresponds to the upward direction, the second direction corresponds to the rightward direction, the point where movement is blocked corresponds to connection point P7, and the image showing the decision result corresponds to mark M7.
[0123] A "location where movement is blocked" is, for example, a location where an obstacle (environmental component) such as a block B that restricts the movement of character C is placed. The "image showing the determination result" is, for example, an image suggesting that the movement of the character C will stop. The "image showing the determination result" may be, for example, an image that is easily distinguishable from the "image showing the selection result" such as the mark M1 in Fig. 4, or may be, for example, an image imitating an x mark or a stop sign as shown in Fig. 20.
[0124] In this way, the user can know in advance that the character C will stop on the path L, and can perform an operation (e.g., change the touch position) to avoid the character C stopping if necessary.
[0125] [Variation A5] In the first embodiment, the display control unit 138 may display an image showing the touch position in the operation region R, particularly in the overlap region RB. This image may also serve as the selection result image.
[0126] 21 to 23 are diagrams showing an example of a display on touch panel 11 in modification A5. As in Figure 4 etc., the touch panel 11 shown in Figures 21 to 23 displays an area of the game space G that includes a path L5 extending in the Y-axis direction (up and down direction), a path L6 extending in the X-axis direction (left and right direction), and a connection point P3 between paths L5 and L6.
[0127] As shown in FIG. 21, for example, when character C4 is located below connection point P3 of path L5 and the touch position is in non-overlapping area RC1, the determination unit 134 determines the movement direction of character C4 to be upward in accordance with pattern 1-1. The selection unit 136 selects the upward movement direction of the character C4 at the connection point P3 in accordance with the above pattern 1-1, that is, movement to the path L5. The display control unit 138 displays a mark M8 as a selection result image. The mark M8 is a mark indicating the path L5 selected by the selection unit 136 among the two paths L5 and L6 connected at the connection point P3. Specifically, the mark M8 has a shape in which three triangles, each having a base extending along the width direction of the path L5 and an opposite apex angle located on the upper side of the base, are connected along the extension direction of the path L5. The three triangles constituting the mark M8 are displayed in the same color tone. Moreover, the mark M8 is on the path L5 near the connection point P3. Such a mark M8 reminds the user of moving to the path L5.
[0128] It is assumed that the touch position T has moved from the state of Fig. 21 to the overlapping region RB1A, for example, as shown in Fig. 22. The touch position T in Fig. 22 is an area of the overlapping region RB1A that is close to the non-overlapping region RC1. The selection unit 136 selects the movement direction of the character C4 at the connection point P3 according to the above pattern 2-2. Since the touch position T is in the overlapping area RB1A that is adjacent to the non-overlapping area RC1 of the overlapping area RB1, the selection unit 136 selects the movement direction of the character C4 to be upward, that is, the path L5. The display control unit 138 continues to display the mark M8 on the path L5 as a selection result image, and displays the mark M9 on the path L6. The mark M9 is a triangle whose base extends along the width direction of the path L6 and whose apex angle is located to the right of the base. The color of the mark M9 is displayed in a lighter tone (e.g., lower brightness or saturation) than the three triangles constituting the mark M8. Furthermore, of the three triangles constituting the mark M8, the one furthest from the connection point P3 is displayed in a lighter tone than the mark M8 in FIG. 21. Mark M8 indicates that path L5 has been selected as the movement direction of character C4, as described above. Mark M9 indicates that path L6 can also be selected as the movement direction of character C4 due to a change in touch position T compared to FIG. 21, that is, touch position T has entered overlapping area RB1.
[0129] Furthermore, suppose that the touch position T has changed from the state of FIG. 22 to a region of the overlap region RB1A that is closer to the overlap region RB1B, as shown in FIG. 23, for example. In FIG. 23, similarly to the case of FIG. 22, the selection result by the selection unit 136 is the path L5. On the other hand, the display control unit 138 changes the display mode of the marks M8 and M9. Specifically, for example, the mark M9 has a base that extends along the width direction of the path L6, and two triangles whose opposite apex angles are located to the right of the base are connected along the path L6. That is, the mark M9 in FIG. 23 has one additional triangle compared to the mark M9 in FIG. 22. The color tones of the two triangles constituting the mark M9 are displayed darker on the side closer to the connection point P3 and lighter on the side farther from the connection point P3. The color tones of the three triangles constituting the mark M8 are also displayed lighter as they are farther from the connection point P3. This display indicates that the path L5 has been selected as the moving direction of the character C4, and allows the user to recognize that the touch position T is approaching the area (overlapping area RB1B) where the path L6 is selected. For example, the user can grasp the touch position in the operation area R without gazing at the operation area R, which is advantageous in improving operability.
[0130] 23, when the touch position T enters the overlapping region RB1B, the movement direction at the connection point P3 becomes the right direction. In this case, the display control unit 138 adds one triangle to the mark M9 and displays it as a shape of three connected triangles, and removes one triangle from the mark M8 and displays it as a shape of two connected triangles. As a result, the display area of the mark M9 becomes larger than the display area of the mark M8, and the user can recognize that the path L6 corresponding to the mark M9 is the path L selected as the movement direction at the connection point P3. Furthermore, when the touch position T moves to a position in the overlapping region RB1B closer to the non-overlapping region RC2, the display control unit 138 removes one more triangle from the mark M8 to leave mark M9 in the shape of three connected triangles. Furthermore, when the touch position T moves to the non-overlapping region RC2, the display control unit 138 stops displaying the mark M8 and displays only the mark M9.
[0131] That is, when the touch position T is located in the overlapping region RB of the first region and the second region, the display control unit 138 displays an image showing the positional relationship between the touch position and at least one of the first region or the second region. In this case, the display control unit 138 displays a first image indicating the direction selected by the selection unit 136 from the first direction and the second direction, and a second image indicating the direction not selected by the selection unit 136 from the first direction and the second direction, and changes the visual effects of the first image and the second image based on the touch position in the overlapping area RB. 21 to 23, the first area corresponds to the upward area RA1, the second area corresponds to the rightward area RA2, the overlapping area RB corresponds to the overlapping area RB1, and the image indicating the positional relationship corresponds to marks M8 and M9. The first direction corresponds to the upward direction, the second direction corresponds to the rightward direction, the first image corresponds to mark M8, and the second image corresponds to mark M9. The change in visual effect corresponds to an increase or decrease in the number of triangles in marks M8 and M9 and a change in the display color of the triangles. In addition, "changing the visual effect" may also mean, for example, changing the number, saturation, display area, etc. of the first or second images. When it is desired to enhance the visual effect, for example, the number of first or second images may be increased, the saturation may be increased, the display area may be increased, or a combination of these may be performed. When it is desired to weaken the visual effect, for example, the number of first or second images may be decreased, the saturation may be decreased, the display area may be decreased, or a combination of these may be performed.
[0132] The images showing the positional relationship are not limited to those exemplified in FIGS. 21 to 23, and various forms are applicable. For example, the image showing the positional relationship may be displayed as marks M10 and M11 shown in FIG. 24, the touch position T is located in an area of the overlap area RB1A that is close to the non-overlapping area RC1. That is, the state is the same as that shown in FIG. The selection unit 136 selects the upward movement direction of the character C4 at the connection point P3, that is, the path L5.
[0133] The display control unit 138 displays a mark M10 on the path L5 and a mark M11 on the path L6. The mark M10 is a triangle whose base extends in the width direction of the path L5 and whose apex angle is located upward from the base. The mark M11 is a triangle whose base extends in the width direction of the path L6 and whose apex angle is located rightward from the base. The height of the mark M10 is greater than that of the mark M11, and the area of the mark M10 is also displayed larger than that of the mark M11. In addition, the mark M10 is displayed in a darker tone (for example, with higher brightness or saturation) than the mark M11. Mark M10 is displayed larger and darker than mark M11, so that the user can recognize that path L5 is the direction in which character C4 moves.
[0134] When the touch position T moves to an area of the overlapping area RB1A close to the overlapping area RB1B, the display control unit 138 lowers the height of the mark M10 and increases the height of the mark M11 while keeping the display color the same. As a result, the area of the mark M10 becomes relatively small and the area of the mark M11 becomes relatively large. Therefore, the user recognizes that the area where the path L6 corresponding to the mark M11 is selected is approaching. When the touch position T reaches the boundary between the overlapping regions RB1A and RB1B, the display control unit 138 makes the height of the mark M10 and the height of the mark M11 equal to each other. When the touch position T enters the overlapping region RB1B, the selection unit 136 sets the moving direction of the character C4 to the path L6. The display control unit 138 makes the height of the mark M11 higher than the height of the mark M10, and displays the mark M11 in a darker color tone than the mark M10. As a result, the area of the mark M11 is larger than the area of the mark M10, and the mark M11 becomes more noticeable than the mark M10. Therefore, the user recognizes that the path L6 corresponding to the mark M11 is the path L selected as the moving direction at the connection point P3.
[0135] The image indicating the positional relationship is not limited to the above-mentioned form, and may be, for example, a direction indication display indicating the same direction as a vector from the reference point Q of the operation area R toward the touch position.
[0136] Such a display allows the user to recognize the selection result by the selection unit 136 and the touch position T, which is advantageous in improving operability.
[0137] [Variation A6] As described above, block B may disappear, for example, due to the use of an item or the action of character C. In this case, the space occupied by the disappeared block B becomes part of path L. In other words, the shape of path L may change as the game progresses. Also, depending on the game specifications, for example, block B may be placed in a location that was path L during the game, making it impossible for character C to move through that location. When the shape of the path L in the game space G has changed, the selection unit 136 determines whether a change has occurred in the moving direction of the character C, and when a change has occurred (or regardless of the presence or absence of a change), reselects the path along which the character C will move. The selection unit 136 reacquires map data of the game space G, for example, every time a block B disappears in the game space G or at a predetermined interval, and determines whether the shape of the path L has changed. When the prediction result by the selection unit 136 has changed, the display control unit 138 displays the changed selection result image in the game space G. That is, when the arrangement of the block B has changed, the selection unit 136 may reselect the path L along which the character C moves, based on the changed arrangement of the block B. Furthermore, when the selection result by the selection unit 136 has changed in accordance with the change in the arrangement of the block B, the display control unit 228 may display the changed selection result image in the game space G. A "change in the shape of the environment" may be, for example, a change in the surface shape of an environment component such as block B, an increase or decrease in the number of environment components, a change in the size of the environment components, and the like. This allows the user to accurately grasp the moving direction of the character C even if the shape of the path changes, thereby improving the convenience of the game.
[0138] [Variation A7] In the first embodiment, images indicating the movement direction selected by the selection unit 136, such as marks M1 (see FIG. 5) and M2 (see FIG. 6), are displayed as the selection result images. However, the selection result image is not limited to this, and may be, for example, a symbol that does not indicate a specific direction. Specifically, for example, an icon that does not evoke a specific direction, such as a circle on the path L to the selected direction, may be used as the image. In addition, the selection result image may be, for example, an image indicating a movement direction that was not selected by the selection unit 136, or, for example, an image indicating an object or symbol that prevents movement in a direction that was not selected by the selection unit 136. The selection result image may also be a visual effect that does not have a specific shape, for example. The visual effect may be, for example, the route L on the selected direction side being displayed darker or shining, or the route L on the non-selected direction side being covered in fog.
[0139] [B: Second embodiment] Next, a second embodiment will be described. In the following examples, for elements having the same functions as those in the first embodiment, the reference numerals used in the description of the first embodiment will be used and detailed descriptions of each will be omitted as appropriate. In the first embodiment, the movement directions that can be accepted in the operation area R are limited to four directions: up, down, left, and right. In contrast, in the second embodiment, the operation area R can accept a movement instruction in any direction. A movement instruction in any direction is not limited to a direction that can be specified in an infinite number of steps, but may be a step-wise direction specification according to the directional resolution of the game application program, for example. In this embodiment, the movement directions that can be accepted in the operation area R are at least a number that exceeds the four directions of up, down, left, and right, which are the extension directions of the path L in the game space G.
[0140] On the other hand, even in the second embodiment, a block B is placed in the game space G, and the movement of the character C may be hindered by the block B. That is, in the second embodiment, the moving direction of the character C is limited only by (1) the environment in the game space G (eg, the arrangement of the block B).
[0141] FIG. 10 is a diagram showing the movement of the character C in the second embodiment. In FIG. 10, the touch panel 11 displays a game space G including a path L7 extending in the X-axis direction and whose path width is the character length, and a movable area (for convenience, referred to as a "square") S1 extending in the X-axis and Y-axis directions a distance longer than the minimum movement distance of the character C. Path L7 is connected to path L8 at connection point P4. Path L8 extends in the Y-axis direction and has a path width equal to the character length. Path L9 extends in the X-axis direction to the left of square S1, and paths L10 and L11 connect to the right of square S1. Paths L9, L10, and L11 all have a path width equal to the character length.
[0142] In the second embodiment, the character C5 located in the square S1 can move in any direction instructed by the user. For convenience, eight arrows indicating the movement directions of the character C5 are illustrated in FIG. 8, but the number of possible directions in which the character C5 can move actually corresponds to the number of directions depending on the directional resolution of the game application program. On the other hand, also in the second embodiment, the movement direction of the character C6 located on the path L is limited to the extension direction of the path L. That is, for example, the movement direction of the character C6 located on the path L7 is limited to the left-right direction, which is the extension direction of the path L7.
[0143] FIG. 11A is a block diagram showing an example of a hardware configuration of the information processing device 20 according to the second embodiment. The information processing device 20 according to the second embodiment includes a touch panel 11, a storage device 12, and a control device 22. The configurations of the touch panel 11 and the storage device 12 are similar to those in the first embodiment.
[0144] The control device 22 is a processor such as a CPU (Central Processing Unit) similar to the control device 13 of the first embodiment. The control device 22 controls each element of the information processing device 20 in an integrated manner. The control device 22 executes a program stored in the storage device 12 to function as a control unit 220 shown in FIG. 11B.
[0145] FIG. 11B is a block diagram showing an example of the functional configuration of the control unit 220 according to the second embodiment. The control unit 220 functions as a game control unit 221, an acquisition unit 222, a designation unit 224, a prediction unit 226, and a display control unit 228. Note that some or all of the functions of the control unit 220 may be realized by a dedicated electronic circuit.
[0146] The game control unit 221 controls the progress of the game, similar to the game control unit 131 of the first embodiment. The acquiring unit 222 acquires touch position information indicating a touch position on the touch panel 11, similar to the acquiring unit 132 in the first embodiment.
[0147] The designation unit 224 designates the moving direction of the character C in the game space based on the touch position information. The moving direction designated by the designation unit 224 is the moving direction of the character C from its current position. Specifically, the designation unit 224 first identifies a movement direction designated by the user (hereinafter referred to as a "user designated direction") based on the touch position in the operation area R. The designation unit 224 determines, for example, the direction from a reference point Q of the operation area R toward the touch position T as the user designated direction. Next, the designation unit 224 refers to the map data of the game space G and determines whether or not the character C can move from its current position in the user-instructed direction. More specifically, the designation unit 224 determines whether or not a movable area of at least the minimum movement distance extends from the current position of the character C toward the user-instructed direction. If character C is movable in the user-instructed direction, the designation unit 224 designates the user-instructed direction as the character C's movement direction.
[0148] On the other hand, if the movement is not possible in the user-instructed direction, the designation unit 224 determines an approximate instruction direction based on the touch position in the operation region R. FIG. 12 is a diagram showing the relationship between the operation region R and the approximate designated direction in the second embodiment. The operation region R has a reference point Q, an upward direction region RD1, a rightward direction region RD2, a downward direction region RD3, and a leftward direction region RD4. Hereinafter, the upward direction region RD1, the rightward direction region RD2, the downward direction region RD3, and the leftward direction region RD4 may be referred to as "directional regions RD." The upward direction region RD1 is set above a reference point Q on the touch panel 11, and the rightward direction region RD2, the downward direction region RD3, and the leftward direction region RD4 are set to the right, below, and left of the reference point Q, respectively. The upward direction region RD1 is associated with the upward direction of the game space G, and the rightward direction region RD2, the downward direction region RD3, and the leftward direction region RD4 are associated with the rightward direction, the downward direction, and the leftward direction of the game space G, respectively.
[0149] The upward region RD1, the rightward region RD2, the downward region RD3, and the leftward region RD4 each have a central angle around the reference point Q and are sector-shaped with an arc on the outer edge of the operation region R. In the second embodiment, the central angle of this sector is an angle obtained by dividing 360° into four, that is, 90°. For this reason, in the second embodiment, no overlapping region is formed in which adjacent directional regions RD overlap each other.
[0150] In this embodiment, no overlapping area is formed in the operation area R, but the direction area RD may be set so that an overlapping area is formed as in the first embodiment. In this case, the movement direction of the character C is specified according to the patterns 1-1, 1-2, 2-1, 2-2, and 2-3 shown in the first embodiment.
[0151] The designation unit 224 determines in which direction area RD the touch position in the operation area R is located, and determines the direction associated with the direction area RD in which the touch position is located as the approximate designated direction. The designation unit 224 refers to the map of the game space G and determines whether or not the character C can move from its current position in the approximately indicated direction. More specifically, the designation unit 224 refers to the map data and determines whether or not a movable area of at least the minimum movement distance extends from the current position of the character C toward the approximately indicated direction. If character C is capable of moving in the roughly indicated direction, the designation unit 224 designates the roughly indicated direction as the direction in which character C is to move.
[0152] On the other hand, if character C is not able to move in the approximate designated direction, the designation unit 224 designates that character C stop moving. That is, when there is a location in the game space G on the side of the movement direction of the character C where movement in the movement direction is blocked, the designation unit 224 designates that the movement of the character C is to be stopped at the location where movement is blocked.
[0153] 10, for example, when character C is located in the center of square S1 (position of character C5), if the user touches touch position T in the operation area R, which is to the upper right of reference point Q (near the boundary between upward area RD1 and rightward area RD2), the designation unit 224 designates the movement direction of character C to the upper right. This is because there is no block B that blocks movement in the upper right direction as seen from character C located in the center of square S1.
[0154] On the other hand, for example, when character C is located on path L7 (position of character C6), if the user touches touch position T, the designation unit 224 designates the movement direction based on the approximate designated direction. This is because a block B that blocks movement is placed in the upper right direction as viewed from character C located on path L7. When the touch position T is located in the upward region RD1, the designation unit 224 designates the stopping of the movement of the character C. This is because the block B that blocks the movement is placed above the character C located on the path L7. When the touch position T is located in the right direction area RD2, the designation unit 224 designates the movement direction of the character C to the right. This is because there is no block B that blocks movement to the right as viewed from the character C located on the path L7, and the area is a movable area.
[0155] When there are multiple routes L in the game space G along which the character C can move, the prediction unit 226 predicts which route the character C will move along from among the multiple routes L based on the movement direction specified by the designation unit 224 and the shape of the environment that restricts the movement of the character C in the game space G.
[0156] The path L along which the character C can move may be, for example, a path L that is located in the direction of movement of the character C and is located on an extension of the current direction of movement, or a path that is not on an extension of the current direction of movement but is reachable when the direction of movement is changed due to the shape of the path L (for example, when entering an area in which movement is possible along the user-indicated direction from an area in which movement is possible along the approximate indicated direction), or a path that is not on an extension of the current direction of movement but is reachable when the touch position on the operation area R is changed by the user. Furthermore, the multiple routes L along which the character C can move may be, for example, the route L along which the character C is currently moving and other routes L connected to that route L, or may be multiple routes connected to a square S along which the character C can move in any direction.
[0157] 10, when character C is located in square S1, routes L9, L10, and L11 connecting to square S1 are multiple routes L that character C can move on. Also, when character C is located on route L7, route L7 and route L8 below connection point P4 are multiple routes L that character C can move on.
[0158] The prediction unit 226 acquires information on the route L along which the character C can move by, for example, referring to map data of the game space G included in the application program of the game. For example, the prediction unit 226 refers to map data within a predetermined range from the current position of the character C in the game space G, and determines whether there are multiple routes L along which the character C can move.
[0159] FIG. 13 is a diagram showing a method for predicting a path L by the prediction unit 226. As shown in FIG. 13, a game space G having the same area as that shown in FIG. If the character C does not pass through an area in which the character C can move freely (such as a square S) before reaching one of the multiple routes L along which the character C can move, the prediction unit 226 predicts that the character C will move to the route L that is an extension of the direction of movement from the current position specified by the specification unit 224. For example, when character C6 is moving leftward on path L7, the user's touch position is either on a straight line extending leftward from reference point Q along the X-axis (when moving in the user-instructed direction, e.g., touch position T1) or within another leftward region RD4 (when moving in the approximate instructed direction, e.g., touch position T2). In either case, unless the touch position changes, character C6 will also move leftward at connection point P4. Therefore, prediction unit 226 predicts that character C6 will continue to move along path L7 after connection point P4.
[0160] On the other hand, if the character C moves through an area in which the character can move freely, such as an open space S, before reaching the multiple routes L, the character C may move to a route L that is not on an extension of the direction of movement from the current position specified by the designation unit 224. For example, when character C7 moves to the right along path L9, the user's touch position is either on a straight line extending to the right from reference point Q along the X-axis (if moving in the user-indicated direction, e.g., touch position T3) or elsewhere within rightward region RD2 (if moving in the approximate indicated direction, e.g., touch position T4). If the character C7 is moving in the direction instructed by the user (touch position T3), it is predicted that the character C7 will continue moving to the right after entering square S1, as indicated by the dashed-dotted arrow, and move to route L10. On the other hand, when moving in the approximately indicated direction (in the case of touch position T4), the character C7 is predicted to change its direction of movement to the lower right after entering square S1, as indicated by the dashed two-dotted arrow (the direction of movement specified by the designation unit 224 changes from the approximately indicated direction to the user-indicated direction), and move to route L11.
[0161] In this way, when there are multiple routes L in the game space G along which the character C can move, the prediction unit 226 predicts which route the character C will move along from among the multiple routes, based on the movement direction specified by the designation unit 224 and the shape of the environment that restricts the movement of the character C in the game space G.
[0162] Note that the movement direction specified by the specification unit 224 is based on the touch position in the operation area R, so it can be said that the prediction unit 226 predicts the path along which the character C will move based on the touch position. In other words, when there are multiple paths L along which the character C can move in the game space G, the prediction unit 226 may predict the path along which the character C will move from among the multiple paths L based on the touch position on the touch panel 11 and the shape of the environment that restricts the movement of the character C in the game space G.
[0163] The display control unit 228 displays in the game space G an image indicating the prediction result by the prediction unit 226 (hereinafter, referred to as a “prediction result image”). The display control unit 228 preferably displays the prediction result image, for example, before the character C reaches the route L along which the character C is predicted to move. Alternatively, the display control unit 228 may display the prediction result image before the character C reaches any of the routes L among a plurality of routes L along which the character C can move. "Reaching the route L" may mean, for example, reaching a connection point P between the route L and another route L. "Reaching the route L" may also mean, for example, reaching an entrance to the route L connected to a square S.
[0164] By displaying the predicted result image, the user can determine in advance (e.g., before the character C reaches at least one of the multiple paths L) whether to continue with the current touch position or to change the touch position, thereby preventing erroneous operations.
[0165] 14 and 15 are diagrams showing an example of a display on the touch panel 11 in the second embodiment. 14 and 15, the game space G having the same area as that shown in FIG. For example, as shown in FIG. 14, when character C7 moves to the right along path L9 and the user's touch position is located at touch position T3 on a straight line N1 extending from reference point Q to the right along the X-axis, the prediction unit 226 predicts that character C7 will move to path L10 as described above. The display control unit 228 displays a mark M3 indicating that, of the multiple routes L10 and L11, the character C7 will move along the route L10 in the game space G. In the example of Fig. 14, the display control unit 228 displays the mark M3 before the character C7 reaches the route L10, more specifically, before the character C7 enters the square S1.
[0166] Mark M3 is an example of a prediction result image. 14, the mark M3 has a shape in which three triangles, each having a base that extends along the width direction of the path L10 and an opposite angle that is located to the right of the base, are connected along the extension direction of the path L10. Such a mark M3 reminds the user of movement along the path L10. 14, the display position of the mark M3 is near the entrance from the square S1 to the route L10. By displaying the mark M3 near the entrance from the square S1 to the route L10, the user can easily understand that the moving direction of the character C7 indicated by the mark M3 is the moving direction from the square S1. By looking at the mark M3, the user can understand that the character C7 will enter the path L10 after passing through the square S1. If the user allows the character C7 to enter the path L10, the user can maintain the current touch position. On the other hand, if the user wants the character C7 to move to a location other than the path L10, the user can move the touch position to change the movement direction.
[0167] Also, for example, as shown in FIG. 15, when the character C7 moves to the right along the path L9 and the touch position is below the straight line N1 in the rightward region RD2 (for example, at the touch position T4), the prediction unit 226 predicts that the character C7 will move to the path L11 as described above. The display control unit 228 displays a mark M4 indicating that, of the multiple routes L10 and L11, the character C7 will move along the route L11 in the game space G. In the example of Fig. 15 as well, the display control unit 228 displays the mark M4 before the character C7 reaches the route L11, more specifically, before the character C7 enters the square S1.
[0168] Mark M4 is an example of a prediction result image. 15, the mark M4 has a shape in which three triangles, each with a base extending along the width direction of the path L11 and an opposite angle located to the right of the base, are connected along the extension direction of the path L11. Such a mark M4 reminds the user of movement along the path L11. 15, the display position of the mark M4 is near the entrance from the square S1 to the route L11. By displaying the mark M4 near the entrance from the square S1 to the route L11, the user can easily understand that the moving direction of the character C7 indicated by the mark M4 is the moving direction from the square S1. By looking at the mark M4, the user can understand that the character C7 will enter the path L11 after passing through the square S1. If the user allows the character C7 to enter the path L11, the user can maintain the current touch position. On the other hand, if the user wants the character C7 to move to a path other than the path L11, the user can move the touch position to change the movement direction.
[0169] Next, an example of the operation of the control unit 220 of the information processing device 20 in the second embodiment will be described with reference to Fig. 16. The operation shown in Fig. 16 is started when a predetermined start operation is performed.
[0170] The acquiring unit 222 acquires touch position information indicating a touch position on the touch panel 11 (Step S800). If the touch position indicated by the touch position information is not located within the operation region R (step S801: NO), the control unit 220 returns to step S800. If the touch position is located within the operation area R (step S801: YES), the designation unit 224 identifies the user instruction direction, which is the direction in which the user is instructing to move, based on the positional relationship between the reference point Q of the operation area R and the touch position (step S802). The designation unit 224 determines whether or not movement in the user-instructed direction is possible based on map data around the current position of the character C (step S804). If movement in the user-instructed direction is possible (step S804: YES), the designation unit 224 designates the movement direction of the character C to be the user-instructed direction (step S806).
[0171] On the other hand, if movement in the user-instructed direction is not possible (step S804: NO), the designation unit 224 determines the approximate designated direction based on which directional region RD of the operation region R the touch position is located in (step S808). That is, the designation unit 224 determines the direction associated with the directional region RD in which the touch position is located as the approximate designated direction. The designation unit 224 determines whether movement in the approximately indicated direction is possible based on map data of the surroundings of the current position of the character C (step S810). If movement in the approximately indicated direction is possible (step S810: YES), the designation unit 224 designates the movement direction of the character C to be the approximately indicated direction (step S812). On the other hand, if movement in the approximately designated direction is not possible (step S810: NO), the designation unit 224 designates the stopping of movement of the character C (step S814), and the process returns to step S800.
[0172] When a movement direction is specified by the specification unit 224 (steps S806, S812), the game control unit 221 moves the character C in the game space G in the specified movement direction. Also, when a command to stop the movement of the character C is specified by the specification unit 224 (step S814), the game control unit 221 stops the movement of the character C in the game space G.
[0173] Furthermore, if a movement direction is specified in step S808 or S812, the prediction unit 226 determines whether or not there are multiple paths L along which the character C can move (step S816). If there are not multiple paths L along which the character C can move (step S816: NO), the control unit 220 returns to step S800. On the other hand, if there are multiple routes L along which the character C can move (step S816: YES), the prediction unit 226 predicts the route L along which the character C will move among the multiple routes L, based on the direction of movement of the character C and the arrangement of the blocks B around the character C (step S818). The display control unit 228 displays the prediction result image in the game space G (step S820), and returns to step S800.
[0174] For example, if the character C enters the predicted path L after the prediction result is displayed in step S820, the determination in step S816 as to whether there are multiple paths L along which the character C can move is NO, so the process does not reach step S820 and the prediction result image is no longer displayed. Also, for example, if, after the predicted result image is displayed in step S816, character C changes its movement direction, and as a result there are no longer multiple possible paths to move along (including the case where there is no possible path L to move along), the determination in step S816 as to whether there are multiple possible paths L to move along for character C will be NO, so the process will not reach step S820 and the predicted result image will no longer be displayed.
[0175] As described above, according to the second embodiment, when there are multiple routes L in the movement direction of the character C in the game space G, the prediction unit 226 predicts the route L along which the character C will move, and the display control unit 228 displays the prediction result image in the game space G. This allows the user to know in advance which of the multiple routes L the character C will move to, and can prevent erroneous operations such as instructing the character C to move in an unintended direction.
[0176] In the second embodiment, for example, the following configuration may be adopted.
[0177] [Variation B1] In the above-described second embodiment, the display control unit 228 displays the prediction result image at a position based on the path L along which the character C is predicted to move. However, the present invention is not limited to this, and the display control unit 228 may display the prediction result image at a position based on the character C in the game space G. Specifically, for example, as shown in FIG. 25, a mark M12, which is a prediction result image, may be displayed in front of and near a character C10. The "position based on character C" may be, for example, a position having a predetermined positional relationship with character C, a position within a range of a predetermined distance from character C, or a position in a predetermined direction based on character C. Specifically, the "position based on character C" may be, for example, the current position of character C in game space G, or a position on the path forward or backward in the traveling direction of character C. Furthermore, the "position based on character C" may be, for example, a movement-restricted space around character C (for example, on block B). Generally, a user who is playing a game often focuses his or her gaze on the character C. By displaying the prediction result image at a position based on the character C, the user can check the prediction result image without significantly moving his or her line of sight from the character C.
[0178] [Variation B2] In the above-described second embodiment, the prediction result image is an image showing a prediction result for a plurality of paths L located within the display range of the touch panel 11. However, the present invention is not limited to this, and for example, a prediction result image in a case where at least one of the plurality of paths L is located outside the display range of the touch panel 11 may be displayed. That is, the display control unit 228 may cause an image representing a portion of the game space G to be displayed on the touch panel 11, and the predicted result image may be displayed at a position within the game space G based on the positional relationship between the display range of the touch panel 11 and the path L along which the character C is predicted to move. An "image showing a part of the game space" is, for example, an image that extracts a part of the game space G and does not display the entire area of the game space G. An image showing a part of the game space G is, for example, an image that extracts a predetermined range from the game space G based on the position of the character C. Furthermore, the "position based on the positional relationship between the display range and the route L along which the character C is predicted to move (hereinafter referred to as the "predicted route")" may be, for example, a position that is selectively changed depending on whether the predicted route L is included in the display range. For example, when the predicted route L is located within the display range, the "position based on the positional relationship between the display range and the predicted route L" may be on the predicted route L, and when the predicted route L is located outside the display range, the "position based on the positional relationship between the display range and the predicted route L" may be on the character C (or a position within the display range between the character C and the predicted route L).
[0179] 25 and 26 are diagrams showing an example of a display on touch panel 11 in modification B2. 25 and 26 show a game space G that is wider than the display range 11B of the touch panel 11. In Fig. 25 and 26, the display range 11B of the touch panel 11 is a predetermined range based on the position of the character C10. Therefore, as the character C10 moves, the display range 11B of the touch panel 11 also moves. The character C10 is moving to the right on a path L18 that extends in the X-axis direction. The right side of the path L18 is connected to the square S2. The path L20 is connected to the upper right side of the square S2, and the path L19 is connected to the lower right side. The touch position by the user is assumed to be a position in the rightward region RD2 (see FIG. 12) very close to the downward region RD3. Therefore, the character C10 moves rightward according to the approximate indicated direction on the path L18, but when the character C10 enters the square S2, it is predicted to move in the user-indicated direction as shown by the dashed-dotted line and move to the path L19.
[0180] The display control unit 228 displays the prediction result before the multiple routes L19 and L20 are displayed on the touch panel 11. The display control unit 228 may display a mark M12, which is a prediction result image, near the character C10, as shown in Fig. 25. The display position of the mark M12 is changed in conjunction with the movement of the character C10. That is, the mark M12 is displayed so that its display position and the position of the character C10 are constant. The mark M12 has a base extending along the X direction, which is the width direction of the path L19, and has a shape in which three triangles, each with an opposite apex angle located below the base, are connected along the Y direction, which is the extension direction of the path L19. Such a mark M12 reminds the user of downward movement. By looking at the mark M12, the user can know in advance (before the path L19 or L20 enters the display range) that there are multiple paths L in the direction of movement of the character C10. Also, by looking at the mark M12, the user can know in advance (before reaching the path L19) that the direction of movement of the character C10 at the destination is downward. Generally, a user who is playing a game often focuses his or her gaze on the character C10. By displaying the mark M5 in the vicinity of the character C10, the user can check the mark M5 without significantly moving his or her gaze from the character C10.
[0181] In FIG. 25, the mark M12 is displayed in front of and near the character C10, but it may be in any of various "positions based on the character C" as shown in the modified example B1. FIG. 25 can be said to show a display mode of modification B1.
[0182] 26, for example, a mark M12 may be displayed at an end of the display range 11B of the touch panel 11 that is close to the multiple routes L19, L20. By displaying a mark M5 at the end of the touch panel 11, the user can intuitively grasp the direction in which the multiple routes L19, L20 are located.
[0183] 25, when the character C10 moves and the path L19 enters the display range of the touch panel 11, for example, the display position of the mark M12 may be changed to the vicinity of the path L19, or the display position of the mark M12 may remain in the vicinity of the character C10. Also, for example, the mark M12 may be displayed both in the vicinity of the path L19 and in the vicinity of the character C10. Also, in the display mode of Figure 26, when the character C10 moves and the path L19 enters the display range of the touch panel 11, the movement of the mark M12 relative to the game space G may be stopped, for example, when the display position of the mark M12 overlaps with the path L19, and the display position of the mark M12 may remain at the position of the path L19.
[0184] Also, for example, the display mode of the prediction result image may be changed based on the positional relationship between the display range 11B and the path L19, in other words, the positional relationship between the character C10 and the path L20. Specifically, for example, the closer the positions of the character C10 and the path L19 are, the darker the display color of the prediction result image may be, the larger the size of the prediction result image may be, or the blinking speed of the prediction result image may be increased. This allows the user to intuitively grasp the positional relationship between the connection point P, which is not within the display range of the touch panel 11, and the character C10.
[0185] [Variation B3] In the above-described second embodiment, the prediction unit 226 predicts the movement direction at the branch of a plurality of routes L closest to the character C on the route L along which the character C moves, and the display control unit 228 displays the prediction result image. However, without being limited to this, the prediction unit 226 may select, for example, each of the movement directions at each of a plurality of branches on the route L along which the character C moves, and the display control unit 228 may display each prediction result image.
[0186] Note that the branch may be, for example, a connection point where multiple routes L are connected to each other, or may be, for example, a square S in the case where multiple routes L are connected to the square S. Furthermore, for example, in the case where multiple routes L are connected to a specific direction in the square S, the branch may be a partial area including an end of the square S in the specific direction.
[0187] FIG. 27 is a diagram showing an example of a display on touch panel 11 in modification example B3. The touch panel 11 shown in Figure 27 displays a path L21 extending in the X-axis direction and having a path width the length of the character, a path L22 connecting to path L21 and extending in the Y-axis direction, a square S3 connecting to the right side of path L21, a path L23 connecting to the upper right side of square S3, and a path L24 connecting to the lower right side of square S3. It is assumed that the character C11 is moving rightward along the path L21. It is assumed that the user's touch position T is below the straight line N1 extending from the reference point Q in the X direction in the rightward region RD2.
[0188] The designation unit 224 designates that the character C11 moves to the right, which is the approximate designated direction, on the path L21 (up to the square S3). Therefore, the prediction unit 226 predicts that the character C11 will continue to move to the right on the path L21 at the branch point with the path L22 on the path L21. The display control unit 228 displays the mark M13 as a prediction result image corresponding to this prediction result.
[0189] Furthermore, when the character C11 enters the square S3, the designation unit 224 designates movement to the lower right in the direction designated by the user. A path L24 is connected to the lower right of the square S3, which is the direction in which the character C11 is moving. Therefore, the prediction unit 226 predicts that the character C11 will move to the path L24 at the branch point between the path L23 and the path L24 in the square S3. The display control unit 228 displays a mark M14 as a prediction result image corresponding to this prediction result.
[0190] That is, when the path L predicted to be traveled by the character C has a connection point (branch) with another path L, the prediction unit 226 predicts, based on the touch position information, the movement direction of the character C at the connection point (branch) with the other path L. The display control unit 228 displays, in the game space, a prediction result image corresponding to the connection point (branch) of the multiple paths L and a prediction result image corresponding to the connection point (branch) with the other path L. Applying this to the example using Figure 27 above, the route L predicted to be taken by character C11 corresponds to route L21, the other routes L correspond to routes L23 and L24, the connection point (branch) with other routes L corresponds to square S3, the predicted result image corresponding to the connection point (branch) with multiple routes L corresponds to mark M13, and the predicted result image corresponding to the connection point (branch) with other routes L corresponds to mark M14.
[0191] In this way, the user can check the movement direction at multiple connection points (branches) in advance (before character C reaches square S3) and decide whether or not to change the touch position, thereby preventing erroneous operations. In particular, when the distance between adjacent connection points (branches) is short, in an aspect in which only the predicted result at the connection point (branch) closest to character C is displayed, there is a possibility that the operation to specify the movement direction at the next connection point (branch) will not be completed in time. By displaying the movement direction at multiple connection points (branches) in advance, the user can specify the movement direction with ample time to spare.
[0192] [Variation B4] In the second embodiment, the display control unit 228 displays a prediction result image when a route L along which the character C moves is selected from among a plurality of routes L, but does not display the image when there is no route L along which the character C can move and the movement of the character C is stopped. Without being limited to this, even when the movement of the character C is stopped, the display control unit 228 may display an image indicating that fact.
[0193] For example, even if the designation unit 224 specifies that the movement of character C will stop at a location that is not a connection point between multiple routes L (for example, the end of route L), the display control unit 228 may display an image indicating that the movement of character C will stop. For example, when character C is moving toward block B that is farther away than the minimum movement distance of character C, and character C's movement stops at the position of block B, the designation unit 224 may designate the stopping of character C's movement at that position in advance (before the distance between character C and block B becomes equal to or less than the minimum movement distance of character C). In this case as well, the display control unit 228 may display in the game space G an image indicating the result of the designation of stop by the designation unit 224.
[0194] FIG. 28 is a diagram showing an example of a display on touch panel 11 in modification example B4. The touch panel 11 shown in FIG. 28 displays a path L25 extending in the X-axis direction and having a path width the length of the character, a square S4 connecting to the right side of the path L25, and a path L26 connecting to the upper right side of the square S4. It is assumed that the character C12 is moving rightward along the path L25, and that the user's touch position T is below the straight line N1 extending from the reference point Q in the X direction in the rightward region RD2.
[0195] The designation unit 224 designates that the character C12 moves to the right, which is the approximate designated direction, on the path L25 (up to the square S4). Furthermore, when the character C12 enters the square S4, the designation unit 224 designates movement to the lower right in the user designated direction. Blocks B are placed to the right of the square S4 (other than the entrance to the path L26) and below, which is the direction in which the character C12 is moving, and the character C12 cannot move any further. Therefore, the designation unit 224 designates that the character C12 stops at point P8 at the lower right of the square S4. The display control unit 228 displays an image indicating the designation of the character C12 to stop by the designation unit 224 in the game space G. In the example of Fig. 28, the display control unit 228 displays an "x" mark M15 at the position of point P8. The display position of the mark M15 is arbitrary, but since it is preferable that the user can grasp at what position the character C12 will stop, it is preferable that the position is based on a location where the movement of the character C12 is blocked, for example.
[0196] That is, when there is a location where the movement of the character C in the moving direction is blocked in the game space G, the designation unit 224 designates that the movement of the character is to be stopped at the location where the movement is blocked. The display control unit 228 displays an image indicating the stop of the character C in the game space G. Applying this to the example of FIG. 28, the movement direction of character C12 corresponds to the lower right side of square S4, the point where movement is blocked corresponds to point P8, and the image showing character C12 stopping corresponds to mark M15.
[0197] A "location where movement is blocked" is, for example, a location where an obstacle (environmental component) such as a block B that restricts the movement of character C is placed. Also, the "image showing that character C has stopped" may be, for example, an image suggesting that the movement of character C has stopped. The "image showing that character C has stopped" may be, for example, an image that is easily distinguishable from the "image showing the prediction result" such as mark M3 in Fig. 14, and may be, for example, an image imitating an X mark or a stop sign.
[0198] In this way, the user can know in advance that the character C will stop on the path L, and can perform an operation (e.g., a change in the touch position) to avoid the character C stopping as necessary.
[0199] [Variation B5] In the second embodiment, the display control unit 228 may display an image showing the positional relationship between the extension direction of at least one of the multiple paths L along which the character C can move and the moving direction of the character C. This display may also serve as a prediction result image.
[0200] 29 to 31 are diagrams showing an example of a display on touch panel 11 in modification B5. As in Figure 10 and others, the touch panel 11 shown in Figures 29 to 31 displays an area of the game space G that includes a path L9 extending in the X-axis direction, a square S1 connecting to the right side of the path L9, a path L10 connecting to the upper right of the square S1, and a path L11 connecting to the lower right of the square S1.
[0201] As shown in FIG. 29, for example, it is assumed that the character C7 is moving rightward on the path L9. It is assumed that the touch position T is a position (upper right direction) in the rightward region RD2 that is very close to the boundary with the upper direction region RD1. In this case, the designation unit 224 designates the movement of the character C7 in the rightward direction, which is the approximate designated direction. The prediction unit 226 predicts that even if the character C7 enters the square S1 in which the character C7 can move freely, the character C7 cannot move in the upper right direction, which is the user designated direction, because a block B is arranged above the character C7, and the character C7 will continue to move in the rightward direction, which is the approximate designated direction. That is, the prediction unit 226 predicts that the character C7 will move to the path L10 out of the multiple paths L10 and L11. The display control unit 228 displays a mark M16 as a prediction result image. The mark M16 is a mark indicating the route L10 predicted by the prediction unit 226 out of the two routes L10 and L11. Specifically, the mark M16 has a shape in which three triangles, each having a base extending along the width direction of the route L10 and an opposite angle located on the right side of the base, are connected along the extension direction of the route L10. The three triangles constituting the mark M16 are displayed in the same color tone. The mark M16 is also displayed near the entrance from the square S1 to the route L10. Such a mark M16 reminds the user of moving to the route L10.
[0202] From the state of FIG. 29, for example, as shown in FIG. 30, it is assumed that the touch position T has moved to near the center position of the rightward region RD2 (on a straight line N1 extending from the reference point Q along the X-axis). In this case, the designation unit 224 designates the movement of the character C7 in the rightward direction, which is the user-designated direction. The prediction unit 226 predicts that the character C7 will move in the rightward direction, which is the user-designated direction, even if the character C7 enters the square S1. That is, the prediction unit 226 predicts that, of the multiple routes L10 and L11, the character C7 will move to the route L10. The display control unit 228 continues to display the mark M16 on the route L10 as a prediction result image, and displays the mark M17 on the route L11. The mark M17 is a triangle whose base extends along the width direction of the route L11 and whose apex angle is located to the right of the base. The color tone of the mark M17 is displayed lighter (for example, with lower brightness or saturation) than the three triangles constituting the mark M16. Furthermore, of the three triangles constituting the mark M16, the one furthest from the entrance from the square S1 is displayed in a lighter color tone than the mark M16 in FIG. 29. Mark M16 indicates that path L10 has been selected as the moving direction of character C7, as described above. Mark M17 indicates that the touch position T has changed compared to FIG. 29, and therefore path L11 may also be selected as the moving direction of character C7.
[0203] Furthermore, it is assumed that the touch position T has changed from the state of FIG. 30 to a position closer to the downward region RD3, for example, as shown in FIG. In FIG. 31, as in the case of FIG. 30, the prediction result by the prediction unit 226 is the path L10. On the other hand, the display control unit 228 changes the display mode of the marks M16 and M17. Specifically, for example, the mark M17 has a base that extends along the width direction of the path L11, and two triangles whose apex angles are located to the right of the base are connected along the path L11. That is, the mark M17 in FIG. 31 has one additional triangle compared to the mark M17 in FIG. 30. The color tones of the two triangles constituting the mark M17 are displayed darker on the side closer to the entrance from the square S1 and lighter on the side farther from the entrance. The color tones of the three triangles constituting the mark M16 are also displayed lighter as they become farther from the entrance from the path L10. This display indicates that the path L10 has been selected as the moving direction of the character C7, and allows the user to recognize that the touch position T is approaching the area selected for the path L11. For example, the user can grasp the touch position in the operation area R without gazing at the operation area R, which is advantageous in improving operability.
[0204] 31, if the touch position T approaches further toward the downward region RD3 and the destination of the character C7 is predicted to be the route L11, the display control unit 228 adds one triangle to the mark M17 to make it have a shape of three connected triangles, and removes one triangle from the mark M16 to make it have a shape of two connected triangles. As a result, the display area of the mark M17 becomes larger than the display area of the mark M16, and the user can recognize that the route L11 corresponding to the mark M17 is the route L selected as the movement direction from the square S1.
[0205] That is, the display control unit 228 displays an image showing the positional relationship between the extension direction of at least one of the multiple routes L and the movement direction specified by the specification unit 224. For example, the multiple routes include a first route and a second route that connect (branch) at a connection point (branch), and the display control unit 228 displays a first image indicating one of the first and second routes that is predicted by the prediction unit 226 as the route along which character C will move, and a second image indicating one of the first and second routes along which character C will not move, and changes the visual effects of the first and second images based on the direction of movement. 29 to 31, the multiple routes L correspond to routes L10 and L11, and the images indicating the positional relationship correspond to marks M16 and M17. The first route corresponds to route L10, the second route corresponds to route L11, the first image corresponds to mark M16, and the second image corresponds to mark M17. The change in visual effect corresponds to an increase or decrease in the number of triangles in marks M16 and M17 and a change in the display color of the triangles. In addition, "changing the visual effect" may also mean, for example, changing the number, saturation, display area, etc. of the first or second images. When it is desired to enhance the visual effect, for example, the number of first or second images may be increased, the saturation may be increased, the display area may be increased, or a combination of these may be performed. When it is desired to weaken the visual effect, for example, the number of first or second images may be decreased, the saturation may be decreased, the display area may be decreased, or a combination of these may be performed.
[0206] The movement direction designated by the designation unit 224 is determined based on the touch position in the operation area R. Therefore, "an image showing the positional relationship between at least one extension direction of the multiple paths L and the movement direction designated by the designation unit 224" can also be said to be "an image showing the positional relationship between at least one extension direction of the multiple paths L and the touch position."
[0207] The images showing the positional relationship are not limited to those exemplified in FIGS. 29 to 31, and various forms can be applied. For example, the image showing the positional relationship may be a display in which the area of a single triangle is changed, such as marks M10 and M11 shown in FIG.
[0208] Such a display allows the user to recognize the prediction result by the prediction unit 226 and the touch position T, which is advantageous in improving operability.
[0209] [Variation B6] As described above, block B may disappear, for example, due to the use of an item or the action of character C. In this case, the space occupied by the disappeared block B becomes part of path L. In other words, the shape of path L may change as the game progresses. Also, depending on the game specifications, for example, block B may be placed in a location that was path L during the game, making it impossible for character C to move through that location. When the shape of the path L in the game space G has changed, the prediction unit 226 determines whether a change has occurred in the path L on which the character C can move, and when a change has occurred (or regardless of the presence or absence of a change), re-predicts the path along which the character C will move. The prediction unit 226 reacquires map data of the game space G, for example, every time a block B disappears in the game space G or at a predetermined interval, and determines whether the shape of the path L has changed. When the prediction result by the prediction unit 226 has changed, the display control unit 228 displays the prediction result image after the change in the game space G. That is, when the arrangement of block B has changed, the prediction unit 226 may predict the path L along which the character C will move, based on the changed arrangement of block B. Furthermore, when the prediction result by the prediction unit 226 has changed in accordance with the change in the arrangement of block B, the display control unit 228 may display the changed prediction result image in the game space G. A "change in the shape of the environment" may be, for example, a change in the surface shape of an environment component such as block B, an increase or decrease in the number of environment components, a change in the size of the environment components, and the like. This allows the user to accurately grasp the moving direction of the character C even if the shape of the path changes, thereby improving the convenience of the game.
[0210] [Variation B7] In the second embodiment, images indicating the path L predicted by the prediction unit 226, such as marks M3 (see FIG. 14) and M4 (see FIG. 15), are displayed as prediction result images. However, the predicted result image is not limited to this, and may be, for example, a symbol that does not indicate a specific direction. Specifically, for example, an icon that does not evoke a specific direction, such as a circle on the selected path L, may be used as the predicted result image. In addition, the prediction result image may be, for example, an image showing a path L along which the character was not predicted to move by the prediction unit 226, or may be, for example, an image showing an object or symbol that prevents movement along the path L along which the character was not predicted by the prediction unit 226. The prediction result image may also be a visual effect that does not have a specific shape, for example. The visual effect may be, for example, a path L predicted to move the character along that is displayed darker or shining, or a side where the character is not predicted to move along that is covered with fog.
[0211] [Variation B8] In the second embodiment, when there are multiple routes L on which the character C can move, the prediction unit 226 predicts the route L on which the character C will move from among the multiple routes L. Without being limited to this, when there is at least one route L on which the character C can move, the prediction unit 226 may predict whether or not the character C will move on that route. 28, for example, if block B is placed at the position of the entrance from square S4 to path L26, the only path that character C12 located in square S4 can move to is path L25. In such a case, the prediction unit 226 predicts whether or not character C12 will move to path L25 based on the movement direction of character C12 designated by the designation unit 224 and the arrangement of block B around square S4. The display control unit 228 displays the prediction result image in the game space G. For example, when the display control unit 228 predicts that the character C12 will move to the path L25, the display control unit 228 displays an image such as the mark M13 or the mark M14 in Fig. 24 at the entrance to the path L25 from the square S4. Also, when the display control unit 228 predicts that the character C12 will not move to the path L25, the display control unit 228 may not display the prediction result image, or may display an image such as the mark M15 in Fig. 25 at the entrance to the path L25 from the square S4. That is, in modification B8, the acquisition unit 222 acquires touch position information indicating a touch position on the touch panel 11. The designation unit 224 designates the movement direction of the character C in the game space G based on the touch position information. When there is a path L in the game space G along which the character C can move, the prediction unit 226 predicts whether or not the character C will move along the path based on the movement direction designated by the designation unit 224 and the shape of the environment that restricts the movement of the character C in the game space G. The display control unit 228 displays an image indicating the prediction result by the prediction unit 226 in the game space G. According to the modification B8, the user can accurately grasp the route along which the character C will move, and can prevent erroneous operations during direction instruction operations. Also, for example, if the predicted result image is displayed in advance (for example, before the character C reaches the route L along which the character C can move), the user can take measures such as changing the touch position before the character C makes an unintended movement (for example, entering the unintended route L), and erroneous operations can be more reliably prevented.
[0212] [C: Other Modifications] In each embodiment of the present invention, for example, the following exemplary configurations may be adopted.
[0213] [Variation C1] In the configuration of control unit 130 shown in FIG. 2B, a selection unit 136 and a display control unit 138 may be provided separately from decision unit 134. In the configurations of control unit 130 and control unit 220 shown in FIGS. 2B and 11B, the processing executed by decision unit 134 may be performed by designation unit 224. In the configurations of the control unit 130 and the control unit 220 shown in FIG. 2B and FIG. 11B, the process executed by the selection unit 136 may be performed by the prediction unit 226.
[0214] [Variation C2] In the above-described embodiment, the interface through which the user inputs a direction instruction is the touch panel 11. However, the interface through which the user inputs a direction instruction is not limited to this, and may be, for example, a physical controller provided in the information processing device or connected to the information processing device. In this case, the physical controller may not be, for example, a controller provided with buttons or keys in a one-to-one correspondence with the direction specified by the user (such as a cross key), but may be, for example, a controller capable of designating a direction steplessly around a reference point, such as a joystick, or in multiple steps, such as 64 steps or 256 steps. In addition, the physical controller in this case may be, for example, a controller having a range of input angles when designating one direction, in an operation form in which a direction is input by tilting an operating member at any angle around a reference point, such as a joystick.
[0215] [Variation C3] In the above-described embodiment, the information processing device 10 is provided with the storage device 12 that stores the game application program, and the control device 13 that executes the game application. Without being limited to this, a storage device that stores a game application program and a control device that executes a game application may be provided in an external device that can communicate with information processing device 10. More specifically, for example, a storage device that stores a game application program and a control device that executes a game application may be provided in a cloud server that can communicate with information processing device 10 via a communication line such as the Internet.
[0216] [Variation C4] In the above-described embodiment, the moving direction of the character C is determined or specified based on which area of the areas set in the operation area R the touch position on the touch panel 11 is located in (see FIGS. 3 and 12). Without being limited to this, for example, the moving direction of the character C may be determined or specified based on a vector from the reference point Q of the operation area R toward the touch position (hereinafter referred to as a "touch position vector"). Specifically, for example, in the first embodiment, when the determination unit 134 determines the movement direction of the character C on the path L, the touch position vector may be decomposed into an extension direction component of the path L and a width direction component of the path L (a component in a direction perpendicular to the extension direction), and when the extension direction component of the path L is equal to or greater than the width direction component of the path L or exceeds the width direction component of the path L, it may be determined that the character C moves along the extension direction of the path L. Also, for example, the moving direction of the character C may be determined or predicted based on the direction from the reference point Q of the operation area R toward the touch position and the extension direction of the path L. Specifically, for example, in the first embodiment, the determination unit 134 may determine to move the path L when the angle θt between the direction from the reference point Q of the operation area R toward the touch position and the extension direction of the path L is less than or equal to a predetermined angle θx. In addition, determining or specifying the movement direction using a touch position vector or direction, as in variant example C4, is essentially determining which area the touch position vector or direction is included in relative to the extension direction of path L, and can be said to be synonymous with determining or specifying the movement direction of character C based on which area within operation area R the touch position is located, as in this embodiment. In this manner, the operation region R may be set using a vector.
[0217] [D: Notes] From the above description, the present invention can be understood, for example, as follows: In order to facilitate understanding of each aspect, reference symbols in the drawings are conveniently written in parentheses below, but this is not intended to limit the present invention to the illustrated aspects.
[0218] [Appendix 1-1] A program according to one aspect of the present invention includes a processor (e.g., control device 13), an acquisition unit (e.g., acquisition unit 132) that acquires touch position information indicating a touch position on a touch panel (e.g., touch panel 11), and a program for determining, when the touch position indicated by the touch position information is in a first area, movement in the first direction of an object (e.g., character C) that is on a first path in a game space (e.g., game space G), and, when the touch position indicated by the touch position information is in a second area that partially overlaps with the first area, moving the front of the object that is on a second path in the game space that is on a second path in the second direction. The determination unit functions as a selection unit (e.g., a selection unit 136) that, when the touch position indicated by the touch position information is in an overlapping area between the first area and the second area and there is a connection point between the first path and the second path on the movement direction side of the object in the game space, selects the movement direction of the object at the connection point from the first direction and the second direction based on the touch position information, and a display control unit (e.g., a display control unit 138) that displays an image indicating the selection result by the selection unit in the game space before the object reaches the connection point.
[0219] According to this aspect, when the touch position is located in an overlapping area between a first area associated with a first direction and the second area associated with a second direction, and there is a connection point between a first path toward the first direction and a second path toward the second direction on the object movement direction side, the movement direction of the object at the connection point is selected from the first direction and the second direction, and an image showing the selection result is displayed. As a result, when the user instructs the movement direction of the object by touching the area set on the touch panel, the user can accurately grasp the movement direction of the object at the connection point, and erroneous operation during the direction instruction operation can be suppressed. Furthermore, even if the touch position is in the overlapping area and the movement direction of the object is difficult to grasp, the user can accurately grasp the movement direction of the object at the connection point, and erroneous operation during the operation on the overlapping area can be suppressed. In addition, the result of the selection of the movement direction is displayed in the game space before the object reaches the connection point. This allows the user to know the movement direction of the object at the connection point before the object reaches the connection point, and for example, if the object moves in an unintended movement direction, the user can take measures such as changing the touch position, thereby more reliably preventing erroneous operations.
[0220] In the above embodiment, the "object" may be, for example, an object to which a movement instruction is given using a touch panel. The object may be, for example, a character related to the game, or an object related to the game. Here, the "character related to the game" may be, for example, a virtual living being capable of progressing through the game. Also, the "object related to the game" may be, for example, a virtual inanimate object capable of progressing through the game. In the above aspect, the "game space" is, for example, a virtual space provided in a game, and may be a two-dimensional space or a three-dimensional space. In the above aspect, the "game space" may be divided into, for example, a "movement-enabled space" in which an object is movable, and a "movement-restricted space" in which the movement of the object is restricted. Among these, a "movement restricted space" may be, for example, a space in which the movement of an object is restricted by the environment arranged in the game space. In this context, the "environment" may be, for example, obstacles such as rocks, mountains, walls, and blocks into which objects cannot penetrate, or may be particular terrain such as oceans, rivers, and valleys over which objects cannot pass. In the above aspect, the "first direction" and the "second direction" may be directions in the game space. In the above aspect, the first direction and the second direction are not the same direction. In the above embodiment, the "first area" and the "second area" may be areas provided in a visible manner on the touch panel for inputting directional instructions related to the game, or may be virtual areas provided in an invisible manner on the touch panel for inputting directional instructions related to the game. On the touch panel, the positions of the first area and the second area may be fixed or variable. In the above embodiment, the "first path" and the "second path" are, for example, spaces in the game space where an object can move, that is, examples of the above-mentioned movable spaces. In the above embodiment, environments that restrict the movement of the object are arranged on both sides of the first path and the second path (directions perpendicular to the extension direction of the path). Therefore, the object can move along the extension direction of the path, but movement that is not along the extension direction of the path is prevented by the environments that restrict the movement of the object. In the above embodiment, the "connection point between the first path and the second path" may be, for example, a point in the game space where the first path and the second path branch off. At the connection point, the first path and the second path may intersect, for example, like a crossroads, or may not intersect, such as a T-junction. In the above aspect, the "image indicating the selection result" may be, for example, an image indicating a movement direction selected by the selection unit, or a movement direction not selected by the selection unit. The "image indicating the selection result" may be, for example, an indication display indicating a specific direction such as the selected movement direction, or may be a symbol or the like that does not indicate a specific direction. Furthermore, the "image indicating the selection result" may be, for example, an indication showing an object or symbol that prevents movement in a direction not selected by the selection unit. Furthermore, the "image indicating the selection result" may be, for example, a visual effect that does not have a specific shape.
[0221] [Appendix 1-2] A program according to another aspect of the present invention is the program described in Appendix 1-1, wherein the selection unit divides the overlapping area into a first overlapping area that borders a first non-overlapping area of the first area that does not overlap with the second area, and a second overlapping area that borders a second non-overlapping area of the second area that does not overlap with the first area, and when the touch position is in the first overlapping area, selects the first direction as the movement direction of the object at the connection point, and when the touch position is in the second overlapping area, selects the second direction as the movement direction of the object at the connection point.
[0222] According to this aspect, the overlapping area is divided into a first overlapping area and a second overlapping area, and the moving direction is selected to be the direction associated with the non-overlapping area adjacent to the area where the touch position is located among the divided overlapping areas. This makes it possible to more accurately reflect the user's intention in the selection result of the moving direction of the character.
[0223] [Appendix 1-3] A program according to another aspect of the present invention is a program described in Appendix 1-1 or 1-2, wherein the display control unit displays an image indicating the selection result by the selection unit at a position based on the connection point in the game space.
[0224] According to this aspect, the image showing the selection result by the selection unit is displayed at a position based on the connection point of the game space, which allows the user to intuitively grasp at which position in the game space G the image showing the selection result indicates the movement direction of the object, compared to when the image showing the selection result is displayed at another position.
[0225] In the above aspect, the "position based on the connection point" may be, for example, a position having a predetermined positional relationship with the connection point, a position within a range of a predetermined distance from the connection point, or a position in a predetermined direction with the connection point as a reference. Specifically, the "position based on the connection point" may be, for example, the position of the connection point in the game space, a position advanced in the movement direction selected by the selection unit with the connection point as a reference, or a position between the connection point and an object. In addition, the "position based on the connection point" may be, for example, an environmental arrangement space (e.g., on a block) around the connection point.
[0226] [Appendix 1-4] A program according to another aspect of the present invention is a program described in Appendix 1-1 or 1-2, in which the display control unit displays an image indicating the selection result by the selection unit at a position based on the object in the game space.
[0227] According to this embodiment, an image showing the selection result by the selection unit is displayed at a position based on the object in the game space. Generally, a user playing a game often focuses on the vicinity of the character C. This reduces the amount of line-of-sight movement required when viewing the image showing the selection result, and reduces the burden on the user compared to when the image showing the selection result is displayed in another location.
[0228] In the above aspect, the "position based on the object" may be, for example, a position having a predetermined positional relationship with the object, a position within a range of a predetermined distance from the object, or a position in a predetermined direction with respect to the object. Specifically, the "position based on the object" may be, for example, the current position of the object in the game space, or a position on the path forward or backward in the traveling direction of the object. In addition, the "position based on the object" may be, for example, a movement-restricted space around the object (for example, on a block).
[0229] [Appendix 1-5] A program according to another aspect of the present invention is a program described in Appendix 1-1 or 1-2, wherein the display control unit displays an image representing a portion of the game space on the touch panel, and displays an image indicating the result of the selection by the selection unit at a position within the game space based on the positional relationship between the area displayed on the touch panel and the connection point.
[0230] According to this aspect, the image showing the selection result is displayed at a position in the game space based on the positional relationship between the display range of the touch panel and the connection point. Therefore, for example, when the connection point is outside the display range of the touch panel, the image showing the selection result can be displayed, thereby improving convenience in the game.
[0231] In the above embodiment, the "image showing a part of the game space" refers to an image that shows a part of the game space, and does not show the entire area of the game space. The image showing a part of the game space may be, for example, an image that shows a predetermined range of the game space based on the position of an object. In the above embodiment, the "position based on the positional relationship between the display range and the connection point" may be, for example, a position that is selectively changed depending on whether the connection point is included in the display range. For example, when the connection point is located within the display range, the connection point may be the "position based on the positional relationship between the display range and the connection point," and when the connection point is located outside the display range, the "position based on the positional relationship between the display range and the connection point" may be on the object (or a position between the object and the connection point within the display range).
[0232] [Appendix 1-6] A program according to another aspect of the present invention is a program described in any one of Appendices 1-1 to 1-5, wherein when the selection unit selects the first direction as the movement direction of the object at the connection point, and when the touch position indicated by the touch position information is present in the overlapping area, and there is another connection point on the side of the traveling direction of the object that has passed through the connection point, where a third path heading in a third direction and the first path connect, the selection unit selects the movement direction of the object at the other connection point from the first direction and the third direction based on the touch position information, and the display control unit displays in the game space an image indicating the selection result by the selection unit corresponding to the connection point and an image indicating the selection result by the selection unit corresponding to the other connection point.
[0233] According to this aspect, when there is another connection point beyond the connection point, an image showing the selection results of the movement direction at these multiple connection points is displayed, which allows the user to grasp the movement direction of the object over a long section, compared to, for example, when only the selection result of the movement direction at the connection point closest to the object's position is displayed, thereby improving convenience in the game.
[0234] In the above aspect, the "third direction" may be a direction in the game space. The third direction may be a direction different from the first direction, or a direction different from the first direction and the second direction. The third direction may also be the same direction as the second direction.
[0235] [Appendix 1-7] A program according to another aspect of the present invention is a program described in any one of Appendices 1-1 to 1-6, wherein when the touch position indicated by the touch position information is present in the first area or the second area and there is a location in the game space in the direction of movement of the object where movement in the first direction and the second direction is blocked, the determination unit determines to stop movement of the object at the location where the movement is blocked, and the display control unit displays an image indicating the result of the determination by the determination unit in the game space.
[0236] According to this aspect, when there is a point where the movement of the object stops, a message is displayed to inform the user that the movement of the object will stop. This allows the user to know that the movement of the object will stop, and for example, the user can take measures such as changing the touch position to change the movement direction, thereby improving the convenience of the game. In addition, for example, when the object stops as a result of a user's incorrect operation, the user can easily notice the incorrect operation, thereby improving the convenience of the game.
[0237] In the above embodiment, the "location where movement is prevented" may be, for example, a location where an environment that restricts the movement of an object such as a block is placed. In the above embodiment, the "image showing the determination result" may be, for example, an image suggesting that the movement of the object will stop. The "image showing the determination result" may be, for example, an image that is easily distinguishable from the "image showing the selection result", and may be, for example, an image imitating an X mark or a stop sign.
[0238] [Appendix 1-8] A program according to another aspect of the present invention is a program described in any one of Appendices 1-1 to 1-7, in which, when the touch position is located in the overlapping area, the display control unit displays an image showing the positional relationship between the touch position and at least one of the first area or the second area.
[0239] According to this aspect, when the overlapping area is touched, an image is displayed showing the positional relationship between at least one of the first area or the second area and the touch position, allowing the user to grasp the positional relationship between the first area or the second area and the touch position without directly looking at the first area or the second area or the touch position, thereby improving the operability of the game.
[0240] In the above embodiment, the "image indicating the positional relationship" may be, for example, an image indicating at least one of the direction and the distance of the touch position relative to a reference point set in at least one of the first area and the second area.
[0241] [Appendix 1-9] A program according to another aspect of the present invention is characterized in that, in the program described in Appendix 1-8, the display control unit displays a first image indicating a direction selected by the selection unit from the first direction and the second direction, and a second image indicating a direction not selected by the selection unit from the first direction and the second direction, and changes the visual effects of the first image and the second image based on the touch position in the overlapping area.
[0242] According to this embodiment, the visual effects of the first image showing the selected route and the second image showing the non-selected route are changed based on the touch position. This allows the user to understand the relationship between the touch position and the route selection result without directly looking at the touch position, improving the operability of the game. In addition, the user can understand the relationship between the touch position and the first area, and the relationship between the touch position and the second area, without directly looking at the touch position, improving the operability of the game.
[0243] In the above embodiment, the "first image" and the "second image" may be, for example, an indication indicating a first direction or a second direction, or may be a symbol or the like that does not indicate a specific direction. In the above embodiment, "based on the touch position" may refer to whether the touch position is closer to the first region or the second region. As a specific example of changing the visual effect based on the touch position, for example, when the direction selected by the selection unit is the first direction, the visual effect of the first image may be displayed so as to be stronger as the touch position approaches the first non-overlapping region, and the visual effect of the second image may be displayed so as to be stronger as the touch position moves away from the first non-overlapping region. In the above embodiment, "changing the visual effect" may mean, for example, changing the number, saturation, display area, etc. of the first or second images. When it is desired to enhance the visual effect, for example, the number of first or second images may be increased, the saturation may be increased, the display area may be increased, or a combination of these may be performed. When it is desired to weaken the visual effect, for example, the number of first or second images may be decreased, the saturation may be decreased, the display area may be decreased, or a combination of these may be performed.
[0244] [Appendix 1-10] An information processing device according to another aspect of the present invention includes an acquisition unit that acquires touch position information indicating a touch position on a touch panel, and a determination unit that, when the touch position indicated by the touch position information is in a first area, determines to move an object located on a first path toward a first direction in a game space in the first direction, and when the touch position indicated by the touch position information is in a second area that partially overlaps with the first area, determines to move the object located on a second path toward a second direction in the game space in the second direction, wherein the determination unit includes a selection unit that, when the touch position indicated by the touch position information is in an overlapping area between the first area and the second area and there is a connection point between the first path and the second path on the side of the movement direction of the object in the game space, selects the movement direction of the object at the connection point from the first direction and the second direction based on the touch position information, and a display control unit that displays an image indicating the selection result by the selection unit in the game space before the object reaches the connection point.
[0245] According to this aspect, when the touch position is located in an overlapping area between a first area associated with a first direction and the second area associated with a second direction, and there is a connection point between a first path toward the first direction and a second path toward the second direction on the object movement direction side, the movement direction of the object at the connection point is selected from the first direction and the second direction, and an image showing the selection result is displayed. As a result, when the user instructs the movement direction of the object by touching the area set on the touch panel, the user can accurately grasp the movement direction of the object at the connection point, and erroneous operation during the direction instruction operation can be suppressed. Furthermore, even if the touch position is in the overlapping area and the movement direction of the object is difficult to grasp, the user can accurately grasp the movement direction of the object at the connection point, and erroneous operation during the operation on the overlapping area can be suppressed. In addition, the result of the selection of the movement direction is displayed in the game space before the object reaches the connection point. This allows the user to know the movement direction of the object at the connection point before the object reaches the connection point, and for example, if the object moves in an unintended movement direction, the user can take measures such as changing the touch position, thereby more reliably preventing erroneous operations.
[0246] [Appendix 1-11] An information processing method according to another aspect of the present invention includes a processor acquiring touch position information indicating a touch position on a touch panel, and if the touch position indicated by the touch position information is in a first area, determining to move an object located on a first path in a game space toward a first direction in the first direction, and if the touch position indicated by the touch position information is in a second area that partially overlaps with the first area, determining to move the object located on a second path in the game space toward a second direction in the second direction, and if the touch position indicated by the touch position information is in an overlapping area between the first area and the second area and there is a connection point between the first path and the second path on the side of the movement direction of the object in the game space, selecting the movement direction of the object at the connection point from the first direction and the second direction based on the touch position information, and displaying an image indicating the selection result in the game space before the object reaches the connection point.
[0247] According to this aspect, when the touch position is located in an overlapping area between a first area associated with a first direction and the second area associated with a second direction, and there is a connection point between a first path toward the first direction and a second path toward the second direction on the object movement direction side, the movement direction of the object at the connection point is selected from the first direction and the second direction, and an image showing the selection result is displayed. As a result, when the user instructs the movement direction of the object by touching the area set on the touch panel, the user can accurately grasp the movement direction of the object at the connection point, and erroneous operation during the direction instruction operation can be suppressed. Furthermore, even if the touch position is in the overlapping area and the movement direction of the object is difficult to grasp, the user can accurately grasp the movement direction of the object at the connection point, and erroneous operation during the operation on the overlapping area can be suppressed. In addition, the result of the selection of the movement direction is displayed in the game space before the object reaches the connection point. This allows the user to know the movement direction of the object at the connection point before the object reaches the connection point, and for example, if the object moves in an unintended movement direction, the user can take measures such as changing the touch position, thereby more reliably preventing erroneous operations.
[0248] [Appendix 2-1] A program according to another aspect of the present invention is characterized in that it causes a processor (e.g., the control device 22) to function as an acquisition unit (e.g., the acquisition unit 222) that acquires touch position information indicating a touch position on a touch panel (e.g., the touch panel 11), a designation unit (e.g., the designation unit 224) that designates a movement direction of an object (e.g., a character C) in a game space (e.g., the game space G) based on the touch position information, a prediction unit (e.g., the prediction unit 226) that, when there are multiple paths in the game space along which the object can move, predicts a path along which the object will move from among the multiple paths based on the movement direction designated by the designation unit and the shape of the environment that restricts the movement of the object in the game space, and a display control unit (e.g., the display control unit 228) that displays an image indicating a prediction result by the prediction unit in the game space.
[0249] According to this aspect, when there are multiple paths through which an object can move, a path through which the object will move is predicted from among the multiple paths, and an image showing the prediction result is displayed. As a result, when a user instructs the movement direction of an object by touching an area set on a touch panel, the user can accurately grasp the movement direction of the object when the object can move to multiple paths, and erroneous operation during a direction instruction operation can be suppressed. In addition, for example, if an image showing the prediction result is displayed before the object reaches one of the multiple paths, the user can know which of the multiple paths the object will move to before the object reaches one of the multiple paths. Therefore, when the object moves in an unintended movement direction, the user can take measures such as changing the touch position, and erroneous operation can be more reliably prevented.
[0250] In the above embodiment, the "environment restricting movement" is, for example, an environment that prevents the movement of an object in the game space. The environment restricting movement may be, for example, an environment in which obstacles such as rocks, mountains, walls, and blocks are arranged, into which an object cannot enter, or an environment having a specific terrain such as an ocean, river, and valley, above which an object cannot pass. The above environment may be formed, for example, by a plurality of obstacles arranged continuously or discontinuously, or may be formed by combining a plurality of terrains. In the above embodiment, since the movement of an object is prevented by the environment, the "shape of the environment" can also be said to be the shape of the boundary between the movable space and the movement-restricted space. The elements that constitute the environment, such as the obstacles and the specific terrain, are called "environmental components". In the above embodiment, the "path" is, for example, a space in the game space where an object can move, that is, an example of the above-mentioned movable space. In the above embodiment, environments that restrict the movement of the object are arranged on both sides of the path (in a direction perpendicular to the extension direction of the path). Therefore, the object can move along the extension direction of the path, but movement that does not follow the extension direction of the path is restricted and prevented by the environments that restrict the movement of the object. For example, when the distance between the environments on both sides of the path is longer than the unit movement distance of the object, the object can move between the environments, that is, in the path width direction, but when the distance between the environments on both sides of the path is equal to or less than the unit movement distance of the object, the object cannot move in the path width direction. In the above aspect, the "image showing the prediction result" may be, for example, an image showing a route predicted by the prediction unit (hereinafter referred to as a "predicted route"). The "image showing the prediction result" may be, for example, an indication indicating the direction of the predicted route, or may be a symbol or the like that does not indicate a specific direction. The "image showing the prediction result" may be, for example, an image showing an object or symbol that prevents movement to a route other than the predicted route. The "image showing the prediction result" may be, for example, a visual effect that does not have a specific shape.
[0251] [Appendix 2-2] A program according to another aspect of the present invention is a program described in Appendix 2-1, in which the designation unit specifies that, when there is a point in the game space on the side of the object's movement direction where movement in the movement direction is blocked, the movement of the object is stopped at the point where the movement is blocked, and the display control unit displays an image in the game space indicating that the object has been stopped.
[0252] According to this aspect, when there is a point where the movement of the object stops, a message is displayed to inform the user that the movement of the object will stop. This allows the user to know that the movement of the object will stop, and for example, the user can take measures such as changing the touch position to change the movement direction, thereby improving the convenience of the game. In addition, for example, when the object stops as a result of a user's incorrect operation, the user can easily notice the incorrect operation, thereby improving the convenience of the game.
[0253] In the above embodiment, the "location where movement is prevented" may be, for example, a location where an environment that restricts the movement of an object such as a block is placed. In the above embodiment, the "image indicating the stopping of an object" may be, for example, an image suggesting that the movement of the object will stop. The "image indicating the stopping of an object" may be, for example, an image that is easily distinguishable from the "image indicating a prediction result", and may be, for example, an image imitating an X mark or a stop sign.
[0254] [Appendix 2-3] A program according to another aspect of the present invention is a program described in Appendix 2-1 or 2-2, in which the display control unit displays an image showing the positional relationship between the extension direction of at least one of the multiple paths and the movement direction specified by the designation unit.
[0255] According to this aspect, an image showing the positional relationship between the extension direction of at least one of the multiple paths and the movement direction specified by the designation unit is displayed, which allows the user to grasp the positional relationship between the extension direction of at least one of the multiple paths and the movement direction specified by the designation unit without directly looking at it, thereby improving the operability of the game.
[0256] In the above embodiment, the "display indicating the positional relationship" may be, for example, a display indicating the magnitude of the angle between the extension direction of at least one of the multiple paths and the movement direction specified by the specification unit.
[0257] [Appendix 2-4] A program according to another aspect of the present invention is a program described in Appendix 2-3, wherein the multiple routes include a first route and a second route that connect at a connection point, and the display control unit displays a first image indicating one of the first route and the second route that is predicted by the prediction unit as the route along which the object will move, and a second image indicating one of the first route and the second route that is predicted by the prediction unit as the route along which the object will not move, and changes the visual effects of the first image and the second image based on the movement direction.
[0258] According to this aspect, the visual effects of the first image showing the path along which the object is predicted to move and the second image showing the path along which the object is not predicted to move are changed based on the moving direction of the object. This allows the user to understand the relationship between the moving direction of the object and the selected path without directly looking at the touch position, improving the operability of the game. In addition, the user can understand the relationship between the moving direction of the object and the first path, and between the moving direction of the object and the second path, without directly looking at the touch position, improving the operability of the game.
[0259] In the above embodiment, the "connection point" may be, for example, a point in the game space where the first path and the second path branch off. At the connection point, the first path and the second path may intersect, for example, like a crossroads, or may not intersect, such as a T-junction. In the above embodiment, "based on the movement direction" means, for example, that when the movement direction specified by the designation unit, i.e., the angle θ1 between the movement direction of the object indicated by the touch position and the direction in which a first path exists with the object as a reference, and the angle θ2 between the movement direction of the object indicated by the touch position and the direction in which a second path exists with the object as a reference, the visual effect is changed based on the relationship between θ1 and θ2 (such as size relationship or ratio). In the above embodiment, "changing the visual effect" may mean, for example, changing the number, saturation, display area, etc. of the first or second images. When it is desired to enhance the visual effect, for example, the number of first or second images may be increased, the saturation may be increased, the display area may be increased, or a combination of these may be performed. When it is desired to weaken the visual effect, for example, the number of first or second images may be decreased, the saturation may be decreased, the display area may be decreased, or a combination of these may be performed.
[0260] [Appendix 2-5] A program according to another aspect of the present invention is a program described in any one of Appendices 2-1 to 2-4, in which the display control unit displays an image showing the prediction result by the prediction unit at a position based on the path along which the object is predicted to move.
[0261] According to this aspect, the image showing the prediction result by the prediction unit is displayed at a position based on the path predicted for the object in the game space to move along, allowing the user to intuitively grasp at which position in the game space G the image showing the prediction result indicates the movement direction of the object, as compared to a case where the image showing the selection result is displayed at another location.
[0262] In the above aspect, the "position based on the predicted route" may be, for example, a position having a predetermined positional relationship with the predicted route, a position within a range of a predetermined distance from the predicted route, or a position in a predetermined direction with the predicted route as a reference. Specifically, the "position based on the predicted route" may be, for example, the position of the predicted route in the game space, a position advanced toward the predicted route with a connection point between the routes as a reference, or a position between the predicted route and an object. In addition, the "position based on the predicted route" may be, for example, a movement-restricted space (e.g., on a block) around the predicted route.
[0263] [Appendix 2-6] A program according to another aspect of the present invention is a program described in any one of Appendices 2-1 to 2-4, in which the display control unit displays an image indicating the prediction result by the prediction unit at a position based on the object in the game space.
[0264] According to this aspect, an image showing a prediction result by the prediction unit is displayed at a position based on the object in the game space. In general, a user who is playing a game often focuses on the vicinity of the object. Therefore, the amount of movement of the line of sight when viewing the image showing the prediction result is reduced, and the burden on the user can be reduced compared to when the image showing the prediction result is displayed at another location.
[0265] In the above aspect, the "position based on the object" may be, for example, a position having a predetermined positional relationship with the object, a position within a range of a predetermined distance from the object, or a position in a predetermined direction with respect to the object. Specifically, the "position based on the object" may be, for example, the current position of the object in the game space, or a position on the path forward or backward in the traveling direction of the object. In addition, the "position based on the object" may be, for example, a movement-restricted space around the object (for example, on a block).
[0266] [Appendix 2-7] A program according to another aspect of the present invention is a program described in any one of Appendices 2-1 to 2-4, wherein the display control unit displays an image representing a portion of the game space on the touch panel, and displays an image indicating the prediction result by the prediction unit at a position within the game space based on the positional relationship between the range displayed by the touch panel and the path along which the object is predicted to move.
[0267] According to this aspect, an image showing the prediction result is displayed at a position in the game space based on the positional relationship between the display range of the touch panel and the path predicted to be taken by the object. Therefore, for example, even if the path predicted to be taken by the object is outside the display range of the touch panel, an image showing the prediction result can be displayed, improving convenience in the game.
[0268] In the above embodiment, the "image showing a part of the game space" refers to an image that shows a part of the game space, and does not show the entire area of the game space. The image showing a part of the game space may be, for example, an image that shows a predetermined range of the game space based on the position of an object. In the above embodiment, the "position based on the positional relationship between the display range and the route along which the object is predicted to move" may be, for example, a position that is selectively changed depending on whether the predicted route is included in the display range. For example, the "position based on the positional relationship between the display range and the predicted route" may be on the predicted route when the predicted route is located within the display range, and on the object (or a position between the object and the route within the display range) when the predicted route is located outside the display range.
[0269] [Appendix 2-8] A program according to another aspect of the present invention is a program described in any one of Appendices 2-1 to 2-7, wherein when a connection point with another route is present on the route predicted for the object to move, the prediction unit predicts the movement direction of the object at the connection point with the other route based on the touch position information, and the display control unit displays in the game space an image indicating the prediction result by the prediction unit corresponding to the connection point of the multiple routes and an image indicating the prediction result by the prediction unit corresponding to the connection point with the other route.
[0270] According to this aspect, when there are other connection points on the path along which the object is predicted to move, images showing the predicted moving directions at these connection points are displayed, respectively, which allows the user to grasp the moving direction of the object over a long distance, compared to when only the predicted moving direction at the connection point closest to the object's position is displayed, thereby improving the convenience of the game.
[0271] [Appendix 2-9] A program according to another aspect of the present invention is a program described in any one of Appendices 2-1 to 2-8, wherein, when a shape of the environment changes, the prediction unit predicts a path along which the object will move based on the changed shape of the environment, and when the prediction result by the prediction unit changes due to the change in the shape of the environment, the display control unit displays an image in the game space indicating the prediction result after the change.
[0272] According to this aspect, when the predicted result of the path along which the object moves changes in accordance with a change in the shape of the environment in the game space along which the object moves, an image showing the predicted result after the change is displayed. This allows the user to accurately grasp the moving direction of the object even if the shape of the path changes, thereby improving the convenience of the game.
[0273] In the above embodiment, the "change in the shape of the environment" may be, for example, a change in the surface shape of an environmental component, an increase or decrease in the number of environmental components, a change in the size of an environmental component, or the like.
[0274] [Appendix 2-10] An information processing device according to another aspect of the present invention includes an acquisition unit that acquires touch position information indicating a touch position on a touch panel, a designation unit that designates a movement direction of an object in a game space based on the touch position information, a prediction unit that, if there are multiple paths in the game space along which the object can move, predicts a path along which the object will move from among the multiple paths based on the movement direction designated by the designation unit and the shape of an environment that restricts the movement of the object in the game space, and a display control unit that displays an image indicating a prediction result by the prediction unit in the game space.
[0275] According to this aspect, when there are multiple paths through which an object can move, a path through which the object will move is predicted from among the multiple paths, and an image showing the prediction result is displayed. As a result, when a user instructs the movement direction of an object by touching an area set on a touch panel, the user can accurately grasp the movement direction of the object when it can move to multiple paths, and erroneous operation during a direction instruction operation can be suppressed. In addition, for example, if an image showing the prediction result is displayed before the object reaches one of the multiple paths, the user can know which of the multiple paths the object will move to before the object reaches one of the multiple paths. Therefore, when the object moves in an unintended movement direction, the user can take measures such as changing the touch position, and erroneous operation can be more reliably prevented.
[0276] [Appendix 2-11] In an information processing method according to another aspect of the present invention, a processor acquires touch position information indicating a touch position on a touch panel, specifies a movement direction of an object in a game space based on the touch position information, and if there are multiple paths in the game space along which the object can move, predicts a path along which the object will move from among the multiple paths based on the specified movement direction and the shape of the environment that restricts the movement of the object in the game space, and displays an image indicating the prediction result in the game space.
[0277] According to this aspect, when there are multiple paths through which an object can move, a path through which the object will move is predicted from among the multiple paths, and an image showing the prediction result is displayed. As a result, when a user instructs the movement direction of an object by touching an area set on a touch panel, the user can accurately grasp the movement direction of the object when it can move to multiple paths, and erroneous operation during a direction instruction operation can be suppressed. In addition, for example, if an image showing the prediction result is displayed before the object reaches one of the multiple paths, the user can know which of the multiple paths the object will move to before the object reaches one of the multiple paths. Therefore, when the object moves in an unintended movement direction, the user can take measures such as changing the touch position, and erroneous operation can be more reliably prevented.
[0278] [Appendix 2-12] A program according to another aspect of the present invention is characterized in that it causes a processor to function as an acquisition unit that acquires touch position information indicating a touch position on a touch panel, a designation unit that designates a movement direction of an object in a game space based on the touch position information, a prediction unit that, if there is a path in the game space along which the object can move, predicts whether the object will move along the path based on the movement direction designated by the designation unit and the shape of an environment that restricts the movement of the object in the game space, and a display control unit that displays an image indicating a prediction result by the prediction unit in the game space.
[0279] According to this aspect, when there is a path along which the object can move, whether or not the object will move along the path is predicted based on the moving direction specified based on the touch position, and an image showing the prediction result is displayed. This allows the user to accurately grasp the path along which the object will move when instructing the moving direction of the object by touching an area set on the touch panel, and can prevent erroneous operations during direction instruction operations. In addition, for example, if an image showing the prediction result is displayed in advance (for example, before the object reaches the path along which the object can move), the user can take measures such as changing the touch position before the object makes an unintended movement (such as entering an unintended path), and erroneous operations can be more reliably prevented. [Explanation of symbols]
[0280] 10, 20...information processing device, 11...touch panel, 12...storage device, 13, 22...control device, 130, 220...control unit, 131, 221...game control unit, 132, 222...acquisition unit, 134...determination unit, 136...selection unit, 138, 228...display control unit, 224...designation unit, 226...prediction unit.
Claims
1. A processor, an acquisition unit that acquires input information for an interface that accepts selection of a position or angle around a reference point; a designation unit that designates a moving direction of an object in a game space based on the input information; a prediction unit that, when there are a plurality of paths along which the object can move in the game space, predicts a path along which the object will move from among the plurality of paths based on the movement direction designated by the designation unit and a shape of an environment that restricts the movement of the object in the game space; a display control unit that displays, in the game space, an image indicating a prediction result by the prediction unit; A program characterized by causing a computer to function as described above.
2. The designation unit is specifying that, when there is a location in the game space on a side of the object's movement direction where movement in the movement direction is blocked, the object is to be stopped at the location where the movement is blocked; The display control unit is displaying an image indicating the object being stopped in the game space; 2. The program according to claim 1 .
3. The display control unit is displaying an image showing a positional relationship between an extension direction of at least one of the plurality of paths and the moving direction specified by the specification unit; 3. The program according to claim 1 or 2.
4. The plurality of paths include: a first path and a second path that are connected at a connection point; The display control unit is displaying a first image showing one of the first route and the second route predicted by the prediction unit as a route along which the object will move, and a second image showing one of the first route and the second route predicted by the prediction unit as a route along which the object will not move, changing a visual effect of the first image and the second image based on the movement direction; 4. The program according to claim 3.
5. the display control unit displays an image indicating a prediction result by the prediction unit at a position based on a path along which the object is predicted to move.
5. The program according to claim 1, wherein the program is a program for executing a program.
6. the display control unit displays an image indicating a prediction result by the prediction unit at a position based on the object in the game space.
5. The program according to claim 1, wherein the program is a program for executing a program.
7. The display control unit is displaying an image representing a portion of the game space on a display device; an image indicating a result of the prediction by the prediction unit is displayed at a position in the game space based on a positional relationship between an area displayed by the display device and a path along which the object is predicted to move; 5. The program according to claim 1, wherein the program is a program for executing a program.
8. The prediction unit is If there is a connection point with another route on the route along which the object is predicted to move, predicting the moving direction of the object at a connection point with the other path based on the input information; The display control unit is In the game space, an image showing a prediction result by the prediction unit corresponding to a connection point of the plurality of routes; and displaying an image showing a prediction result by the prediction unit corresponding to a connection point with the other route.
8. The program according to claim 1, wherein the program is a program for executing a program.
9. The prediction unit is If the shape of the environment changes, predicting a path along which the object will move based on the changed shape of the environment; The display control unit is when a prediction result by the prediction unit changes in association with a change in the shape of the environment, an image showing the prediction result after the change is displayed in the game space; 9. The program according to claim 1, wherein the program is a program for executing a program.
10. An acquisition unit that acquires input information for an interface that accepts selection of a position or angle around a reference point; a designation unit that designates a moving direction of an object in a game space based on the input information; a prediction unit that, when there are a plurality of paths along which the object can move in the game space, predicts a path along which the object will move from among the plurality of paths based on the movement direction designated by the designation unit and a shape of an environment that restricts the movement of the object in the game space; a display control unit that displays, in the game space, an image indicating a prediction result by the prediction unit; An information processing device comprising:
Citation Information
Patent Citations
Apparatus, method and program for processing user interface
JP2011141632A
Key input device
JP2015176277A
JP2017-1190443A
Video game processing apparatus and video game processing program
JP2018068781A
Program and information processing apparatus
JP2019170802A
