Program and method
Patent Information
- Application Number
- JP2024083655
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-03-31
AI Technical Summary
Conventional game control systems using touch panels require operators to remove their fingers from the panel and reapply them when switching between different operation systems, disrupting continuous character movement.
A game system that utilizes initial setting processing based on touch panel inputs to seamlessly transition between operation systems without requiring the operator to remove their finger, by executing initial setting processing when the touch panel detects the start of a touch and before the end of the touch in the first game step, allowing the system to switch to the second operation system.
Enables continuous character control across different operation systems in a game without the need to remove the operator's finger from the touch panel, ensuring smooth transitions and maintaining intended character actions.
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for controlling a character using a touch panel in a game realized using a computer. [Background technology]
[0002] Gaming devices in which the actions of a character are controlled using a touch panel have been known for some time (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2018-161446 A (Published on October 18, 2018) Summary of the Invention [Problem to be solved by the invention]
[0004] When controlling a character's action using a touch panel, it is sometimes desirable to continue controlling the character's action without removing a control such as a finger from the touch panel. However, in conventional games, the control system may be switched while controlling a character's action, and in such a case, it is necessary to remove the control from the touch panel and then touch the control to the touch panel again.
[0005] One aspect of the present invention aims to realize a technology that, in a game that includes multiple control systems operated via a touch panel, allows a player to continue controlling a character's movements in the switched control system without removing the controller from the touch panel, even when the control system is switched. [Means for solving the problem]
[0006] In order to solve the above problems, a program according to one embodiment of the present invention causes one or more computers to execute a first game step in which one or more characters are caused to operate according to a first operation system by referring to a touch position detected by a touch panel, or a second game step in which one or more characters are caused to operate according to a second operation system different from the first operation system, and also executes an initial setting process for the second operation system (i) when the touch panel detects the start of a touch in the second game step, and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch.
[0007] Furthermore, a game device according to one embodiment of the present invention includes a game execution unit that executes a first game step in which one or more characters are caused to operate according to a first operation system by referring to a touch position detected by a touch panel, or a second game step in which one or more characters are caused to operate according to a second operation system different from the first operation system, and an initial setting execution unit that executes an initial setting process for the second operation system (i) when the touch panel detects the start of a touch in the second game step, and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch.
[0008] Furthermore, a method according to one embodiment of the present invention is a method executed by one or more computers, and includes a first game step of making one or more characters operate according to a first operation system by referring to a touch position detected by a touch panel, a second game step of making one or more characters operate according to a second operation system different from the first operation system, and an initial setting step of executing an initial setting process for the second operation system (i) when the touch panel detects the start of a touch in the second game step, and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch. Effect of the Invention
[0009] According to one aspect of the present invention, in a game including multiple control systems operated via a touch panel, even when the control system is switched, it is possible to continue controlling the character's movements in the switched control system without removing the controller from the touch panel. [Brief description of the drawings]
[0010] [Figure 1] 1 is a block diagram showing an example of a configuration of a game system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing an example of a hardware configuration of a user terminal according to an embodiment of the present invention. [Diagram 3] 4A and 4B are diagrams illustrating states of touch sensors in a touch panel. [Figure 4] FIG. 2 is a block diagram showing an example of a functional configuration of a user terminal according to an embodiment of the present invention. [Diagram 5] FIG. 2 is a diagram showing an example of a game image in a game according to an embodiment of the present invention. [Figure 6] FIG. 2 is a diagram showing an example of a game image in a first game according to an embodiment of the present invention. [Figure 7]FIG. 13 is a diagram showing an example of a game image in a second game according to an embodiment of the present invention. [Figure 8] 1 is a flowchart illustrating an example of the flow of processing executed by a game progression unit. [Figure 9] 1 is a flowchart illustrating an example of the flow of processing executed by a game progression unit. [Figure 10] 1 is a flowchart illustrating an example of the flow of processing executed by a game progression unit. [Figure 11] FIG. 11 is a diagram showing a specific example of a touch position. [Figure 12] FIG. 11 is a diagram showing a specific example of a touch position. [Figure 13] FIG. 11 is a diagram showing a specific example of a touch position. [Figure 14] FIG. 11 is a diagram showing a specific example of a touch position. [Figure 15] FIG. 11 is a diagram showing a specific example of a touch position. [Figure 16] FIG. 11 is a diagram showing a specific example of a touch position. [Figure 17] 1 is a flowchart illustrating an example of the flow of processing executed by a game progression unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] [Embodiment] <Configuration of Game System 1> 1 is a block diagram showing an example of the configuration of a game system 1 according to this embodiment. The game system 1 includes a user terminal 10-1 (computer, game device), a user terminal 10-2, . . . a user terminal 10-N, and a game server 30. These devices are connected via a network N including the Internet. Since the user terminals 10-1, 10-2, . . . the user terminals 10-N have the same configuration, when no particular distinction is required, the descriptions will be given as the user terminals 10, omitting the descriptions "-1", "-2", etc.
[0012] The user terminal 10 is a computer used by a user. Examples of the user terminal 10 include a PC (Personal Computer), a tablet PC, a mobile phone such as a smartphone or a feature phone, a personal digital assistant (PDA), a stationary game machine, and a portable game machine.
[0013] The game server 30 is a computer (device) having a server function for providing a game to the user terminal 10. The game server 30 provides the user terminal 10 with a game that progresses while communicating with the game server 30. The game may be any game that has been pre-installed in the user terminal 10.
[0014] (Hardware configuration of user terminal 10) 2 is a diagram showing an example of a hardware configuration of a user terminal 10 according to this embodiment. The user terminal 10 includes, for example, a processor 11, a communication unit 12, a touch panel 13, and a storage unit 14, and communicates with a game server 30 and other devices connected via a network N via the communication unit 12. These components are connected to each other so as to be able to communicate with each other via a bus 17. The processor 11 includes integrated circuits such as a CPU (Central Processing Unit) and a GPU (Graphics Processing Unit), and executes various programs stored in the storage unit 14 to control each unit of the user terminal 10.
[0015] The communication unit 12 includes, for example, an Ethernet (registered trademark) port, a digital input / output port such as a USB, and wireless communication such as WiFi (registered trademark).
[0016] The storage unit 14 includes, for example, a hard disk drive (HDD), a solid state drive (SSD), an electrically erasable programmable read-only memory (EEPROM) (registered trademark), a read only memory (ROM), and a random access memory (RAM), and stores various information and images processed by the user terminal 10, as well as programs (including game control programs). The storage unit 14 is not limited to being built into the user terminal 10, and may be an external storage device connected via a digital input / output port such as a USB. The user terminal 10 may also be configured to include hardware components such as a speaker, an audio output terminal, a camera, a gyro sensor, and a GPS (Global Positioning System) receiving module (not shown).
[0017] The touch panel 13 is an electronic component that combines a display device and a position input device. The touch panel 13 is, for example, a capacitive or resistive touch panel. Various instructions are input by a user's operation on the touch panel 13. The touch panel 13 detects the start of touching, the position of touching, and the end of touching. Touching refers to an operator touching the touch panel 13. The operator is something that touches the touch panel, and is, for example, a player's finger or a touch pen. The position of touching refers to a position on the touch panel 13 that is touched by the operator (touch position). The touch position is expressed, for example, by two-dimensional coordinates of (x, y). The touch position is acquired, for example, at intervals determined based on the frame rate. The touch position may be acquired for each frame, or may be acquired every time a predetermined number of frames elapse. The end of touching refers to the operator touching the touch panel 13 being released from the touch panel 13.
[0018] FIG. 3 is a diagram showing an example of the state of the touch sensor in the touch panel 13. In the example of FIG. 3, when the operator touches the touch panel 13, an interrupt process called "mouse ON" occurs. "Mouse ON" is an example of "start of touch" detected by the touch panel 13. When the operator is moved thereafter, an interrupt process called "mouse MOVE" occurs every time the operator is moved. "Mouse MOVE" is an example of "change in touch position" detected by the touch panel 13. When the operator is removed from the touch panel 13, an interrupt process called "mouse OVER (OFF)" occurs. "Mouse OVER (OFF)" is an example of "end of touch" detected by the touch panel 13. The touch panel 13 detects the touch position at the time of "mouse ON" and "mouse MOVE". These interrupt processes are generated by, for example, the operating system (OS).
[0019] The user terminal 10 may include, for example, a keyboard, a mouse, a touchpad, a microphone, and other input devices.
[0020] (Functional configuration of user terminal 10) Fig. 4 is a block diagram showing an example of the functional configuration of the user terminal 10 according to this embodiment. Fig. 4 shows data stored in the storage unit 14 and a control unit 110 which is a functional configuration realized by the processor 11 executing a game program stored in the storage unit 14, and omits other configurations shown in Fig. 2.
[0021] The control unit 110 includes a game progression unit 111. The memory unit 14 stores a game program, in-terminal game information, and user information. The in-terminal game information is data that the control unit 110 references to execute a game. The user information is data associated with a user.
[0022] <Game Overview> The genre of the game realized by the game system 1 (hereinafter also referred to as "this game") is not limited to a specific genre and may be any genre of game, but is preferably a sports game that imitates a sport in the real world. Examples of sports in the real world include soccer, baseball, equestrian, tennis, and skiing. In this embodiment, a case will be described in which the game system 1 realizes a soccer game that imitates soccer in the real world.
[0023] Here, the soccer game realized by the game system 1 may proceed as a single-play game or as a multi-play game. In the case of a single-play game, the game system 1 makes a match between a user team operable by a user of the user terminal 10 and an opponent team whose action is determined by the game system 1 without the operation of the user. In the case of a multi-play game, the game system 1 makes a match between a user team operable by a user of the device and an opponent team by an opponent user. The opponent user may be a user who operates the same user terminal 10 as the user, or may be a user who operates another user terminal 10 different from the user. In the latter case, the user terminal 10 and the other user terminals 10 are connected to be able to communicate with each other, for example, via a game server 30 or the like.
[0024] (character) In this game, the player operates one or more characters using the touch panel 13. The characters are the subjects of various actions in the game. Characters are, for example, monsters, animals, ghosts, people, plants, robots, or avatars, but are not limited to these and may be characters that represent any concept.
[0025] (Player character) A player character is a character used in a game, particularly a character used in a game simulating a competition. A player character represents an athlete competing in a game simulating a competition. Note that a player character is not limited to a person, and may be an animal character (e.g., a horse used in equestrian sports). A player character may be a character simulating a real athlete who is active in an actual competition, or may be an original athlete character (i.e., a fictional athlete) in the game.
[0026] In this game, the game progression unit 111 executes processing for a match between a user team consisting of one or more player characters and an opposing team.
[0027] FIG. 5 is a diagram showing an example of a game image G2 in this game. The game progression unit 111 displays the game image G2 on the touch panel 13. The game image G2 includes an object O20 representing a field during a match, and an object O21 that is a target of a user operation. The object O20 includes an object O21 representing a player character of the user team, an object O22 representing a player character of the opposing team, and an object O23 representing a ball. The game progression unit 111 refers to character information representing the player character of the user team and character information representing the player character of the opposing team, and moves the objects O21, O22, and O23 to simulate a soccer game. Furthermore, when the game progression unit 111 detects that a touch operation has been performed on an object O24 displayed on the touch panel 13, the game progression unit 111 may perform a process of changing the tactics of the user team or a process of substituting a player, depending on the touch position on the object O24.
[0028] In FIG. 5, the object O20 is a two-dimensional representation of a soccer field, but the object O20 may be a three-dimensional representation of a soccer field.
[0029] When the match ends, the game progression unit 111 notifies the game server 30 of the end of the match and causes the touch panel 13 to display the match result.
[0030] The game includes a first game step and a second game step. A game step refers to a part of a game, and may also be called a game mode. If the game is a soccer game, the first game step is, for example, a game step in which a set play is executed. Examples of set plays include corner kicks, goal kicks, and throw-ins. The second game step is, for example, a game step in which a play other than a set play is executed in a soccer game match. The first game step and the second game step do not proceed simultaneously, but transition between the game steps.
[0031] In the first game step, the game progression unit 111 causes one or more characters to act in accordance with a first operation system, with reference to the touch position detected by the touch panel 13. On the other hand, in the second game step, the game progression unit 111 causes one or more characters to act in accordance with a second operation system that is different from the first operation system.
[0032] In this embodiment, an operation system defines the behavior of one or more characters based on a user operation on the touch panel 13. This game includes multiple operation systems. Even with the same user operation, the character's behavior may differ depending on the operation system. The multiple operation systems include a first operation system and a second operation system. The operation systems are linked to game steps. In this embodiment, the first operation system is used in the first game step. The second operation system is used in the second game step.
[0033] The user operation on the touch panel 13 includes, for example, a touch start operation, a slide operation, and a touch end operation. A slide operation refers to an operation of moving the touch position while keeping the operator in contact with the touch panel 13.
[0034] In this embodiment, the operation system particularly defines the behavior of one or more characters based on the touch position detected by the touch panel 13. For example, each operation system defines which axis coordinate (both x coordinate and y coordinate, or just x coordinate, etc.) of the coordinates indicating the touch position (e.g., (x, y) coordinates) is used to cause the character to move.
[0035] In this embodiment, the first operation system defines the actions of one or more characters based on the first axis direction component (x-axis direction component) of the touch position detected by the touch panel 13. In this case, in the first operation system, the game progression unit 111 causes the player character to move using the x-axis direction component of the touch position. For example, the first operation system associates the x-axis direction component of the touch position with the direction in which the player character kicks the ball.
[0036] FIG. 6 is a diagram illustrating a game image in the first game step. The game image in FIG. 6 is an image showing a state seen from a viewpoint (virtual camera) behind the player character O31. The game image in FIG. 6 is divided into two areas, an area A11 and an area B11, at approximately the center. The position of the player character O31 and the direction in which the ball is kicked are determined by the touch position in the area A11. In addition, the force with which the player character O31 kicks the ball and the trajectory (curve, etc.) are determined by the touch position in the area B11. At this time, the game progression unit 111 determines the position of the player character O31 and the direction in which the ball is kicked based on the first axis component (x-axis component) of the touch position in the area A11. In addition, the game progression unit 111 determines the force with which the ball is kicked and the trajectory based on the first axis component (x-axis component) and the second axis component (y-axis component) of the touch position in the area B11.
[0037] The second operation system defines the actions of one or more characters based on the first axis direction component (x-axis direction component) and the second axis direction component (y-axis direction component) of the touch position detected by the touch panel 13. In this case, in the second operation system, the game progression unit 111 causes the player character to move using the x-axis direction component and the y-axis direction component of the touch position.
[0038] FIG. 7 is a diagram illustrating a game image in the second game step. The game image in FIG. 7 is an image showing a state seen from a virtual camera (bird's-eye view) provided above the pitch. In the second game step, the player character can move in both the x-axis direction and the y-axis direction. In the figure, a player character with a mark M21 moves by a slide operation in the area A21. In detail, when touching starts in the area A21, a virtual pad O41 whose origin is determined based on the touch position at the start of touching is displayed, and the amount of movement and direction of the player character with the mark M21 are changed according to the change in the touch position on the virtual pad O41. That is, in one aspect, the second operation system determines the movement direction of one or more characters based on the change in the touch position detected by the touch panel 13. Also, an operation in the area B21 is performed to perform an action of kicking the ball, a tackling action, or a change in character.
[0039] <Game mechanics> Next, one of the mechanisms of the present game for providing interest to the user will be described.
[0040] The user terminal 10 includes a game execution unit that executes a first game step in which one or more characters are made to act according to a first operation system by referring to a touch position detected by the touch panel 13, or a second game step in which one or more characters are made to act according to a second operation system different from the first operation system, and an initial setting execution unit that executes initial setting processing for the second operation system (i) when the touch panel 13 detects the start of a touch in the second game step, and (ii) when the touch panel 13 detects the start of a touch in the first game step and transitions to the second game step before the touch panel 13 detects the end of the touch. In this embodiment, the game execution unit and the initial setting execution unit are realized by the game progression unit 111.
[0041] In this embodiment, the game progression unit 111 is software that runs on an operating system (OS). The game progression unit 111 executes various processes in response to handlers generated by the OS. The handlers generated by the OS are, for example, hardware interrupt handlers or software interrupt handlers. In other words, the game progression unit 111 runs on an event-driven framework. In this embodiment, the game progression unit 111 executes processes in response to the handlers generated by the OS that correspond to the start of a touch, the position of a touch, and the end of a touch.
[0042] Figure 8 is a flowchart illustrating a process (method) executed by the game progression unit 111. Note that some steps may be executed in parallel or in a different order. In step S100, the game progression unit 111 acquires data generated by the interrupt process (the process of Figure 9 or Figure 10) described below, via the memory unit 14. If the interrupt process is executed in a different thread, it is preferable for the game progression unit 111 to acquire the data via a thread-safe area in the memory unit 14.
[0043] When the game progression unit 111 is executing the first game step, the game progression unit 111 acquires, for example, a parameter indicating a change in the position or direction of the player character, and a parameter indicating whether or not to perform an action.
[0044] When the game progression unit 111 is executing the first game step, the game progression unit 111 acquires, for example, a parameter indicating the amount of movement of the player character, a parameter indicating the direction of the player character, and a parameter indicating whether or not to perform an action.
[0045] In step S102, the game progression unit 111 executes game processing according to the handler. The game processing executed by the game progression unit 111 is, for example, a movement of a player character in a first game step, a transition from the first game step to a second game step, a movement of a player character in the second game step, or a transition from the second game to the first game.
[0046] The action of the player character in the first game step is, for example, a change in the position or direction of the player character in a set play, or an action by the player character such as a kick, a throw-in, etc. The game progression unit 111 performs a process of changing the position or direction of the player character, or a process of executing the action of the player character, according to the parameters acquired in step S101.
[0047] The action of the player character in the second game step is, for example, a change in movement and direction of the player character during a match (other than a set play), or an action by the player character, such as a pass, a shot, a slide, a catch (if the player character is a goalkeeper), etc. The game progression unit 111 changes the amount of movement and the direction of the player character according to the parameters acquired in step S101, and performs a process of moving the player character, or a process of executing the action of the player character.
[0048] A transition between game steps occurs when a predetermined condition is satisfied. For example, a transition from a first game step to a second game step occurs when a player character completes an action to complete a set play (e.g., a kick in a corner kick, a throw-in in a throw-in, etc.). A transition from a second game step to a first game step occurs, for example, when the ball goes out of bounds during a match.
[0049] In step S104, the game progression unit 111 performs drawing processing of a game image in accordance with the progress of the game. The drawing processing is, for example, rendering processing of a 3D model or the like. For example, if an object is moved in step S102, the game progression unit 111 generates drawing data by rendering a game image after the object has been moved, and supplies the generated drawing data to the touch panel 13. The touch panel 13 displays a game image in accordance with the drawing data supplied by the game progression unit 111.
[0050] In step S106, the game progression unit 111 determines whether a unit time (for example, 32 ms) has elapsed. If the unit time has not elapsed (step S106; NO), the game progression unit 111 waits until the unit time has elapsed. On the other hand, if the unit time has elapsed (step S107; YES), the game progression unit 111 returns to the processing of step S100.
[0051] Furthermore, when an interrupt process related to the touch panel 13 occurs, the game progression unit 111 executes the process of Fig. 9 or Fig. 10. The processes shown in Fig. 8, Fig. 9, and Fig. 10 are each executed in parallel by, for example, a multithread function provided by the OS.
[0052] (Start of touch) When an interrupt process for the start of a touch occurs, the game progression unit 111 determines which area the touch position detected by touch panel 13 is in.
[0053] If the touch position detected by touch panel 13 in the first game step is area A11, or if the touch position detected by touch panel 13 in the second game step is area A21, the game progression unit 111 performs an initial setting process described below. If the touch position detected by touch panel 13 in the first game step is area B11, or if the touch position detected by touch panel 13 in the second game step is area B21, the game progression unit 111 determines whether or not to perform an action based on the touch position, generates a parameter indicating whether or not to perform an action, and stores it in the memory unit 14.
[0054] Figure 9 is a flowchart illustrating the flow of the initial setting processing executed by the game progression unit 111. In step S200, the game progression unit 111 performs initial setting processing for the control system corresponding to the game step in progress. If the second game step is in progress, the game progression unit 111 performs initial setting processing for the second control system. On the other hand, if the first game step is in progress, the game progression unit 111 performs initial setting processing for the first control system.
[0055] The initial setting process includes, for example, a process of changing setting information required for the operation system used by the game progression unit 111, and a process of resetting the initial position. The setting information is, for example, information indicating which axis coordinate (both x coordinate and y coordinate, or just x coordinate, etc.) to use among the coordinates of the touch position (hereinafter referred to as "axis information"). For example, in the first operation system, the game progression unit 111 moves the player character using the x coordinate of the touch position, as described above. On the other hand, in the second operation system, the game progression unit 111 moves the player character using both the x coordinate and y coordinate of the touch position.
[0056] The initial position reset process is a process of setting the initial position by referring to the touch position at the timing of executing the initial setting process. That is, in this embodiment, the initial setting process includes a process of setting the initial position by referring to the touch position detected by the touch panel 13. The set initial position is, for example, the touch position immediately before the game step transitions, or the touch position immediately after the game step transitions. In addition, the set initial position is not limited to these, and may be another touch position, such as the touch position a predetermined time before the game step transitions. In addition, the set initial position is not limited to the touch position, and may be a position specified by referring to the touch position.
[0057] That is to say, in this game, when the touch panel 13 detects the start of a touch in the second game step, the game progression unit 111 updates the setting information required for the control system used in the game and executes processing to set a new initial position.
[0058] The initial setting process may include a process of displaying an image of a virtual pad or the like that resembles a joystick based on the initial position on the touch panel 13. In addition, the game progression unit 111 may store in the memory unit 14 a flag that indicates the type of game step in progress.
[0059] (Change in touch position) When interrupt processing of a change in touch position occurs, the game progression unit 111 determines which area the touch position detected by touch panel 13 is in.
[0060] If the touch position detected by touch panel 13 in the first game step is area A11, or if the touch position detected by touch panel 13 in the second game step is area A21, the game progression unit 111 performs movement-related processing, which will be described later. If the touch position detected by touch panel 13 in the first game step is area B11, or if the touch position detected by touch panel 13 in the second game step is area B21, the game progression unit 111 determines whether or not to perform an action based on the touch position, generates a parameter indicating whether or not to perform an action, and stores it in the storage unit 14.
[0061] FIG. 10 is a flowchart illustrating the flow of movement-related processing executed by the game progression unit 111. First, in step S300, the game progression unit 111 determines whether a transition between game steps has occurred since the start of touching. In one aspect, the game progression unit 111 may determine whether a transition between game steps has occurred by comparing a flag indicating the type of game step stored in the memory unit 14 in step S200 with the type of game step currently in progress. If a transition between game steps has occurred (step S300; YES), the game progression unit 111 proceeds to processing of step S302. On the other hand, if a transition between game steps has not occurred (step S300; NO), the game progression unit 111 skips processing of step S302 and proceeds to processing of step S304.
[0062] In step S302, the game progression unit 111 performs initial setting processing. This processing is similar to the processing in step S200 in Figure 9. That is to say, when there is a transition from the first game step to the second game step, the game progression unit 111 performs initial setting processing for the second operation system. Also, when there is a transition from the second game step to the first game step, the game progression unit 111 performs initial setting processing for the first operation system.
[0063] That is, in this embodiment, the game progression unit 111 executes initial setting processing for the second operation system when (i) the touch panel 13 detects the start of a touch in the second game step (FIG. 9), and (ii) the touch panel 13 detects the start of a touch in the first game step and transitions to the second game step before the touch panel 13 detects the end of the touch (step S300 in FIG. 10; YES). Step S200 in FIG. 9 and step S302 in FIG. 10 are examples of initial setting steps according to the present invention.
[0064] Furthermore, in this embodiment, the game progression unit 111 may execute initial setting processing for the first operation system when the touch panel 13 detects the start of a touch in the first game step (FIG. 9), and when the touch panel 13 detects the start of a touch in the second game step and transitions to the first game step before the touch panel 13 detects the end of the touch (step S300 in FIG. 10; YES).
[0065] In step S304, the game progression unit 111 refers to the touch position detected by the touch panel 13, generates parameters for specifying the movements of one or more player characters in accordance with the operation system corresponding to the ongoing game step, and stores them in the memory unit 14.
[0066] In one aspect, when a first game step is in progress, the game progression unit 111 generates parameters indicating a change in the position or direction of one or more player characters by referring to data that predefines a correspondence relationship between a change in the touch position detected by the touch panel 13 and a change in the position or direction of the player character. For example, the game progression unit 111 may (i) generate parameters that change the position or direction of the player character so as to rotate counterclockwise around the ball when the touch position has changed to the right, and (ii) generate parameters that change the position or direction of the player character so as to rotate clockwise around the ball when the touch position has changed to the left, or may generate parameters that move the player character in other ways.
[0067] Furthermore, in one aspect, when a second game step is in progress, the game progression unit 111 generates a parameter indicating the amount of movement of one or more player characters and a parameter indicating the direction of the player character, by referring to the initial position set in the initial setting process for the second operation system and the touch position detected by the touch panel 13. For example, the game progression unit 111 may generate a parameter indicating the direction from the initial position toward the touch position as the character direction, and a parameter indicating the amount of movement of the character according to the length from the initial position to the touch position.
[0068] (An example of game operation flow) Here, an example of the flow of game operations in the first game step and the second game step will be described with reference to FIGS.
[0069] 11 is a diagram showing a specific example of a touch position in the first game step. When the player performs a sliding operation in the direction of arrow A111 on the touch panel 13, the game progression unit 111 determines the direction in which the player character kicks the ball, based on, for example, the x-axis direction component of the touch position.
[0070] 12 to 16 are diagrams showing specific examples of touch positions in the second game step. Fig. 12 illustrates a case where a player starts a touch in the first game step, and transitions from the first game step to the second game step before finishing the touch.
[0071] If the game step transitions from the first game step to the second game step before the touch panel 13 detects the end of the touch, the game progression unit 111 executes processing to update the initial position. In the example of Fig. 12, position p121 is set as the initial position based on the touch position at the time of transition from the first game step to the second game step. That is, in this embodiment, if the transition occurs to the second game step with the operator still in contact with the touch panel 13, the initial position reset processing is performed even if the operator is not released from the touch panel 13.
[0072] In the example of FIG. 12, the initial position of the virtual pad O121 is set to a position p121.
[0073] Then, as illustrated in FIG. 13, when the player moves the touch position from position p121 to position p131 while keeping the controller in contact with the touch panel 13, the game progression unit 111 moves the player character (not shown) based on the positional relationship between the initial position (position p121) and the touch position (position p131).
[0074] In this way, if a game step transition occurs before the touch ends, the game progression unit 111 updates the initial position based on the touch position and moves the player character by referring to the updated initial position. For example, if a transition occurs from the first game step to the second game step before the end of the touch is detected, the game progression unit 111 moves one or more characters by further referring to the initial position set in step S302 in the second game step (step S304 in FIG. 10).
[0075] Thereafter, when the player temporarily releases the controller from the touch panel 13 (FIG. 14) and then touches the touch panel 13 again (FIG. 15), the game progression unit 111 sets the initial position of the virtual pad O151 to position p151 based on the touch position.
[0076] Then, as illustrated in FIG. 16, when the player moves the touch position from position p151 to position p161 while keeping the controller in contact with the touch panel 13, the game progression unit 111 moves the player character (not shown) based on the positional relationship between the initial position (position p151) and the touch position (position p161).
[0077] In the past, when a set play screen was switched to a match screen while the controller was still touching the touch panel 13, the player character sometimes did not perform the action intended by the player because the setting information in the operation system for the game step after the transition did not change. In order to make the player character perform the action intended by the player, the player had to perform the cumbersome operation of temporarily removing the controller from the touch panel 13 when the game step transitioned and then starting to touch again.
[0078] In contrast, in this embodiment, if the touch panel 13 detects the start of a touch in a first game step and transitions to a second game step before detecting the end of the touch, the game progression unit 111 performs initial setting processing for the second operation system. As a result, even if a game step transitions before the end of the touch is detected, it is possible to continue operating the player character's actions without releasing the operation device from the touch panel 13.
[0079] [Modifications] In the above embodiment, a case has been described in which the game progression unit 111 progresses a game that includes a first game step and a second game step. The game that is progressed by the game progression unit 111 may include three or more types of game steps. In this case, the operation system may be different for each game.
[0080] In the embodiment described above, the occurrence of interrupt processing related to the touch panel 13 triggers the game progression unit 111 to execute the processing shown in Figures 9 and 10. Instead of these processes being executed by interrupt processing, the game progression unit 111 may determine the state of a touch on the touch panel 13 by executing polling processing.
[0081] 17 is a flowchart illustrating an example of the processing flow when the game progression unit 111 determines the touch state by polling processing. Note that some of the steps may be executed in parallel or in a different order.
[0082] In step S400, the game progression unit 111 determines whether the touch panel 13 has detected the start of a touch. This determination is made, for example, by the game progression unit 111 referring to information stored in a predetermined memory area. If the start of a touch is detected (step S400; YES), the game progression unit 111 proceeds to the processing of step S402. On the other hand, if the start of a touch is not detected (step S400; NO), the game progression unit 111 skips step S402 and proceeds to the processing of step S404.
[0083] In step S402, the game progression unit 111 executes processing (touch start processing) for when a touch start is detected. The touch start processing is the processing shown in FIG.
[0084] In step S404, the game progression unit 111 determines whether the touch panel 13 has detected a touch position. This determination is made, for example, by the game progression unit 111 referring to a flag stored in a predetermined memory area. If a touch position is detected (step S404; YES), the game progression unit 111 proceeds to processing of step S406. On the other hand, if a touch position is not detected (step S404; NO), the game progression unit 111 skips step S406 and returns to processing of step S400.
[0085] In step S406, the game progression unit 111 executes processing (touch position processing) for when a touch position is detected. The touch position processing is the processing shown in FIG.
[0086] <How multiple computers work together> In the above-described embodiment, the hardware configuration of the user terminal 10 is not limited to that illustrated in Fig. 2. The functions implemented by the user terminal 10 according to the above-described embodiment may be implemented by one device as shown in the above-described embodiment, or may be implemented by multiple computers working together.
[0087] In the above-described embodiment, an example has been described in which a game is realized by the game system 1 including the user terminal 10 and the game server 30. However, the game in the above-described embodiment may be realized by the user terminal 10.
[0088] 〔summary〕 From the above-described exemplary embodiments, the following configurations can be understood. Note that, in order to facilitate understanding of each embodiment, reference numerals in the drawings are conveniently placed in parentheses below, but this is not intended to limit the present invention to the embodiments shown in the drawings.
[0089] A program according to one embodiment of the present invention causes one or more computers to execute a first game step in which one or more characters are caused to operate according to a first operation system by referring to a touch position detected by a touch panel, or a second game step in which one or more characters are caused to operate according to a second operation system different from the first operation system, and also executes an initial setting process for the second operation system (i) when the touch panel detects the start of a touch in the second game step, and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch.
[0090] According to the above configuration, when the touch panel detects the start of touching in the first game step and transitions to the second game step before detecting the end of the touching, the computer performs an initial setting process for the second operation system. As a result, even if the first game step transitions to the second game step with the controller still touching the touch panel, it is not necessary to once release the controller from the touch panel and then touch the controller again to the touch panel in order to execute the initial setting process for the second operation system in the second game step. As a result, in a game including multiple operation systems operated by a touch panel, even if the operation system is switched, it is possible to continue operating the character's actions in the switched operation system without releasing the controller from the touch panel.
[0091] In the above-mentioned program, the initial setting process may include a process of setting an initial position by referring to a touch position detected by the touch panel, and in the second game step, the one or more characters may be moved by further referring to the initial position.
[0092] According to the above configuration, when the start of touching is detected on the touch panel and a transition to the second game step occurs before the end of touching is detected, an initial position is set based on the touch position at the transition timing, and the character acts based on the initial position and the touch position. As a result, in a game including multiple operation systems operated on a touch panel, even when the operation system is switched, it is possible to continue operating the character's action in the operation system after the switch without releasing the operator from the touch panel.
[0093] In the above-mentioned program, in the second game step, the one or more characters may be caused to act based on a positional relationship between a touch position detected by the touch panel and the initial position.
[0094] According to the above configuration, in the second game step, the character acts based on the positional relationship between the initial position set in the initial setting process and the touch position. Therefore, in the second game step, the initial setting process is essential to control the character's actions. Even with this configuration, if the start of a touch is detected in the first game step and a transition is made to the second game step before the end of the touch is detected, the initial setting process for the second operation system is performed, so that the character's actions can be continued in the switched operation system without releasing the operator from the touch panel.
[0095] In the above-mentioned program, the first operation system may define the behavior of the one or more characters based on a first axial component of a touch position detected by the touch panel, and the second operation system may define the behavior of the one or more characters based on the first axial component and a second axial component of a touch position detected by the touch panel.
[0096] According to the above configuration, in the first game step, the character acts based on the first axis direction component of the touch position, and in the second game step, the character acts based on the first axis direction component and the second axis direction component of the touch position. In such a configuration, when the game transitions to the second game step while the touch is continued, an initial setting process for the second operation system is performed, thereby preventing a malfunction of the game caused by the first operation system, which is completely different from the second operation system, being used in the second game step.
[0097] In the above-mentioned program, the second operation system may determine a direction of movement of the one or more characters based on a change in a touch position detected by the touch panel.
[0098] According to the above configuration, in the second game step, the direction of the character's movement is determined based on the change in the touch position. In this configuration, when the game transitions to the second game step while the touch is continued, an initial setting process for the second operation system is performed, thereby preventing a malfunction of the game caused by the first operation system, which is completely different from the second operation system, being used in the second game step.
[0099] A first game system according to one embodiment of the present invention includes a game execution unit that executes a first game step in which one or more characters are caused to operate according to a first operation system by referring to a touch position detected by a touch panel, or a second game step in which one or more characters are caused to operate according to a second operation system different from the first operation system, and an initial setting execution unit that executes an initial setting process for the second operation system (i) when the touch panel detects the start of a touch in the second game step, and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch.
[0100] According to the above configuration, the same effects as those of the above program are achieved.
[0101] Furthermore, a method according to one embodiment of the present invention is a method executed by one or more computers, and includes an execution step of executing a first game step of causing one or more characters to operate according to a first operation system by referring to a touch position detected by a touch panel, or a second game step of causing one or more characters to operate according to a second operation system different from the first operation system, and an initial setting step of executing an initial setting process for the second operation system (i) when the touch panel detects the start of a touch in the second game step, and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch.
[0102] According to the above configuration, the same effects as those of the first program described above are achieved.
[0103] [Software or hardware implementation examples] In the above-described embodiment, an example has been described in which the control unit 110 of the user terminal 10 is realized by software. That is, a program executed by a computer to achieve the object of the present invention is stored in the storage unit 14 of the computer shown in Fig. 4, and the control unit 110 of the user terminal 10 is realized by the processor 11 reading and executing the program.
[0104] In this case, the memory unit 14 for storing the above program may be a "non-transitory tangible medium", such as a ROM (Read Only Memory), as well as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, etc.
[0105] The program may be supplied to the computer via any transmission medium capable of transmitting the program (such as a communication network or a broadcast wave). Another aspect of the present invention may be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
[0106] The control unit 110 of the user terminal 10 is not limited to being realized by software, but may be realized by a logic circuit (hardware) formed on an integrated circuit (IC chip) or the like.
[0107] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0108] 1. Game System 10 User terminal 11 Processors 12 Communications Department 13 Touch Panel 14 Storage section 17 Bus 30 Game Servers 110 Control section 111 Game Progression Section
Claims
1. On one or more computers, a first game step of causing one or more characters to act in accordance with a first operation system by referring to a touch position detected by the touch panel; or A second game step is executed in which one or more characters are operated in accordance with a second operation system different from the first operation system, (i) when the touch panel detects the start of a touch in the second game step; and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch Executing an initial setting process for the second operating system; the first operation system and the second operation system each define an action of the one or more characters based on a movement of the touch position; The one or more characters are operated by the first operation system and the second operation system. At least a part of a directional component indicating the movement of the touch position, which is referred to in order to make the touch position move, is different; a program in which, in each of the first operation system and the second operation system, at least an amount of movement of the touch position in a first axis direction and / or a second axis direction is referred to as the directional component.
2. A method executed by one or more computers, comprising: a first game step of causing one or more characters to act in accordance with a first operation system by referring to a touch position detected by the touch panel; a second game step of making one or more characters act in accordance with a second operation system different from the first operation system by referring to the touch position detected by the touch panel; (i) when the touch panel detects the start of a touch in the second game step; and (ii) when the touch panel detects the start of a touch in the first game step and transitions to the second game step before the touch panel detects the end of the touch an initial setting step of executing an initial setting process for the second operation system; Including, the first operation system and the second operation system each define an action of the one or more characters based on a movement of the touch position; The one or more characters are operated by the first operation system and the second operation system. At least a part of a directional component indicating the movement of the touch position, which is referred to in order to make the touch position move, is different; a movement amount of the touch position in a first axis direction and / or a second axis direction is at least referred to as the directional component in each of the first operation system and the second operation system.
