U.S. Pat. No. 9,878,244
STORAGE MEDIUM HAVING STORED THEREIN GAME PROGRAM, GAME APPARATUS, GAME SYSTEM, AND GAME PROCESSING METHOD
AssigneeNINTENDO CO., LTD.
Issue DateMarch 11, 2015
Illustrative Figure
Abstract
A first player character or a second player character is caused to perform an action by operating the first player character or the second player character in accordance with an input, and a player character as an action target for performing an action corresponding to the input is switched. Further, a position and/or a direction of a virtual camera are set in accordance with a position and/or a direction, in a virtual world, of the player character set as the action target, and the position and/or the direction of the virtual camera are changed in accordance with the action of the player character. An image of the virtual world viewed from the virtual camera set for the player character as the action target is displayed on a display apparatus. Then, the action target can be switched to the second player character as during the operation on the first player character as the action target in the same player turn.
Description
DETAILED DESCRIPTION OF NON-LIMITING EXAMPLE EMBODIMENTS With reference toFIG. 1, a description is given of an information processing apparatus for executing a game program according to an exemplary embodiment. It should be noted thatFIG. 1is a block diagram showing an example of an information processing apparatus5. For example, the information processing apparatus5can execute a program stored in a storage medium such as an exchangeable memory card or an exchangeable optical disk, or received from another apparatus. The information processing apparatus5may be a mobile game apparatus, or may be a device such as a general personal computer, a mobile phone, or a PDA (Personal Digital Assistant). The information processing apparatus5includes an input section51, a display section52, a control section55, a storage section6, a program storage section57, a communication section58, and the like. It should be noted that the information processing apparatus5may be composed of one or more apparatuses including: an information processing apparatus having at least the control section55; and another apparatus. The control section55is information processing means (a computer) for performing various types of information processing, and is, for example, a CPU. For example, the control section55has the functions of executing the program to perform game processing described later and the like, as the various types of information processing. For example, the above functions of the control section55are achieved, for example, by the CPU executing a predetermined program. The storage section56stores various pieces of data used when the control section55performs the above information processing. The storage section56is, for example, a memory accessible by the CPU (the control section55). The program storage section57stores a program. The program storage section57may be any storage device (storage medium) accessible by the control section55. For example, the program storage section57may be a storage device provided in the information processing apparatus having the control section55, or ...
DETAILED DESCRIPTION OF NON-LIMITING EXAMPLE EMBODIMENTS
With reference toFIG. 1, a description is given of an information processing apparatus for executing a game program according to an exemplary embodiment. It should be noted thatFIG. 1is a block diagram showing an example of an information processing apparatus5. For example, the information processing apparatus5can execute a program stored in a storage medium such as an exchangeable memory card or an exchangeable optical disk, or received from another apparatus. The information processing apparatus5may be a mobile game apparatus, or may be a device such as a general personal computer, a mobile phone, or a PDA (Personal Digital Assistant).
The information processing apparatus5includes an input section51, a display section52, a control section55, a storage section6, a program storage section57, a communication section58, and the like. It should be noted that the information processing apparatus5may be composed of one or more apparatuses including: an information processing apparatus having at least the control section55; and another apparatus.
The control section55is information processing means (a computer) for performing various types of information processing, and is, for example, a CPU. For example, the control section55has the functions of executing the program to perform game processing described later and the like, as the various types of information processing. For example, the above functions of the control section55are achieved, for example, by the CPU executing a predetermined program.
The storage section56stores various pieces of data used when the control section55performs the above information processing. The storage section56is, for example, a memory accessible by the CPU (the control section55).
The program storage section57stores a program. The program storage section57may be any storage device (storage medium) accessible by the control section55. For example, the program storage section57may be a storage device provided in the information processing apparatus having the control section55, or may be a storage medium detachably attached to the information processing apparatus having the control section55. Alternatively, the program storage section57may be a storage device (a server or the like) connected to the control section55via a network. The control section55(the CPU) may read part or all of a game program to the storage section56at appropriate timing and execute the read program.
The input section51is an input apparatus that can be operated by a user. The input section51may be any input apparatus.
The display section52displays an image in accordance with an instruction from the control section55. The display section52is an example of a display apparatus included in the information processing apparatus5and may be composed of an LCD (Liquid Crystal Display). Further, the display section52may be a display apparatus capable of displaying a stereoscopically visible image by displaying a left-eye image and a right-eye image using substantially the same display area. It should be noted that if the information processing apparatus5is composed of a stationary game apparatus or a personal computer, the display section52can be composed separately from the information processing apparatus5.
The communication section58is composed of a predetermined communication module. The communication section58transmits and receives data to and from another device (e.g., a server) directly or via a network, and transmits and receives data to and from another information processing apparatus5directly or via a network.
Next, with reference toFIGS. 2 to 16, a description is given of an overview of information processing performed by the information processing apparatus5, before the description of specific processing performed by the information processing apparatus5. It should be noted that the following descriptions are given taking, as an example of the information processing, game processing for performing a turn-based versus game where a player turn and an opponent turn (an enemy turn) are repeated alternately.FIGS. 2 to 8are diagrams showing a first example of a game image of a virtual world displayed on the display section52in a player turn.FIG. 9is a diagram showing examples of action points consumed when a player character moves in the player turn.FIG. 10is a diagram showing a second example of the game image of the virtual world displayed on the display section52in the player turn.FIG. 11is a diagram showing an example of an ambush range set in the player turn.FIGS. 12 and 13are diagrams showing a first example of a game image of the virtual world displayed on the display section52in an enemy turn.FIGS. 14 and 15are diagrams showing an example where the line of fire of an ambush attack and an ambush range move.FIG. 16is a diagram showing a second example of the game image of the virtual world displayed on the display section52in the enemy turn.
In the exemplary embodiment, as an example, a game image is displayed on the display section52, and a turn-based versus game is performed, where a player turn, in which a player operates a player character, and an opponent turn (an enemy turn), in which a computer as an opponent operates a non-player character (an enemy character), are repeated alternately. For example, a user operates the input section51during a player turn and thereby can operate a plurality of player characters placed in a virtual world. Then, the virtual world viewed from a virtual camera corresponding to one of the player characters as an operation target (for example, a virtual camera having a third-person point of view following the player character as the operation target, and also a virtual camera having a point of view at the back of the player character and having a fixation point in the forward direction of the player character) is displayed on the display section52.
FIG. 2shows an example of a game image displayed on the display section52when a first player character PC1, which is one of the plurality of player characters, is selected to perform an operation in the versus game. In the versus game, the user performs a predetermined operation using the input section51and thereby can select a player character to be operated during a player turn (an operation target character) from among the plurality of player characters. Then, on a game screen, an action point gauge G is displayed, which indicates action points that allow the operation target character to perform an action during the current player turn. The operation target character can perform an action corresponding to the number of action points during the current player turn.
In the example ofFIG. 2, as the action points of the first player character PC1that is the operation target character, eight remaining action point images APr are displayed, which serve as indicators indicating the number of remaining action points. Here, the operation target character moves in the virtual world or performs the action of attacking an enemy character during the player turn, whereby the remaining action points are consumed by the number of action points corresponding to the content of the action. Then, if the remaining action points become 0, the operation target character cannot perform an action during the current player turn, except for a “return action” described later. Further, in the action point gauge G, an attack consumption frame image B is provided and displayed, which serves as an indicator indicating the number of remaining action points to be consumed when the first player character PC1as the operation target character attacks an enemy character. For example, in the example ofFIG. 2, two remaining action point images APr are displayed in the frame of the attack consumption frame image B to indicate that if the first player character PC1performs the action of attacking an enemy character, two remaining action points are to be consumed.
An example ofFIG. 3shows an example of the game screen that has moved from the position of the first player character PC1shown inFIG. 2to the right (that is, has moved in the direction of an arrow shown inFIG. 2) at a moving distance corresponding to four remaining action points. In this case, four remaining action point images APr among the eight remaining action point images APr displayed in the action point gauge G are changed to consumption action point images APc and displayed to indicate to the user that four remaining action points have been consumed by the above movement. Then, in accordance with the consumption of the remaining action points, the attack consumption frame image B also moves to the position where the remaining action point images APr are continuously displayed, and two remaining action point images APr are displayed in the frame of the attack consumption frame image B.
In addition, in the example ofFIG. 3, the first player character PC1has moved, whereby an enemy object EC, which had hidden behind a cover set in the virtual world, has entered the field of view of the first player character PC1. Thus, the first player character PC1has found the enemy object EC. Consequently, words indicating that the first player character PC1has found the enemy object EC are displayed on the display section52, thereby notifying the user of this.
An example ofFIG. 4shows an example of the game screen in which, after the movement of the first player character PC1shown inFIG. 3, the operation target character has been switched to a second player character PC2during the same player turn. In this case, the operation target character has been changed, and therefore, the virtual world viewed from a virtual camera corresponding to the second player character PC2having newly become the operation target is displayed on the display section52. Then, on the game screen, an action point gauge G is newly displayed, which indicates action points that allow the second player character PC2, newly selected as the operation target character, to perform an action during the current player turn. As an example, in the example ofFIG. 4, the number of action points of the second player character PC2newly selected as the operation target character is 10. Thus, 10 remaining action point images APr are displayed, which serve as indicators indicating the number of remaining action points. Further, in the action point gauge G shown inFIG. 4, four remaining action point images APr are displayed in the frame of an attack consumption frame image B to indicate that if the second player character PC2performs the action of attacking an enemy character, four remaining action points are to be consumed. As described above, in the versus game, with respect to each player character that can be selected during the same player turn, action points are individually set that allow the player character to perform an action during the player turn. Further, in the versus game, the user performs a predetermined operation using the input section51and thereby can switch the operation target character to be operated during the same player turn.
An example ofFIG. 5shows an example of the game screen that has moved from the position of the second player character PC2shown inFIG. 4to the left (that is, has moved in the direction of an arrow shown inFIG. 4) at a moving distance corresponding to two remaining action points. In this case, two remaining action point images APr among the10remaining action point images APr displayed on the action point gauge G are changed to consumption action point images APc and displayed to indicate to the user that two remaining action points have been consumed by the above movement. Then, in accordance with the consumption of the remaining action points, the attack consumption frame image B also moves to the position where the remaining action point images APr are continuously displayed, and four remaining action point images APr are displayed in the frame of the attack consumption frame image B.
Then, in the example ofFIG. 5, the second player character PC2has moved, whereby the enemy object EC found by the first player character PC1has entered the range where the second player character PC2can make an attack. Thus, the second player character PC2is attacking the enemy object EC. As described above, it is possible to make an advantageous attack using information obtained from another player character (information that the first player character PC1has found the enemy character EC in this example).
An example ofFIG. 6shows an example of the game screen after the second player character PC2shown inFIG. 5has made the attack. In this case, four remaining action point images APr among the eight remaining action point images APr displayed in the action point gauge G are erased to indicate to the user that four remaining action points have been consumed by the above attack. It should be noted that in the versus game, the actions for erasing the consumption action point images APc of the operation target character to settle consumption action points are set. The above attack action is one of the actions for settling the consumption action points. Thus, in the example ofFIG. 6, four remaining action point images APr indicating four remaining action points consumed by the attack are erased without being converted into consumption action point images APc. Then, two consumption action points (the two consumption action point images APc) owned by the second player character PC2before the attack have also been erased, and four remaining action points remain. Then, in accordance with the consumption of the remaining action points, the attack consumption frame image B also moves to the position where the remaining action point images APr are continuously displayed, and four remaining action point images APr are displayed in the frame of the attack consumption frame image B.
It should be noted that as an action for settling the consumption action points, an action other than the action of attacking an enemy character may be set. As a first example, an action for settling the consumption action points may be the action of a player character being found by an enemy character in a player turn. As a second example, an action for settling the consumption action points may be the action of, if a player character has obtained a predetermined item placed in the virtual world, obtaining the item. It should be noted that as items placed in the virtual world, an item that is obtained by a player character to settle the consumption action points of the player character, and an item that does not settle the consumption action points may be mixed together.
An example ofFIG. 7shows an example of the game screen in which, after the attack of the second player character PC2shown inFIG. 6, the operation target character has been switched to the first player character PC1again during the same player turn. In this case, the operation target character has been changed to the first player character PC1again, and therefore, the virtual world viewed from the virtual camera corresponding to the first player character PC1having become the operation target is displayed on the display section52. Then, on the game screen, an action point gauge G is displayed, which indicates action points that allow the first player character PC1, selected as the operation target character again, to perform an action during the current player turn (the same action points as the action points left at the end of the previous action opportunity). As an example, in the example ofFIG. 7, in the action point gauge G, four remaining action point images APr and four consumption action point images APc are displayed, which indicate the four remaining action points and the four consumption action points owned by the first player character PC1immediately before the operation target character has been switched to the second player character PC2. As described above, in the versus game, it is possible to set a single player character as the operation target character multiple times during the same player turn to provide a plurality of action opportunities to the single player character. Thus, it is possible to operate a single player character multiple times during the same player turn and switch the player character to be operated during the operation of the player character. Further, if the same player character is set as the operation target character again, the action points set at the end of the previous action opportunity are carried on. Thus, it is necessary to divide the set action points into respective action opportunities that allow actions. This enables a game having a high level of strategy.
An example ofFIG. 8shows an example of the game screen that has moved from the position of the first player character PC1shown inFIG. 7to the left (that is, has moved in the direction of an arrow shown inFIG. 7) at a moving distance corresponding to four remaining action points, whereby the first player character PC1has performed the action of returning to the position where the first player character PC1has been placed first in the previous action opportunity (i.e., the position of the first player character PC1shown with reference toFIG. 2). In this case, the four consumption action point images APc displayed in the action point gauge G are changed and restored to four remaining action point images APr to indicate to the user that four remaining action points have been restored by the return action. With reference toFIG. 9, an example of the return action is described below.
FIG. 9is a bird's-eye view of the virtual world showing examples of remaining action points consumed when the operation target character moves in the virtual world. For example, each square shown inFIG. 9indicates the position where the operation target character is placed in the virtual world. An initial position square of “0” indicated in a shaded area is the position where the operation target character is placed first in the player turn. Then, the numerical value described in each square indicates remaining action points required for the operation target character to reach the square from the initial position square. In the example ofFIG. 9, if the operation target character moves one square away from the initial position square, one remaining action point is consumed.
For example, if the operation target character owning four remaining action points has moved from the initial position square to a square in which “1” is described to a square in which “2” is described, the remaining action points become three when the operation target character has reached the square in which “1” is described, and the remaining action points become two when the operation target character has reached the square in which “2” is described. On the other hand, as described above, consumed remaining action points are converted into consumption action points unless an action for settling the remaining action points is performed. Thus, the consumption action points become one when the operation target character has reached the square in which “1” is described. The consumption action points become two when the operation target character has reached the square in which “2” is described. Then, if the operation target character having reached the square in which “2” is described has made the movement of returning to the square in which “1” is described (i.e., a return action), one consumption action point is restored to one remaining action point when the operation target character has returned to the square in which “1” is described. Thus, the remaining action points are restored to three, and the consumption action points return to one. As described above, in the versus game, a “return action” is performed, whereby it is possible to restore remaining action points consumed once in accordance with the content of the return action. Thus, the degree of freedom of the action of the operation target character is improved. This enables a game having a high level of strategy. For example, in the example of the operation target character owning four remaining action points, the operation target character can freely move in the range of numerical values “0” to “4” shown inFIG. 9in the same player turn and can also move around in this range any number of times, unless an action for settling the remaining action points is performed. Further, the consumption action point images APc displayed during the movement of the operation target character can indicate, by the displayed number, the amount of movement that allows the operation target character to return to the initial position square.
An example ofFIG. 10shows an example of the game screen in which the first player character PC1as the operation target character sets an ambush attack while owning eight remaining action points shown inFIG. 8. In the versus game, the player turn is ended in the state where remaining action points are left that allow the operation target character to attack an enemy character. This makes it possible to automatically make an ambush attack on an enemy character in a next enemy turn. In the example shown inFIG. 10, the first player character PC1owns remaining action points that allow four attacks. Thus, it is possible to set an ambush attack that allows four automatic attacks on an enemy character in the next enemy turn. Then, the user performs a predetermined operation during the player turn, thereby ending the player turn and starting an enemy turn. Thus, it is possible to make an ambush attack during the enemy turn.
For example, as shown inFIGS. 10 and 11, a predetermined operation is performed during the player turn to set an ambush attack position in the virtual world, thereby setting an ambush range based on the ambush attack position and the operation target character. For example, an ambush range is set to a range having a predetermined angle to each of the left and right of the operation target character with respect to the ambush attack position (A° to each of the left and right of the ambush attack position in the example ofFIG. 11) and also to the range where the operation target character can make an attack. Further, the line of fire of an ambush attack for making an ambush attack on an enemy character is initialized on a straight line connecting the operation target character to the ambush attack position. Then, if an enemy character has entered the ambush range set by the player character during the next enemy turn and if a predetermined condition is satisfied, the player character automatically performs the action of attacking the enemy character. Here, the range where the operation target character can make an attack is within the shooting range of a weapon with which the operation target character makes an ambush attack, and is a range except for the range of the blind spot of the operation target character created by a cover or the like in the virtual world.
FIG. 12shows an example of a game image displayed on the display section52when an enemy turn has been started after the ambush attack exemplified inFIG. 10had been set. For example, to display a virtual world image on the display section52at the start of the enemy turn, the virtual camera corresponding to the operation target character set last in the player turn before the enemy turn is used. Thus, in the example ofFIG. 12, an image of the virtual world viewed from the virtual camera corresponding to the first player character PC1set last as the operation target character is displayed on the display section52at the start of the enemy turn.
An example ofFIG. 13shows an example of the game screen in which the first player character PC1shown inFIG. 12is making an ambush attack. As shown inFIG. 13, if the enemy character EC has entered the ambush range during the enemy turn, the player character having set the ambush range (the first player character PC1here) automatically makes an ambush attack on the enemy character EC. In this case, the eight remaining action points owned when an ambush attack has been set are consumed by two remaining action points used for a single ambush attack. Thus, two remaining action point images APr are erased from eight remaining action point images APr, and the six remaining action point images APr are displayed to indicate to the user that two remaining action points have been consumed by the ambush attack, and it is possible to further make ambush attacks corresponding to six remaining action points (i.e., three ambush attacks).
Here, if an enemy character having entered the ambush range during the enemy turn crosses the line of fire of an ambush attack, the ambush attack is made on the enemy character. For example, as shown inFIG. 14, the line of fire of an ambush attack initialized on the straight line connecting the operation target character to the ambush attack position when an ambush attack has been set changes its direction at a predetermined angular velocity about the player character that makes an ambush attack (changes its direction in the direction of an arrow shown inFIG. 14), toward the enemy character having entered the ambush range during the enemy turn. Then, at the time when the line of fire of an ambush attack that changes its direction about the player character crosses the enemy character having entered the ambush range, an ambush attack is made on the enemy character. Thus, if the enemy character having entered the ambush range has moved out of the ambush range before crossing the line of fire of an ambush attack, an ambush attack is not made on the enemy character.
It should be noted that an ambush attack to be automatically made by the player character may give a special effect to an enemy character subjected to the attack. Here, the special effect refers to an effect that is not obtained when a player character attacks an enemy character during a player turn. For example, an enemy character subjected to an ambush attack may not be able to perform an action in this enemy turn when the enemy character has been subjected to the attack. As an example, an enemy character subjected to an ambush attack may not be able to perform an action with a predetermined probability when the enemy character has been subjected to the attack. Further, on an enemy character subjected to an ambush attack, damage greater than an attack to which the enemy character is subjected during a player turn may be inflicted.
In addition, as shown inFIG. 15, if the direction of the line of fire of an ambush attack has changed toward the enemy character having entered the ambush range, the position of the ambush range also changes in accordance with the change in the direction of the line of fire of an ambush attack, and a next ambush attack and ambush attacks after that are made. For example, the ambush range is reset by moving the ambush range in the virtual world so as to be formed in the same angle range about the line of fire of an ambush attack that changes its direction. For example, as shown inFIG. 15, if an ambush attack has been made on the enemy character EC, the line of fire of an ambush attack moves in the direction of crossing the enemy character EC. Thus, the ambush range also moves to a position having its center in the direction of connecting the player character having made the ambush attack to the enemy character EC subjected to the ambush attack, and a next ambush attack and ambush attacks after that are set using the ambush range after the movement. It should be noted that if the enemy character having entered the ambush range has moved out of the ambush range before crossing the line of fire of an ambush attack, the direction of the line of fire of an ambush attack changes until the enemy character moves out of the ambush range. The ambush range, however, may be reset about the direction of the line of fire of an ambush attack when the enemy character has moved out of the ambush range.
In addition, during an enemy turn, if an enemy character has performed a predetermined action on a player character having set an ambush range, the position of the ambush range may change toward the enemy character. For example, if an enemy character has performed the action of attacking a player character having set an ambush range, or an enemy character has performed the action of finding a player character having set an ambush range, the direction of the line of fire of an ambush attack changes toward the enemy character. Then, the ambush range is also reset by moving the ambush range in the virtual world so as to be formed in the same angle range to the left and right with respect to the line of fire of an ambush attack that changes its direction.
As described above, at the start of an enemy turn, a virtual world image to be displayed on the display section52is generated using the virtual camera corresponding to the operation target character set last in the player turn before the enemy turn. Then, during the enemy turn after that, the virtual camera is switched to a virtual camera corresponding to a corresponding target character automatically set in accordance with the action of an enemy character, thereby generating a virtual world image to be displayed on the display section52. Here, the corresponding target character is a player character to which the user should pay attention during an enemy turn, and is a player character of which, when an enemy character has performed an action in the enemy turn, the degree of association with the enemy character has become equal to or greater than a predetermined threshold, and which is most related to the enemy character. As a first example, if an enemy character moves in the virtual world in an enemy turn, a player character found by (having entered the range of field of view of) the enemy character is set as a corresponding target character. As a second example, a player character to be attacked by an enemy character in an enemy turn is set as a corresponding target character. As a third example, if an enemy character has entered an ambush range in an enemy turn, a player character having set the ambush range is set as a corresponding target character. As a fourth example, if an enemy character moves in the virtual world in an enemy turn, a player character placed within a predetermined distance from the enemy character and having come closest to the enemy character is set as a corresponding target character.
For example, an example ofFIG. 16shows an example of the game screen when the second player character PC2has been set as a corresponding target character by being found by the enemy character EC during an enemy turn. In this case, the virtual camera for displaying a virtual world image on the display section52during the enemy turn is switched to a virtual camera corresponding to the second player character PC2as the corresponding target character. As an example, a virtual camera corresponding to the newly set corresponding target character is placed at a position in front of which the corresponding target character is placed, and also a position on a straight line connecting an enemy character most related to the corresponding target character to the corresponding target character. Then, the virtual camera is set with such an orientation that the enemy character is a fixation point. As another example, a virtual camera corresponding to the newly set corresponding target character is placed within the corresponding target character and is set with such an orientation that an enemy character most related to the corresponding target character is a fixation point.
It should be noted that the position and/or the orientation of the virtual camera to be switched during an enemy turn may be changed in accordance with a user operation during the enemy turn. For example, based on the position and the orientation of a virtual camera initialized so as to correspond to the corresponding target character, the position and the orientation of the virtual camera can be changed within a predetermined range (e.g., 30° upward, downward, leftward, and rightward with respect to the corresponding target character) in accordance with a predetermined operation on the input section51during the enemy turn.
In addition, the virtual camera for displaying a virtual world image on the display section52during an enemy turn may be switched to another virtual camera by a user operation. For example, a virtual camera corresponding to the corresponding target character set as the virtual camera for displaying a virtual world image on the display section52may be switched to a virtual camera corresponding to another player character in accordance with a predetermined operation on the input section51during an enemy turn.
In addition, an ambush range as described above may be configured to be set also by an enemy character. In this case, in an enemy turn, the enemy turn is ended in the state where remaining action points are left that allow an enemy character to attack a player character, thereby setting an ambush range where an ambush attack is automatically made on a player character in a player turn to be executed next. Then, in the player turn, if a player character has entered the ambush range set by the enemy character, at the time when the player character crosses the line of fire of an ambush attack of the enemy character, an ambush attack is made on the player character. Further, in the player turn, if a player character has entered the ambush range set by the enemy character and has moved out of the ambush range before crossing the line of fire of an ambush attack of the enemy character, an ambush attack is not made on the player character. Further, in the player turn, if an ambush attack has been made on a player character or a player character has moved out of the ambush range before being subjected to an ambush attack, the ambush range set by the enemy character is also reset by moving the ambush range similarly to an ambush range set by a player character. Further, in the player turn, in response to the fact that an attack has been made on an enemy character having set an ambush range, or a player character has found the enemy character, the ambush range set by the enemy character may be reset by moving the ambush range.
In addition, player characters may be configured to hand over remaining action points to each other. For example, during a player turn, if the operation target character owns remaining action points that can be handed over, the user operates the input section51, thereby specifying the number of remaining action points to be handed over and a player character as the handover destination. In accordance with this handover operation, remaining action points to be handed over are consumed by the above number of points in the operation target character as the handover source, and remaining action points increase by the above number of points in the player character as the handover destination. In this case, the action of handing over remaining action points may be an action for settling the consumption action points. That is, if remaining action points have been handed over, consumption action point images APc of the operation target character as the handover source are erased to settle the consumption action points, and simultaneously, consumption action point images APc of the player character as the handover destination are also erased to settle the consumption action points.
In addition, in the above exemplary embodiment, the operation target character ends a player turn in the state where remaining action points are left that allow the operation target character to attack an enemy character, whereby it is possible to automatically make an ambush attack on an enemy character in accordance with the number of remaining action points in a next enemy turn. That is, a player character ends a player turn in the state where remaining action points are left, whereby the player character can perform an automatic action in an opponent turn and can perform the automatic action the number of times corresponding to the number of remaining action points left at the end of the player turn. It should be noted that it goes without saying that the action to be automatically performed by the player character in the opponent turn does not need to be an ambush attack action on an enemy character. For example, even in a versus game with an enemy character, the action to be automatically performed by the player character in the enemy turn may be the action of counterattacking the enemy character when the player character has been attacked by the enemy character in the enemy turn, the action of defending itself when the player character has been attacked by the enemy character in the enemy turn, the action of escaping when the player character has been attacked by the enemy character in the enemy turn, the action of finding the enemy character in the enemy turn, the action of recovering the life parameter of the player character itself in the enemy turn, or the like. Further, in the case of a game other than a versus game, the action to be automatically performed by the player character in the opponent turn may be the action of conforming to the action of an opponent character in the opponent turn, the action of going against the action of an opponent character in the opponent turn, the action of disturbing the action of an opponent character in the opponent turn, the action of giving a disadvantage to an opponent character in the opponent turn, or the like.
Next, a detailed description is given of information processing (e.g., game processing) performed by the information processing apparatus5. It should be noted that the following description of the information processing uses an example where game processing for performing the turn-based versus game described above is performed. First, with reference toFIG. 17, main data used in the information processing is described. It should be noted thatFIG. 17is a diagram showing examples of main data and programs stored in the storage section56of the information processing apparatus5.
As shown inFIG. 17, the following are stored in the data storage area of the storage section56: operation data Da; player character data Db; enemy character data Dc; operation target character data Dd; corresponding target character data De; virtual camera Df; player turn flag data Dg; enemy turn flag data Dh; image data Di; and the like. It should be noted that the storage section56may store, as well as the data shown inFIG. 17, data and the like necessary for the information processing (the game processing), such as other pieces of data used in a program to be executed. Further, in the program storage area of the storage section56, various programs Pa included in an information processing program (a game program) are stored.
The operation data Da has stored therein a series of pieces of operation information (operation data) acquired from the input section51and is updated to the latest operation data.
The player character data Db is data regarding each player character placed in a virtual world. For example, the player character data Db stores placement data Db1, remaining action point data Db2, consumption action point data Db3, ambush attack position data Db4, ambush attack fire line data Db5, ambush range data Db6, and the like for each player character. The placement data Db1is data representing the position, the orientation (the direction), the life (a parameter representing the physical strength, the endurance, the vital force, or the like of the player character), and the like of the player character in the virtual world. The remaining action point data Db2is data representing the number of remaining action points owned by the player character. The consumption action point data Db3is data representing the number of consumption action points owned by the player character. The ambush attack position data Db4is data representing an ambush attack position in the virtual world set by the player character. The ambush attack fire line data Db5is data representing the line of fire of an ambush attack in the virtual world set by the player character. The ambush range data Db6is data representing an ambush range in the virtual world set by the player character.
The enemy character data Dc is data regarding each enemy character placed in the virtual world. For example, the enemy character data Dc stores placement data Dc1, remaining action point data Dc2, ambush attack fire line data Dc5, ambush range data Dc6, and the like for each enemy character. The placement data Dc1is data representing the position, the orientation (the direction), the life (a parameter representing the physical strength, the endurance, the vital force, or the like of the enemy character), and the like of the enemy character in the virtual world. The remaining action point data Dc2is data representing the number of remaining action points owned by the enemy character. The ambush attack fire line data Dc5is data representing the line of fire of an ambush attack in the virtual world set by the enemy character. The ambush range data Dc6is data representing an ambush range in the virtual world set by the enemy character.
The operation target character data Dd is data representing a player character set as an operation target character in a player turn. The corresponding target character data De is data representing a player character set as a corresponding target character in an enemy turn.
The virtual camera Df is data representing the position, the orientation, the viewing angle, and the like of a virtual camera set so as to correspond to each player character and includes data for distinguishing a virtual camera currently used to display a virtual world image on the display section52.
The player turn flag data Dg is data representing a player turn flag indicating whether or not it is during a player turn. If it is during a player turn, the player turn flag is set to on. The enemy turn flag data Dh is data representing an enemy turn flag indicating whether or not it is during an enemy turn. If it is during an enemy turn, the enemy turn flag is set to on.
The image data Di includes character image data Di1, background image data Di2, and the like. The character image data Di1is data for placing each character in the virtual world to generate a game image. The background image data Di2is data for placing other objects and a background in the virtual world to generate a game image.
Next, with reference toFIGS. 18 to 23, detailed descriptions are given of the information processing (the game processing) performed by the information processing apparatus5. It should be noted thatFIG. 18is a flow chart showing an example of the information processing performed by the information processing apparatus5.FIG. 19is a subroutine showing an example of the early period of a player turn process of step65inFIG. 18.FIG. 20is a subroutine showing an example of the middle period of the player turn process of step65inFIG. 18.FIG. 21is a subroutine showing an example of the late period of the player turn process of step65inFIG. 18.FIG. 22is a subroutine showing an example of the first half of an enemy turn process of step69inFIG. 18.FIG. 23is a subroutine showing an example of the second half of the enemy turn process of step69inFIG. 18. Here, in the flow charts shown inFIGS. 18 to 23, descriptions are given mainly of, in the information processing performed by the information processing apparatus5, game processing for performing the above versus game. Detailed descriptions of other processes not directly related to these processes are omitted.
The control section55initializes the storage section32and the like and loads the information processing program (the game program) stored in the program storage section57into the storage section56. Then, the control section55starts the execution of the information processing program. The flow charts shown inFIGS. 18 to 23are flow charts showing the processing performed after the above processes are completed.
It should be noted that the processes of all the steps in the flow charts shown inFIGS. 18 to 23are merely illustrative. Thus, the processing order of the steps may be changed, or another process may be performed in addition to and/or instead of the processes of all the steps, so long as similar results are obtained. Further, in the exemplary embodiment, descriptions are given on the assumption that the CPU of the control section55performs the processes of all the steps in the flow charts. Alternatively, a processor or a dedicated circuit other than the CPU may perform the processes of some or all of the steps in the flow charts.
Referring toFIG. 18, the control section55performs an initialization process (step61) and advances the processing to the next step. For example, the control section55forms a virtual field used in the versus game, places a plurality of player characters and a plurality of characters on the virtual field to construct a virtual world to be displayed on the display section52, and initializes each parameter used in the game processing, thereby updating each piece of data stored in the storage section56. For example, the control section55places a virtual camera corresponding to each player character at an initial position and with an initial orientation. Further, the control section55initializes and sets action points owned by each character to 0, and brings the settings regarding an ambush attack and the settings of a corresponding target character into unset states. Further, the control section55selects one player character from among the plurality of player characters based on a predetermined rule and initializes the player character as an operation target character. Then, in accordance with a turn to be executed first (e.g., a player turn), the control section55sets the turn flags (for example, sets the player turn flag to on and sets the enemy turn flag to off).
Next, the control section55determines whether or not the current moment is during a player turn (step62). For example, if the player turn flag indicated by the player turn flag data Dg is set to on, the control section55determines that the current moment is during a player turn. Then, if the current moment is during a player turn, the control section55advances the processing to step63. If, on the other hand, the current moment is not during a player turn, the control section55advances the processing to step66.
In step63, the control section55determines whether or not the current moment is the time to start a player turn. For example, if the above step63is performed immediately after the player turn flag has been set to on, the control section55determines that the current moment is the time to start a player turn. Then, if the current moment is the time to start a player turn, the control section55advances the processing to step64. If, on the other hand, the current moment is not the time to start a player turn, the control section55advances the processing to step65.
In step64, the control section55initializes the action parameters of each player character and advances the processing to step65. For example, the control section55initializes the remaining action points of each player character to the maximum number of points set in advance for the player character, thereby updating the remaining action point data Db2. Further, the control section55initializes the consumption action points of each player character to 0, thereby updating the consumption action point data Db3. Further, the control section55sets the ambush attack position, the line of fire of an ambush attack, and the ambush range that are set by each player character to unset (canceled) states, thereby updating the ambush attack position data Db4, the ambush attack fire line data Db5, and the ambush range data Db6.
In step65, the control section55performs a player turn process and advances the processing to the next step. It should be noted that the player turn process performed in the above step65will be described later.
Next, the control section55determines whether or not the current moment is during an enemy turn (step66). For example, if the enemy turn flag indicated by the enemy turn flag data Dh is set to on, the control section55determines that the current moment is during an enemy turn. Then, if the current moment is during an enemy turn, the control section55advances the processing to step67. If, on the other hand, the current moment is not during an enemy turn, the control section55advances the processing to step70.
In step67, the control section55determines whether or not the current moment is the time to start an enemy turn. For example, if the above step67is performed immediately after the enemy turn flag has been set to on, the control section55determines that the current moment is the time to start an enemy turn. Then, if the current moment is the time to start an enemy turn, the control section55advances the processing to step68. If, on the other hand, the current moment is not the time to start an enemy turn, the control section55advances the processing to step69.
In step68, the control section55initializes the action parameters of each enemy character and advances the processing to step69. For example, the control section55initializes the remaining action points of each enemy character to the maximum number of points set in advance for the enemy character, thereby updating the remaining action point data Dc2. Further, the control section55sets the line of fire of an ambush attack and the ambush range that are set by each enemy character to unset (canceled) states, thereby updating the ambush attack fire line data Dc5and the ambush range data Dc6.
In step69, the control section55performs an enemy turn process and advances the processing to the next step. It should be noted that the enemy turn process performed in the above step69will be described later.
Next, the control section55determines whether or not the game is to be ended (step70). In the above step70, examples of conditions for ending the game include: the fact that the result of the above game has been settled; and the fact that the user has performed the operation of ending the game. If the game is not to be ended, the control section55returns to the above step62and repeats the process thereof. If the game is to be ended, the control section55ends the processing of the flow chart. Thereafter, the control section55repeatedly performs the series of processes of steps62to70until it is determined in step70that the game is to be ended.
With reference toFIG. 19, a description is given of the player turn process performed in the above step65.
Referring toFIG. 19, the control section55acquires operation data from the input section51, thereby updating the operation data Da (step81), and advances the processing to the next step.
Next, in accordance with the operation data acquired in the above step81, the control section55selects the operation target character to be operated in the player turn (step82) and advances the processing to the next step. For example, if the operation data acquired in the above step81indicates the operation of setting the operation target character, the control section55selects the operation target character from among the plurality of player characters in accordance with the operation and updates the operation target character data Dd using data representing the player character selected as the operation target character. Further, if the operation data acquired in the above step81does not indicate the operation of setting the operation target character, the control section55maintains the operation target character indicated by the operation target character data Dd and advances the processing to the next step.
Next, the control section55selects a virtual camera corresponding to the operation target character for drawing (step83) and advances the processing to the next step. For example, the control section55sets, as a virtual camera used for displaying a virtual world image on the display section52, a virtual camera set so as to correspond to the operation target character indicated by the operation target character data Dd, thereby updating the virtual camera data Df for distinguishing the set virtual camera.
Next, the control section55determines whether or not the player character set as the operation target character owns remaining action points (step84). For example, if the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character are 0, the control section55determines that the player character does not own remaining action points. Then, if the operation target character owns remaining action points, the control section55advances the processing to step85. Then, if, on the other hand, the operation target character does not own remaining action points, the control section55advances the processing to step133(seeFIG. 21).
In step85, the control section55determines whether or not to cause the operation target character to move in the virtual world. For example, if the operation data acquired in the above step81indicates the operation of causing the operation target character to move, the control section55makes an affirmative determination in the above step85. Then, if the operation target character is to be caused to move, the control section55advances the processing to step86. If, on the other hand, the operation target character is not to be caused to move, the control section55advances the processing to step101(seeFIG. 20).
In step86, the control section55determines whether or not the player character set as the operation target character owns remaining action points required for the movement. For example, if the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character are less than the number of points required for the movement, the control section55determines that the player character does not own remaining action points required for the movement. Then, if the operation target character owns remaining action points required for the movement, the control section55advances the processing to step87. If, on the other hand, the operation target character does not own remaining action points required for the movement, the control section55advances the processing to step101(seeFIG. 20).
In step87, in accordance with the operation data acquired in the above step81, the control section55causes the operation target character to move in the virtual world and advances the processing to the next step. For example, in accordance with the operation data, the control section55sets the moving direction and the moving velocity of the operation target character in the virtual world. Then, based on the above moving direction and moving velocity, the control section55sets the action of the player character moving from the position in the virtual world indicated by the placement data Db1of the player character set as the operation target character and updates the placement data Db1using the position after the movement and the orientation after the movement.
Next, in accordance with the movement of the operation target character, the control section55causes the virtual camera corresponding to the operation target character to move (step88) and advances the processing to the next step. For example, based on the position, after the movement, and the orientation, after the movement, of the operation target character that have been set in the above step87, the control section55sets the position and the orientation of the virtual camera set so as to correspond to the operation target character and updates data of the virtual camera related to the operation target character in the virtual camera data Df, using the set position and orientation of the virtual camera.
Next, the control section55determines whether or not the movement action of the operation target character performed in the above step87is a “return action” (step89). For example, as described above with reference toFIGS. 7 to 9, a “return action” is set in the above versus game. If the movement action of the operation target character performed in the above step87corresponds to this “return action”, the control section55makes an affirmative determination in the above step89. It should be noted that if the consumption action points indicated by the consumption action point data Db3of the player character set as the operation target character are 0, the control section55makes a negative determination in the above step89. Then, if the movement action of the operation target character performed in the above step87is not a “return action”, the control section55advances the processing to step90. If, on the other hand, the movement action of the operation target character performed in the above step87is a “return action”, the control section55advances the processing to step91.
In step90, the control section55converts remaining action points into consumption action points by the number of points corresponding to the amount of movement of the movement action of the operation target character performed in the above step87and advances the processing to step101(seeFIG. 20). For example, if the number of points to be consumed in accordance with the amount of movement of the movement action of the operation target character performed in the above step87is “1”, the control section55subtracts 1 from the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character, thereby updating the remaining action point data Db2, and adds 1 to the consumption action points indicated by the consumption action point data Db3of the player character, thereby updating the consumption action point data Db3. It should be noted that the case is considered where, if the player character set as the operation target character is found by an enemy character during movement, the remaining action points of the player character are settled. For the player character found by an enemy character as a result of the movement in the above step90, only remaining action points may be consumed in accordance with the movement, and consumption action points may be set to 0, thereby updating the remaining action point data Db2and the consumption action point data Db3of the player character.
On the other hand, in step91, the control section55restores consumption action points to remaining action points by the number of points corresponding to the amount of movement of the movement action of the operation target character performed in the above step87and advances the processing to step101(seeFIG. 20). For example, if the number of points to be restored in accordance with the amount of movement of the movement action of the operation target character performed in the above step87is “1”, the control section55subtracts 1 from the consumption action points indicated by the consumption action point data Db3of the player character set as the operation target character, thereby updating the consumption action point data Db3, and adds 1 to the remaining action points indicated by the remaining action point data Db2of the player character, thereby updating the remaining action point data Db2.
Referring next toFIG. 20, in step101, the control section55determines whether or not the operation target character is to attack an enemy character in the virtual world. For example, if the operation data acquired in the above step81indicates the attack operation of the operation target character, the control section55makes an affirmative determination in the above step101. Then, if the operation target character is to make an attack, the control section55advances the processing to step102. If, on the other hand, the operation target character is not to make an attack, the control section55advances the processing to step106.
In step102, the control section55determines whether or not the player character set as the operation target character owns remaining action points required for the attack. For example, if the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character are less than the number of points required for the player character to make an attack, the control section55determines that the player character does not own remaining action points required for the attack. Then, if the operation target character owns remaining action points required for the attack, the control section55advances the processing to step103. If, on the other hand, the operation target character does not own remaining action points required for the attack, the control section55advances the processing to step106.
In step103, in accordance with the operation data acquired in the above step81, the control section55performs the process of causing the operation target character to attack an enemy character in the virtual world and advances the processing to the next step. For example, in accordance with the operation data, the control section55sets an enemy character to be attacked by the operation target character in the virtual world and damage to be inflicted on the enemy character when the attack is successful. Then, in accordance with a predetermined algorithm, the control section55determines whether or not the attack is successful, then sets the action of the player character making the attack based on the orientation in the virtual world indicated by the placement data Db1of the player character set as the operation target character, and the action of the enemy character subjected to the attack based on the orientation of the enemy character indicated by the placement data Dc1, and updates the placement data Db1and the placement data Dc1using the orientations resulting from the set actions. Further, based on the determined success or failure of the attack and the set damage to be inflicted on the enemy character, the control section55changes the parameter indicating the life of the enemy character indicated by the placement data Dc1, thereby updating the placement data Dc1.
It should be noted that if the attacked enemy character has set an ambush range, the position of the ambush range may be changed toward the player character having made the attack. In this case, the direction of the line of fire of an ambush attack of the enemy is changed toward the player character having attacked the enemy character, at a predetermined angular velocity about the position of the enemy character, thereby updating the ambush attack fire line data Dc5of the enemy character. Then, the ambush range of the enemy is moved to a position having its center on the line of fire of an ambush attack of the enemy after the movement, and the ambush range data Dc6of the enemy character is updated using the position of the ambush range after the movement.
Next, the control section55reduces the remaining action points by the number of points corresponding to the content of the attack in the attack action of the operation target character performed in the above step103(step104) and advances the processing to the next step. For example, if the number of points to be consumed in accordance with the content of the attack in the attack action of the operation target character performed in the above step103is “2”, the control section55subtracts 2 from the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character, thereby updating the remaining action point data Db2.
Next, the control section55sets the consumption action points of the operation target character to 0 (step105) and advances the processing to step106. For example, the control section55sets the consumption action points indicated by the consumption action point data Db3of the player character set as the operation target character, to 0, thereby updating the consumption action point data Db3. If the player character set as the operation target character has attacked the enemy character as a result of the processes of steps104and105, the remaining action points decrease in accordance with the content of the attack, and simultaneously, the consumption action points become 0, thereby settling the remaining action points of the player character.
In step106, the control section55determines whether or not the operation target character is to make an ambush attack on an enemy character in the virtual world. For example, if the operation data acquired in the above step81indicates the operation of setting the ambush attack of the operation target character, the control section55makes an affirmative determination in the above step106. Then, if the operation target character is to make an ambush attack, the control section55advances the processing to step107. If, on the other hand, the operation target character is not to make an ambush attack, the control section55advances the processing to step110.
In step107, the control section55determines whether or not the player character set as the operation target character owns remaining action points required for the ambush attack. For example, if the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character are less than the number of points required for the player character to make an ambush attack, the control section55determines that the player character does not own remaining action points required for the ambush attack. Then, if the operation target character owns remaining action points required for the ambush attack, the control section55advances the processing to step108. If, on the other hand, the operation target character does not own remaining action points required for the ambush attack, the control section55advances the processing to step110.
In step108, in accordance with the operation data acquired in the above step81, the control section55performs the process of setting an ambush attack position in the virtual world and advances the processing to the next step. For example, in accordance with the operation data, the control section55sets an ambush attack position that is the center of an ambush range where the operation target character makes an ambush attack in the virtual world (seeFIGS. 10 and 11), and sets the ambush attack position data Db4of the player character set as the operation target character, using data (e.g., coordinate data) representing the set ambush attack position in the virtual world.
Next, based on the ambush attack position set in the above step108, the control section55performs the process of setting an ambush range in the virtual world and advances the processing to step110. For example, the control section55sets as an ambush range a range having a predetermined angle to each of the left and right of the operation target character with respect to the ambush attack position and also a range except for the blind spot of the operation target character (seeFIGS. 10 and 11) and sets the ambush range data Db6of the player character set as the operation target character, using data representing the set ambush range in the virtual world. Further, the control section55sets the line of fire of an ambush attack (seeFIGS. 10 and 11) in the direction from the operation target character to the ambush attack position in the virtual world and sets the ambush attack fire line data Db5of the player character set as the operation target character, using data representing the set line of fire of an ambush attack in the virtual world.
In step110, the control section55determines whether or not the operation target character is to perform the action of handing over remaining action points to another one of the player characters in the virtual world. For example, if the operation data acquired in the above step81indicates that the handover action is to be performed, the control section55makes an affirmative determination in the above step110. Then, if the operation target character is to perform the action of handing over remaining action points, the control section55advances the processing to step111. If, on the other hand, the operation target character is not to perform the action of handing over remaining action points, the control section55advances the processing to step121(seeFIG. 21).
In step111, in accordance with the operation data acquired in the above step81, the control section55performs the process for the action of the operation target character handing over remaining action points to another one of the player characters and advances the processing to the next step. For example, in accordance with the operation data, the control section55sets one of the player characters as the other party to which remaining action points are to be handed over, and the number of remaining action points to be handed over. Then, based on the other party and the number of points, the control section55sets the orientation in the virtual world indicated by the placement data Db1of the player character set as the operation target character, to the orientation (the action) of handing over remaining action points and sets the orientation in the virtual world indicated by the placement data Db1of the player character as the other party, to the orientation (the action) of receiving remaining action points, thereby updating the placement data Db1of each player character.
Next, in accordance with the number of remaining action points to be handed over, the control section55reduces the remaining action points of the operation target character (step112) and advances the processing to the next step. For example, based on the set number of remaining action points to be handed over, the control section55subtracts the number of points from the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character, thereby updating the remaining action point data Db2.
Next, in accordance with the number of remaining action points to be handed over, the control section55increases the remaining action points of the player character as the other party to which remaining action points are to be handed over (step113), and advances the processing to the next step. For example, based on the set number of remaining action points to be handed over, the control section55adds the number of points to the remaining action points indicated by the remaining action point data Db2of the player character as the other party to which remaining action points are to be handed over, thereby updating the remaining action point data Db2.
Next, the control section55sets the consumption action points of each of the operation target character and the player character as the other party to which remaining action points are to be handed over, to 0 (step114), and advances the processing to step121(seeFIG. 21). For example, the control section55sets the consumption action points indicated by the consumption action point data Db3of the player character set as the operation target character and the consumption action points indicated by the consumption action point data Db3of the player character as the other party to which remaining action points are to be handed over, to 0, thereby updating the consumption action point data Db3of each player character. If the player character set as the operation target character has handed over remaining action points to the other character as a result of the processes of steps112to114, the remaining action points increase and/or decrease in accordance with the number of points to be handed over, and simultaneously, the consumption action points become 0, thereby settling the remaining action points of the player character.
Referring next toFIG. 21, in step121, the control section55determines whether or not the operation target character has entered the ambush range of an enemy character set in the virtual world. For example, based on the placement position in the virtual world indicated by the placement data Db1of the player character set as the operation target character and the ambush range in the virtual world indicated by the ambush range data Dc6set by each enemy character, the control section55determines whether or not the operation target character has entered the ambush range of an enemy character, based on whether or not the placement position of the player character is included in any of the ambush ranges. Then, if the operation target character has entered the ambush range of an enemy character, the control section55advances the processing to step122. If, on the other hand, the operation target character has not entered the ambush range of an enemy character, the control section55advances the processing to step128. It should be noted that when it is determined whether or not the placement position of the player character is included in any of the ambush ranges, determinations may be made in multiple steps. For example, in a first determination, a determination is not made using the accurate ambush range, but a temporary determination is made using a rough ambush range including the ambush range (for example, the virtual world is divided into a plurality of blocks, and the block including the ambush range is set as a rough ambush range). Then, if it is determined in the temporary determination that the operation target character has entered the rough ambush range, a final determination regarding the placement position of the player character is made using the boundary line of the accurate ambush range. Determinations in two or more steps are thus made, whereby it is possible to reduce the processing load required for the determination of entry into the ambush range.
In step122, the control section55determines whether or not the operation target character having entered the ambush range of an enemy character crosses the line of fire of an ambush attack set in the ambush range. For example, based on the placement position in the virtual world indicated by the placement data Db1of the player character set as the operation target character and the line of fire of an ambush attack in the virtual world indicated by the ambush attack fire line data Dc5of the enemy character having set the ambush range entered by the player character, if a predetermined range having its center at the placement position of the player character crosses the line of fire of an ambush attack, the control section55makes an affirmative determination in the above step122. Then, if the operation target character crosses the line of fire of an ambush attack, the control section55advances the processing to step123. If, on the other hand, the operation target character does not cross the line of fire of an ambush attack, the control section55advances the processing to step126.
In step123, the control section55performs the process of the operation target character being subjected to an ambush attack by the enemy character having set the ambush range in the virtual world and advances the processing to the next step. For example, in accordance with a predetermined algorithm, the control section55determines whether or not the ambush attack of the enemy character on the operation target character in the virtual world is to be successful. Then, the control section55sets damage to be inflicted on the operation target character when the ambush attack is successful. Then, based on the orientation in the virtual world indicated by the placement data Db1of the player character set as the operation target character, the control section55sets the action of being subjected to the ambush attack by the enemy character. Based on the orientation of the enemy character indicated by the placement data Dc1, the control section55sets the action of the enemy character making the ambush attack. Then, the control section55updates the placement data Db1and the placement data Dc1using the orientations resulting from the set actions. Further, based on the determined success or failure of the ambush attack and the set damage to be inflicted on the operation target character, the control section55changes the parameter indicating the life indicated by the placement data Db1of the player character set as the operation target character, thereby updating the placement data Db1. Further, the control section55reduces the remaining action points of the enemy character having made the ambush attack, by the number of points corresponding to the content of the attack in the ambush attack action and updates the remaining action point data Dc2of the enemy character using the number of remaining action points resulting from the reduction.
Next, the control section55determines whether or not the enemy character having made the ambush attack in the above step123owns remaining action points required to make an ambush attack anew (step124). For example, if the remaining action points indicated by the remaining action point data Dc2of the enemy character having made the ambush attack are less than the number of points required for the enemy character to make an ambush attack anew, the control section55determines that the enemy character does not own remaining action points required for the ambush attack. Then, if the enemy character owns remaining action points required to make an ambush attack anew, the control section55advances the processing to step133. If, on the other hand, the enemy character does not own remaining action points required to make an ambush attack anew, the control section55advances the processing to step125.
In step125, the control section55cancels the ambush range set by the enemy character having made the ambush attack in the above step123and advances the processing to step133. For example, the control section55deletes the ambush range indicated by the ambush range data Dc6of the enemy character having made the ambush attack in the above step123, thereby canceling the ambush range.
If, on the other hand, it is determined in the above step122that the operation target character does not cross the line of fire of an ambush attack, the control section55performs the process of moving the line of fire of an ambush attack (step126) and advances the processing to the next step. For example, based on the placement position in the virtual world indicated by the placement data Db1of the player character set as the operation target character, the placement position in the virtual world indicated by the placement data Dc1of the enemy character having set the ambush range entered by the player character, and the line of fire of an ambush attack in the virtual world indicated by the ambush attack fire line data Dc5of the enemy character, the control section55moves the line of fire of an ambush attack at a predetermined angular velocity about the placement position of the enemy character so as to come close to the placement position of the player character. Then, the control section55updates the ambush attack fire line data Dc5of the enemy character using the position of the line of fire of an ambush attack after the movement.
Next, the control section55performs the process of moving the ambush range (step127) and advances the processing to step133. For example, the control section55moves the ambush range in which the line of fire of an ambush attack moved in the above step126is set, to a position having its center on the line of fire of an ambush attack after the movement, and updates the ambush range data Dc6corresponding to the moved ambush range, using the position of the ambush range after the movement.
If it is determined in the above step121that the operation target character has not entered the ambush range of an enemy character set in the virtual world, the control section55determines whether or not the operation target character is to perform another action in the virtual world. For example, if the operation data acquired in the above step81indicates the operation of causing the operation target character to perform another action, the control section55makes an affirmative determination in the above step121. Then, if the operation target character is to perform another action, the control section55advances the processing to step129. If, on the other hand, the operation target character is not to perform another action, the control section55advances the processing to step133.
In step129, the control section55performs the process of causing the operation target character to perform another action and advances the processing to the next step. For example, in accordance with the operation data, the control section55sets another action to be performed by the player character, based on the placement data Db1of the player character set as the operation target character and the like, and updates the placement data Db1and the like using the orientation resulting from the set action.
Next, in accordance with the content of the other action performed by the operation target character in the above step129, the control section55reduces the remaining action points where necessary (step130) and advances the processing to the next step. For example, if the number of points to be consumed in accordance with the content of the other action performed by the operation target character in the above step129is “1”, the control section55subtracts 1 from the remaining action points indicated by the remaining action point data Db2of the player character set as the operation target character, thereby updating the remaining action point data Db2.
Next, the control section55determines whether or not the other action performed by the operation target character in the above step129is an action for settling the remaining action points (step131). For example, in this versus game, actions to be performed by the player character are classified into an action for settling the remaining action points and an action for not settling the remaining action points. In the above step131, the determination is made based on this classification. As an example, if the player character has performed the action of obtaining a first item placed in the virtual world, or the player character has performed the operation of being found by an enemy, it may be determined that the other action is an action for settling the remaining action points. As another example, if the other action is the action of the player character obtaining a second item different in type from the first item placed in the virtual world, it may be determined the other action is an action for not settling the remaining action points. If the other action is the action of settling the remaining action points, the control section55advances the processing to step132. If, on the other hand, the other action is an action for not settling the remaining action points, the control section55advances the processing to step133.
In step132, the control section55sets the consumption action points of the operation target character to 0 and advances the processing to step133. For example, the control section55sets the consumption action points indicated by the consumption action point data Db3of the player character set as the operation target character, to 0, thereby updating the consumption action point data Db3. If the player character set as the operation target character has performed the other action of settling the points as a result of the processes of steps131and132, the remaining action points decrease in accordance with the content of the action, and simultaneously, the consumption action points become 0, thereby settling the remaining action points of the player character.
In step133, in accordance with the action points of the player character set as the operation target character, the control section55performs the process of setting an action point gauge and displaying the action point gauge on the display section52and advances the processing to the next step. For example, based on the remaining action points and the consumption action points indicated by the remaining action point data Db2and the consumption action point data Db3of the player character set as the operation target character, the control section55sets the numbers and the placement positions of remaining action point images APr and consumption action point images APc to be displayed in an action point gauge G. Further, in accordance with the number of remaining action points to be consumed when the player character makes an attack, the control section55sets the size and the placement position of an attack consumption frame image B. Then, the control section55reads, from the image data Di, a VRAM (Video RAM), or the like, data necessary for generating a game image, thereby generating an image of the action point gauge G (seeFIG. 2toFIGS. 8 and 10), and stores the generated image in the VRAM.
Next, the control section55performs the process of generating a virtual world image to be displayed on the display section52and displaying the virtual world image on the display section52(step134) and advances the processing to the next step. For example, the control section55reads, from the storage section56, pieces of data representing the results of the player turn process, reads, from the image data Di, the VRAM, or the like, data necessary for generating a virtual world image, thereby generating a virtual world image, and stores the generated virtual world image in the VRAM so that the image of the action point gauge G is displayed in a superimposed manner. As an example, a virtual world image is generated as a three-dimensional (or two-dimensional) CG image obtained by: placing each player character in the virtual world based on the placement data Db1; placing each enemy character in the virtual world based on the placement data Dc1; and calculating the virtual world viewed from the virtual camera set for drawing and placed based on the virtual camera data Df.
Next, the control section55determines whether or not the player turn is to be ended (step135). Examples of conditions for ending the player turn in the above step135include: the satisfaction of the condition under which the player turn is ended; and the fact that the user has performed the operation of ending the player turn. Then, if the player turn is to be ended, the control section55advances the processing to step136. If, on the other hand, the player turn is to be ended, the control section55ends the processing of this subroutine.
In step136, the control section55sets the player turn flag to off and the enemy turn flag to on and ends the processing of the subroutine. For example, the control section55sets the player turn flag to off, thereby updating the player turn flag data Dg, and sets the enemy turn flag to on, thereby updating the enemy turn flag data Dh.
With reference toFIG. 22, a description is given of the enemy turn process performed in the above step69.
Referring toFIG. 22, the control section55acquires operation data from the input section51, thereby updating the operation data Da (step141), and advances the processing to the next step.
Next, the control section55selects from among a plurality of enemy characters an enemy character to perform an action, causes the enemy character to perform an action in the virtual world based on a predetermined algorithm (step142), and advances the processing to the next step. For example, in accordance with the above action, the control section55updates the placement data Dc1of the enemy character having performed the above action.
Next, in accordance with the content of the action performed by the enemy character in the above step142, the control section55reduces the remaining action points where necessary (step143) and advances the processing to the next step. For example, if the number of points to be consumed in accordance with the content of the action performed by the enemy character in the above step142is “1”, the control section55subtracts 1 from the remaining action points indicated by the remaining action point data Dc2of the enemy character having performed the action, thereby updating the remaining action point data Dc2.
Next, the control section55determines whether or not there is a player character (a corresponding target character) set as a corresponding target by the action of the enemy character performed in the above step142(step144). Here, a corresponding target character is a player character which, when an enemy character has performed an action, has the degree of association with the enemy character greater than a predetermined threshold and is most related to the enemy character. Then, if there is a corresponding target character, the control section55updates the corresponding target character data De using data representing the player character selected as the corresponding target character and advances the processing to step145. If, on the other hand, there is not a corresponding target character, the control section55advances the processing to step147.
In step145, the control section55selects a virtual camera corresponding to the corresponding target character for drawing and advances the processing to the next step. For example, the control section55sets, as a virtual camera used for displaying a virtual world image on the display section52, a virtual camera set so as to correspond to the corresponding target character indicated by the corresponding target character data De, thereby updating the virtual camera data Df for distinguishing the set virtual camera.
Next, the control section55performs a process on the player character set as the corresponding target character where necessary (step146) and advances the processing to step147. For example, in accordance with the content of the setting of the player character as the corresponding target character, the control section55performs a process on the player character. As a first example, if the player character has been set as the corresponding target character by being found by (entering the range of field of view of) an enemy character, the control section55sets an action indicating that the player character has been found by the enemy character, and updates the placement data Db1of the player character using the orientation resulting from the set action. As a second example, if the player character has been set as the corresponding target character by being attacked by an enemy character, the control section55sets the action of being attacked by the enemy character and damage resulting from the attack and updates the placement data Db1of the player character using the orientation and the damage resulting from the set action. As a third example, if the player character has been set as the corresponding target character by an enemy character entering the ambush range of the player character, the control section55sets the action of making an ambush attack on the enemy character and updates the placement data Db1of the player character using the orientation resulting from the set action.
It should be noted that if the player character set as the corresponding target has set an ambush range, the position of the ambush range may be changed toward the enemy character having set the corresponding target. In this case, the direction of the line of fire of an ambush attack of the player character is changed toward the enemy character having set the player character as the corresponding target, at a predetermined angular velocity about the position of the player character, thereby updating the ambush attack fire line data Db5of the player character. Then, the ambush range of the player character is moved to a position having its enter on the line of fire of an ambush attack of the player character after the movement, and the ambush range data Db6of the player character is updated using the position of the ambush range after the movement.
In step147, the control section55determines whether or not to set the enemy character to make an ambush attack on the player character in the virtual world. Then, if the enemy character is to be set to make an ambush attack, the control section55advances the processing to step148. If, on the other hand, the enemy character is not to be set to make an ambush attack, the control section55advances the processing to step149.
In step148, the control section55performs the process of setting an ambush range and the line of fire of an ambush attack in the virtual world and advances the processing to step149. For example, based on the enemy character set to make an ambush attack, the control section55sets as an ambush range a range having a predetermined angle to each of the left and right of the enemy character and also a range except for the blind spot of the enemy character and sets the ambush range data Dc6of the enemy character using data representing the ambush range in the virtual world. Further, the control section55sets the line of fire of an ambush attack in the direction from the enemy character to the front (the center of the ambush range) in the virtual world and sets the ambush attack fire line data Dc5of the enemy character using data representing the line of fire of an ambush attack in the virtual world.
In step149, the control section55determines whether or not the operation of moving the virtual camera has been performed. For example, if the operation data acquired in the above step141indicates the operation of moving the virtual camera, the control section55makes an affirmative determination in the above step149. Then, if the virtual camera is to be moved, the control section55advances the processing to step150. If, on the other hand, the virtual camera is not to be moved, the control section55advances the processing to step161(seeFIG. 23).
In step150, in accordance with the operation data acquired in the above step141, the control section55changes the position and/or the orientation of the virtual camera set for drawing and advances the processing to step161(seeFIG. 23). For example, based on the initial position and the initial orientation set for the virtual camera set for drawing, the control section55changes the position and/or the orientation of the virtual camera within a predetermined range (e.g., within 30° upward, downward, leftward, and rightward with respect to the corresponding target character) in accordance with the operation data acquired in the above step141and updates the virtual camera data Df using the position and/or the orientation of the virtual camera after the change.
Referring next toFIG. 23, in step161, the control section55determines whether or not an enemy character has entered the ambush range of the player character set in the virtual world. For example, based on the placement position in the virtual world indicated by the placement data Dc1of an enemy character as an action target at the current moment and the ambush range in the virtual world indicated by the ambush range data Db6set by each player character, the control section55determines whether or not the enemy character has entered the ambush range of the player character, based on whether or not the placement position of the enemy character is included in any of the ambush ranges. Then, if the enemy character has entered the ambush range of the player character, the control section55advances the processing to step162. If, on the other hand, the enemy character has not entered the ambush range of the player character, the control section55advances the processing to step171. It should be noted that the method for determining whether or not the character has entered the ambush range is similar to that in step121described above, and therefore is not described in detail.
In step162, the control section55determines whether or not the enemy character having entered the ambush range of the player character crosses the line of fire of an ambush attack set in the ambush range. For example, based on the placement position in the virtual world indicated by the placement data Dc1of the enemy character having entered the ambush range of the player character and the line of fire of an ambush attack in the virtual world indicated by the ambush attack fire line data Db5of the player character having set the ambush range entered by the enemy character, if a predetermined range having its center at the placement position of the enemy character crosses the line of fire of an ambush attack, the control section55makes an affirmative determination in the above step162. Then, if the enemy character crosses the line of fire of an ambush attack, the control section55advances the processing to step163. If, on the other hand, the enemy character does not cross the line of fire of an ambush attack, the control section55advances the processing to step169.
In step163, the control section55performs the process of the enemy character being subjected to an ambush attack by the player character having set the ambush range in the virtual world and advances the processing to the next step. For example, in accordance with a predetermined algorithm, the control section55determines whether or not the ambush attack of the player character on the enemy character in the virtual world is to be successful. Then, the control section55sets damage to be inflicted on the enemy character when the ambush attack is successful. Then, the control section55sets the action of being subjected to the ambush attack by the player character based on the orientation in the virtual world indicated by the placement data Dc1of the enemy character, also sets the action of the player character making the ambush attack based on the orientation of the player character indicated by the placement data Db1of the player character to make the ambush attack, and updates the placement data Dc1and the placement data Db1using the orientations resulting from the set actions. Further, based on the determined success or failure of the ambush attack and the set damage to be inflicted on the enemy character, the control section55changes the parameter indicating the life indicated by the placement data Dc1of the enemy character, thereby updating the placement data Dc1.
Next, in accordance with the content of the attack in the performed ambush attack action, the control section55reduces the remaining action points of the player character (step164) and advances the processing to the next step. For example, the control section55reduces the remaining action points of the player character having made the ambush attack, by the number of points corresponding to the content of the attack in the ambush attack action and updates the remaining action point data Db2of the player character using the number of remaining action points resulting from the reduction.
Next, the control section55determines whether or not to give a special effect to the enemy character subjected to the ambush attack action (step165). Here, the special effect refers to an effect that is not obtained when a player character attacks an enemy character during a player turn. For example, the special effect is the effect of making the enemy character incapable of performing an action when subjected to the ambush attack, or the effect of inflicting relatively great damage on the enemy character. A special effect is given to the enemy character subjected to the ambush attack action with a predetermined probability. Then, if a special effect is to be given to the enemy character subjected to the ambush attack action, the control section55advances the processing to step166. If, on the other hand, a special effect is not to be given to the enemy character subjected to the ambush attack action, the control section55advances the processing to step167.
In step166, the control section55performs the process of giving a special effect to the enemy character subjected to the ambush attack action and advances the processing to step167. For example, if the special effect to be given to the enemy character is the effect of making the enemy character incapable of performing an action, the control section55sets the remaining action points indicated by the remaining action point data Dc2of the enemy character subjected to the ambush attack action, to 0, thereby updating the remaining action point data Dc2. Further, if the special effect to be given to the enemy character is the effect of inflicting relatively great damage, the control section55further reduces the life of the enemy character subjected to the ambush attack action, thereby updating the placement data Db1of the enemy character.
In step167, the control section55determines whether or not the player character having made the ambush attack in the above step163owns remaining action points required to make an ambush attack anew. For example, if the remaining action points indicated by the remaining action point data Db2of the player character having made the ambush attack are less than the number of points required for the player character to make an ambush attack anew, the control section55determines that the player character does not own remaining action points required for the ambush attack. Then, if the player character owns remaining action points required to make an ambush attack anew, the control section55advances the processing to step171. If, on the other hand, the player character does not own remaining action points required to make an ambush attack anew, the control section55advances the processing to step168.
It should be noted that if the player character having made the ambush attack in the above step163owns remaining action points required to make an ambush attack anew, the player character may continuously make an ambush attack anew on the same enemy character on which the player character has made the ambush attack. In this case, the player character having made the ambush attack in the above step163continues to make an ambush attack on the same enemy character until the number of remaining action points becomes less than the number of points required to make an ambush attack.
In step168, the control section55cancels the ambush range set by the player character having made the ambush attack in the above step163and advances the processing to step171. For example, the control section55deletes the ambush range indicated by the ambush range data Db6of the player character having made the ambush attack in the above step163, thereby canceling the ambush range.
If, on the other hand, it is determined in the above step162that the enemy character having entered the ambush range does not cross the line of fire of an ambush attack, the control section55performs the process of moving the line of fire of an ambush attack of the player character (step169) and advances the processing to the next step. For example, based on the placement position in the virtual world indicated by the placement data Dc1of the enemy character having entered the ambush range, the placement position in the virtual world indicated by the placement data Db1of the player character having set the ambush range entered by the enemy character, and the line of fire of an ambush attack in the virtual world indicated by the ambush attack fire line data Db5of the player character, the control section55moves the line of fire of an ambush attack at a predetermined angular velocity about the placement position of the player character so as to come close to the placement position of the enemy character. Then, the control section55updates the ambush attack fire line data Db5of the player character using the position of the line of fire of an ambush attack after the movement.
Next, the control section55performs the process of moving the ambush range of the player character (step170) and advances the processing to step171. For example, the control section55moves the ambush range in which the line of fire of an ambush attack moved in the above step169is set, to a position having its center on the line of fire of an ambush attack after the movement, and updates the ambush range data Db6corresponding to the moved ambush range, using the position of the ambush range after the movement.
In step171, in accordance with the action points of the player character for which the virtual camera for drawing has been set, the control section55performs the process of setting an action point gauge and displaying the action point gauge on the display section52and advances the processing to the next step. For example, based on the remaining action points and the consumption action points indicated by the remaining action point data Db2and the consumption action point data Db3of the player character for which the virtual camera for drawing has been set (e.g., the corresponding target character or the player character having performed an action last in the most recent player turn), the control section55sets the numbers and the placement positions of remaining action point images APr and consumption action point images APc to be displayed in an action point gauge G. Further, in accordance with the number of remaining action points to be consumed when the player character makes an attack, the control section55sets the size and the placement position of an attack consumption frame image B. Then, the control section55reads, from the image data Di, the VRAM (Video RAM), or the like, data necessary for generating a game image, thereby generating an image of the action point gauge G (seeFIG. 13), and stores the generated image in the VRAM.
Next, the control section55performs the process of generating a virtual world image to be displayed on the display section52and displaying the virtual world on the display section52(step172) and advances the processing to the next step. For example, the control section55reads, from the storage section56, pieces of data representing the results of the enemy turn process and reads, from the image data Di, the VRAM, of the like, data necessary for generating a virtual world image, thereby generating a virtual world image, and stores the generated virtual world image in the VRAM so that the image of the action point gauge G is displayed in a superimposed manner. As an example, a virtual world image is generated as a three-dimensional (or two-dimensional) CG image obtained by: placing each player character in the virtual world based on the placement data Db1; placing each enemy character in the virtual world based on the placement data Dc1; and calculating the virtual world viewed from the virtual camera set for drawing and placed based on the virtual camera data Df. It should be noted that the image of the action point gauge G may not be displayed, superimposed on the virtual world image during the enemy turn. For example, if remaining action points do not remain for the player character for which the virtual camera for drawing has been set, or if the player character is not performing an action such as an ambush attack, the image of the action point gauge G may not be displayed, superimposed on the virtual world image.
Next, the control section55determines whether or not the enemy turn is to be ended (step173). Examples of conditions for ending the enemy turn in the above step173include: the satisfaction of the condition under which the enemy turn is ended. Then, if the enemy turn is to be ended, the control section55advances the processing to step174. If, on the other hand, the enemy turn is not to be ended, the control section55ends the processing of the subroutine.
In step174, the control section55sets the player turn flag to on and the enemy turn flag to off and ends the processing of the subroutine. For example, the control section55sets the player turn flag to on, thereby updating the player turn flag data Dg, and sets the enemy turn flag to off, thereby updating the enemy turn flag data Dh.
It should be noted that the above descriptions have been given using an example where the information processing apparatus5performs the information processing (the game processing). Alternatively, another apparatus other than the information processing apparatus5may perform at least some of the processing steps in the processing. For example, if the information processing apparatus5is further configured to communicate with another apparatus other than the information processing apparatus5(e.g., another server, another game apparatus, or another mobile terminal), the other apparatus may cooperate to perform the processing steps of the processing. Another apparatus may thus perform at least some of the processing steps in the processing, which enables processing similar to that described above. Further, the processing described above can be performed by a processor or the cooperation of a plurality of processors, the processor or the plurality of processors included in an information processing system including at least one information processing apparatus. Further, in the above exemplary embodiment, the processing of the flow charts described above is performed by the control section55of the information processing apparatus5executing a predetermined program. Alternatively, part or all of the processing of the flow charts may be performed by a dedicated circuit included in the information processing apparatus5.
Here, the above variations make it possible to achieve the exemplary embodiment also by a system form such as cloud computing, or a system form such as a distributed wide area network or a local area network. For example, in a system form such as a distributed local area network, it is possible to execute the processing between a stationary information processing apparatus (a stationary game apparatus) and a mobile information processing apparatus (a mobile game apparatus) by the cooperation of the apparatuses. It should be noted that, in these system forms, there is no particular limitation on which apparatus performs the process of each step in the above processing. Thus, it goes without saying that it is possible to achieve the exemplary embodiment by sharing the processing in any manner.
In addition, the processing orders, the setting values, the conditions used in the determinations, and the like that are used in the game processing described above are merely illustrative. Thus, it goes without saying that the exemplary embodiment can be achieved also with other orders, other values, and other conditions. Further, the above exemplary embodiment has been described using game processing, taking a versus game as an example. Alternatively, the exemplary embodiment can be achieved not only by a versus game but also by another game.
In addition, the information processing program (the game program) may be supplied to the information processing apparatus5not only through an external storage medium such as an external memory, but also through a wired or wireless communication link. Further, the program may be stored in advance in a non-volatile storage device included in the information processing apparatus5. It should be noted that examples of an information storage medium having stored therein the program may include CD-ROMs, DVDs, optical disk storage media similar to these, flexible disks, hard disks, magneto-optical disks, and magnetic tapes, as well as non-volatile memories. Alternatively, an information storage medium having stored therein the program may be a volatile memory for storing the program. It can be said that such a storage medium is a storage medium readable by a computer or the like. For example, it is possible to provide the various functions described above by causing a computer or the like to load a program from the storage medium and execute it.
While some exemplary systems, exemplary methods, exemplary devices, and exemplary apparatuses have been described in detail above, the above descriptions are merely illustrative in all respects, and do not limit the scope of the systems, the methods, the devices, and the apparatuses. It goes without saying that the systems, the methods, the devices, and the apparatuses can be improved and modified in various manners without departing the spirit and scope of the appended claims. It is understood that the scope of the systems, the methods, the devices, and the apparatuses should be interpreted only by the scope of the appended claims. Further, it is understood that the specific descriptions of the exemplary embodiment enable a person skilled in the art to carry out an equivalent scope on the basis of the descriptions of the exemplary embodiment and general technical knowledge. It should be understood that, when used in the specification, the components and the like described in the singular with the word “a” or “an” preceding them do not exclude the plurals of the components. Furthermore, it should be understood that, unless otherwise stated, the terms used in the specification are used in their common meanings in the field. Thus, unless otherwise defined, all the jargons and the technical terms used in the specification have the same meanings as those generally understood by a person skilled in the art in the field of the exemplary embodiment. If there is a conflict, the specification (including definitions) takes precedence.
As described above, the exemplary embodiment is useful as, for example, a game program, a game apparatus, a game system, a game processing method, and the like in order, for example, to further increase the level of strategy of a game.
Claims
- A computer-readable storage medium having stored therein a game program executed by a computer capable of executing a game that advances by alternately repeating a player turn, in which a player character can perform an action in a virtual world in accordance with a player input, and an opponent turn, in which an opponent character can perform an action, the computer included in an information processing apparatus, the game program causing the computer to execute: acquiring an input;causing a first player character to perform an action by operating the first player character in accordance with the input;causing a second player character to perform an action by operating the second player character in accordance with the input;switching a player character as an action target for performing an action corresponding to the input;setting a position and/or a direction of a virtual camera in accordance with a position and/or a direction, in the virtual world, of the player character as the action target, and changing the position and/or the direction of the virtual camera in accordance with the action of the player character;displaying on a display apparatus an image of the virtual world viewed from the virtual camera set for the player character as the action target;and ending the player turn, wherein in the switching of the action target, the action target can be switched to the second player character during the operation on the first player character as the action target in the same player turn so that a first position and/or direction of the virtual camera having a point of view at the back of the first player character and having a fixation point in the forward direction of the first player character is switched to a second position and/or direction of the virtual camera having a point of view at the back of the second player character and having a fixation point in the forward direction of the second player character.
- The computer-readable storage medium having stored therein the game program according to claim 1 , wherein in the switching of the action target, the action target can be switched to the second player character during the operation on the first player character as the action target in the same player turn, and the action target can be switched to the first player character again after the action of the second player character during the same player turn, and in causing the first player character to perform an action, if the first player character has been set as the action target again during the same player turn, the first player character is caused to perform an action again in accordance with the input.
- The computer-readable storage medium having stored therein the game program according to claim 2 , the game program further causing the computer to execute: setting first action points that allow the first player character to perform an action in the virtual world during a player turn, and subtracting a point from the first action points in accordance with the action of the first player character during the player turn;and setting second action points that allow the second player character to perform an action in the virtual world during a player turn, and subtracting a point from the second action points in accordance with the action of the second player character during the player turn, wherein in causing the first player character to perform an action, if the first action points set in the setting of the first action points remain, the first player character is caused to perform an action in the virtual world in accordance with the input, in causing the second player character to perform an action, if the second action points set in the setting of the second action points remain, the second player character is caused to perform an action in the virtual world in accordance with the input, and in causing the first player character to perform an action, if the first player character has been set as the action target again during the same player turn, the first player character is caused to perform an action again in accordance with the number of the remaining first action points during the player turn and with the input.
- The computer-readable storage medium having stored therein the game program according to claim 3 , wherein in the setting of the first action points, if an action of returning the action performed by the first player character during the same player turn has been performed, the first action points are restored by the number of points corresponding to the return action, and in the setting of the second action points, if an action of returning the action performed by the second player character during the same player turn has been performed, the second action points are restored by the number of points corresponding to the return action.
- The computer-readable storage medium having stored therein the game program according to claim 3 , the game program further causing the computer to execute, in accordance with the input, handing over at least some of the remaining first action points set for the first player character to the second player character, wherein in the setting of the first action points, if at least some of the remaining first action points have been handed over to the second player character, the number of the handed-over points are subtracted from the set first action points, and in the setting of the second action points, if at least some of the remaining first action points have been handed over to the second player character, the number of the handed-over points is added to the set second action points.
- The computer-readable storage medium having stored therein the game program according to claim 4 , wherein in the display of the image of the virtual world on the display apparatus, a remaining number indicator image indicating at least the number of remaining action points set for the player character as the action target is displayed on the display apparatus, and in the display of the image of the virtual world on the display apparatus, if the action points have been restored, the remaining number indicator image is displayed on the display apparatus by increasing the remaining number indicator image in accordance with the number of the recovered points.
- The computer-readable storage medium having stored therein the game program according to claim 4 , wherein in the display of the image of the virtual world on the display apparatus, a remaining number indicator image indicating at least the number of remaining action points set for the player character as the action target is displayed on the display apparatus, and in the display of the image of the virtual world on the display apparatus, a restoration capability indicator image indicating the number of points that can be recovered is provided to the remaining number indicator image and displayed on the display apparatus.
- The computer-readable storage medium having stored therein the game program according to claim 4 , wherein in the setting of the first action points, if the first player character satisfies a predetermined condition during the same player turn, the first action points that can be recovered are limited to the number of points at the time of the satisfaction of the condition, and in the setting of the second action points, if the second player character satisfies a predetermined condition during the same player turn, the second action points that can be recovered are limited to the number of points at the time of the satisfaction of the condition.
- The computer-readable storage medium having stored therein the game program according to claim 8 , wherein in the setting of the first action points, if the first player character has acquired a predetermined item during the same player turn, the first action points that can be recovered are limited to the number of points at the time of the acquisition of the item, and in the setting of the second action points, if the second player character has acquired the item during the same player turn, the second action points that can be recovered are limited to the number of points at the time of the acquisition of the item.
- The computer-readable storage medium having stored therein the game program according to claim 8 , wherein in the setting of the first action points, if the first player character has acquired a first item during the same player turn, it is determined that the predetermined condition is satisfied, and if the first player character has acquired a second item different in type from the first item, it is determined that the predetermined condition is not satisfied, and in the setting of the second action points, if the second player character has acquired the first item during the same player turn, it is determined that the predetermined condition is satisfied, and if the second player character has acquired the second item, it is determined that the predetermined condition is not satisfied.
- The computer-readable storage medium having stored therein the game program according to claim 1 , the game program further causing the computer to execute: starting the opponent turn;causing at least one non-player character to perform an action in the virtual world during the opponent turn;and selecting a player character as a corresponding target having a relationship with the non-player character performing an action during the opponent turn, the relationship satisfying a predetermined condition, wherein in the display of the image of the virtual world on the display apparatus, an image of the virtual world viewed from a virtual camera set for the player character as the corresponding target is displayed on the display apparatus during the opponent turn.
- The computer-readable storage medium having stored therein the game program according to claim 11 , wherein in the change of the virtual camera, the position and/or the direction of the virtual camera set for the player character as the corresponding target are changed within a predetermined range in accordance with the input during the opponent turn.
- A game apparatus for executing a game that advances by alternately repeating a player turn, in which a player character can perform an action in a virtual world in accordance with a player input, and an opponent turn, in which an opponent character can perform an action, the game apparatus comprising one or more processors configured to: acquire an input;cause a first player character to perform an action by operating the first player character in accordance with the input;cause a second player character to perform an action by operating the second player character in accordance with the input;switch a player character as an action target for performing an action corresponding to the input;set a position and/or a direction of a virtual camera in accordance with a position and/or a direction, in the virtual world, of the player character as the action target, and change the position and/or the direction of the virtual camera in accordance with the action of the player character;display on a display apparatus an image of the virtual world viewed from the virtual camera set for the player character as the action target;and end the player turn, wherein in the switching of the action target, the action target can be switched to the second player character during the operation on the first player character as the action target in the same player turn so that a first position and/or direction of the virtual camera having a point of view at the back of the first player character and having a fixation point in the forward direction of the first player character is switched to a second position and/or direction of the virtual camera having a point of view at the back of the second player character and having a fixation point in the forward direction of the second player character.
- A game system, including a plurality of apparatuses capable of communicating with each other, for executing a game that advances by alternately repeating a player turn, in which a player character can perform an action in a virtual world in accordance with a player input, and an opponent turn, in which an opponent character can perform an action, the game system comprising one or more processors configured to: acquire an input;cause a first player character to perform an action by operating the first player character in accordance with the input;cause a second player character to perform an action by operating the second player character in accordance with the input;switch a player character as an action target for performing an action corresponding to the input;set a position and/or a direction of a virtual camera in accordance with a position and/or a direction, in the virtual world, of the player character as the action target, and change the position and/or the direction of the virtual camera in accordance with the action of the player character;display on a display apparatus an image of the virtual world viewed from the virtual camera set for the player character as the action target;and end the player turn, wherein in the switching of the action target, the action target can be switched to the second player character during the operation on the first player character as the action target in the same player turn so that a first position and/or direction of the virtual camera having a point of view at the back of the first player character and having a fixation point in the forward direction of the first player character is switched to a second position and/or direction of the virtual camera having a point of view at the back of the second player character and having a fixation point in the forward direction of the second player character.
- A game processing method performed by a processor or cooperation of a plurality of processors, the processor or the plurality of processors included in a system including an apparatus for executing a game that advances by alternately repeating a player turn, in which a player character can perform an action in a virtual world in accordance with a player input, and an opponent turn, in which an opponent character can perform an action, the game processing method comprising: acquiring an input;causing a first player character to perform an action by operating the first player character in accordance with the input;causing a second player character to perform an action by operating the second player character in accordance with the input;switching a player character as an action target for performing an action corresponding to the input;setting a position and/or a direction of a virtual camera in accordance with a position and/or a direction, in the virtual world, of the player character as the action target, and changing the position and/or the direction of the virtual camera in accordance with the action of the player character;displaying on a display apparatus an image of the virtual world viewed from the virtual camera set for the player character as the action target;and ending the player turn, wherein in the switching of the action target, the action target can be switched to the second player character during the operation on the first player character as the action target in the same player turn so that a first position and/or direction of the virtual camera having a point of view at the back of the first player character and having a fixation point in the forward direction of the first player character is switched to a second position and/or direction of the virtual camera having a point of view at the back of the second player character and having a fixation point in the forward direction of the second player character.
Disclaimer: Data collected from the USPTO and may be malformed, incomplete, and/or otherwise inaccurate.