Game program, information processing device, information processing system, and game processing method
By implementing input position processing and reference position management in the game program, users can perform diverse operations in the virtual game space, which solves the problem of insufficient diversity of game operations of pointing devices in the prior art and improves the operating experience.
Patent Information
- Application Number
- CN201780091082.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2017-05-22
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2038-04-02
AI Technical Summary
Existing game operation technology makes it difficult to use pointing devices to perform various game operations, limiting the user's operating experience and flexibility.
By implementing the steps of obtaining the input position, setting the reference position, executing object movement processing and state change processing in the game program, the user can move and control objects in the virtual game space through continuous input operations, and perform multiple operations under specific conditions. operations, including movement, status changes, and resetting of reference positions.
The diversity and operability of game operations using pointing devices are improved, allowing users to perform multiple types of operations through simple input methods, enhancing the game experience.
Smart Images

Figure CN110678238B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a game program, a game device, a game system and a game processing method for performing input using a pointing device. Background Art
[0002] Conventionally, there is a technique for performing game operations using a pointing device such as a touch panel. For example, a pointing device is used to perform game operations for moving an object in a game space (for example, see Patent Document 1).
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2013-127683 Summary of the invention
[0006] Problem that the invention aims to solve
[0007] A user interface capable of performing more diverse game operations using a pointing device is desired.
[0008] Therefore, an object of the present invention is to provide a game program, a game device, a game system, and a game processing method that enable various game operations to be performed using a pointing device.
[0009] Solutions for solving problems
[0010] In order to solve the above-mentioned problems, the present invention adopts the following structures (1) to (13). (1)
[0012] One example of the present invention is a game program that causes a computer of an information processing device to execute an acquisition step, a reference position setting step, a first movement processing step, and a first processing execution step. In the acquisition step, the computer repeatedly acquires an input position detected by a pointing device. In the reference position setting step, the computer sets a reference position based on the input position when the pointing device starts to input. In the first movement processing step, the computer performs a first movement process of moving a first object in a virtual game space based on the reference position and the input position of the input that continues from the start of the input to the pointing device. In the first processing execution step, the computer performs a first process for a second object that is the same as or different from the first object when the input position of the input that continues from the start of the input to the pointing device satisfies a first condition related to the relationship between the input position and the reference position.
[0013] According to the configuration of (1), the user can perform a move operation on the object by continuously inputting the pointing device from the beginning, and can execute the first process on the object by the continuous input. This enables various game operations to be performed using the pointing device. (2)
[0015] Alternatively, the game program causes the computer to further execute a second movement processing step in which the computer executes a second movement processing for moving the second object in the virtual game space based on an input position of input that continues from the start of input to the pointing device and after the first processing is executed.
[0016] According to the configuration of (2) above, the user can perform a move operation on the second object after performing an operation to execute the first process on the second object. This improves the operability of the move operation on the object. (3)
[0018] The second object may be the same as the first object. In the first process execution step, a process for changing the state of the first object may be executed as the first process.
[0019] According to the structure of (3) above, the user can perform both the operation of moving the object and the operation of changing the state by a series of inputs to the pointing device. Accordingly, the user can perform multiple types of operations by a series of inputs to the pointing device, thereby enabling more diverse game operations. (4)
[0021] Alternatively, in the first processing execution step, a process for changing the state of the first object related to movement is executed as the first process. Alternatively, the game program causes the computer to further execute a third movement processing step. In the third movement processing step, the computer executes a third movement processing for moving the first object using a control method different from the first movement processing based on an input position of input that continues from the start of input to the pointing device and after the first process is executed.
[0022] According to the structure of (4) above, the user can change the control method of the movement performed by the movement operation through the first processing. Therefore, according to the structure of (4) above, the user can perform the movement operation on the object and the change operation of the movement control method performed by the movement operation through a series of inputs. Accordingly, the user can perform various movement operations through a simple input method. (5)
[0024] Alternatively, in the first processing execution step, when the state of the second object changes in response to the first condition being satisfied, the changed state is maintained after the first condition is no longer satisfied.
[0025] According to the structure of (5) above, when the first condition is satisfied, even if the first condition is no longer satisfied later, the state of the first object that has been changed by the first processing is maintained. That is, after the user performs an operation that satisfies the first condition, the user can perform operations without being restricted by the first condition, and thus can perform other operations by inputting to the pointing device. Thus, the degree of freedom of the operation performed by inputting to the pointing device can be increased, and the operability can be improved. (6)
[0027] In the first processing execution step, a process for controlling the motion of the second object, which is different from the first movement process, may be executed as the first process.
[0028] According to the structure of (6) above, the user can perform a movement operation on the first object and an operation on the second object (which may be the same as or different from the first object) by a series of inputs to the pointing device. Accordingly, the user can perform multiple types of operations by a series of inputs to the pointing device, thereby enabling more diverse game operations. (7)
[0030] Alternatively, the game program causes the computer to further execute a second processing execution step in which the computer executes a second processing different from the first processing and for a second object when the input continues from the start of the input to the pointing device and the input after the first processing is executed satisfies a second condition.
[0031] According to the structure of (7) above, after the user causes the information processing device to execute the first process by an operation that satisfies the first condition, the user can cause the information processing device to execute the second process by an operation that satisfies the second condition. Accordingly, the user can perform multiple types of operations through a series of inputs to the pointing device, thereby enabling more diverse game operations. (8)
[0033] In the second processing execution step, a process related to movement of the second object may be executed as the second process.
[0034] According to the configuration of (8), the user can perform operations related to the movement of the first object even after the information processing device executes the first process by an operation satisfying the first condition. Thus, the user can perform various operations related to the movement of the object by a simple input method. (9)
[0036] In the second process execution step, the second process may be executed in response to the end of input that has been continuously performed since the start of input to the pointing device.
[0037] According to the structure of (9) above, the user can make the information processing device execute the second process by performing an operation for ending a series of inputs performed on the pointing device. Accordingly, the user can perform game operations by performing an operation for ending a series of inputs in addition to performing operations in a series of inputs, thereby enabling more diverse game operations. (10)
[0039] The first condition may include that a state in which an input position of an input that has been continuously performed since the start of the input to the pointing device satisfies a predetermined condition continues for a predetermined time.
[0040] According to the structure of (10) above, even if the input position temporarily satisfies the prescribed condition (i.e., within a period shorter than the prescribed time), the first condition is not satisfied. Therefore, the possibility that the first condition is satisfied due to an erroneous input or an unintended input by the user, resulting in the first processing being performed contrary to the user's intention, can be reduced. Thus, the operability of the operation performed by the input to the pointing device can be improved. (11)
[0042] Alternatively, in the first process execution step, the first process may be executed in response to the first condition being satisfied after the first movement process is started.
[0043] According to the structure of (11) above, the user can perform an operation on the second object during the movement operation on the first object. In other words, the user can perform an operation on the second object following the operation on the first object. For example, when the first object and the second object are the same, the user can perform an operation different from the movement operation on the first object during the movement operation by continuously inputting the input of the movement operation. (12)
[0045] Another example of the present invention is a game program that causes a computer of an information processing device to execute an acquisition step, a reference position setting step, a movement processing step, and a reference position resetting step. In the acquisition step, the computer repeatedly acquires an input position detected by a pointing device. In the reference position setting step, the computer sets a reference position based on the input position when the pointing device starts to input. In the movement processing step, the computer performs movement processing to move an object in a virtual game space based on the reference position and the input position of the input that continues from the start of the input to the pointing device. In the reference position resetting step, when the input position of the input that continues from the start of the input to the pointing device satisfies a prescribed condition, the computer resets the reference position to the input position when the condition is satisfied.
[0046] According to the structure of (12) above, it is possible to perform a moving operation on an object and an operation to reset a reference position through a series of inputs to the pointing device. Accordingly, the user can perform various operations using the pointing device. In addition, according to the structure of (12) above, the user can reset the reference position while continuing to input, so there is no need to re-input, and the reference position can be reset with a simple operation. Thus, the operability of the operation using the pointing device can be improved. In addition, the input position when the specified conditions are met becomes the new reference position, so the information processing device can set the reference position to a position that is easy for the user to intuitively understand. (13)
[0048] Alternatively, the game program causes the computer to further execute a determination step. In the determination step, the computer determines whether the input position of the input that has been continuously performed since the start of the input to the pointing device satisfies a prescribed condition. In this case, in the reference position resetting step, the reference position may be reset to the input position determined to satisfy the condition in the determination step.
[0049] According to the configuration of (13), the reference position is reset to the input position at the time when the predetermined condition is determined to be satisfied. This makes it easy to identify the input position when the predetermined condition is satisfied, and to set the new reference position to the input position.
[0050] In addition, another example of the present invention may be an information processing device or information processing system that performs the processing of each step in (1) to (13) above (not limited to the method of performing each step by a program). In addition, another example of the present invention may be a game processing method in which the processing of each step in (1) to (13) above is performed by a computer.
[0051] Effects of the Invention
[0052] According to the present invention, it is possible to enable various game operations using a pointing device. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a block diagram showing an example of the configuration of the information processing system in this embodiment.
[0054] Figure 2 This is a block diagram showing an example of the structure of a server.
[0055] Figure 3 This is a block diagram showing an example of the structure of a terminal device.
[0056] Figure 4 This is a diagram showing an example of a game image.
[0057] Figure 5 FIG. 1 is a diagram showing an example of game operations that can be performed by touch input in the present embodiment.
[0058] Figure 6 This is a diagram showing an example of a game image when touch input starts.
[0059] Figure 7 This is a diagram showing an example of an operation image.
[0060] Figure 8 This is a diagram showing an example of a case where the reference position is changed.
[0061] Fig. 9 This is a diagram showing an example of a method for determining drift conditions.
[0062] Fig.10 This is a diagram showing an example of a situation where the reference position is reset.
[0063] Fig.11 This is a diagram showing an example of a game image including an object in a drifting state.
[0064] Fig.12 This is a diagram showing an example of a game image including an object in an accelerable state.
[0065] Fig.13 This is a diagram showing an example of a game image including an object in an accelerated state.
[0066] Fig.14 This is a diagram showing an example of data used in game processing in the information processing system.
[0067] Fig.15 This is a flowchart showing an example of the flow of a game process executed by a terminal device.
[0068] Fig.16This is a flowchart showing an example of the flow of a game process executed by a terminal device. DETAILED DESCRIPTION
[0069] [1. Overall structure of the system]
[0070] The information processing system, information processing device, game program, and game processing method according to the present embodiment are described below. First, the overall structure of the information processing system according to the present embodiment and the structures of the terminal device and server included in the information processing system are described. Figure 1 is a block diagram showing an example of the structure of the information processing system in this embodiment. Figure 1 As shown, the information processing system includes a server 1 and a terminal device 2. The server 1 and the terminal device 2 can be connected to a network 3 such as the Internet and / or a mobile communication network. The server 1 and the terminal device 2 can communicate with each other via the network 3.
[0071] The server 1 is a server for providing services related to the application executed in the terminal device 2. In the present embodiment, the server 1 is a game server for executing a game in the terminal device 2. That is, the server 1 provides an environment for executing game processing in the terminal device 2. For example, the server 1 responds to a request from the terminal device 2 that executes the game processing, executes the game processing as needed, and sends game data corresponding to the request to the terminal device 2.
[0072] The terminal device 2 is an example of an information processing device owned by a user, such as a smartphone, a portable or fixed game device, a mobile phone, a tablet terminal, or a wearable terminal, etc. The terminal device 2 can execute a game program (in other words, a game application) for a game served by the server 1.
[0073] (Specific example of the configuration of the server 1)
[0074] Figure 2 This is a block diagram showing an example of the configuration of the server 1 . Figure 2 Each configuration included in the server 1 shown can be realized by one or more information processing devices. In addition, the hardware configuration of the server 1 in this embodiment may be the same as the hardware configuration used for a conventional server.
[0075] like Figure 2As shown, the server 1 includes a processing unit 11 and a storage unit 12. The processing unit 11 is electrically connected to each unit 12 to 15 of the server 1. The processing unit 11 has a CPU (Central Processing Unit) and a memory. In the server 1, the CPU uses the memory to execute the program stored in the storage unit 12, thereby performing various information processing. The storage unit 12 is an arbitrary storage device (also called a storage medium) that can be accessed by the processing unit 11. The storage unit 12 stores programs executed in the processing unit 11, data used for information processing by the processing unit 11, and data obtained by the information processing. In the present embodiment, the storage unit 12 stores at least a program for game processing executed on the server side in order to execute game processing in the terminal device 2.
[0076] The server 1 includes a communication unit 13. The communication unit 13 has a function of connecting to the network 3 and communicating with other devices (for example, the terminal device 2) via the network 3. In addition, the server 1 includes an input unit 14 and a display unit 15 as input and output interfaces.
[0077] (Specific example of the structure of the terminal device 2)
[0078] Figure 3 2 is a block diagram showing an example of the structure of the terminal device 2. Figure 3 As shown, the terminal device 2 includes a processing unit 21 and a storage unit 22. The processing unit 21 is electrically connected to each unit 22 to 25 of the terminal device 2. The processing unit 21 has a CPU and a memory. In the terminal device 2, the CPU uses the memory to execute the program (including the above-mentioned game program) stored in the storage unit 22, thereby performing various information processing. The storage unit 22 stores the program executed in the processing unit 21, the data used for the information processing of the processing unit 21, and the data obtained by the information processing. In addition, the storage unit 22 can also be a storage medium (for example, a card-type storage medium) that can be loaded and unloaded relative to the terminal device 2.
[0079] The terminal device 2 is provided with a pointing device as an example of an input unit. The pointing device is any input device capable of detecting a position specified on an input surface (e.g., by a user). In the present embodiment, the pointing device is a touch panel 23 provided on the screen of the display unit 24. The touch panel 23 detects a position specified by a touch input (referred to as a "touch input") to the input surface (in other words, a surface set on the screen of the display unit 24).
[0080] The pointing device may also be a touch input type input device such as a touch screen, a touch panel or a touch pad that can detect a position specified on the input surface (for example, by a user). The touch input type input device may also be an input device that can perform contact or non-contact input on the input surface. That is, the touch input type input device is not limited to a device that can detect the position of a touch input to the input surface, but may also be an input device that can detect the input position by detecting a finger or the like that is arranged at a position slightly separated from the input surface (for example, an input device with a floating touch function). That is, the touch input type input device may also detect a position specified by the following input: instead of a touch input to the input surface (or in addition to a touch input), the finger or the like is arranged at a position slightly separated from the input surface without contacting the input surface.
[0081] Furthermore, the pointing device is not limited to a touch input type input device, but may be a mouse, or an operating device manipulated by a user to specify a position on the input surface by the position and / or orientation of the operating device.
[0082] In addition, in the case where the input surface of the pointing device, such as a touch panel, is set on the screen of the display device, the input position detected by the pointing device is accurately a position corresponding to the position on the display screen. However, the input position actually represents a position on the display screen. Therefore, in the description of this embodiment, the input position is sometimes described as a position on the display screen for the purpose of making the description easier to understand. In addition, "the input position is at a specific position on the display screen" strictly means that the input position is at a position on the input surface corresponding to the specific position on the display screen.
[0083] The terminal device 2 includes a display unit 24. The display unit 24 displays an image (for example, a game image, etc.) generated by information processing executed by the processing unit 21 of the terminal device 2.
[0084] The terminal device 2 has a communication unit 25. In the present embodiment, the communication unit 25 has a function of connecting to a mobile communication network (in other words, a portable telephone communication network) for communication. That is, the terminal device 2 (specifically, the processing unit 21) uses the communication unit 25 (in other words, with the help of the communication unit 25) to connect to the network 3 via the mobile communication network to communicate with other devices (for example, the server 1, etc.). In addition, the structure of the communication unit used by the terminal device 2 to communicate via the network 3 is arbitrary. For example, the communication unit 25 may have a function of connecting to a wireless LAN through a communication module that has been certified by Wi-Fi, or may have both a function of connecting to a mobile communication network and a function of connecting to a wireless LAN.
[0085] [2. Overview of Processing in Information Processing System]
[0086] Below, refer to Figures 4 to 13 The following is an example of a game process executed in the information processing system. In the present embodiment, a racing game (see FIG. 1 ) is executed in which a user (in other words, a player) operates an object imitating a vehicle. Figure 4 ) game processing.
[0087] In the present embodiment, the user performs an operation on an object by touch input. That is, the terminal device 2 controls the movement of the object based on the touch input performed on the touch panel 23.
[0088] [2-1. Operation when touch input is not performed]
[0089] First, the operation when touch input is not performed will be described. Figure 4 is a diagram showing an example of a game image. Figure 4 is the game image without touch input. Figure 4 As shown, the terminal device 2 displays a game image including a virtual game space (a track in this embodiment) and an object 31 appearing in the game space on the display unit 24. The object 31 is an object that imitates a vehicle (and a character driving the vehicle) and is operated by the user.
[0090] In this embodiment, when no touch input is performed, the terminal device 2 automatically (i.e., according to a predetermined algorithm) controls the movement of the object 31. In this case, the object 31 is automatically controlled to move along the track. In addition, in other embodiments, the terminal device 2 can also control the movement of the object 31 to move straight when no touch input is performed.
[0091] In addition, in this embodiment, except when performing the acceleration action described later, the speed of the object 31 is automatically controlled (for example, at a fixed speed). In addition, in other embodiments, the speed of the object 31 may be controlled based on the user's input. For example, the terminal device 2 may also control the speed of the object 31 based on the user's instruction (for example, an instruction made by touch input to the acceleration button displayed on the screen).
[0092] Here, in this embodiment, the object 31 can take two states, namely, a normal state and a drifting state. In the normal state and the drifting state, the content of the process of controlling the movement of the object 31 based on the user's touch input is different, and the details will be described later. In this embodiment, at least the object 31 is in the normal state when no touch input is performed.
[0093] In the present embodiment, the user performs various game operations on the object 31 through touch input, with respect to the object 31 whose movement is automatically controlled in a state where there is no touch input. Figure 5 is a diagram showing an example of a game operation that can be performed by touch input in this embodiment. Figure 5 As shown, in this embodiment, the user can move the object 31 in a desired direction by touch input ( Figure 5 (b) and (d) shown), or changing the object 31 from the normal state to the drift state ( Figure 5 shown in (c)), or accelerate ( Figure 5 Next, Figure 5 The outline of the operation will be described by taking the game operation cases (a) to (f) shown as an example.
[0094] [2-2. Actions related to movement operation from the start of touch input]
[0095] Reference Figure 6 to Figure 8 To explain the case where a touch input is started and a move operation is performed by the touch input ( Figure 5 The actions under (a) and (b)). Figure 6 This is a diagram showing an example of a game image when touch input starts.
[0096] In this embodiment, when the touch input starts, the terminal device 2 first sets the reference position ( Figure 5 (a)). The reference position is a position for determining the content of an input indication by touch input, which will be described in detail later. In the present embodiment, the input position when touch is turned on, that is, the input position when touch input starts, is set as the reference position. Here, in this specification, "touch on" means the start of touch input, in other words, the change from a state where no touch input is performed to a state where touch input is performed. In addition, in this specification, the end of touch input, in other words, the change from a state where touch input is performed to a state where no touch input is performed, is referred to as "touch off".
[0097] In addition, in other embodiments, the reference position set when the touch is turned on may also be an arbitrary position set based on the input position when the touch is turned on. For example, it may also be that when the input position when the touch is turned on is near the end of the screen of the display unit 24, the terminal device 2 sets the position at a predetermined distance from the end of the screen as the reference position based on the input position. This is to enable the user to specify an input position separated from the reference position by a predetermined distance in any direction in the above case. In addition, in the above case, the reference position may also be set at a position at a distance from the end of the screen by a radius r2 of the reference position image described later. In addition, in other embodiments, the reference position set when the touch is turned on may also be fixedly set regardless of the input position when the touch is turned on. That is, the terminal device 2 may also set a predetermined position (for example, the center position of the screen of the display unit 24) as the reference position.
[0098] In addition, in the present embodiment, the user can start the touch input for the moving operation by setting any position on the input surface of the touch panel 23 as the input start position. That is, the terminal device 2 performs the process of setting the reference position and the process of determining the input instruction described later in response to the touch input being started at any position in the input surface. However, in other embodiments, the terminal device 2 may also perform these processes based on the start of the touch input in the specified input acceptance area in the input surface. The above-mentioned input acceptance area may be, for example, an area set based on the position of the object 31 or a predetermined area.
[0099] like Figure 6 As shown in FIG. 1 , when a touch input is made to the touch panel 23, the terminal device 2 displays the operation image 32 in addition to the game image on the display unit 24. Figure 6 In FIG. 3 , a finger of a user performing touch input is shown by a dotted line. In the present embodiment, the operation image 32 includes an input position image 33 and a reference position image 34 .
[0100] The input position image 33 is an image showing the current input position on the input surface of the touch panel 23. Specifically, the input position image 33 shows a circular area with a radius r1 centered at the input position (see Figure 7 The reference position image 34 is an image showing the reference position on the input surface of the touch panel 23. Specifically, the reference position image 34 presents a circular area with a radius r2 (>r1) centered at the reference position (see Figure 7 ).
[0101] As described above, in this embodiment, by displaying the operation image 32, the user can visually recognize the input position and the reference position. As a result, the user can easily perform input in accordance with the intention, and the terminal device 2 can improve the operability of the touch input. Figure 6 As shown, the operation image 32 in this embodiment is an image imitating a slide pad as an example of a direction input device. However, in other embodiments, the operation image 32 may be any image that presents a reference position and an input position. In addition, in other embodiments, the operation image 32 may not be displayed on the display unit 24.
[0102] After starting the touch input, the user continues the touch input, specifically, performs a move operation on the object 31 by a sliding operation ( Figure 5 That is, in this embodiment, the user performs an input instruction for indicating the moving direction of the object 31 by touch input. Figure 7 The method of inputting instructions will be described below.
[0103] Figure 7 is a diagram showing an example of an operation image. Figure 7 In addition to the operation image 32 displayed on the display unit 24, the reference position and the input position are also shown. In addition, in the present embodiment, the input position is obtained from the touch panel 23 as a two-dimensional coordinate indicating a position on the input surface. In addition, the input position and the reference position are stored in the terminal device 2 as two-dimensional coordinates.
[0104] Figure 7 The state after the input position Pt moves from the position when the touch is turned on (i.e., the reference position Pr) after the touch is turned on is shown. The input instruction performed by touch input is performed during the period when the touch input is continuously performed from the touch on. Here, the touch input that is continuously performed from the touch on (i.e., inputted uninterruptedly from the touch on) is referred to as "continuous touch input". The terminal device 2 determines the content of the input instruction based on the reference position and the input position during the period of continuous touch input. In this embodiment, the input direction and input distance are calculated as values representing the content of the input instruction.
[0105] The input direction is calculated based on the vector V from the reference position Pr to the input position Pt. The vector V is a vector starting from the reference position Pr and ending at the input position Pt. In the present embodiment, the input direction is calculated as the direction of the x-axis component of the above-mentioned vector V (in other words, the lateral component on the input surface). That is, in the present embodiment, the input direction is calculated as the right direction (i.e., the positive direction of the x-axis) or the left direction (i.e., the negative direction of the x-axis).
[0106] The input distance is calculated based on the magnitude of the vector V. In the present embodiment, the input distance is calculated as the magnitude Vx of the x-axis component of the vector V.
[0107] As described above, in this embodiment, the input indication is a direction and a magnitude related to a one-dimensional direction (specifically, the x-axis direction). Therefore, the input indication can also be expressed as a numerical value such as "-2" or "1" that uses a positive or negative sign to indicate the input direction and an absolute value to indicate the input distance.
[0108] In addition, in other embodiments, the input instruction may also be a direction and a size related to two dimensions. That is, the input instruction may also use the direction of the above-mentioned vector V as the input direction, and the size of the above-mentioned vector V as the input distance. In addition, in other embodiments, the input instruction may also include only one of the input direction and the input distance.
[0109] The terminal device 2 controls the action (specifically, movement) of the object 31 based on the above-mentioned input instruction. In other words, the object 31 is controlled based on the input position and the reference position. The specific control method of the object 31 is arbitrary. In the present embodiment, the terminal device 2 controls the object 31 in the following manner: the object 31 is turned in the direction corresponding to the input direction with the turning amount corresponding to the input distance. That is, the more the input position Pt is located to the right relative to the reference position Pr, the more the object 31 turns to the right, and the more the input position Pt is located to the left relative to the reference position Pr, the more the object 31 turns to the left. In addition, the direction and amount of the object 31 turning can be calculated based on the straight direction or the forward direction of the object 31 when the object 31 is automatically driving (that is, when no touch input is performed). In addition, as described above, in the present embodiment, the speed of the object 31 is automatically controlled except when the acceleration action is performed.
[0110] As described above, in this embodiment, the terminal device 2 controls the movement of the object 31 based on the distance between the reference position and the input position continuously acquired after the touch is turned on, that is, the input distance, and the direction from the reference position to the input position, that is, the input direction. Accordingly, the user can operate the object through a simple operation method such as a series of touch inputs (i.e., continuous touch inputs) that continue from the touch being turned on. In addition, in other embodiments, the movement of the object 31 can also be controlled based on at least one of the above-mentioned input distance and input direction.
[0111] In addition, the terminal device 2 may start controlling the object 31 under the condition that the input distance exceeds the predetermined control start distance. In this case, the object 31 is not controlled during the period from the start of the input until the input position is separated from the reference position to a certain extent. This can reduce the possibility that, for example, the user mistakenly performs a touch input without intending to perform a movement operation (more specifically, for example, when the finger touches the input surface of the touch panel 23), the movement control of the object 31 is performed contrary to the user's intention.
[0112] (Change process of reference position)
[0113] In the present embodiment, the reference position set at the time of touch-on may be changed during a period of continuous touch input from the time of touch-on. Next, a reference position change process will be described.
[0114] Figure 8 FIG. 1 is a diagram showing an example of a situation where the reference position is changed. Figure 8 In , position Pr0 is the reference position at a certain time point t=0 in the continuous touch input, and position Pt0 is the input position detected at the certain time point t=0. Figure 8 In the example shown, at time t=1, the next time the input position is detected after the above time t=0, the input position Pt1 is detected. In this embodiment, in response to the input position Pt1 being detected, the reference position is changed from position Pr0 to position Pr1 (see Figure 8 ).
[0115] Specifically, in the terminal device 2, when the input position moves due to continuous touch input and the distance from the reference position to the input position becomes larger than the specified distance, the terminal device 2 changes the reference position. Here, the specified distance is predetermined, for example, a value obtained by subtracting the radius r1 of the input position image from the radius r2 of the reference position image 34. Therefore, in the present embodiment, the reference position is set (in other words, changed) so that the input position image 33 is included in the inner side of the reference position image 34. That is, the input position image 33 is configured to be included in the circular area of the reference position image 34. In addition, in other embodiments, the reference position may also be set so that the input position (i.e., the center of the input position image 33) is included in the inner side of the reference position image 34. At this time, the specified distance is set to the radius r2 of the reference position image 34. In addition, in other embodiments, the specified distance may also be set to a value independent of the radius r1 of the input position image 33 and the radius r2 of the reference position image 34. That is, the sizes of the input position image 33 and the reference position image 34 may not be used in the reference position change process.
[0116] As described above, the terminal device 2 changes the reference position so that the distance from the reference position to the input position is within the above-mentioned predetermined distance. In this embodiment, the changed reference position Pr1 is determined to be a position on the line segment connecting the reference position Pr0 before the change and the current input position Pt1 and the distance from the changed reference position Pr1 to the current input position Pt1 is the above-mentioned predetermined distance (refer to Figure 8 ).
[0117] In addition, the specific calculation method of the changed reference position is arbitrary. For example, in other embodiments, the terminal device 2 can also calculate the changed reference position Pr1 in the following manner: the reference position Pr0 before the change is moved in a direction corresponding to the direction from the input position Pt0 before the reference position is changed to the current input position Pt1.
[0118] When the reference position is changed as described above, the terminal device 2 calculates the input instruction (input direction and input distance) for moving the object 31 based on the changed reference position. In addition, the process of controlling the object 31 based on the input instruction is the same before and after the reference position is changed.
[0119] As described above, in this embodiment, the terminal device 2 changes the reference position in a manner that follows the movement of the input position under certain conditions. Accordingly, the distance between the input position and the reference position is maintained within the above-mentioned specified distance, so the user can easily perform an operation to move the current input position to the opposite side relative to the reference position. For example, the user can easily change the input position that is on the right side relative to the reference position to a position that is on the left side relative to the reference position. In other words, the user can easily change the input indication indicating the right direction to the input indication indicating the left direction.
[0120] In addition, in other embodiments, the terminal device 2 may not perform the process of changing the reference position. That is, even if the distance from the input position to the reference position becomes greater than the above-mentioned prescribed distance, the reference position may not be changed. In addition, at this time, the terminal device 2 may also set a limit on the size of the input distance (that is, set a maximum value of the input distance). For example, the terminal device 2 may also set the input distance to the prescribed distance when the distance from the input position to the reference position is greater than the above-mentioned prescribed distance.
[0121] [2-3. Transition operation to drift state]
[0122] In this embodiment, immediately after the touch input begins, the object 31 is in the normal state. When the user performs a predetermined transition operation during the continuous touch input, the object 31 transitions to the drift state ( Figure 5That is, in this embodiment, when the input position of the continuous touch input satisfies the drift condition in the continuous touch input, the terminal device 2 changes the object 31 from the normal state to the drift state. In this way, the user can change the object 31 to the drift state by using a series of continuous touch inputs while operating the object 31 in the normal state. Fig. 9 The process of changing the object 31 from the normal state to the drifting state will be described.
[0123] Fig. 9 1 is a diagram showing an example of a method for determining a drift condition. In this embodiment, the terminal device 2 determines whether the input position satisfies the drift condition during a period when the object 31 is in a normal state after touch-on and continuous touch input is being performed. The terminal device 2 performs the above determination each time an input position is detected.
[0124] In this embodiment, the drift condition is a condition related to the relationship between the input position Pt and the reference position Pr. Specifically, Fig. 9 As shown, the drift conditions are: (condition a) "the speed of touch input is greater than a specified speed", and (condition b) "the state in which the input distance based on the current input position is greater than a specified value continues within a specified first time period".
[0125] The above-mentioned "speed of touch input" in (condition a) refers to the speed related to the touch input that continues from the touch on, in other words, the moving speed of the input position. "The speed of touch input" can be any index that represents the moving speed of the input position Pt during the period of continuous touch input. For example, the terminal device 2 can also calculate the speed obtained by dividing the distance from the input position when the touch is turned on (that is, the reference position Pr) to the current input position Pt by the time from the touch on to the present as the speed of the touch input. In addition, for example, the terminal device 2 can also calculate the moving speed of the input position Pt per unit time for continuous touch input (that is, the speed obtained by dividing the distance from a certain input position to the next input position by the unit time), and calculate the maximum value or average value of the moving speed as the speed of the touch input. The terminal device 2 calculates the speed of the above-mentioned touch input based on the input position Pt, and determines whether the speed of the touch input is above the predetermined speed, thereby determining whether (condition a) is satisfied.
[0126] The input distance in the above (condition b) is a distance related to a direction component (in this embodiment, an x-axis component) corresponding to the input direction, that is, the magnitude of the x-component of the above-mentioned vector V (see Fig. 9). However, in other embodiments, the magnitude of the vector V may be used instead of the input distance. The terminal device 2 calculates the input distance based on the input position Pt, and determines whether the input distance is greater than a predetermined value. Then, the terminal device 2 determines whether the state in which the input distance is greater than the predetermined value continues during the first time period, thereby determining whether (condition b) is satisfied.
[0127] When both the above-mentioned (condition a) and (condition b) are satisfied, the terminal device 2 determines that the drift condition is satisfied. When the drift condition is satisfied, the terminal device 2 changes the object 31 from the normal state to the drift state.
[0128] In addition, the drift condition may also be any condition related to the reference position and the input position. For example, in other embodiments, the drift condition may also satisfy any one of (condition a) and (condition b). In addition, (condition b) may also be a state in which the input distance is greater than the above-mentioned specified value (that is, the state is not required to continue). The drift condition may also replace (condition a) and (condition b) and (or in addition to) include other conditions. For example, the drift condition may also include a condition related to the direction from the reference position to the input position. Specifically, the drift condition may also include a condition that the direction from the reference position to the input position changes by more than a specified angle. As described above, the drift condition may also be a condition related to the input direction and / or input distance.
[0129] As described above, in this embodiment, the drift condition includes that the input position of the continuous touch input satisfies the prescribed condition for a prescribed time (i.e., (condition b)). Accordingly, the possibility of satisfying the drift condition contrary to the user's intention during the continuous touch input can be reduced. That is, the possibility of executing a process that the user does not intend can be reduced, thereby improving the operability of the operation performed by the touch input.
[0130] In the present embodiment, the terminal device 2 controls the orientation of the object 31 when the drift state starts according to the direction of the input position and the reference position when the drift condition is satisfied. That is, in the present embodiment, the object 31 can take a drift state to the left (that is, a drift state turning left) and a drift state to the right (that is, a drift state turning right) as the drift state. When the input position when the drift condition is satisfied is on the left side relative to the reference position, the object 31 is controlled to be in a drift state to the left, and when the input position when the drift condition is satisfied is on the right side relative to the reference position, the object 31 is controlled to be in a drift state to the right.
[0131] As described above, in this embodiment, the object 31 can be changed to the drift state ( Figure 5 (b) to (c)). That is, the user can start with a move operation to move the object 31 in the normal state, and then perform a transition operation to change the object 31 to the drift state while maintaining a continuous touch input. In this way, in this embodiment, the transition operation can be performed through a series of touch inputs starting from the start of the move operation. Thus, the user can perform a variety of operations through a series of touch inputs. In addition, the operability of the move operation and the transition operation can be improved.
[0132] As described above, in the present embodiment, the transition operation for changing the object 31 to the drift state is performed by the same type of operation as the movement operation for moving the object 31 (i.e., an operation based on the relationship between the reference position and the input position). For example, the user can change the object 31 to the drift state by continuously performing the movement operation for making the object 31 turn sharply to the right (i.e., an operation for configuring the input position to be separated from the reference position to the right by more than the above-mentioned specified value) during the above-mentioned first time period. As described above, in the present embodiment, the user can naturally perform the transition operation during the movement operation. In addition, the continuity of the movement operation and the transition operation can be maintained. Thus, the operability of the object 31 can be improved.
[0133] In addition, in other embodiments, the drift condition may be a condition that is not associated with the reference position. For example, the drift condition may include a condition such as "the continuous touch input indicates a prescribed posture (i.e., the trajectory of the continuous touch input is a prescribed shape)", and may also include a condition such as "a prescribed operation is performed by continuous touch input (e.g., a flick operation, specifically, a touch-off operation is performed after the input position moves at a speed greater than a prescribed speed)".
[0134] In the present embodiment, when the state of the object 31 changes in response to the drift condition being satisfied, the terminal device 2 maintains the changed state (i.e., the drift state) after the drift condition is no longer satisfied. That is, after the input position of the continuous touch input satisfies the drift condition, the terminal device 2 maintains the state of the object 31 in the drift state even if the input position of the continuous touch input no longer satisfies the drift condition. Accordingly, the user does not need to maintain the transition operation in order to maintain the object 31 in the drift state, and can perform other operations after performing the transition operation. Thus, the terminal device 2 enables the user to perform more diverse operations through continuous touch input. For example, in the present embodiment, the user can, after the transition operation, perform a move operation on the object 31 in the drift state as the above-mentioned other operations ( Figure 5 (d)).
[0135] In addition, the terminal device 2 can also change from the drift state to another state (e.g., the normal state) in response to satisfying a specified condition after the drift condition is no longer satisfied. In this embodiment, in response to the end of the touch input, the object 31 changes from the drift state to the normal state, which will be described in detail later.
[0136] (Resetting the reference position)
[0137] In addition, in the present embodiment, when the drift condition is satisfied, the terminal device 2 resets the reference position ( Figure 5 (c)). Fig.10 FIG. 1 is a diagram showing an example of resetting the reference position. Fig.10 In , position Pr0 is the reference position at a certain time point t=0 before the drift condition is satisfied, and position Pt1 is the input position detected at a time point t=1 when the drift condition is satisfied. Fig.10 In the example shown, the reference position Pr1 is reset to the position of the input position Pt1 at the time point t=1 when the drift condition is satisfied (see Fig.10 arrows shown).
[0138] As described above, the reference position is reset (also referred to as changed) in such a way that the input position at the time point of transition to the drift state (i.e., the input position that satisfies the drift condition) becomes a new reference position. Here, in the present embodiment, in the drift state as well as in the normal state, the terminal device 2 accepts input instructions for controlling the moving direction of the object 31. Therefore, by resetting the reference position at the time point of transition to the drift state, the user can perform input instructions using the input position at that time point as the reference position, and thus it is easier to perform input instructions in the drift state. Thus, the operability of the input instructions in the drift state can be improved.
[0139] [2-4. Movement operation in drift state]
[0140] In this embodiment, even after the object 31 is in the floating state, the user can still perform a moving operation ( Figure 5 That is, the user can operate the object 31 in the drift state by performing a touch input that is continuous with the touch input during the period when the object 31 is in the normal state. Fig.11 and Fig.12 To illustrate the action when the object is in a drifting state.
[0141] Fig.111 is a diagram showing an example of a game image including an object in a drifting state. As described above, the drifting state is a state in which movement control is performed in a different method from movement control in a normal state. Fig.11 As shown, a situation in which the object 31 is drifting in a drifting state (specifically, a situation in which smoke is coming out of the tires) is shown.
[0142] In this embodiment, the moving operation in the drift state is the same operation method as the moving operation in the normal state. That is, even when the object 31 is in the drift state, the terminal device 2 determines the input instruction (specifically, the input direction and the input distance) based on the touch input in the same manner as in the normal state. In this way, the user can operate the object 31 in the same operation method whether the object 31 is in the normal state or in the drift state. However, the processing of controlling the movement of the object 31 based on the input instruction is different in the normal state and the drift state.
[0143] In this embodiment, the movement control is performed in the drift state so that the object 31 can turn the corner more sharply at the same speed compared to the normal state. In addition, the specific method of the movement control in the drift state is arbitrary. For example, in other embodiments, the movement control can be performed in the drift state so that the object 31 can turn the corner faster than the normal state. In this way, the terminal device 2 can also perform movement control of the object 31 in the drift state so that the user can perform more advantageous operations in the game than in the normal state.
[0144] As described above, in this embodiment, the terminal device 2 performs the movement processing (movement processing) of moving the object 31 based on the input position of the touch input after the touch input is continued and the prescribed processing (specifically, the transition processing to the drift state) is performed. Figure 5 (d). Therefore, the user can continue to perform the movement operation on the object 31 even after the transition process. Thus, the operability of the movement operation on the object 31 can be improved.
[0145] In addition, it is not necessary to execute the movement processing in the drift state immediately after the transition processing to the drift state is executed (i.e., immediately after the transition to the drift state). However, in the present embodiment, the terminal device 2 continuously accepts the movement operation (specifically, Figure 5 The movement control based on the movement operation is continuously performed. Accordingly, the user can continue to perform the movement operation on the object 31 without interruption even when the state of the object 31 changes, thereby further improving the operability of the movement operation.
[0146] In addition, the above-mentioned prescribed processing is not limited to processing that causes the state of the object to change. For example, in other embodiments, the above-mentioned prescribed processing may also be any processing that causes the state of the object to change (for example, processing that causes the object to change from a state in which it cannot use a prescribed item to a state in which it can use it). In this case, the movement control method of the movement processing after the processing that causes the state of the object to change is executed may be the same as the movement control method of the movement processing before the processing is executed.
[0147] In addition, in the present embodiment, the movement processing in the drift state is a movement processing in which the first object is moved by a control method different from the movement processing in the normal state. Therefore, the user can change the state of the object 31 (specifically, the state related to the movement) through the transition processing, thereby moving the object 31 with different control methods before and after the transition processing. That is, in the present embodiment, the user can perform three operations through a series of touch inputs: (a) a first movement operation of the object 31, (b) a change operation of the control method (i.e., a transition operation), and (c) a second movement operation using a control method different from the first movement operation. As a result, the terminal device 2 can improve the operability of the movement operation of the object 31.
[0148] In addition, although Figure 5 Although not shown, in this embodiment, when the continuous touch input ends (ie, touch is off) when the object 31 is in the drift state, the terminal device 2 changes the object 31 to the normal state. As described above, the terminal device 2 automatically controls the object 31 during the period when no touch input is performed.
[0149] On the other hand, Figure 5 In the example shown, the user continues to perform the movement operation in the drift state ( Figure 5 (e)) to set the object 31 to the (drifting state and) accelerable state. That is, in the present embodiment, when the prescribed acceleration condition is satisfied while the object 31 is in the drifting state, the terminal device 2 sets the object 31 to the accelerable state. When the moving operation ends (i.e., becomes touch-off) after the object 31 becomes the accelerable state, the object 31 is controlled to move in an accelerated state that is accelerated compared to the usual state, as described in detail later.
[0150] Fig.12 2 is a diagram showing an example of a game image including an object in an accelerable state. Fig.12As shown, in the accelerable state, the object 31 is displayed in a display mode indicating the accelerable state (specifically, a display mode in which smoke comes out of the tires) in addition to being displayed in a display mode indicating the accelerable state (specifically, a display mode in which sparks come out of the tires). In addition, in this embodiment, the speed of the object 31 in the drifting state does not change depending on whether it is in the accelerable state. However, in other embodiments, when the object 31 in the drifting state is in the accelerable state, the speed of the object 31 becomes faster than when it is not in the accelerable state.
[0151] In the present embodiment, the acceleration condition is that the drift state continues during a prescribed second time. That is, in response to the second time having passed since the drift state, the object 31 becomes an accelerable state. In addition, in other embodiments, the acceleration condition is arbitrary. For example, the acceleration condition may also include a condition such as "continuous touch input in the drift state indicates a prescribed posture", and may also include a condition such as "a prescribed operation is performed by continuous touch input in the drift state". In this way, the acceleration condition may also be a state in which an input that satisfies prescribed conditions related to the input direction and / or input distance is performed, and may also be a state that lasts for a prescribed time.
[0152] As described above, in this embodiment, when the touch input continues and the touch input after the first process (i.e., the transition process to the drift state) is executed satisfies the prescribed condition (i.e., the acceleration condition), the terminal device 2 executes the second process (i.e., the process of setting the object 31 to an accelerable state) different from the first process for the object 31. Accordingly, the user can make the terminal device 2 execute the first process and also execute the second process in the middle of the continuous touch input. That is, the terminal device 2 can enable the user to perform more diverse game operations through a series of touch inputs.
[0153] In addition, the second process mentioned above may also be any process related to the movement of the object 31. For example, the second process may also be a process for moving the object 31 using a prescribed control method. Therefore, in the present embodiment, the "process for moving the object 31 in an accelerated state" described later can also be said to be an example of the second process. In addition, at this time, the above-mentioned prescribed condition is "the end of the continuous touch input." In this way, the above-mentioned prescribed condition may be "the state in which the continuous touch input after the execution of the first process satisfies a certain condition continues for a prescribed time," or "after the state in which the continuous touch input after the execution of the first process satisfies a certain condition continues for a prescribed time, the continuous touch input after the execution of the first process ends." In addition, in other embodiments, the above-mentioned prescribed condition may also be "the end of the continuous touch input after the execution of the first process."
[0154] exist Figure 5 In the example shown, after the object 31 becomes in an accelerable state, the user can make the object 31 travel in an accelerated state by performing an acceleration operation (ie, an operation of ending the touch input). Figure 5 That is, when the touch input is continued and ends in the state where the acceleration state is reached, the terminal device 2 moves the object 31 in the accelerated state. In addition, the accelerated state refers to a state where the object 31 moves at a faster speed than the speed of the object 31 in the normal state.
[0155] Fig.13 is a diagram showing an example of a game image including an object in an accelerated state. Fig.13 As shown, the object 31 is in an accelerating state (specifically, a state where sparks are ejected backward).
[0156] In the present embodiment, the accelerated state continues for a predetermined time period. That is, the terminal device 2 moves the object 31 in the accelerated state for a predetermined time period from when the touch is turned off, and then performs automatic control in the normal state.
[0157] As described above, the user can make the object 31 run faster by operating in the drift state to make the object 31 in an accelerable state and then ending the touch input. For example, the user can make the object 31 run faster by turning the track in the drift state and making the object 31 run in an accelerated state from a position where the track becomes a straight line.
[0158] In addition, in other embodiments, the object 31 may also be able to take multiple stages of accelerable states. For example, it may also be controlled so that: in response to the drift state continuing during the above-mentioned second time period, the object 31 becomes a first accelerable state, and in response to the first accelerable state continuing during a specified third time period, the object 31 becomes a second accelerable state. At this time, when the object 31 becomes an accelerated state from the second accelerable state (in response to touch off), the terminal device 2 controls the object 31 so that: the accelerated state lasts longer than when it becomes an accelerated state from the first accelerable state (in response to touch off). In addition, in other embodiments, the terminal device 2 may also control the object 31 in the above-mentioned situation so that: the speed in the accelerated state is faster than when it becomes an accelerated state from the first accelerable state (in response to touch off).
[0159] In addition, the terminal device 2 may display the object 31 in a manner that allows the multiple stages of the acceleration state to be distinguished from each other. For example, the terminal device 2 may display the object 31 in a manner that makes the color and / or size of the sparks different between the first acceleration state and the second acceleration state.
[0160] As described above, in this embodiment, the user can perform a touch input once. Figure 5 As shown in (a) to (f), the terminal device 2 in this embodiment enables the user to perform various game operations using a pointing device (ie, a touch panel).
[0161] In addition, in this embodiment, Figure 5 The various operations shown (i.e., movement operation, transition operation, and acceleration operation) are all operations that the user can perform with one finger. Therefore, according to this embodiment, the user can operate the object 31 with one finger, for example, can hold the terminal device 2 with one hand and perform game operations with the thumb of the hand.
[0162] In addition, in the above, Figure 5 The case of each operation shown in the figure is described as an example, but in the above embodiment, operations other than the above operations may also be performed by touch input. For example, the terminal device 2 may also display an icon representing a prop in the display unit 24, and may also accept a touch input for specifying an icon as an operation for causing the object 31 to use the prop. In addition, for example, the terminal device 2 may also respond to a tap operation on the touch panel 23 (specifically, an operation of touching off before a fixed time has passed since the touch was turned on) to cause the object 31 to perform a prescribed action (for example, a jump action). At this time, in order to distinguish the above-mentioned move operation from the tap operation, the terminal device 2 may also accept the move operation after the above-mentioned fixed time has passed since the touch was turned on.
[0163] [3. Specific example of processing in the information processing system]
[0164] Reference Figure 14 to Figure 16 A specific example of a case where the game process whose outline is described above is executed in the information processing system will be described.
[0165] [3-1. Data used in processing]
[0166] Reference Fig.14 A specific example of data used in game processing in the information processing system will be described. Fig.14 This is a diagram showing an example of data used in game processing in the information processing system. Fig.14 The data shown is stored in the storage device of the terminal device 2 (specifically, the memory of the processing unit 11 and / or the storage unit 12). Fig.14 As shown, the terminal device 2 stores input position data, reference position data, input instruction data, object position data, object state data, and acceleration flag data.
[0167] The input position data is data indicating the above-mentioned input position. In this embodiment, the input position data includes data indicating past input positions in addition to data indicating the current input position (in other words, the latest input position). Specifically, the input position data includes data indicating input positions related to a series of touch inputs continuously inputted from touch on. In addition, the content of the input position data can also be reset when touch is off.
[0168] The reference position data is data indicating the reference position. The input position data and the reference position data are data indicating two-dimensional coordinate values of a position on the input surface of the touch panel 23, for example.
[0169] The input indication data indicates the content of the input indication determined based on the input position. Specifically, the input indication data indicates the input direction and input distance. As described above, the input indication data may also be numerical data that indicates the input direction with positive and negative signs and indicates the input distance with absolute values.
[0170] The object position data indicates the position in the game space of the object 31. For example, the object position data is data indicating three-dimensional or two-dimensional coordinate values of the position in the game space.
[0171] The object state data indicates the state of the object 31. Specifically, the object state data is data indicating whether it is a normal state or a drift state. In addition, in the present embodiment, when the game starts (i.e., when the racing game starts), the object 31 is set to the normal state, and the object state data indicating the normal state is stored.
[0172] The acceleration flag data is data indicating an acceleration flag, which indicates whether to control the object 31 to move in an accelerated state. When the object 31 is in the above-mentioned accelerable state or accelerated state, the acceleration flag is set to on, and when the object 31 is neither in the accelerable state nor in the accelerated state, the acceleration flag is set to off, which will be described in detail later. In addition, in the present embodiment, the acceleration flag is set to off at the start of the game.
[0173] [3-2. Game processing example]
[0174] Fig.15 and Fig.16 : is a flowchart showing an example of the flow of a game process executed by a terminal device. Fig.15 and Fig.16 The series of processes shown are started in response to the start of the racing game after the game program stored in the storage unit 22 is activated.
[0175] In addition, in the present embodiment, the CPU (in other words, the processor) of the processing unit 21 of the terminal device 2 executes the game program (specifically, the game program for the racing game) stored in the storage unit 22, thereby executing Fig.15 and Fig.16 However, in other embodiments, a processor different from the CPU (e.g., a dedicated circuit, etc.) may be used to perform part of the processing of the above steps. Fig.15 and Fig.16 The processing of each step shown is only an example, and if the same result can be obtained, the processing order of each step may be changed, and another processing may be performed in addition to (or instead of) the processing of each step.
[0176] Additionally, in other embodiments, Fig.15 and Fig.16 The processing of each step shown can also be performed by the cooperation of the terminal device 2 and the server 1. In other words, the server 1 can also perform Fig.15 and Fig.16 The server 1 receives data for processing from the terminal device 2 via the network 3. The server 1 transmits the data obtained as a result of the processing to the terminal device 2 via the network 3.
[0177] In addition, the processing unit 21 of the terminal device uses the memory to execute Fig.15 and Fig.16 That is, the CPU of the processing unit 21 stores information (in other words, data) obtained through each processing step in the memory, and reads the information from the memory and uses it when the information is used in the subsequent processing step.
[0178] exist Fig.15 In step S1 shown, the processing unit 21 obtains the input position from the touch panel 23. That is, the touch panel 23 detects the input position on the input surface and outputs detection result data indicating the detected input position. The processing unit 21 obtains the detection result data from the touch panel 23, and stores the input position data including the acquired detection result data in the memory. In addition, in the present embodiment, when no touch input is performed on the touch panel 23, the touch panel 23 outputs detection result data indicating that there is no touch input. In this case, the processing unit 21 obtains the detection result data indicating that there is no touch input. After step S1, the processing of step S2 is then performed.
[0179] In step S2, the processing unit 21 determines whether a touch input has been made. The processing unit 21 makes the determination in step S2 based on the input position data stored in the memory (in other words, the data acquired from the touch panel 23 in the process of step S1 above). If the determination result in step S2 is positive, the process of step S3 is executed. On the other hand, if the determination result in step S2 is negative, the process of step S16 described later is executed.
[0180] In step S3, the processing unit 21 determines whether the touch input is an input when the touch is turned on. The processing unit 21 makes the determination in step S3 based on the input position data stored in the memory. That is, when the detection result data obtained in step S1 in the previous processing loop (specifically, the processing loop of steps S1 to S24) is a value indicating that there is no touch input, it is determined that the touch input is an input when the touch is turned on, and when the detection result data is a value indicating that there is a touch input, it is determined that the touch input is not an input when the touch is turned on. When the determination result of step S3 is affirmative, the processing of step S4 is executed. On the other hand, when the determination result of step S3 is negative, the processing of step S4 is skipped and the processing of step S5 described later is executed.
[0181] In step S4, the processing unit 21 sets the reference position. That is, the processing unit 21 sets the input position acquired in the process of step S1 in this processing cycle as the reference position. The processing unit 21 stores the reference position data representing the set reference position in the memory. After step S4, the process of step S5 is performed.
[0182] In step S5, the processing unit 21 determines whether to change the reference position. That is, the processing unit 21 performs the above determination by the method described in the above "(reference position change process)" based on the input position data and the reference position data stored in the memory. If the determination result of step S5 is positive, the process of step S6 is performed. On the other hand, if the determination result of step S5 is negative, the process of step S6 is skipped and the process of step S7 described later is performed.
[0183] In step S6, the processing unit 21 changes the reference position. That is, the processing unit 21 calculates the changed reference position by the method described in the above "(reference position change process)" based on the input position data and the reference position data stored in the memory. In addition, the processing unit 21 changes the reference position data stored in the memory to the content indicating the calculated changed reference position. After step S6, the processing of step S7 is performed.
[0184] In step S7, the processing unit 21 determines whether the drift condition is satisfied. That is, the processing unit 21 determines whether the input position satisfies the drift condition based on the input position data and the reference position data stored in the memory. In addition, the specific method of the determination in step S7 is the method described in the above "[2-3. Transition operation to the drift state]". When the determination result of step S7 is affirmative, the processing of step S8 is executed. On the other hand, when the determination result of step S7 is negative, the processing of steps S8 and S9 is skipped, and the processing of step S10 described later is executed.
[0185] In step S8, the processing unit 21 changes the state of the object 31 to the floating state. That is, the processing unit 21 stores the object state data indicating the floating state in the memory. After step S8, the processing of step S9 is performed.
[0186] In step S9, the processing unit 21 resets the reference position. The specific processing in step S9 is the same as the processing in step S6. Thus, the content of the reference position data stored in the memory is updated. After step S9, the processing of step S10 is performed.
[0187] In step S10, the processing unit 21 determines the content of the input instruction. That is, the processing unit 21 calculates the input direction and input distance by referring to the input position data and the reference position data stored in the memory. In addition, the specific calculation method of the input direction and input distance is the method described in the above "[2-2. Actions related to the movement operation from the start of touch input]". The processing unit 21 stores the input instruction data indicating the calculated input direction and input distance in the memory. After step S10, the processing of step S11 is performed.
[0188] Reference Fig.16 The processing of steps S11 to S15 is described below. In step S11, the processing unit 21 determines whether the object 31 is in a drifting state based on the object state data stored in the memory. When the determination result of step S11 is negative (i.e., the object 31 is in a normal state), the processing of step S12 is performed. On the other hand, when the determination result of step S11 is positive (i.e., the object 31 is in a drifting state), the processing of step S13 is performed.
[0189] In step S12, the processing unit 21 performs movement control of the object 31 in the normal state based on the input indication data stored in the memory. Specifically, the processing unit 21 calculates the moving direction and moving distance of the object 31 within 1 frame time, and calculates the position after the movement based on the calculated moving direction and moving distance and the current position of the object 31. In addition, the movement control in step S12 is performed by the method described in the above "[2-2. Actions related to the movement operation from the start of touch input]". The processing unit 21 stores the object position data representing the calculated position after the movement in the memory. After step S12, the processing of step S23 described later is performed.
[0190] In step S13, the processing unit 21 performs movement control of the object 31 in the drifting state. In step S13, as in step S12, the processing unit 21 calculates the position of the object 31 after the movement based on the input instruction data stored in the memory. However, the movement control in step S13 is different from the movement control in step S12, and is performed by the method described in the above "[2-4. Movement operation in the drifting state]". The processing unit 21 stores the object position data indicating the calculated position after the movement in the memory. After step S13, the processing of step S14 is performed.
[0191] In step S14, the processing unit 21 determines whether the second time has passed since the object 31 has changed to the drifting state. If the determination result of step S14 is positive, the processing of step S15 is executed. On the other hand, if the determination result of step S14 is negative, the processing of step S15 is skipped and the processing of step S23 described later is executed.
[0192] In step S15, the processing unit 21 sets the acceleration flag to on. That is, the processing unit 21 stores the acceleration flag data indicating that the acceleration flag is on in the memory. As a result, the object 31 is set to a (drifting state and) acceleration-enabled state. After step S15, the processing of step S23 described later is performed.
[0193] Refer again Fig.15The processing of steps S16 and S17 is described below. In step S16, the processing unit 21 determines whether the touch input has ended (i.e., the touch has been turned off). The processing unit 21 makes the determination in step S16 based on the input position data stored in the memory. That is, when the detection result data acquired in step S1 in the previous processing loop (specifically, the processing loop of steps S1 to S24) is a value indicating that there is a touch input, it is determined that the touch input has ended, and when the detection result data is a value indicating that there is no touch input, it is determined that it is not the time for the touch input to end. When the determination result of step S16 is affirmative, the processing of step S17 is executed. On the other hand, when the determination result of step S16 is negative, the processing of step S17 is skipped, and the processing of step S18 described later is executed.
[0194] In step S17, the processing unit 21 changes the state of the object 31 to the normal state. That is, the processing unit 21 stores the object state data indicating the normal state in the memory. After step S17, the processing of step S18 is performed.
[0195] Refer again Fig.16 The processing of steps S18 to S24 is described below. In step S18, the processing unit 21 determines whether the acceleration flag is set to on based on the acceleration flag data stored in the memory. When the determination result of step S18 is negative (i.e., the acceleration flag is set to off), the processing of step S19 is performed. On the other hand, when the determination result of step S18 is positive (i.e., the acceleration flag is set to on), the processing of step S20 described later is performed.
[0196] In step S19, the processing unit 21 automatically controls the object 31. That is, the processing unit 21 controls the movement of the object 31 according to the algorithm predetermined in the program of the game application stored in the storage unit 12, thereby calculating the position of the object 31 after the movement. The processing unit 21 stores the object position data indicating the calculated position after the movement in the memory. After step S19, the processing of step S23 described later is performed.
[0197] On the other hand, in step S20, the processing unit 21 automatically controls the object 31 in an accelerated state. In step S20, as in step S19, the processing unit 21 controls the movement of the object 31 according to the algorithm predetermined in the program of the game application, thereby calculating the position of the object 31 after the movement. However, in step S20, the position of the object 31 after the movement is calculated in such a way that the object 31 moves faster than the moving speed set in step S19. The processing unit 21 stores the object position data indicating the calculated position after the movement in the memory. After step S20, the processing of step S21 is then performed.
[0198] In step S21, the processing unit 21 determines whether the above-mentioned predetermined time has passed since the start of the movement control in the accelerated state for the object 31 (in other words, since the touch-off state has been changed). If the determination result of step S21 is affirmative, the processing of step S22 is executed. On the other hand, if the determination result of step S21 is negative, the processing of step S22 is skipped and the processing of step S23 described later is executed.
[0199] In step S22, the processing unit 21 sets the acceleration flag to off. That is, the processing unit 21 stores the acceleration flag data indicating that the acceleration flag is off in the memory. Thus, the object 31 is set to (normal state and) accelerated state. After step S22, the processing of step S23 is performed.
[0200] In step S23, the processing unit 21 generates a game image and causes the display unit 24 to display the game image. That is, the processing unit 21 generates a game image based on the object position data stored in the memory, and displays the generated game image on the display unit 24. The game image generated in step S23 presents a game space in which the object 31 is arranged at the position represented by the object position data. In addition, in the process of step S23, the processing unit 21 controls the actions of other objects (for example, other characters, props) as needed, and generates a game image presenting a game space including these objects. After step S23, the process of step S24 is then performed.
[0201] In step S24, the processing unit 21 determines whether to end the game. That is, when a predetermined game end condition is met (for example, the object operated by the user reaches the goal) or a specified end instruction is given by the user, the processing unit 21 ends the game. In addition, when the above-mentioned game end condition is not met and the specified end instruction is not given by the user, the processing unit 21 determines that the game is not ended. If the determination result of step S24 is negative, the processing of step S1 is executed. In addition, before the processing unit 21 determines in step S24 that the game is ended, the series of processes of steps S1 to S24 are repeatedly executed. On the other hand, if the determination result of step S24 is affirmative, the processing unit 21 ends the game. Fig.15 and Fig.16 Game processing shown.
[0202] [4. Effects and Modifications of the Embodiment]
[0203] According to the above-described embodiment, the game program causes a computer of an information processing device (for example, the terminal device 2 ) having a pointing device (for example, the touch panel 23 ) to execute the following processing steps.
[0204] a first movement processing step (S12) of performing a first movement processing of moving the object in the virtual game space based on the reference position and the input position of the input that continues from the start of the input to the pointing device (i.e., the continuous touch input); and
[0205] A first processing execution step (S8 or S13) of executing a first processing for the object when the input position of the input continuously performed since the start of the input to the pointing device satisfies a predetermined first condition (i.e., a drift condition) related to the relationship between the input position and the reference position.
[0206] According to the above, the user can perform a move operation on the object through continuous input from the start input, and can perform a first process on the object through the continuous input. Therefore, the information processing device can enable the user to perform a variety of operations through a simple input method. Specifically, according to the above embodiment, the user can perform multiple types of operations on the object through a series of touch inputs from the start input.
[0207] Furthermore, when executing the first movement processing step and the first processing execution step, the information processing device may not execute the reference position resetting step described later. In this case, the information processing device also achieves the above-mentioned effects.
[0208] In addition, the above-mentioned "input that continues from the start of input to the indicating device" does not require that the input is continuous in a strict sense. For example, when it comes to the above-mentioned continuous touch input, the following situation can also be imagined: although the touch panel 23 is actually touched, it temporarily does not detect the touch input due to false detection within a specified period. In this case, the terminal device 2 may also combine the touch input detected before the specified period and the touch input detected after the specified period as one continuous touch input. Specifically, the terminal device 2 may also combine a certain touch input and the next touch input as one continuous touch input when the period from when a certain touch input is no longer detected to when the next touch input is detected is shorter than a specified length.
[0209] In the above-mentioned embodiment, the above-mentioned first process can be said to be a process for changing the state of the object 31 (more specifically, the state of the object related to movement) (step S8). In addition, in the above-mentioned embodiment, the first process can be said to be a process for controlling the movement of the object 31 (i.e., the movement control process in the drifting state (S13)) which is different from the first movement process (i.e., the movement control process in the normal state (S12)). In addition, in other embodiments, the "process for controlling the movement of the object" is not limited to the process for moving the object, for example, it can also be a process for causing the object to perform a predetermined movement (e.g., a jumping, attacking movement).
[0210] In other embodiments, the first object as the target of the first movement process and the second object as the target of the first process may be different objects. For example, in other embodiments, the first object may be an object of a character holding a gun, and the second object may be an object of a bullet fired from the gun. In this case, the information processing device may move the character through the first movement process, and when the first condition is satisfied, execute a process of firing the bullet (in other words, a process of moving the bullet) as the first process.
[0211] In addition, in the above-mentioned embodiment, the above-mentioned first process is executed in response to the above-mentioned first condition being satisfied after the above-mentioned first movement process is started. Here, in other embodiments, the first movement process may be executed when a second condition related to the relationship between the input position of the input that continues from the start of the input to the indicating device and the reference position is satisfied (wherein the second condition is a condition different from the first condition). The second condition is, for example, that the input distance exceeds the above-mentioned control start distance. In addition, the first condition is a condition that is stricter than the second condition (that is, it is a condition that the first condition can be satisfied only after the second condition is satisfied). For example, the above-mentioned control start distance is set to a value smaller than the specified value in the above-mentioned (condition b).
[0212] Furthermore, according to the above-described embodiment, the game program causes a computer of an information processing device (eg, terminal device 2 ) having a pointing device (eg, touch panel 23 ) to execute the following processing steps.
[0213] a movement processing step (S12) of performing movement processing for moving the object in the virtual game space based on the reference position and the input position of the input that continues from the start of the input to the pointing device (i.e., the continuous touch input); and
[0214] A reference position resetting step (S9) of resetting the reference position to the input position when the input position of the input continuously performed since the start of the input to the pointing device satisfies a predetermined condition (ie, a drift condition) when the condition is satisfied.
[0215] According to the above, the user can perform the operation of moving the object and resetting the reference position through a series of continuous inputs. Accordingly, a variety of operations can be performed using the pointing device. In addition, according to the above, the user can reset the reference position while maintaining the continuous input, so there is no need to re-input, and the reference position can be reset with a simple operation. Thereby, the operability of the moving operation can be improved. More specifically, according to the above embodiment, the reference position is reset in response to entering the drift state, so the reference position can be set to an appropriate position at the time point of entering the drift state, and as a result, the user can easily perform instructions related to the left and right directions.
[0216] Furthermore, when executing the above-mentioned moving process step and the reference position resetting step, the information processing device may not execute the first process execution step. In this case, the information processing device also achieves the above-mentioned effect.
[0217] In addition, in the above-mentioned embodiment, the above-mentioned prescribed condition for resetting the reference position is the same as the drift condition. Here, in other embodiments, the above-mentioned prescribed condition does not need to be the same as the drift condition. For example, in other embodiments, the terminal device 2 may also reset the reference position in response to the prescribed condition being satisfied, and on the other hand, does not change the object 31 to the drift state in response to the prescribed condition being satisfied.
[0218] (Variations related to game content)
[0219] In other embodiments, the content of the game executed in the terminal device 2 is not limited to racing games, and can be a game of any content. For example, in other embodiments, the game executed in the terminal device 2 can also be a game in which an object (i.e., a player character) in an action game is operated by input to a pointing device. That is, the terminal device 2 can also perform movement control in the following manner: in the movement process of step S12, the above-mentioned object is moved by walking, and in the movement process of step S13, the object is moved by running. At this time, the terminal device 2 manages the state of the object related to the movement method (i.e., walking or running), and in step S8, the state of the object is changed from a walking state to a running state. And at this time, the terminal device 2 can also perform movement control in the process of step S20 in a manner that causes the object to run at a speed faster than the speed in the movement process of step S13.
[0220] Industrial Applicability
[0221] The above-described embodiments are intended to enable various game operations to be performed using a pointing device, and can be utilized as, for example, a game program, a game device, and the like.
[0222] Description of Reference Numerals
[0223] 1: server; 2: terminal device; 21: processing unit; 22: storage unit; 23: touch panel; 24: display unit; 25: communication unit; 31: object; 32: operation image.
Claims
1. A storage medium storing a game program executed in a computer of an information processing device, wherein the game program causes the computer to execute the following steps: an acquisition step of repeatedly acquiring an input position detected by the pointing device; a reference position setting step of setting a reference position based on an input position when input of a movement operation for the pointing device is started; a first movement processing step of executing a first movement processing of moving an object in a virtual game space by a first control method based on the reference position and an input position of an input continuously performed from the input of starting the movement operation; as well as a second movement processing step of executing a second movement processing of moving the object in the virtual game space by a second control method different from the first control method, when an input position of an input continuously performed since the input of the movement operation starts satisfies a first condition related to a relationship between the input position and the reference position, wherein, when performing movement control in the first control method and the second control method, the movement of the object is controlled based on the input direction and input distance of the input position relative to the reference position so that the object can turn in a direction corresponding to the input direction and by a turning amount corresponding to the input distance, and movement control is performed in the second control method so that the object can turn around a curve more sharply at the same speed or can turn around a curve faster than the movement control in the first control method, The first condition includes: the speed of the input that continues from the start of the input of the moving operation is greater than a specified speed, the input position of the input that continues from the start of the input of the moving operation continues to meet the specified conditions for a specified time, the direction of the input position of the input that continues from the reference position to the start of the input of the moving operation changes by more than a specified angle, or the input distance or the magnitude of the vector from the reference position to the input position is greater than a specified value.
2. The storage medium according to claim 1, characterized in that In the second movement processing step, when the object is moved by the second control method in response to the first condition being satisfied, the state of moving the object by the second control method is maintained after the first condition is no longer satisfied.
3. The storage medium according to claim 1 or 2, characterized in that: The computer is further caused to execute a process execution step of executing a predetermined process for the object when input that continues from the input that starts the movement operation and satisfies the first condition satisfies a second condition.
4. The storage medium according to claim 3, characterized in that In the processing execution step, processing related to movement of the object is executed as the predetermined processing.
5. The storage medium according to claim 3, characterized in that In the process execution step, the prescribed process is executed in response to the end of the input that has been continuously performed since the input that started the movement operation.
6. The storage medium according to claim 1 or 2, characterized in that: In the second movement processing step, the second movement processing is performed in response to the first condition being satisfied after the first movement processing is started.
7. An information processing device comprising: an acquisition unit that repeatedly acquires an input position detected by the pointing device; a reference position setting unit that sets a reference position based on an input position when input of a movement operation for the pointing device is started; a first movement processing unit that performs a first movement process of moving an object in a virtual game space by a first control method based on the reference position and an input position of an input that continues from the input that starts the movement operation; as well as a second movement processing unit for executing a second movement processing for moving the object in the virtual game space by a second control method different from the first control method, when an input position of an input continuously performed since the input of the movement operation is started satisfies a first condition related to a relationship between the input position and the reference position, wherein, when performing movement control in the first control method and the second control method, the movement of the object is controlled based on the input direction and input distance of the input position relative to the reference position so that the object can turn in a direction corresponding to the input direction and by a turning amount corresponding to the input distance, and movement control is performed in the second control method so that the object can turn around a curve more sharply at the same speed or can turn around a curve faster than the movement control in the first control method, The first condition includes: the speed of the input that continues from the start of the input of the moving operation is greater than a specified speed, the input position of the input that continues from the start of the input of the moving operation continues to meet the specified conditions for a specified time, the direction of the input position of the input that continues from the reference position to the start of the input of the moving operation changes by more than a specified angle, or the input distance or the magnitude of the vector from the reference position to the input position is greater than a specified value.
8. An information processing system comprising: an acquisition unit that repeatedly acquires an input position detected by the pointing device; a reference position setting unit that sets a reference position based on an input position when input of a movement operation for the pointing device is started; a first movement processing unit that performs a first movement process of moving an object in a virtual game space by a first control method based on the reference position and an input position of an input that continues from the input that starts the movement operation; as well as a second movement processing unit for executing a second movement processing for moving the object in the virtual game space by a second control method different from the first control method, when an input position of an input continuously performed since the input of the movement operation is started satisfies a first condition related to a relationship between the input position and the reference position, wherein, when performing movement control in the first control method and the second control method, the movement of the object is controlled based on the input direction and input distance of the input position relative to the reference position so that the object can turn in a direction corresponding to the input direction and by a turning amount corresponding to the input distance, and movement control is performed in the second control method so that the object can turn around a curve more sharply at the same speed or can turn around a curve faster than the movement control in the first control method, The first condition includes: the speed of the input that continues from the start of the input of the moving operation is greater than a specified speed, the input position of the input that continues from the start of the input of the moving operation continues to meet the specified conditions for a specified time, the direction of the input position of the input that continues from the reference position to the start of the input of the moving operation changes by more than a specified angle, or the input distance or the magnitude of the vector from the reference position to the input position is greater than a specified value.
9. A game processing method executed in an information processing system, comprising the following steps: an acquisition step of repeatedly acquiring an input position detected by the pointing device; a reference position setting step of setting a reference position based on an input position when input of a movement operation for the pointing device is started; a first movement processing step of executing a first movement processing of moving an object in a virtual game space by a first control method based on the reference position and an input position of an input continuously performed from the input of starting the movement operation; as well as a second movement processing step of executing a second movement processing of moving the object in the virtual game space by a second control method different from the first control method, when an input position of an input continuously performed since the input of the movement operation is started satisfies a prescribed first condition related to a relationship between the input position and the reference position, wherein, when performing movement control in the first control method and the second control method, the movement of the object is controlled based on the input direction and input distance of the input position relative to the reference position so that the object can turn in a direction corresponding to the input direction and by a turning amount corresponding to the input distance, and movement control is performed in the second control method so that the object can turn around a curve more sharply at the same speed or can turn around a curve faster than the movement control in the first control method, The first condition includes: the speed of the input that continues from the start of the input of the moving operation is greater than a specified speed, the input position of the input that continues from the start of the input of the moving operation continues to meet the specified conditions for a specified time, the direction of the input position of the input that continues from the reference position to the start of the input of the moving operation changes by more than a specified angle, or the input distance or the magnitude of the vector from the reference position to the input position is greater than a specified value.
