The disclosure of Japanese Patent Application No. 2011-083456, filed on Apr. 5, 2011, is incorporated herein by reference.
The exemplary embodiments relate to computer-readable storage media, information processing systems, and information processing methods. More particularly, the exemplary embodiments relate to computer-readable storage media, information processing systems, and information processing methods, which enable, for example, processing based on an action of a user.
Conventionally, there are known game systems that allow a user to play a game based on a load of the user. For example, a conventional game system includes a board type controller having a load sensor. In the game system, a load value is detected by the load sensor when the user stands on the board type controller, and the detected load value is transmitted as operation data to a game apparatus. In the game apparatus that has received the operation data, a game process is executed based on the load value represented by the operation data transmitted from the board type controller, and the content of the game process is displayed on a monitor connected to the game apparatus.
In the conventional game system, however, the result of the game process based on the load value represented by the operation data is displayed on the monitor connected to the game apparatus. It is premised that an existing television receiver or the like is used as the monitor, and generally a stationary display is used. On the other hand, when the user performs an operation on the board type controller, the operation is often based on an action of the user. However, since the monitor is stationary installed, the user is not allowed to view the result of the game process in a favorable situation according to the user's action.
Accordingly, an object of the exemplary embodiments is to provide a computer-readable storage medium, an information processing system, and an information processing method, which allow, when a process is performed in accordance with an operation based on an action of a user, the user to view the result of the process in a favorable situation.
In order to achieve the above-mentioned object, the exemplary embodiments have the following configurations. It should be understood that the scope of the exemplary embodiments is interpreted only by the scope of the claims. In event of any conflict between the scope of the claims and the scope of the description in this section, the scope of the claims has priority.
An example of a configuration of a computer-readable storage medium according to one exemplary embodiment has stored therein an information processing program executed on a computer of an information processing apparatus which is capable of displaying an image on a portable display device. The portable display device outputs at least attitude data based on an attitude of a body of the portable display device. The information processing program causes the computer to act as a load obtaining section, an object attitude control section, an object moving section, and a display control section. The load obtaining section obtains data based on a load applied to a load detection device. The object attitude control section controls an attitude of an object arranged in a virtual world, based on the attitude data. The object moving section causes the object to move in the virtual world, based on the data obtained by the load obtaining section. The display control section displays, on the portable display device, a first image showing the virtual world including at least the object.
The information processing apparatus may be an apparatus for executing a game process and generating an image based on the game process, or may be a versatile apparatus such as a general personal computer. The portable display device may have a size small enough to be carried by a user. Typically, the portable display device may be a display device which allows the user, holding the portable display device with his/her both hands, to view an image displayed thereon. The portable display device may include other components than the section for outputting at least attitude data and the section for displaying the first image, like a terminal device of exemplary embodiments described later, or may not include other components. The load detection device may be, for example, a device which detects a load applied thereto when a user puts at least a part of his/her body thereon, or a device which outputs an on/off signal according to the load. It is considered that, when the user operates the load detection device, the user may stand on the load detection device with his/her bottoms of both feet contacting the upper surface thereof, or the user may put his/her one foot on the upper surface thereof, or the user may put another part (e.g., a hand) of his/her body on the upper surface thereof.
According to the above configuration, when the user performs an operation by using the load detection device and thereby a process of causing an object in a virtual world to move based on the user's operation is performed, the user is allowed to view the result of the process on the portable display device. Therefore, the user is allowed to view an image displayed on the portable display device while holding the portable display device. Accordingly, for example, the user is allowed to perform an operation in a new operation environment, and allowed to view the result of the process in a favorable situation for the user in accordance with the operation environment. Further, since the attitude of the object in the virtual world is controlled based on the attitude of the portable display device, the user is allowed to change the attitude of the object in accordance with the direction to which the portable display device is directed. Thus, the user is allowed to operate the object by moving the portable display device.
The information processing program may cause the computer to act as an attitude calculation section. The attitude calculation section calculates an attitude of the portable display device, based on the attitude data. In this case, the object attitude control section may control the attitude of the object, based on the attitude of the portable display device.
According to the above configuration, it is possible to calculate an attitude of the portable display device based on the attitude data, and control the attitude of the object based on the attitude of the portable display device.
The attitude calculation section may calculate an attitude of the portable display device with respect to a predetermined direction in a real space. The object attitude control section may control the attitude of the object with respect to a predetermined direction which is set in the virtual world and corresponds to the predetermined direction in the real space, based on the attitude of the portable display device with respect to the predetermined direction in the real space.
According to the above configuration, it is possible to control, based on the attitude of the portable display device with respect to the predetermined direction in the real space, the attitude of the object with respect to the predetermined direction in the virtual world corresponding to the predetermined direction in the real space.
The attitude calculation section may calculate, with a direction of gravity in the real space being the predetermined direction, an attitude of the portable display device with respect to the direction of gravity. The object attitude control section may control the attitude of the object with respect to a direction of gravity set in the virtual world, based on the attitude of the portable display device with respect to the direction of gravity in the real space.
According to the above configuration, it is possible to control, based on the attitude of the portable display device with respect to the direction of gravity, the attitude of the object with respect to the same direction of gravity.
The attitude calculation section may calculate at least an attitude in which the portable display device rotates around the direction of gravity in the real space. The object attitude control section may control the attitude of the object by causing the object to rotate around the direction of gravity set in the virtual world, based on the attitude in which the portable display device rotates around the direction of gravity in the real space.
According to the above configuration, it is possible to turn the attitude of the object to the left and to the right in the virtual world by turning the portable display device to the left and to the right in the real space.
The attitude calculation section may calculate at least an attitude in which the portable display device swings up and down around a horizontal direction perpendicular to the direction of gravity in the real space. The object attitude control section may control the attitude of the object in which the object swings up and down around a horizontal direction which is set in the virtual world and corresponds to the horizontal direction in the real space, based on the attitude in which the portable display device swings up and down around the horizontal direction in the real space.
According to the above configuration, it is possible to turn the attitude of the object up and down in the virtual world by turning the portable display device up and down in the real space.
The attitude calculation section may calculate at least an attitude in which the portable display device rotates around two axes orthogonal to a depth direction of a display screen of the portable display device, the depth direction being perpendicular to the display screen on which the first image is displayed. The object attitude control section may control the attitude of the object by causing the object to rotate around two axes orthogonal to a forward direction of the object, based on the attitude in which the portable display device rotates around the two axes orthogonal to the depth direction of the display screen.
According to the above configuration, it is possible to turn the attitude of the object up, down, to the left, and to the right by rotating, in the real space, the portable display device around the two axes orthogonal to the depth direction of the display screen of the portable display device.
The attitude calculation section may calculate at least an attitude in which the portable display device rotates around an axis along a horizontal direction of a display screen of the portable display device and an axis along a vertical direction of the display screen, the axes being orthogonal to the depth direction. The object attitude control section may control the attitude of the object by causing the object to rotate around an axis of a horizontal direction of the object, which is orthogonal to the forward direction of the object, in accordance with the attitude in which the portable display device rotates around the axis of the horizontal direction of the display screen, and causing the object to rotate around an axis of the object, which is orthogonal to the forward direction and the horizontal direction of the object, based on the attitude in which the portable display device rotates around the axis of the vertical direction of the display screen.
According to the above configuration, it is possible to turn the attitude of the object up, down, to the left, and to the right by rotating, in the real space, the portable display device around the vertical direction and the horizontal direction of the display screen of the portable display device.
The attitude calculation section may include a real space reference direction setting section and an angular difference calculation section. The real space reference direction setting section sets a reference attitude of the portable display device in the real space. The angular difference calculation section calculates an angular difference, around a predetermined axis in the real space, between the attitude of the portable display device at a current time and the reference attitude, based on data outputted from the portable display device. The object attitude control section may include a virtual world reference attitude setting section and a direction control section. The virtual world reference attitude setting section sets a reference attitude of the object in the virtual world. The direction control section controls the attitude of the object by causing the direction of the object to rotate from the reference attitude of the object around a predetermined axis in the virtual world, which corresponds to the predetermined axis in the real space, based on the angular difference calculated by the angular difference calculation section.
According to the above configuration, it is possible to control the attitude of the object, based on the reference attitudes set in the real space and the virtual world, respectively.
The object attitude control section may further include a reference attitude displacement section. The reference attitude displacement section rotationally displaces the direction of the reference attitude of the object which is set by the virtual world reference direction setting section, around the predetermined axis in the virtual world, by an amount of displacement according to the angular difference calculated by the angular difference calculation section. In this case, the direction control section may control the attitude of the object by causing the direction of the object to rotate from the displaced reference direction, around the predetermined axis in the virtual world, based on the angular difference calculated by the angular difference calculation section.
According to the above configuration, the reference attitude set in the virtual world is displaced to the direction to which the user turns the portable display device. Therefore, when changing the attitude of the object to the direction in which the attitude of the portable display device changes, it is possible to realize attitude control such that the amount of change in the attitude of the object is increased in accordance with the amount of change of the attitude of the portable display device. Further when the attitude of the portable display device returns to the reference direction in the real space, the attitude of the object returns to the displaced reference direction, thereby realizing a variety of controls for the attitude of the object.
The information processing program may further cause the computer to act as a first virtual camera control section. The first virtual camera control section arranges a first virtual camera for generating an image of the virtual world such that the object in the virtual world, which is viewed from behind, is included in the first image. In this case, the display control section may display, on the portable display device, as the first image, an image showing the virtual world viewed from the first virtual camera.
The first camera control section may control the position and the attitude of the first virtual camera, based on the attitude of the object and the position of the object in the virtual world.
According to the above configuration, since the first virtual camera is arranged behind the object, the position and the attitude of the first virtual camera change in accordance with a change in the attitude of the object. Accordingly, the position and the attitude of the first virtual camera are eventually controlled based on the attitude of the portable display device. Therefore, when the user turns the portable display device to his/her desired direction, the attitude of the object changes, and the user is provided with an image which makes the user feel like looking into the virtual world through the portable display device. Thus, the user is allowed to experience a sense of presence in the virtual world.
The first camera control section may control the position and the attitude of the first virtual camera such that the display position of the object in the first image is fixed.
According to the above configuration, since the object is displayed in the fixed position on the portable display device, the user is allowed to easily operate the object.
The object moving section may cause the object to move in a forward direction of the object controlled by the object attitude control section.
According to the above configuration, it is possible to control the movement direction of the object, based on the attitude of the portable display device.
The object control section may display, separately from the first image, a second image showing the virtual world on another display device connected to the information processing apparatus.
The other display device is a display device connected to the information processing apparatus, such as a monitor 2 described later. Any type of display device may be used so long as it is separated from the portable display device, and is capable of displaying the second image generated by the information processing apparatus. For example, the other display device may be integrated with (in one housing) the information processing apparatus.
According to the above configuration, an image of the same virtual world, which is different from the image displayed on the portable display device, is displayed on the other display device connected to the information processing device. Therefore, images of the virtual world, which are formed based on at least the load data and in accordance with different purposes of use, can be displayed on the display devices favorable for the user, respectively.
The display control section may display, on the other display device, as the second image, an image of the virtual world including the object, in which the virtual world is viewed from a viewpoint different from the viewpoint of the virtual world of the first image.
According to the above configuration, an image of the virtual world, which is viewed from a viewpoint different from that of the image displayed on the portable display device, is displayed on the other display device connected to the information processing device. Therefore, images formed according to different purposes of use can be displayed on the display devices favorable for the user, respectively.
The display control section may set the viewpoint of the virtual world of the second image, at a position apart from the object by a distance longer than the distance between the object and the viewpoint of the virtual world of the first image. The display control section may display, on the other display device, as the second image, a range of the virtual world which is larger than the range of the virtual world shown in the first image.
According to the above configuration, an image of the virtual world, which is larger in display range than the image of the virtual world displayed on the portable display device, is displayed on the other display device connected to the information processing device. Therefore, when providing the user with the state of the virtual world, images suitable for the user's operation can be displayed on the respective display devices.
The display control section may set a viewpoint for generating the second image, at a position in the virtual world, from which the object is viewed in a manner of bird's eye viewing. The display control section may display, on the other display device, as the second image, an image in which the object arranged in the virtual world is viewed in a manner of bird's eye viewing.
According to the above configuration, an image in which the virtual world is viewed in a manner of bird's eye viewing is displayed on the other display device connected to the information processing device. Therefore, when providing the user with the state of the virtual world, images suitable for the user's operation can be displayed on the respective display devices.
The display control section may set a first virtual camera for generating the first image and a second virtual camera for generating the second image, and cause a line-of-sight direction of the second virtual camera in the virtual world to change in accordance with a change in a line-of-sight direction of the first virtual camera in the virtual world.
According to the above configuration, it is possible to realize a display control in which, when the direction of the virtual world displayed on the portable display device changes, the direction of the virtual world displayed on the other display device also changes in the same direction.
The display control section may arrange the first virtual camera such that a forward direction of the object from behind the object in the virtual world is an imaging direction of the first virtual camera, and arrange the second virtual camera such that a position in the forward direction of the object in the virtual world is a point of view of the second virtual camera, and the object is displayed at the same position in the second image, and control the positions and/or the attitudes of the first virtual camera and the second virtual camera in accordance with an action of the object.
According to the above configuration, it is possible to realize a display control in which an image of the virtual world displayed on the portable display device and an image of the virtual world displayed on the other display device change in accordance with only the action of the object.
The attitude calculation section may calculate at least an orientation of the depth direction with respect to the direction of gravity in the real space. The object attitude control section may control the attitude of the object by setting a forward direction of the object such that the positional relation between the direction of gravity set in the virtual world and the forward direction of the object is substantially equal to the positional relation between the direction of gravity in the real space and the depth direction.
According to the above configuration, the user is allowed to control the orientation of the forward direction of the object in the virtual world, in accordance with the orientation of the depth direction of the display screen of the portable display device in the real space.
The object attitude control section may control the attitude of the object in the virtual world so as to be substantially equal to the attitude of the portable display device in the real space.
According to the above configuration, since the attitude of the object in the virtual world is controlled so as to be substantially equal to the attitude of the portable display device in the real space, the user operating the portable display device is allowed to intuitively change the attitude of the object.
The information processing program may further cause the computer to act as a center-of-gravity position calculation section. The center-of-gravity position calculation section calculates a center-of-gravity position of a load applied to the load detection device, based on the data obtained by the load obtaining section. In this case, the object moving section may cause the object to move based on the center-of-graving position calculated by the center-of-gravity position calculation section.
According to the above configuration, the user is allowed to move the object in accordance with the center-of-gravity position of the load applied to the load detection device by the user. For example, the user is allowed to move the object by performing stepping or shifting the center-of-gravity position of his/her body forward, backward, leftward, or rightward on the load detection device.
The object moving section may cause the object to move based on reciprocating motion of the center-of-gravity position calculated by the center-of-gravity position calculation section.
According to the above configuration, the user is allowed to move the object by causing the center-of-gravity position of the load applied to the load detection device by the user to reciprocate in a constant direction. For example, the user is allowed to move the object by performing stepping on the load detection device to shift the center-of-gravity position to the left and to the right.
The object moving section may cause the object to move at a movement speed according to a first action performed by the object when the center-of-gravity position, in its reciprocating motion, shifts from one side of a predetermined boundary to the other side, and may cause the object to move at a movement speed according to a second action performed by the object when the center-of-gravity position shifts from the other side of the predetermined boundary to the one side.
According to the above configuration, the user is allowed to move the object by the first action of the object, by shifting the center-of-gravity position of the load applied to the load detection device by the user to one side in the reciprocating motion, and allowed to move the object by the second action of the object, by shifting the center-of-gravity position to the other side in the reciprocating motion. For example, when the user performs stepping on the load detection device, the object is moved by its first action (e.g., an action of kicking the ground or doing a flutter kick with its right foot) when the user lifts his/her left foot, and the object is moved by its second action (e.g., an action of kicking the ground or doing a flutter kick with its left foot) when the user lifts his/her right foot.
The object moving section may set a movement speed of the object, based on a distance from a preset reference position to the center-of-gravity position calculated by the center-of-gravity position calculation section, set a movement direction of the object based on the direction from the reference position toward the center-of-gravity position, and cause the object to move in the movement direction at the movement speed.
According to the above configuration, the user is allowed to move the object by shifting the center-of-gravity position of the load applied to the load detection device by the user. For example, when the user tilts his/her body so as to put his/her weight forward on the load detection device, the object is moved forward at a speed according to the amount of the forward shift of the center-of-gravity position. When the user tilts his/her body so as to put his/her weight backward on the load detection device, the object is moved backward at a speed according to the amount of the backward shift of the center-of-gravity position.
The object moving section may cause the object to move in the movement direction, based on a change in the load represented by the data obtained by the load obtaining section.
According to the above configuration, the user is allowed to move the object by changing the load applied to the load detection device by the user. For example, the user is allowed to move the object by jumping or performing knee bending on the load detection device.
The object moving section may cause the object to move at a movement speed according to a first action performed by the object, at a time point when the load applied to the load detection device increases to be equal to or higher than a predetermined value.
According to the above configuration, the user is allowed to move the object by the first action of the object, by performing an operation to increase the load applied to the load detection device by the user. For example, when the user performs knee bending or jumps on the load detection device, the load applied to the load detection device is increased by the user's action of squatting on the load detection device. Accordingly, when the user performs the squatting action on the load detection device such that the load applied to the load detection device becomes equal to or higher than a predetermined value, the object is moved by the first action of the object (e.g., an action of jumping by kicking the ground with its both feet, or an action of doing a dolphin kick with its both feet).
The object moving section may cause the object to move when the load applied to the load detection device, which has once increased to be equal to or higher than a predetermined value, decreases to be equal to or lower than a predetermined value.
According to the above configuration, the user is allowed to move the object by performing an operation to once increase the loaded applied to the load detection device by the user and then decrease the load. For example, when the user performs knee being or jumps on the load detection device, the load applied to the load detection device is increased due to the user's action of squatting on the load detection device, and thereafter, decreased due to the user's action of stretching or half-rising. Accordingly, when the user performs an action of stretching or half-rising on the load detection device, which causes the load applied to the load detection device to be equal to or lower than a predetermined value, after the user's action of squatting on the load detection device, which causes the load applied to the load detection device to be equal to or higher than a predetermined value, the user can cause the object to move in accordance with the user's action.
The object moving section may cause the object to move at a movement speed based on a length of time from when the load increases to be equal to or higher than the predetermined value to when the load decreases to be equal to or lower than the predetermined value.
According to the above configuration, the movement speed of the object can be varied depending on the length of time from when the load applied to the load detection device becomes equal to or higher than a predetermined value to when the load becomes equal to or lower than a predetermined value. For example, when the user performs knee being or jumps on the load detection device, the movement speed of the object can be varied depending on the length of time from when the user performs an action of squatting to when the user performs an action of stretching or half-rising.
The portable display device may include at least one of a gyro sensor and an acceleration sensor. In this case, the attitude calculation section may calculate an attitude of the portable display device, based on data outputted from at least one of the gyro sensor and the acceleration sensor.
According to the above configuration, it is possible to accurately calculate an attitude of the portable display device by using data which is output from the gyro sensor and represents an angular velocity that occurs in the portable display device and/or data which is output from the acceleration sensor and represents an acceleration that occurs in the portable display device.
The display control section may output image data representing the first image to the portable display device. The portable display device may include an image data obtaining section, and a display section. The image data obtaining section obtains image data outputted from the information processing apparatus. The display section displays the first image represented by the image data obtained by the image data obtaining section.
According to the above configuration, the portable display device functions as a so-called thin client terminal which does not execute information processing.
The information processing program may further cause the computer to act as a compressed image generation section. The compressed image generation section generates compressed image data by compressing the image data representing the first image. In this case, the display control section may output the compressed image data generated by the compressed image generation section to the portable display device. The image data obtaining section may obtain the compressed image data outputted from the information processing apparatus. The portable display device may further include a display image decompression section configured to decompress the compressed image data to obtain image data representing the first display image. In this case, the display section may display the first image represented by the image data which has been obtained by the image data obtaining section and decompressed by the display image decompression section.
According to the above configuration, since the first image is compressed and transmitted from the information processing apparatus to the portable display device. Therefore, the first image can be transmitted at a high speed, thereby reducing a delay from when the first image is generated to when the first image is displayed on the portable display device.
The exemplary embodiments may be implemented in the form of an information processing system including the above-mentioned section, or in the form of an information processing method including actions performed by the above-mentioned section.
According to the exemplary embodiments, when the user performs an operation based on his/her action and thereby a process based on the user's action is performed, the user is allowed to view the result of the process in a favorable situation for the user.
These and other objects, features, aspects and advantages of the exemplary embodiments will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
With reference to
As shown in
The optical disc 4, typifying an information storage medium used for the game apparatus body 5 in an exchangeable manner, is detachably inserted in the game apparatus body 5. The optical disc 4 has stored therein an information processing program (typically, a game program) to be executed by the game apparatus body 5. The game apparatus body 5 has, on a front surface thereof, an insertion opening for the optical disc 4. The game apparatus body 5 reads and executes the information processing program stored in the optical disc 4 inserted into the insertion opening to execute the game process.
The monitor 2 is connected to the game apparatus body 5 via a connection cord. The monitor 2 displays a game image obtained by the game process executed by the game apparatus body 5. The monitor 2 includes the loudspeakers 2a. The loudspeakers 2a each output a game sound obtained as a result of the game process. In another embodiment, the game apparatus body 5 and a stationary display unit may be integrated with each other. The communication between the game apparatus body 5 and the monitor 2 may be wireless communication.
The game apparatus body 5 has mounted thereto a flash memory 17 (see
The controller 7 and the board type controller 9 each wirelessly transmit transmission data such as operation information, by using, for example, the Bluetooth technology, to the game apparatus body 5 having a controller communication module 19. The controller 7 is operation means for performing, for example, selection of options displayed on the display screen of the monitor 2. The controller 7 includes a housing which is small enough to be held by one hand, and a plurality of operation buttons (including a cross key and the like) which are exposed at the surface of the housing. In addition, as is described later, the controller 7 includes an imaging information calculation section for taking an image viewed from the controller 7. As exemplary imaging targets of the imaging information calculation section, two LED modules (hereinafter, referred to as “markers”) 8L and 8R are provided in the vicinity of the display screen of the monitor 2 (above the screen in
In another embodiment, the controller 7 and/or the board type controller 9 may be connected to the game apparatus body 5 via a cable. Further, in the exemplary embodiment, the game system 1 includes a controller 7 and a board type controller 9. However, the game apparatus body 5 is communicable with a plurality of controllers 7 and a plurality of board type controllers 9. Therefore, a plurality of players can play a game by using a predetermined number of controllers 7 and board type controller 9 simultaneously.
The controller 7 includes a housing which is formed by, for example, plastic molding, and has a plurality of operation sections in the housing. The controller 7 transmits, to the game apparatus body 5, operation data representing an input state to any of the operation sections (i.e., whether or not any of the operation buttons is pressed).
The controller 7 includes an imaging information calculation section for analyzing image data of an image taken by image pickup means to identify an area having a high luminance in the image, and calculates the position of the center of gravity, the size, and the like of the area. For example, the imaging information calculation section includes image pickup means fixed to the housing of the controller 7. A marker emitting infrared light, such as a marker section 65 of the terminal device 6 and/or the marker 8, is a target to be imaged by the image pickup means. The imaging information calculation section calculates the position of the imaging target in the image taken by the image pickup means, and transmits, to the game apparatus body 5, marker coordinate data representing the calculated position. Since the marker coordinate data varies depending on the direction (angle of tilt) or the position of the controller 7, the game apparatus body 5 can calculate the direction and the position of the controller 7 by using the marker coordinate data.
The controller 7 includes an acceleration sensor and/or a gyro sensor. The acceleration sensor detects an acceleration (including gravitational acceleration) of the controller 7, and transmits acceleration data representing the detected acceleration to the game apparatus body 5. Since the acceleration detected by the acceleration sensor varies depending on the direction (angle of tilt) and the movement of the controller 7, the game apparatus body 5 can calculate the direction and the movement of the controller 7 by using the obtained acceleration data. The gyro sensor detects angular velocities around three axes which are set in the controller 7, and transmits angular velocity data representing the detected angular velocities to the game apparatus body 5. Since the angular velocities detected by the gyro sensor vary depending on the direction (angle of tilt) and the movement of the controller 7, the game apparatus body 5 can calculate the direction and the movement of the controller 7 by using the obtained angular velocity data. In this way, the user is allowed to perform a game operation by pressing the operation sections provided on the controller 7, or by moving the controller 7 to change the position and the attitude (angle of tilt) of the controller 7.
The controller 7 is provided with a loudspeaker and a vibrator. The controller 7 processes sound data transmitted from the game apparatus body 5, and causes the loudspeaker to output a sound based on the sound data. Further, the controller 7 processes vibration data transmitted from the game apparatus body 5, and causes the vibrator to vibrate in accordance with the vibration data. In the exemplary embodiment described later, a user is allowed to play a game without using the controller 7. The board type controller 9 will be described in detail later.
The terminal device 6 is a portable device that is small enough to be held by a user, and the user is allowed to move the terminal device 6 with hands, or place the terminal device 6 at any location. Although a specific structure of the terminal device 6 will be described later, the terminal device 6 includes an LCD (Liquid Crystal Display) 61 as display means, and input means (a touch panel 62, a gyro sensor 604, and the like described later). The terminal device 6 and the game apparatus body 5 (a terminal communication module 28 (see
Next, with reference to
The CPU 10, serving as a game processor, executes a program stored in the optical disc 4 to perform a process. The CPU 10 is connected to the system LSI 11. In addition to the CPU 10, the external main memory 12, the ROM/RTC 13, the disc drive 14, and the AV-IC 15 are connected to the system LSI 11. The system LSI 11 performs processes such as control of data transmission between the respective components connected thereto, generation of an image to be displayed, and acquisition of data from an external apparatus. An internal structure of the system LSI 11 will be described later. The external main memory 12, which is a volatile memory, stores programs loaded from the optical disc 4 or the flash memory 17, and stores various data. The external main memory 12 is used as a work area and a buffer area for the CPU 10. The ROM/RTC 13 includes a ROM (so-called boot ROM) incorporating a program for booting the game apparatus body 5, and a clock circuit (RTC) for counting time. The disc drive 14 reads, from the optical disc 4, program data, texture data and the like, and writes the read data into an internal main memory 35 described below or the external main memory 12.
The system LSI 11 includes an input/output processor (I/O processor) 31, a GPU (Graphics Processor Unit) 32, a DSP (Digital Signal Processor) 33, a VRAM (Video RAM) 34, and the internal main memory 35. These components 31 to 35 are connected to each other via an internal bus (not shown).
The GPU 32, which is a part of rendering means, generates an image in accordance with a graphics command (draw command) supplied from the CPU 10. The VRAM 34 stores data (such as polygon data and texture data) required for the GPU 32 to execute the graphics command. When an image is generated, the GPU 32 generates image data by using the data stored in the VRAM 3. In the exemplary embodiment, the game apparatus body 5 may generate both a game image to be displayed on the monitor 2 and a game image to be displayed on the terminal device 6. Hereinafter, the game image to be displayed on the monitor 2 may be referred to as a “monitor game image”, and the game image to be displayed on the terminal device 6 may be referred to as a “terminal game image”.
The DSP 33, serving as an audio processor, generates sound data by using sound data and sound waveform (tone quality) data stored in the internal main memory 35 and the external main memory 12. In the exemplary embodiment, similarly to the game images, both a game sound to be output from the loudspeakers 2a of the monitor 2 and a game sound to be output from the loudspeakers of the terminal device 6 may be generated. Hereinafter, the game sound to be output from the monitor 2 may be referred to as a “monitor game sound”, and the game sound to be output from the terminal device 6 may be referred to as a “terminal game sound”.
Among the image data and sound data generated by the game apparatus body 5, the image data and sound data to be output to the monitor 2 are read by the AV-IC 15. The AV-IC 15 outputs the read image data to the monitor 2 via an AV connector 16, and outputs the read sound data to the loudspeakers 2a included in the monitor 2. Thereby, an image is displayed on the monitor 2, and a sound is output from the loudspeakers 2a.
Further, among the image data and sound data generated by the game apparatus body 5, the image data and sound data to be output to the terminal device 6 are transmitted to the terminal device 6 by the I/O processor 31 or the like. Data transmission to the terminal device 6 by the I/O processor 31 or the like will be described later.
The I/O processor 31 executes data reception and transmission with the components connected thereto, and download of data from an external apparatus. The I/O processor 31 is connected to the flash memory 17, the network communication module 18, the controller communication module 19, an extension connector 20, a memory card connector 21, and a codec LSI 27. An antenna 23 is connected to the controller communication module 19. The codec LSI 27 is connected to the terminal communication module 28, and an antenna 29 is connected to the terminal communication module 28.
The game apparatus body 5 is connected to a network such as the Internet so as to communicate with external information processing apparatuses (for example, other game apparatuses or various servers). That is, the I/O processor 31 is connected to a network via the network communication module 18 and the antenna 22 so as to communicate with external information processing apparatuses connected to the network. The I/O processor 31 accesses the flash memory 17 at regular intervals so as to detect for data to be transmitted to the network. When data to be transmitted is detected, the data is transmitted to the network via the network communication module 18 and the antenna 22. Further, the I/O processor 31 receives, via the network, the antenna 22 and the network communication module 18, data transmitted from the external information processing apparatuses or data downloaded from a download server, and stores the received data in the flash memory 17. The CPU 10 executes a program, and reads the data stored in the flash memory 17 to use the data for execution of the program. The flash memory 17 may store not only the data transmitted and received between the game apparatus body 5 and the external information processing apparatuses, but also saved data (result data or progress data of the process) of the game played with the game apparatus body 5. Further, the flash memory 17 may store programs such as a game program.
The game apparatus body 5 can receive operation data from the controller 7 and/or the board type controller 9. That is, the I/O processor 31 receives, via the antenna 23 and the controller communication module 19, operation data or the like transmitted from the controller 7 and/or the board type controller 9, and stores (temporarily) the data in a buffer region of the internal main memory 35 or the external main memory 12. Similarly to the external main memory 12, the internal main memory 35 may store a program loaded from the optical disc 4 or a program loaded from the flash memory 17, and various data. The internal main memory 35 may be used as a work region or buffer region of the CPU 10.
The game apparatus body 5 is capable of transmitting/receiving image data, sound data and the like to/from the terminal device 6. When transmitting a game image (terminal game image) to the terminal device 6, the I/O processor 31 outputs data of a game image generated by the GPU 32 to the codec LSI 27. The codec LSI 27 performs a predetermined compression process on the image data supplied from the I/O processor 31. The terminal communication module 28 performs wireless communication with the terminal device 6. Accordingly, the image data compressed by the codec LSI 27 is transmitted by the terminal communication module 28 to the terminal device 6 via the antenna 29. In the exemplary embodiment, the codec LSI 27 compresses the image data by using a highly efficient compression technique, for example, the H.264 standard. The codec LSI 27 may adopt other compression techniques. When the communication rate is sufficiently high, uncompressed image data may be transmitted. The terminal communication module 28 is, for example, a Wi-Fi certified communication module. The terminal communication module 28 may perform wireless communication with the terminal device 6 at a high speed by using, for example, the technique of MIMO (Multiple Input Multiple Output) adopted in the IEEE802.11n standard, or may use other communication techniques.
The game apparatus body 5 transmits, to the terminal device 6, sound data as well as the image data. That is, the I/O processor 31 outputs sound data generated by the DSP 33 to the terminal communication module 28 via the codec LSI 27. The codec LSI 27 performs a compression process on the sound data in a similar manner to that for the image data. Any compression technique may be adopted for the sound data. In another embodiment, uncompressed sound data may be transmitted. The terminal communication module 28 transmits the compressed image data and sound data to the terminal device 6 via the antenna 29.
The game apparatus body 5 transmits, in addition to the image data and sound data, various control data to the terminal device 6, according to need. The control data represent control instructions for the components included in the terminal device 6, such as an instruction to control on/off of a marker section (a marker section 65 shown in
The game apparatus body 5 can receive various data from the terminal device 6. Although details will be described later, in the exemplary embodiment, the terminal device 6 transmits operation data, image data, and sound data. The respective data transmitted from the terminal device 6 are received by the terminal communication module 28 via the antenna 29. The image data and sound data transmitted from the terminal device 6 have been subjected to a similar compression process to that for the image data and sound data transmitted from the game apparatus body 5 to the terminal device 6. Accordingly, these image data and sound data are transmitted from the terminal communication module 28 to the codec LSI 27, and subjected to a decompression process by the codec LSI 27. The decompressed data are output to the I/O processor 31. On the other hand, since the operation data transmitted from the terminal device 6 is smaller in amount than the image data and sound data, the operation data need not be compressed. The operation data may be encrypted according to need, or may not be encrypted. Accordingly, the operation data, which has been received by the terminal communication module 28, is output to the I/O processor 31 via the codec LSI 27. The I/O processor 31 stores (temporarily) the data received from the terminal device 6 in the buffer region of the internal main memory 35 or the external main memory 12.
The game apparatus body 5 is connectable to other devices and external storage media. That is, an extension connector 20 and a memory card connector 21 are connected to the I/O processor 31. The expansion connector 20 is an interface connector as typified by a USB and an SCSI, and is capable of performing communication with the network, instead of the network communication module 18, by connecting thereto a medium such as an external storage medium, a peripheral device such as another controller, or a wired communication connector. The memory card connector 21 is a connector for connecting thereto an external storage medium such as a memory card. For example, the I/O processor 31 accesses the external storage medium via the expansion connector 20 or the memory card connector 21 to save or read data.
The game apparatus body 5 includes (on the front main surface thereof, for example) a power button 24, a reset button 25, an insertion slot in which the optical disc 4 is inserted, an eject button 26 for ejecting the optical disc 4 from the insertion slot of the game apparatus body 5, and the like. The power button 24 and the reset button 25 are connected to the system LSI 11. When the power button 24 is turned on, the respective components of the game apparatus body 5 are supplied with power. When the reset button 25 is pressed, the system LSI 11 re-executes the boot program of the game apparatus body 5. The eject button 26 is connected to the disc drive 14. When the eject button 26 is pressed, the optical disc 4 is ejected from the disc drive 14.
In another embodiment, some of the components of the game apparatus body 5 may be constituted as an extension device separated from the game apparatus body 5. At this time, the extension device may be connected to the game apparatus body 5 via the extension connector 20. Specifically, the extension device may include, for example, the codec LSI 27, the terminal communication module 28, and the antenna 29, and may be detachably connected to the extension connector 20. Thus, by connecting the extension device to the game apparatus body which does not have the above-mentioned, the game apparatus body can be made communicable with the terminal device 6.
Next, a structure of the terminal device 6 will be described with reference to
As shown in
The terminal device 6 includes an LCD 61 on a front surface of the housing 60. The LCD 61 is provided near the center of the front surface of the housing 60. Therefore, as shown in
As shown in (a) of
As shown in
The operation buttons 64A to 64L are each operation means for performing a predetermined input. As described below, the operation buttons 64A to 64L are positioned so as to be operated by the user holding the right and left portions of the terminal device 6 (see
As shown in (a) of
The cross button 64A is provided to the left of the LCD 61 and beneath the left analog stick 63A. That is, the cross button 64A is positioned so as to be operated by the left hand of the user. The cross button 64A is cross-shaped, and is capable of indicating an upward, a downward, a leftward, or a rightward direction. The operation buttons 64B to 64D are provided beneath the LCD 61. The three operation buttons 64B to 64D are positioned so as to be operated by the right and left hands of the user. The four operation buttons 64E to 64H are provided to the right of the LCD 61 and beneath the right analog stick 63B. That is, the four operation buttons 64E to 64H are positioned so as to be operated by the right hand of the user. Further, the four operation buttons 64E, 64H, 64F, and 64G are positioned upward, downward, leftward, and rightward, respectively, with respect to a center position of the four operation buttons. Accordingly, the terminal device 6 may cause the four operation buttons 64E to 64H to function as buttons which allow the user to designate an upward, a downward, a leftward, or a rightward direction.
As shown in (a), (b), and (c) of
As shown in (b) and (c) of
In the terminal device 6 shown in
The respective operation buttons 64A to 64L are assigned functions, according to need, in accordance with a game program. For example, the cross button 64A may be used for direction designation operation, selection operation, and the like, and the operation buttons 64E to 64H may be used for determination operation, cancellation operation, and the like.
The terminal device 6 includes a power button (not shown) for turning on/off the power of the terminal device 6. The terminal device 6 may include an operation button for turning on/off screen display of the LCD 61, an operation button for performing connection setting (pairing) with the game apparatus body 5, and an operation button for adjusting the volume of loudspeakers (loudspeakers 607 shown in
As shown in (a) of
The terminal device 6 includes a camera 66 as imaging means. The camera 66 includes an image pickup element (e.g., a CCD image sensor or a CMOS image sensor) having a predetermined resolution, and a lens. For example, the camera 66 is provided on the front surface of the housing 60. Accordingly, the camera 66 is capable of taking an image of the face of the user holding the terminal device 6. For example, the camera 66 is capable of taking an image of the user playing a game while viewing the LCD 61.
The terminal device 6 has a microphone (a microphone 609 shown in
The terminal device 6 has loudspeakers (loudspeakers 607 shown in
The terminal device 6 includes an extension connector 67 for connecting another device to the terminal device 6. In the exemplary embodiment, as shown in (d) of
In the terminal device 6 shown in
Next, an internal structure of the terminal device 6 will be described with reference to
The UI controller 605 is a circuit for controlling data input to various input/output sections and data output from various input/output sections. The UI controller 605 is connected to the touch panel controller 601, the analog stick 63 (the analog sticks 63A and 63B), the operation button 64 (the operation buttons 64A to 64L), the marker section 65, the magnetic sensor 602, the acceleration sensor 603, the gyro sensor 604, and the vibrator 619. Further, the UI controller 605 is connected to the codec LSI 606 and the extension connector 67. The power supply IC 614 is connected to the UI controller 605, so that power is supplied to the respective components through the UI controller 605. The internal battery 615 is connected to the power supply IC 614, so that power is supplied from the battery 615. Further, a battery charger 616 or a cable, which is supplied with power from an external power supply, may be connected to the power supply IC 614 via a connector or the like. In this case, the terminal device 6 can be supplied with power and charged from the external power supply by using the battery charger 616 or the cable. Charging of the terminal device 6 may be performed by setting the terminal device 6 on a cradle (not shown) having a charging function.
The touch panel controller 601 is a circuit which is connected to the touch panel 62 and controls the touch panel 62. The touch panel controller 601 generates a predetermined form of touch position data, based on a signal from the touch panel 62, and outputs the touch position data to the UI controller 605. The touch position data represents coordinates of a position at which an input is performed on an input surface of the touch panel 62. The touch panel controller 601 reads a signal from the touch panel 62 and generates touch position data every predetermined period of time. Further, various control instructions on the touch panel 62 are output from the UI controller 605 to the touch panel controller 601.
The analog stick 63 outputs, to the UI controller 605, stick data representing a direction in which the stick part operated by a finger of the user slides (or tilts), and an amount of the sliding (tilting). The operation button 64 outputs, to the UI controller 605, operation button data representing an input state of each of the operation buttons 64A to 64L (whether or not the operation button is pressed).
The magnetic sensor 602 detects the magnitude and direction of a magnetic field to detect an orientation. Orientation data representing the detected orientation is output to the UI controller 605. The UI controller 605 outputs, to the magnetic sensor 602, a control instruction for the magnetic sensor 602. Examples of the magnetic sensor 602 include: an MI (Magnetic Impedance) sensor, a fluxgate sensor, a hall sensor, a GMR (Giant Magneto Resistance) sensor, a TMR (Tunneling Magneto Resistance) sensor, and an AMR (Anisotropic Magneto Resistance) sensor. However, any sensor may be adopted as long as the sensor can detect an orientation. Strictly speaking, the obtained orientation data does not represent an orientation in a place where a magnetic field is generated in addition to the geomagnetism. Even in such a case, it is possible to calculate a change in the attitude of the terminal device 6 because the orientation data changes when the terminal device 6 moves.
The acceleration sensor 603 is provided inside the housing 60. The acceleration sensor 603 detects the magnitudes of linear accelerations along three axial directions (x-axis, y-axis, and z-axis directions shown in (a) of
The gyro sensor 604 is provided inside the housing 60. The gyro sensor 604 detects the angular velocities around the three axes (the above-described x, y, and z axes), respectively. Angular velocity data representing the detected angular velocities is output to the UI controller 605. The UI controller 605 outputs, to the gyro sensor 604, a control instruction for the gyro sensor 604. Any number and any combination of gyro sensors may be used as long as the angular velocities around three axes are detected. The gyro sensor 604 may be constituted by a two-axis gyro sensor and a one-axis gyro sensor, like the gyro sensor 703. Alternatively, the gyro sensor 604 may be a gyro sensor for detecting the angular velocity around one axis or two axes.
The vibrator 619 is, for example, a vibration motor or a solenoid. The vibrator 619 is connected to the UI controller 605. The terminal device 6 is vibrated by actuating the vibrator 619 in accordance with a control instruction outputted from the UI controller 605 to the vibrator 619. The vibration of the terminal device 6 is transmitted to the user's hand holding the terminal device 6. Thus, a so-called vibration-feedback game is realized.
The UI controller 605 outputs, to the codec LSI 606, the operation data including the touch position data, the stick data, the operation button data, the orientation data, the acceleration data, and the angular velocity data, which have been received from the respective components. If another device is connected to the terminal device 6 through the extension connector 67, data representing operation to the other device may be included in the operation data.
The codec LSI 606 is a circuit for performing a compression process on data to be transmitted to the game apparatus body 5, and a decompression process on data transmitted from the game apparatus body 5. The LCD 61, the camera 66, the sound IC 608, the wireless module 610, the flash memory 613, and the infrared communication module 612 are connected to the codec LSI 606. The codec LSI 606 includes a CPU 617 and an internal memory 618. Although the terminal device 6 is configured not to perform a game process, the terminal device 6 may execute a program for managing the terminal device 6 or a program for communication. For example, a program stored in the flash memory 613 is loaded into the internal memory 618 and executed by the CPU 617 when the terminal device 6 is powered on, thereby starting up the terminal device 6. A part of the area of the internal memory 618 is used as a VRAM for the LCD 61.
The camera 66 takes an image in accordance with an instruction from the game apparatus body 5, and outputs data of the taken image to the codec LSI 606. The codec LSI 606 outputs, to the camera 66, a control instruction for the camera 66, such as an instruction to take an image. The camera 66 is also capable of taking a moving picture. That is, the camera 66 is capable of repeatedly performing image taking, and repeatedly outputting image data to the codec LSI 606.
The sound IC 608 is connected to the loudspeakers 607 and the microphone 609. The sound IC 608 is a circuit for controlling input of sound data from the microphone 609 to the codec LSI 606 and output of sound data from the codec LSI 606 to the loudspeakers 607. Specifically, when the sound IC 608 receives sound data from the codec LSI 606, the sound IC 608 performs D/A conversion on the sound data, and outputs a resultant sound signal to the loudspeakers 607 to cause the loudspeakers 607 to output a sound. The microphone 609 detects sound (such as user's voice) propagated to the terminal device 6, and outputs a sound signal representing the sound to the sound IC 608. The sound IC 608 performs A/D conversion on the sound signal from the microphone 609, and outputs a predetermined form of sound data to the codec LSI 606.
The codec LSI 606 transmits the image data from the camera 66, the sound data from the microphone 609, and the operation data from the UI controller 605 (terminal operation data), to the game apparatus body 5 through the wireless module 610. In the exemplary embodiment, the codec LSI 606 subjects the image data and the sound data to a compression process similar to that performed by the codec LSI 27. The compressed image data and sound data, and the terminal operation data are output to the wireless module 610 as transmission data. The antenna 611 is connected to the wireless module 610, and the wireless module 610 transmits the transmission data to the game apparatus body 5 through the antenna 611. The wireless module 610 has the same function as the terminal communication module 28 of the game apparatus body 5. That is, the wireless module 610 has a function of connecting to a wireless LAN by a method based on, for example, the IEEE802.11n standard. The data transmitted from the wireless module 610 may be encrypted according to need, or may not be encrypted
As described above, the transmission data transmitted from the terminal device 6 to the game apparatus body 5 includes the operation data (terminal operation data), the image data, and the sound data. If another device is connected to the terminal device 6 through the extension connector 67, data received from the other device may be included in the transmission data. The infrared communication module 612 performs, with another device, infrared communication based on, for example, the IRDA standard. The codec LSI 606 may include, in the transmission data, data received by the infrared communication, and transmit the transmission data to the game apparatus body 5, according to need.
As described above, the compressed image data and sound data are transmitted from the game apparatus body 5 to the terminal device 6. These data are received by the codec LSI 606 through the antenna 611 and the wireless module 610. The codec LSI 606 decompresses the received image data and sound data. The decompressed image data is output to the LCD 61, and an image according to the image data is displayed on the LCD 61. On the other hand, the decompressed sound data is output to the sound IC 608, and a sound based on the sound data is output from the loudspeakers 607.
When control data is included in the data received from the game apparatus body 5, the codec LSI 606 and the UI controller 605 make control instructions for the respective components, according to the control data. As described above, the control data represents control instructions for the respective components (in the exemplary embodiment, the camera 66, the touch panel controller 601, the marker section 65, the sensors 602 to 604, the vibrator 619, and the infrared communication module 612) included in the terminal device 6. In the exemplary embodiment, the control instructions represented by the control data are considered to be instructions to start and halt (stop) the operations of the above-mentioned components. That is, some components which are not used for a game may be halted to reduce power consumption. In this case, data from the halted components are not included in the transmission data transmitted from the terminal device 6 to the game apparatus body 5. Since the marker section 65 is constituted by infrared LEDs, the marker section 65 is controlled by simply turning on/off the supply of power thereto.
As described above, the terminal device 6 includes the operation means such as the touch panel 62, the analog sticks 63, and the operation buttons 64. In another embodiment, however, the terminal device 6 may include other operation means instead of or in addition to these operation means.
The terminal device 6 includes the magnetic sensor 602, the acceleration sensor 603, and the gyro sensor 604 as sensors for calculating the movement (including the position and the attitude, or a change in the position or the attitude) of the terminal device 6. In another embodiment, however, the terminal device 6 may include one or two of these sensors. In still another embodiment, the terminal device 6 may include other sensors instead of or in addition to these sensors.
The terminal device 6 includes the camera 66 and the microphone 609. In another embodiment, however, the terminal device 6 may not include the camera 66 and the microphone 609, or may include either of the camera 66 and the microphone 609.
The terminal device 6 includes the marker section 65 as a component for calculating the positional relation between the terminal device 6 and the controller 7 (such as the position and/or the attitude of the terminal device 6 as viewed from the controller 7). In another embodiment, however, the terminal device 6 may not include the marker section 65. In still another embodiment, the terminal device 6 may include other means as a component for calculating the above-mentioned positional relation. For example, the controller 7 may include a marker section, and the terminal device 6 may include an image pickup element. In this case, the marker 8 may include an image pickup element instead of an infrared LED.
Next, a structure of the board type controller 9 will be described with reference to
The platform 9a is formed in the shape of substantially a rectangular parallelepiped, and is in the shape of substantially a rectangle as viewed from the top. For example, the short side of the rectangular shape of the platform 9a is approximately 30 cm, and the long side thereof is approximately 50 cm. The upper surface of the platform 9a is flat, and has a pair of planes on which the user stands with the bottoms of his/her feet contacting thereto. Specifically, the upper surface of the platform 9a has a plane (a back-left region enclosed with a double line in
In the platform 9a, the four load sensors 94a to 94d are arranged at predetermined intervals. In the exemplary embodiment, the four load sensors 94a to 94d are arranged on the periphery of the platform 9a, more specifically, at the four corners of the platform 9a, respectively. The intervals of the load sensors 94a to 94d are appropriately set such that the load sensors 94a to 94d can accurately detect the intention of a game operation which is expressed by a manner of applying a load onto the platform 9a by the user.
The support plate 90 includes an upper plate 90a forming an upper surface and an upper side surface portion, a lower plate 90b forming a lower surface and a lower side surface portion, and an intermediate plate 90c provided between the upper plate 90a and the lower plate 90b. The upper plate 90a and the lower plate 90b are formed by, for example, plastic molding, and are integrated using an adhesive or the like. The intermediate plate 90c is, for example, formed of a single metal plate by press forming. The intermediate plate 90c is fixed onto the four load sensors 94a to 94d. The upper plate 90a has, on a lower surface thereof, a grid-patterned rib (not shown), and is supported by the intermediate plate 90c via the rib. Therefore, when the user stands on the platform 9a, the load is transferred to the four legs 92 via the support plate 90 and the load sensors 94a to 94d. As indicated by arrows in
Each load sensor 94 is, for example, a strain gauge (strain sensor) load cell, which is a load converter for converting an input load to an electrical signal. In the load sensor 94, a strain-generating body 95 is deformed according to an input load, resulting in a strain. The strain is converted into a change of electrical resistance and then converted into a change of voltage by a strain sensor 96 attached to the strain-generating body 95. Therefore, the load sensor 94 outputs, from an output terminal thereof, a voltage signal indicating the input load.
The load sensor 94 may be of other types, such as a tuning fork type, a string vibration type, an electrostatic capacitance type, a piezoelectric type, a magnetostrictive type, and a gyroscopic type.
Referring back to
As shown in
The power button 9c, an AD converter 102, a DC-DC converter 104, and a wireless module 106 are connected to the microcomputer 100. An antenna 106a is connected to the wireless module 106. The four load sensors 94a to 94b are connected to the AD converter 102 via amplifiers 108, respectively.
Further, the board type controller 9 includes a battery 110 for supplying power to the circuit components. In another embodiment, an AC adapter may be connected to the board type controller 9 instead of the battery 110 so that commercial power is supplied to the circuit components. In this case, instead of the DC-DC converter 104, a power circuit, which converts alternating current into direct current and lowers and rectifies a direct-current voltage, may be provided in the board type controller 9. In the exemplary embodiment, power is supplied directly from the battery 110 to the microcomputer 100 and the wireless module 106. In other words, power is constantly supplied from the battery 110 to the wireless module 106 and some components (such as the CPU) in the microcomputer 100 to detect whether or not the power button 9c is turned on and whether or not a command that instructs power-on is transmitted from the game apparatus body 5. On the other hand, power is supplied from the battery 110 through the DC-DC converter 104 to the load sensors 94a to 94d, the AD converter 102, and the amplifiers 108. The DC-DC converter 104 converts a voltage value of direct current supplied from the battery 110 into a different voltage value, and supplies the resultant direct current to the load sensors 94a to 94d, the AD converter 102, and the amplifiers 108.
Supply of power to the load sensors 94a to 94d, the A/D converter 102 and the amplifiers 108 may be performed according to need by the microcomputer 100 that controls the DC-DC converter 104. Specifically, when the microcomputer 100 determines that it is necessary to operate the load sensors 94a to 94d to detect a load, the microcomputer 100 may control the DC-DC converter 104 to supply power to the load sensors 94a to 94d, the A/D converter 102 and the amplifiers 108.
When power is supplied to the load sensors 94a to 94d, the load sensors 94a to 94d each output a signal indicating a load inputted thereto. These signals are amplified by the respective amplifiers 108, and converted from analog signals into digital data by the A/D converter 102. The digital data is input to the microcomputer 100. The detected values of the load sensors 94a to 94d are given identification information of the load sensors 94a to 94d, so that the load sensors 94a to 94d can be identified from the corresponding detected values. Thus, the microcomputer 100 can obtain the data representing the detected load values of the four load sensors 94a to 94d at the same time.
On the other hand, when the microcomputer 100 determines that it is not necessary to operate the load sensors 94a to 94d, i.e., when it is not the time for load detection, the microcomputer 100 controls the DC-DC converter 104 to stop supply of power to the load sensors 94a to 94d, the A/D converter 102, and the amplifiers 108. Thus, the board type controller 9 can operate the load sensors 94a to 94d to detect a load or a distance only when it is required, resulting in a reduction in power consumption for load detection.
Load detection is typically required when the game apparatus body 5 (
The microcomputer 100 may control the DC-DC converter 104 based on a determination that load detection timing occurs at predetermined intervals. When such periodic load detection is performed, information regarding the constant time period may be supplied and stored from the game apparatus body 5 to the microcomputer 100 of the board type controller 9 when the game is started, or it may be preinstalled in the microcomputer 100.
The data representing the detected values from the load sensors 94a to 94d are transmitted as board operation data (input data) for the board type controller 9 from the microcomputer 100 via the radio module 106 and an antenna 106b to the game apparatus body 5. For example, when the microcomputer 100 has performed load detection according to a command from the game apparatus body 5, the microcomputer 100 transmits the detected value data of the load sensors 94a to 94d to the game apparatus body 5 on receipt of the detected value data from the A/D converter 102. The microcomputer 100 may transmit the detected value data to the game apparatus body 5 at predetermined intervals. If the interval of the data transmission is longer than the interval of the load detection, data containing load values which have been detected at a plurality of detection timings up to the next transmission timing may be transmitted.
The wireless module 106 is set so as to perform communication according to the same wireless standard (the Bluetooth, wireless LAN, and the like) as that for the controller communication module 19 of the game apparatus body 5. Accordingly, the CPU 10 of the game apparatus body 5 is allowed to transmit an information acquisition command to the board type controller 9 through the controller communication module 19 and the like. Thus, the board type controller 9 is allowed to receive the command from the game apparatus body 5 through the wireless module 106 and the antenna 106a. Further, the board type controller 9 is allowed to transmit the board operation data including the load detection values (or load calculation values) of the load sensors 94a to 94d to the game apparatus body 5.
For example, in a game which is executed based on a simple sum of four load values detected by the four load sensors 94a to 94d, the user is allowed to stand at any position with respect to the four load sensors 94a to 94d of the board type controller 9. That is, the user is allowed to stand on the platform 9a at any position and in any direction to play a game. In some kinds of games, however, the direction of a load value detected by each of the four load sensors 94 viewed from the user needs to be identified. That is, a positional relation between the four load sensors 94 of the board type controller 9 and the user needs to be recognized. In this case, for example, the positional relation between the four load sensors 94 and the user may be previously defined, and the user may be supposed to stand on the platform 9a in a manner which allows the predetermined positional relation. Typically, a positional relation in which two of the load sensors 94a to 94d are present in front of, behind, to the right of, and to the left of the user standing in the center of the platform 9a, i.e., a positional relation in which the user stands in the center of the platform 9a of the board type controller 9, is defined. In this case, the platform 9a of the board type controller 9 is rectangular in shape as viewed from the top, and the power button 9c is provided at one side (long side) of the rectangle. Therefore, it is previously ruled that the user, using the power button 9c as a guide, stands on the platform 9a such that the long side at which the power button 9c is provided is located in a predetermined direction (front, rear, left or right). In this case, each of the load values detected by the load sensors 94a to 94d is a load value of a predetermined direction (front right, front left, rear right, or rear left) as viewed from the user. Therefore, the board type controller 9 and the game apparatus body 5 can find out a direction to which each detected load value corresponds as viewed from the user, based on the identification information of the load sensors 94 contained in the detected load value data and arrangement data representing previously set (stored) positions or directions of the load sensors 94 with respect to the user. As a result, it is possible to recognize what is intended by a game operation performed by the user, such as an operation direction of forward, backward, rightward or leftward, or which foot of the user is lifted.
Next, an outline of information processing performed on the game apparatus body 5 will be described with reference to
As shown in
As shown in
Further, as shown in
For example, when the user performs stepping on the board type controller 9, the player object Po swims in the sea with flutter kicks at a speed based on the user's stepping action. When the user performs knee bending on the board type controller 9, the player object Po swims in the sea with dolphin kicks at a speed based on the user's knee bending action. In this way, the user is allowed to change the swimming style or the movement speed of the player object Po in accordance with his/her action on the board type controller.
For example, as described above, detected load values based on the user's action on the board type controller 9 are output from the board type controller 9. Using the detected load values allows calculation of a total load applied to the board type controller 9, and a center-of-gravity position of the load applied to the board type controller 9. Further, using a change in the total load or a change in the center-of-gravity position allows estimation of the action of the user on the board type controller 9. Based on the estimated user's action on the board type controller 9, the swimming style and the movement speed of the player object Po are set.
Further, the attitude and the movement direction of the player object Po swimming in the sea change in accordance with the direction and the attitude of the terminal device 6 held by the user. For example, when the user turns the terminal device 6 to the upward, downward, leftward, or rightward direction, the attitude of the player object Po swimming in the sea (the direction to which the player object Po faces in the virtual world) changes in accordance with the direction change of the terminal device 6, and the direction in which the player object Po swims also changes. Specifically, when the user changes the direction of the terminal device 6 such that the back surface of the terminal device 6 faces upward, the attitude of the player object Po changes such that the player object Po faces the sea surface, and the swimming direction of the player object Po changes such that the player object Po swims upward to the sea surface. When the user changes the direction of the terminal device 6 such that the back surface of the terminal device 6 faces leftward, the attitude of the player object Po changes to the left as viewed from the player object Po, and the swimming direction of the player object Po changes to the left. In this way, the user is allowed to change the attitude and the movement direction of the player object Po in accordance with the direction and the attitude of the terminal device 6 held by the user. For example, by associating the attitude and the direction of the terminal device 6 with the attitude and the movement direction of the player object Po, the user is allowed to perform, by using the terminal device 6, a realistic operation as if he/she becomes the player object Po. Further, since the virtual camera is located near the back of the player object Po swimming in the sea, when the attitude and the movement direction of the player object Po change, the attitude and the position of the virtual camera also change. For example, by associating the attitude and the direction of the terminal device 6 with the attitude and the direction of the virtual camera, the user is allowed to experience a sense of looking into the virtual world through the LCD 61 of the terminal device 6.
For example, acceleration data or angular velocity data based on a change in the attitude of the terminal device 6 is output from the terminal device 6. Since the direction of the gravitational acceleration applied to the terminal device 6 can be calculated by using the acceleration represented by the acceleration data, it is possible to estimate the attitude of the terminal device 6 with respect to the vertical direction in the real space. Further, since the angular velocity and/or the dynamic acceleration applied to the terminal device 6 are known by using the angular velocity represented by the angular velocity data and/or the acceleration represented by the acceleration data, it is possible to estimate a change in the attitude (a change in the direction) of the terminal device from its initial attitude in the real space by using the angular velocity and/or the dynamic acceleration. Based on the estimated attitude change (direction change) of the terminal device, the attitude and the movement direction of the player object Po as well as the attitude and the position of the virtual camera are set.
Next, a process of the first embodiment, which is performed in the game system 1, will be described in detail. First, main data used in the process will be described with reference to
As shown in
As the board operation data Daa, a series of operation information (board operation data) transmitted as transmission data from the board type controller 9 is stored, and updated to the latest board operation data. For example, the board operation data Daa includes load data Daa1 and the like. The load data Daa1 is data representing load values detected by the load sensors 94a to 94d of the board type controller 9.
As the terminal operation data Dab, a series of operation information (terminal operation data) transmitted as transmission data from the terminal device 6 is stored, and updated to the latest terminal operation data. For example, the terminal operation data Dab includes acceleration data Dab1, angular velocity data Dab2, and the like. The acceleration data Dab1 is data representing an acceleration (an acceleration vector) detected by the acceleration sensor 603. For example, the acceleration data Dab1 represents a three-dimensional acceleration vector whose components are accelerations in the three-axis (x-axis, y-axis, and z-axis) directions shown in
The game apparatus body 5 sequentially receives the data (e.g., the data representing the detected load value, the acceleration, and the angular velocity) included in the operation information transmitted from the controller 7, the board type controller 9, and the terminal device 6 at predetermined intervals (e.g., at intervals of 1/200 sec.). For example, the received data is successively stored in the main memory by the I/O processor 31. In a process flow described later, the CPU 10 reads, every frame period (e.g., 1/60 sec.), the latest board operation data and the latest terminal operation data from the main memory, to update the board operation data Daa and the terminal operation data Dab, respectively.
The operation information transmitted at predetermined intervals from the controller 7, the board type controller 9, and the terminal device 6 may be temporarily stored in the buffer (not shown) included in the controller communication module 19 or the terminal communication module 28. In this case, the data stored in the buffer is read every frame period, and thus the board operation data Daa (e.g., the load data Daa1) or the terminal operation data Dab (e.g., the acceleration data Dab1 and the angular velocity data Dab2) in the main memory is updated to be used. At this time, since the cycle of receiving the operation information is different from the processing cycle, a plurality of pieces of information received at a plurality of timings are stored in the buffer. The process is executed by using only the latest operation information among the plurality of pieces of operation information received at the plurality of timings.
The load value data Dac is an aggregate of data each representing a load value detected by the board type controller 9. For example, the load value data Dac is an aggregate of data each representing a sum of load values (total load value) detected by the load sensors 94a to 94d. Specifically, the load value data Dac is an array of data each representing the above-mentioned total load value within a predetermined period, which is calculated time-sequentially, and the data representing the total load value is time-sequentially stored in each element of the array.
The center-of-gravity position data Dad is an aggregate of data each representing a center-of-gravity position of a load applied to the board type controller 9. For example, the center-of-gravity position data Dad is an aggregate of data each representing a position of center of gravity which is calculated based on the load values detected by the respective load sensors 94a to 94d by using a predetermined numerical formula. Specifically, the center-of-gravity position data Dad is an array of data each representing the above-mentioned center-of-gravity position within a predetermined period, which is calculated time-sequentially, and the data representing the center-of-gravity position is time-sequentially stored in each element of the array.
The terminal device direction/attitude data Dae includes real space reference direction data Dae1, current direction data Dae2, and the like. The real space reference direction data Dae1 is data representing a reference direction (attitude; real space reference direction) of the terminal device 6 in the real space. The current direction data Dae2 is data representing a direction and an attitude (current direction) of the terminal device 6 at the current time in the real space. For example, a real space reference direction data Dae1 and a current direction data Dae2 are calculated based on the acceleration data Dab1 and the angular velocity data Dab2 included in the terminal operation data Dab. Methods for calculating a real space reference direction and a current direction will be described later.
The operation direction data Daf includes virtual world reference direction data Daf1, operation instruction direction data Daf2, and the like. The virtual world reference direction data Daf1 is data representing a reference direction set in the virtual world. The operation instruction direction data Daf2 is data representing an operation instruction direction which is currently instructed in the virtual world by the user. Methods for calculating a virtual world reference direction and an operation instruction direction will be described later.
The action/attitude data Dag is data representing an action and an attitude of the player object Po in the virtual world. The movement vector data Dah is data representing a movement speed and a movement direction of the player object Po in the virtual world. For example, the movement vector data Dah represents a movement vector in the virtual world. The position data Dai is data representing a position of the player object Po in the virtual world. The virtual camera data Daj is data relating to a virtual camera set in the virtual world. For example, the virtual camera data Daj includes data relating to a first virtual camera for generating a game image to be displayed on the LCD 61 of the terminal device 6, and data relating to a second virtual camera for generating a game image to be displayed on the monitor 2. The movement trajectory data Dak is data representing a trajectory along which the player object Po has moved in the virtual world.
The action mode flag data Dam is data representing an action mode flag which is set in accordance with an action (e.g., a swimming style) set on the player object Po. For example, when the user performs knee bending on the board type controller 9, the action of the player object Po is set to an action of swimming with dolphin kicks in the sea, and the action mode flag is turned on.
The image data Dan includes player object data Dan1, background image data Dan2, and the like. The player object data Dan1 is data for arranging the player object Po of the first exemplary game in the virtual world to generate a game image. The background image data Dan2 is data for arranging a background of the first exemplary game in the virtual world to generate a game image.
Next, the process of the first embodiment performed by the game apparatus body 5 will be described in detail with reference to
When the game apparatus body 5 is powered on, the CPU 10 of the game apparatus body 5 executes a boot program stored in the ROM/RTC 13 to initialize each unit such as the main memory. Then, the information processing program stored in the optical disc 4 is loaded to the main memory, and the CPU 10 starts to execute the program. The flowcharts shown in
As shown in
Next, the CPU 10 sets a reference direction based on data transmitted from the terminal device 6 (step 41), and proceeds to the next step. Hereinafter, an example of setting of a reference direction by the CPU 10 will be described.
The terminal device 6 repeatedly transmits the above-mentioned data to the game apparatus body 5. In the game apparatus body 5, the terminal communication module 28 sequentially receives the above data, and the I/O processor 31 sequentially stores the terminal operation data, the camera image data, and the microphone sound data in the main memory. In step 41, the CPU 10 reads the latest terminal operation data from the main memory, and updates the acceleration data Dab1 and the angular velocity data Dab2.
Next, the CPU 10 calculates a direction and an attitude of the terminal device 6 in the real space. For example, the CPU 10 calculates, as a reference direction (initial attitude) in the real space, a direction and an attitude of the terminal device 6 at the current time, based on the acceleration represented by the acceleration data Dab1 and the angular velocity represented by the angular velocity data Dab2, and updates the real space reference direction data Dae1 by using data representing the calculated reference direction of the terminal device 6. For example, the CPU 10 is capable of calculating an amount of rotation (an amount of direction change) of the terminal device 6 in the real space, per unit time, based on the angular velocity represented by the angular velocity data Dab2. Further, in a state where the terminal device 6 is substantially stationary (in a static state) in the real space, the acceleration applied to the terminal device 6 is the gravitational acceleration. Therefore, the CPU 10 is capable of calculating a direction of gravity applied to the terminal device 6 (i.e., an attitude of the terminal device 6 with respect to the vertical direction in the real space), based on the acceleration represented by the acceleration data Dab1. Accordingly, the CPU 10 is capable of calculating an initial attitude of the terminal device 6, based on the acceleration represented by the acceleration data Dab1 and the angular velocity represented by the angular velocity data Dab2. In the following description, when step 41 is executed, a direction in which the back surface of the terminal device 6 faces in the real space (the z-axis positive direction shown in
The initial attitude of the terminal device 6 may be calculated based on the acceleration represented by the acceleration data Dab1, or on the direction of a magnetism detected by the magnetic sensor 602. Alternatively, the user is caused to perform a predetermined operation with the terminal device 6 being set in a specific attitude, and the specific attitude at the time when the predetermined operation is performed may be used as an initial attitude. As for the timing at which the initial attitude is set, i.e., the timing at which step 41 is executed, step 41 may be automatically executed when the game is started, or may be executed in accordance with that the user performs a predetermined operation (e.g., an operation to press a predetermined operation button 64) by using the terminal device 6.
In step 41, the CPU 10 calculates a current direction in which the player object Po faces in the virtual world (e.g., a direction in which the player object Po moves if there is no direction change) as a reference direction (initial attitude) in the virtual world, and updates the virtual world reference direction data Daf1 by using data representing the calculated reference direction in the virtual world.
The above-mentioned step 41 is followed by a process at step 42. Thereafter, a process loop of a series of process steps 42 to 51 is repeatedly executed every predetermined period (one frame period).
In step 42, the CPU 10 obtains board operation data transmitted from the board type controller 9, and proceeds to the next step. The board type controller 9 repeatedly transmits the board operation data to the game apparatus body 5. Accordingly, in the game apparatus body 5, the controller communication module 19 sequentially receives the board operation data, and the I/O processor 31 sequentially stores the received board operation data in the main memory. The interval of transmission of the board operation data from the board type controller 9 may be shorter than the game processing period (one frame period), and for example, it is 1/200 sec. In step 42, the CPU 10 reads the latest board operation data from the main memory to update the board operation data Daa1. The board operation data includes data representing identification information of the load sensors 94a to 94d, and data representing the load values detected by the load sensors 94a to 94d. The load data Daa1 is updated by using each of the data identified by the identification information.
Next, the CPU 10 obtains various data transmitted from the terminal device 6 (step 43), and proceeds to the next step. The terminal device 6 repeatedly transmits the data to the game apparatus body 5. Accordingly, in the game apparatus body 5, the terminal communication module 28 sequentially receives the data, and the codec LSI 27 sequentially performs a decompression process on the camera image data and the microphone sound data. Then, the I/O processor 31 sequentially stores the terminal operation data, the camera image data, and the microphone sound data in the main memory. In step 43, the CPU 10 reads the latest terminal operation data from the main memory to update the acceleration data Dab1 and the angular velocity data Dab2.
Next, the CPU 10 performs a game control process (step 44), and proceeds to the next step. The game control process is a process in which, for example, the player object Po in the virtual world is caused to move in accordance with a game operation performed by the user, thereby progressing the game. In the first exemplary game, the user is allowed to play various games by using the terminal device 6 and the board type controller 9. Hereinafter, the game control process at step 44 will be described with reference to
In
The center-of-gravity position is a position of the center of gravity of a load applied to the platform 9a of the board type controller 9, and is determined based on the load values detected by the load sensors 94a to 94d (see
X1=((a+c)−(b+d))×m
Y1=((c+d)−(a+b))×n
where m and n are predetermined constants.
The total load value and the center-of-gravity position, which are thus calculated, vary in accordance with an action or a weight shift (posture) of the user on the board type controller 9. For example, when the user repeats stepping on the board type controller 9, the total load value varies in accordance with the stepping cycle, and the center-of-gravity position shifts as if reciprocating, according to the stepping cycle, between the position on which the user puts his/her left foot and the position on which the user puts his/her right foot. In another example, when the user repeats knee bending on the board type controller 9, the total load value varies in accordance with the cycle of the knee bending, but the variation of the center-of-gravity position is relatively reduced.
Next, the CPU 10 calculates a direction change and an attitude of the terminal device 6 (step 82), and proceeds to the next step. For example, the CPU 10 calculates a direction change and an attitude of the terminal device 6, based on the acceleration represented by the acceleration data Dab1 and the angular velocity represented by the angular velocity data Dab2, and updates the current direction data Dae2 by using data representing the current direction which corresponds to the calculated direction change and attitude of the terminal device 6. The CPU 10 is capable of calculating an amount of rotation (an amount of direction change) of the terminal device 6 in the real space, per unit time, based on the angular velocity represented by the angular velocity data Dab2. Further, in a state where the terminal device 6 is substantially stationary (in a static state) in the real space, the acceleration applied to the terminal device 6 is the gravitational acceleration. Therefore, the CPU 10 is capable of calculating a direction of gravity applied to the terminal device 6 (i.e., the attitude of the terminal device 6 with respect to the vertical direction in the real space), based on the acceleration represented by the acceleration data Dab1. Accordingly, the CPU 10 is capable of calculating a direction change and an attitude of the terminal device 6, based on the acceleration represented by the acceleration data Dab1 and the angular velocity represented by the angular velocity data Dab2. In the following description, a direction (the z-axis positive direction shown in
In the exemplary embodiment, a direction change and an attitude of the terminal device 6 are calculated based on the data representing the acceleration and the angular velocity detected by the terminal device 6. In another embodiment, however, a direction change and an attitude of the terminal device 6 may be calculated by using any one piece data or three or more pieces of data. For example, the magnetic sensor 602 included in the terminal device 6 detects a geomagnetism applied to the terminal device 6. Therefore, based on the direction of the geomagnetism applied to the terminal device 6, a predetermined orientation with respect to the terminal device 6 (i.e., the attitude of the terminal device 6 with respect to the predetermined orientation) can be calculated. Even when a magnetic field is generated in addition to the geomagnetism in the real space where the terminal device 6 is located, an amount of rotation of the terminal device 6 can be calculated. Accordingly, the CPU 10 is capable of calculating a direction change and an attitude of the terminal device 6 by using at least one of the data representing the acceleration, the data representing the angular velocity, and the data representing the magnetism, which are detected by the terminal device 6.
Any calculation method may be used for calculating an attitude of the terminal device 6. For example, a calculation method is considered, in which the attitude of the terminal device 6, which is calculated based on the angular velocity represented by the angular velocity data Dab2, is corrected by using the acceleration represented by the acceleration data Dab1 and the direction of the magnetism detected by the magnetic sensor 602.
Specifically, the CPU 10 firstly calculates an attitude of the terminal device 6 based on the angular velocity represented by the angular velocity data Dab2. Any method may be used for calculating an attitude of the terminal device 6 based on the angular velocity. For example, an attitude of the terminal device 6 may be calculated by using the immediately preceding attitude (most-recently calculated attitude) and the current angular velocity (the angular velocity currently obtained at step 42 in the process loop). The CPU 10 causes the immediately preceding attitude to rotate at the current angular velocity for a unit time to obtain a new attitude. The immediately preceding attitude is represented by the current direction data Dae2, and the current angular velocity is represented by the angular velocity data Dab2. Accordingly, the CPU 10 reads the current direction data Dae2 and the angular velocity data Dab2, and calculates an attitude of the terminal device 6. As described above, the initial attitude of the terminal device 6 is determined in step 41. Therefore, when calculating an attitude of the terminal device 6 based on the angular velocity, the CPU 10 can calculate an attitude of the terminal device 6 at the current time, based on the initial attitude of the terminal device 6.
Next, the CPU 10 corrects the attitude of the terminal device 6 calculated based on the angular velocity, by using the acceleration represented by the acceleration data Dab1. Specifically, the CPU 10 calculates an attitude of the terminal device 6 based on the acceleration represented by the acceleration data Dab1. In a state where the terminal device 6 is substantially stationary, the acceleration applied to the terminal device 6 is the gravitational acceleration. Accordingly, in this state, the CPU 10 is capable of calculating a direction of the gravitational acceleration (direction of gravity) by using the direction of the acceleration represented by the acceleration data Dab1, and therefore, is capable of calculating a direction (attitude) of the terminal device 6 with respect to the direction of gravity.
After the calculation of the attitude of the terminal device 6 based on the acceleration, the CPU 10 corrects the attitude based on the angular velocity, by using the attitude based on the acceleration. Specifically, the CPU 10 performs a correction to approximate, at a predetermined rate, the attitude of the terminal device 6 calculated based on the angular velocity to the attitude of the terminal device 6 calculated based on the acceleration. The predetermined rate may be a preset fixed value, or may be set according to, for example, the acceleration represented by the acceleration data Dab1. Regarding the attitude of the terminal device 6 calculated based on the acceleration, since an attitude cannot be calculated with respect to the direction of rotation around the direction of gravity, the CPU 10 may not perform correction of the attitude with respect to this rotation direction. When correcting the attitude of the terminal device 6 calculated based on the angular velocity, based on the direction of magnetism detected by the magnetic sensor 602, the CPU 10 approximates, at a predetermined rate, the attitude of the terminal device 6 calculated based on the angular velocity to the attitude of the terminal device 6 calculated based on the direction of magnetism. Thus, the CPU 10 is capable of accurately calculating an attitude of the terminal device 6.
Next, the CPU 10 sets a player object Po (step 83), and proceeds to the next step. Hereinafter, a player object setting process in step 83 will be described with reference to
In
Next, the CPU 10 calculates an operation instruction direction with respect to the virtual world reference direction in accordance with the horizontal angular difference and the attitude (up-down angle) of the terminal device 6 in the up-down direction (step 121), and proceeds to the next step. For example, as shown in
Next, the CPU 10 determines whether or not the player object Po moves (step 122). For example, when a movement vector is set in the movement vector data Dah, the CPU 10 determines that the player object Po moves. When the player object Po moves, the CPU 10 proceeds to step 123. On the other hand, when the player object Po does not move, the CPU 10 proceeds to step 129.
In step 123, the CPU 10 calculates a rotation movement angle in accordance with the horizontal angular difference calculated at step 120, and proceeds to the next step. For example, the CPU 10 calculates a rotation movement angle B (angle B shown in
B=A×a1
where A is the horizontal angular difference, and a1 is a positive constant (e.g., 0.001) smaller than 1.
Next, the CPU 10 changes the virtual world reference direction in accordance with the rotation movement angle calculated at step 123 (step 124), and proceeds to the next step. For example, when the virtual world reference direction represented by the virtual world reference direction data Daf1 is projected on the horizontal plane in the virtual world, the CPU 10 changes the virtual world reference direction such that the virtual world reference direction approaches the operation instruction direction by the rotation movement angle, and updates the virtual world reference direction data Daf1 by using the changed virtual world reference direction.
Next, the CPU 10 sets a direction of the player object Po in the virtual world, based on the operation instruction direction represented by the operation instruction direction data Daf2 (step 125), and proceeds to the next step. For example, the CPU 10 updates the action/attitude data Dag by using the operation instruction direction represented by the operation instruction direction data Daf2 as the direction of the player object Po. Accordingly, the direction of the player object Po in the virtual world is set based on the attitude of the terminal device 6 in the real space. For example, when the user turns the back surface of the terminal device 6 upward, the direction of the player object Po is set at an elevation angle according to an angle at which the back surface faces upward with respect to the vertical direction. When the user turns the back surface of the terminal device 6 downward, the direction of the player object Po is set at a depression angle according to an angle at which the back surface faces downward with respect to the vertical direction. Further, a left-right direction of the player object Po is set based on a left-right direction change of the terminal device 6 with respect to the real space reference direction. For example, when the terminal device 6 rotates in the yaw direction (see
Next, the CPU 10 performs a player object action setting process (step 126), and proceeds to the next step. Hereinafter, the player object action setting process at step 126 will be described with reference to
In
In step 141, the CPU 10 determines whether or not the total load value is equal to or greater than a predetermined value. For example, the CPU 10 determines whether or not the latest total load value represented by the load value data Dac is equal to or greater than the predetermined value. The predetermined value is a threshold value for determining that the user performs as action such as knee banding on the board type controller 9. For example, the threshold value is set to a value obtained by adding a predetermined rate (e.g., 20%) to the weight of the user on the board type controller 9. The weight of the user on the board type controller 9 may be calculated based on the total load value (e.g., the weight may be an average of total load values obtained within a predetermined period), or may be previously inputted by the user. When the total load value is equal to or greater than the predetermined value, the CPU 10 proceeds to step 142. When the total load value is smaller than the predetermined value, the CPU 10 proceeds to step 144.
In step 142, the CPU 10 sets the object action to an action of doing a dolphin kick, and proceeds to the next step. For example, when the total load value is equal to or greater than the predetermined value, the CPU 10 determines that the user performs knee bending on the board type controller 9. In this case, the CPU 10 sets the action of the player object Po to an action of swimming in the dolphin kick style, and to an action of doing a dolphin kick, and then updates the action/attitude data Dag by using the set action.
Next, the CPU 10 sets the action mode flag to ON (step 143), and ends the process of this sub-routine. For example, the CPU 10 sets the action mode flag represented by the action mode flag data Dam to ON.
On the other hand, when it is determined at step 141 that the total load value is smaller than the predetermined value, the CPU 10 determines whether or not the center-of-gravity position represented by the center-of-gravity position data Dad has shifted from outside the right-foot region to inside the right-foot region (step 144). When the result of the determination is that the center-of-gravity position has shifted from outside the right-foot region to inside the right-foot region, the CPU 10 proceeds to step 145. On the other hand, when the result of the determination is that the center-of-gravity position has not shifted from outside the right-foot region to inside the right-foot region, the CPU 10 proceeds to step 146.
In the predetermined coordinate system (e.g., an X1Y1 coordinate system in which the center of the platform 9a corresponds to an origin thereof, the long side direction of the platform 9a corresponds to the X1 axis direction, and the short side direction corresponds to the Y1 axis direction) corresponding to a position on the platform 9a of the board type controller 9, a region (right-foot region) to which the center-of-gravity position shifts when the user lifts the left foot and puts down the right foot in the stepping action, and a region (left-foot region) to which the center-of-gravity position shifts when the user lifts the right foot and puts down the left foot in the stepping action, are set. For example, the left-foot region and the right-foot region are provided on the left-half part and the right-half part of the platform 9a (with the power button 9c facing downward, for example), respectively, and a neutral region having a predetermined width and extending in the front-rear direction is set between the left-foot region and the right-foot region. In the process at step 144, the determination result is positive when the latest center-of-gravity position represented by the center-of-gravity position data Dad shifts from outside the right-foot region to inside the right-foot region, such as when the latest center-of-gravity position shifts from inside the neutral region to inside the right-foot region.
It is considered that the user may perform stepping while turning on the board type controller 9. In this case, if the positions of the left-foot region, the right-foot region, and the neutral region are fixed, accurate determination of the stepping action cannot be performed. In such a case, the left-foot region, the right-foot region, and the neutral region in the coordinate system may be shifted based on the shift of the center-of-gravity position in the coordinate system. For example, if the distance of shift of the center-of-gravity position within a predetermined period is equal to or longer than a predetermined length, the neutral region is shifted such that, in the center position of the movement trajectory of the center-of-gravity position within the predetermined period, the neutral region extends orthogonally to the movement trajectory, and the left-foot region and the right-foot region are shifted in accordance with the shift of the neutral region. Shifting the left-foot region, the right-foot region, and the neutral region in this way enables accurate determination of the stepping action even when the user performs stepping while turning on the board type controller 9.
In the above-described determination of the stepping action, the CPU 10 determines whether the foot with which the user takes a step on the board type controller 9 is the left foot or the right foot. However, such distinction between the left foot and the right foot may not be performed. For example, in the case where the process is performed such that the above-mentioned “left foot” is regarded as “one foot” and the “right foot” as “the other foot”, it is possible to make an instruction of an action in which the user's stepping action is synchronized with the flutter kick action of the player object Po although there is a possibility that the foot with which the user takes a step and the foot with which the player object Po does a flutter kick may be reversed to those described above.
In step 145, the CPU 10 sets the object action to an action of doing a flutter kick with its right foot, and ends the process of this sub-routine. For example, when the center-of-gravity position shifts from outside the right-foot region to inside the right-foot region, the CPU 10 determines that the user performs stepping such that he/she lifts the left foot and puts down the right foot on the board type controller 9. In this case, the CPU 10 sets the action of the player object Po to an action of swimming in the flutter kick style, and to an action of doing a flutter kick with its right foot, and then updates the action/attitude data Dag by using the set action.
In step 146, the CPU 10 determines whether or not the center-of-gravity position represented by the center-of-gravity position data Dad shifts from outside the left-foot region to inside the left-foot region. When the result of the determination is that the center-of-gravity position shifts from outside the left-foot region to inside the left-foot region, the CPU 10 proceeds to step 147. When the result of the determination is that the center-of-gravity position does not shift from outside the left-foot region to inside the left-foot region, the CPU 10 proceeds to step 151
In step 147, the CPU 10 sets the object action to an action of doing a flutter kick with its left foot, and ends the process of this sub-routine. For example, when the center-of-gravity position shifts from outside the left-foot region to inside the left-foot region, the CPU 10 determines that the user performs stepping such that he/she lifts the right foot and puts down the left foot on the board type controller 9. In this case, the CPU 10 sets the action of the player object Po to an action of swimming in the flutter kick style, and to an action of doing a flutter kick with its left foot, and then updates the action/attitude data Dag by using the set action.
When it is determined at step 140 that the action mode flag is ON, the CPU 10 determines whether or not a predetermined time has passed from when the action mode flag was set to ON (step 148). When the result of the determination is that the predetermined time has passed, the CPU 10 proceeds to step 149. When the predetermined time has not passed, the CPU 10 proceeds to step 150. The predetermined time is a time from when a dolphin kick is done to when a next dolphin kick operation input or flutter kick operation input is enabled. Until the predetermined time has passed, determination of the user's action by using the board type controller 9 is not performed. Thereby, it is possible to prevent an erroneous determination of the user's action, which might occur immediately after a dolphin kick.
In step 149, the CPU 10 sets the action mode flag to OFF, and ends the process of this sub-routine. For example, the CPU 10 sets the action mode flag represented by the action mode flag data Dam to OFF.
On the other hand, in step 150, the CPU 10 sets the object action to “during dolphin kick”, and ends the process of this sub-routine. For example, the CPU 10 continuously sets the action of the player object Po to an action of swimming in the dolphin kick style, and to “during dolphin kick”, and then updates the action/attitude data Dag by using the set action.
In the case where the action mode flag is OFF (negative determination at step 140), the total load value is smaller than the predetermined value (negative determination at step 141), the center-of-gravity position does not shift from outside the right-foot region to inside the right-foot region (negative determination at step 144), and the center-of-gravity position does not shift from outside the left-foot region to inside the left-foot region (negative determination at step 146), the CPU 10 sets the object action to an action of continuing the currently set action (step 151), and ends the process of this sub-routine. For example, when an action of doing a kick (e.g., a flutter kick) is set, the CPU 10 cancels the action, and maintains the swimming style of the player object Po, which is set as the object action, and then updates the action/attitude data Dag by using the set action.
Referring back to
Further, the CPU 10 sets, as a movement direction of the player object Po, the operation instruction direction in the virtual world, which is represented by the operation instruction direction data Daf2. Then, the CPU 10 calculates a movement vector in the virtual world by using the calculated movement speed and movement direction of the player object Po, and updates the movement vector data Dah by using the calculated movement vector. For example, the CPU 10 sets a length of the movement vector by using the calculated movement speed of the player object Po, and sets a direction of the movement vector by using the operation instruction direction represented by the operation instruction direction data Daf2.
Next, the CPU 10 calculates a position of the player object Po (step 128), and ends the process of this sub-routine. For example, the CPU 10 causes the position of the player object Po represented by the position data Dai to shift in the virtual world, based on the movement vector represented by the movement vector data Dah, and updates the position data Dai by using the position after the shifting.
On the other hand, when it is determined at step 122 that the player object Po does not move, the CPU 10 sets a direction of the player object Po in the virtual world, based on the operation instruction direction represented by the operation instruction direction data Daf2 (step 129), and proceeds to the next step. Since the process at step 129 is identical to the process at step 125, repeated description is not necessary.
Next, the CPU 10 sets the object action in a static state (step 130), and ends the process of this sub-routine. For example, the CPU 10 sets the action of the player object Po in a static state (e.g., a state in which the player object Po is not swimming but drifting in the sea), and updates the action/attitude data Dag by using the set action.
Referring back to
Next, the CPU 10 sets a movement trajectory of the player object Po (step 85), and ends the process of the sub-routine. For example, the CPU 10 adds the current position of the player object Po, which is represented by the position data Dai, to the movement trajectory represented by the movement trajectory data Dak, and updates the movement trajectory data Dak by using the movement trajectory to which the current position is added.
Referring back to
Next, the CPU 10 and the GPU 32 generate a terminal game image to be displayed on the terminal device 6 (step 46), and proceed to the next step. For example, the CPU 10 and the GPU 32 read, from the main memory, the data representing the result of the game control process performed at step 44, and read, from the VRAM 34, the data required for generating a terminal game image. Then, the CPU 10 and the GPU 32 generate a terminal game image by using the read data, and store the generated terminal game image in the VRAM 34. Like the monitor game image, any terminal game image may be generated by any method so long as the terminal game image represents the result of the game control process performed at step 44. The terminal game image may be generated by the same method as, or a different method from, that for the monitor game image. For example, the terminal game image may be a three-dimensional CG image which is generated through the steps of: arranging the first virtual camera in the virtual world based on the parameters relating to the first virtual camera, which are represented by the virtual camera data Daj; arranging the player object Po in the virtual world based on the action/attitude data Dag and the position data Dai; and calculating the scene of the virtual world viewed from the first virtual camera.
When the action of the player object Po represented by the action/attitude data Dag is an action of doing a kick (action of doing a dolphin kick or a flutter kick), the player object Po may be arranged in the virtual world so as to perform the action of doing a kick. Thereby, it is possible to cause the player object Po to move in synchronization with the action (stepping or knee bending) the user performs on the board type controller 9.
Next, the CPU 10 generates a monitor game sound to be output to the loudspeakers 2a of the monitor 2 (step 47), and proceeds to the next step. For example, the CPU 10 causes the DSP 33 to generate a monitor game sound to be output from the loudspeakers 2a, in accordance with the result of the game control process performed at step 44. In an example, the CPU 10 causes the DSP 33 to generate a monitor game sound in which BGM or the like to be output from the monitor 2 is added to voices and action sounds of the objects, sound effects and the like, which are supposed to be heard on the basis of the position of the second virtual camera in the virtual world which is set based on the result of the game control process at step 44.
Next, the CPU 10 generates a terminal game sound to be output to the loudspeakers 607 of the terminal device 6 (step 48), and proceeds to the next step. For example, the CPU 10 causes the DSP 33 to generate a terminal game sound to be output from the loudspeakers 607, in accordance with the result of the game control process performed at step 44. In an example, the CPU 10 causes the DSP 33 to generate a terminal game sound in which BGM or the like to be output from the terminal device 6 is added to voices and action sounds of the objects, sound effects and the like, which are supposed to be heard on the basis of the position of the first virtual camera in the virtual world which is set based on the result of the game control process at step 44. The terminal game sound may be the same as or different from the monitor game sound. Further, the terminal game sound may be partially different from the monitor game sound. For example, the terminal game sound and the monitor game sound may include the same BGM and different sound effects. When the monitor game sound and the terminal game sound are the same, the terminal game sound generation step at step 48 need not be performed.
Next, the CPU 10 outputs the monitor game image and the monitor game sound to the monitor 2 (step 49), and proceeds to the next step. For example, the CPU 10 transmits, to the AV-IC 15, the data of the monitor game image stored in the VRAM 34 and the data of the monitor game sound generated by the DSP 33. The AV-IC 15 transmits the data of the monitor game image and the data of the monitor game sound through the AV connector 16 to the monitor 2. Thereby, the monitor game image is displayed on the monitor 2, and the monitor game sound is output from the loudspeakers 2a.
Next, the CPU 10 transmits the terminal game image and the terminal game sound to the terminal device 6 (step 50), and proceeds to the next step. For example, the CPU 10 transmits, to the codec LSI 27, the data of the terminal game image stored in the VRAM 34 and the data of the terminal game sound generated by the DSP 33. The codec LSI 27 performs a predetermined compression process on these data. The compressed data of the terminal game image and the compressed data of the terminal game sound are transmitted from the codec LSI 27 to the terminal communication module 28, and then transmitted from the terminal communication module 28 to the terminal device 6 via the antenna 29. The data of the terminal game image and the data of the terminal game sound transmitted from the game apparatus body 5 are received by the wireless module 610 of the terminal device 6, and are subjected to a predetermined decompression process by the codec LSI 606. The decompressed data of the terminal game image is output to the LCD 61, and the decompressed data of the terminal game sound is output to the sound IC 608. Thereby, the terminal game image is displayed on the LCD 61, and the terminal game sound is output from the loudspeakers 607.
Next, the CPU 10 determines whether to end the game (step 51). The game is to be ended, for example, when conditions for game over or game clear are satisfied, or when the user has performed an operation to end the game. When the game is not to be ended, the CPU 10 returns to step 42 and repeats the processing, whereas when the game is to be ended, the CPU 10 ends the processing of the flowchart. Thereafter, the series of process steps 42 to 51 are repeatedly executed until the CPU 10 determines to end the game at step 51.
According to the above-mentioned processing, when the user performs an operation based on his/her action on the board type controller 9 and thereby a process based on the user's action is performed, the user is allowed to view the result of the process on the LCD 61 of the portable terminal device 6 held by the user. Therefore, the user, who performs an action with the terminal device 6 in his/her hands, is allowed to view the result of the process in a favorable situation. Further, the user is allowed to control the virtual camera, and the attitude and the movement direction of the player object Po by moving the portable terminal device 6. Therefore, it is possible to provide the user with a sense of presence in the virtual world, and with an operation sense of becoming the player object Po.
The game played by using the terminal device 6 and the board type controller 9 is not limited to the above-mentioned first exemplary game, but various exemplary games are considered. In the following description of the outline of information processing according to a second embodiment, a second exemplary game is adopted as an example of the information processing. Since an information processing apparatus for executing an information processing program according to the second embodiment, and an information processing system including the information processing apparatus are identical to those of the first embodiment, the same components as those of the first embodiment are designated by the same reference numerals, and the detailed description thereof is omitted.
Firstly, an outline of information processing performed on the game apparatus body 5 will be described with reference to
In the second exemplary game, as in the first exemplary game, a user performs an operation by using the terminal device 6 and the board type controller 9. Specifically, as in the first exemplary game, the user stands on the board type controller 9 with the terminal device 6 in his/her hands, and performs an operation. Then, the user performs an action on the board type controller 9 (e.g., the user performs knee bending on the board type controller 9, or adjusts the center-of-gravity position of a load applied to the board type controller 9), and simultaneously performs an operation to move the terminal device 6, while viewing the image displayed on the monitor 2 and the image displayed on the LCD 61 of the terminal device 6, thereby playing the game. On each of the LCD 61 of the terminal device 6 and the monitor 2, a game image is displayed, in which a player object Po and a virtual camera in a virtual world each perform an action (e.g., an action of the player object Po to change its attitude and movement direction, and an action of the virtual camera to change its position and attitude) in accordance with the direction and the attitude of the terminal device held by the user, and the action of the user on the board type controller 9, and furthermore, the position and the attitude of the virtual camera set in the virtual world are changed in accordance with the position and the attitude of the player object Po and/or the action of the user.
As shown in
Further, as shown in
For example, when the user performs an action such as knee bending (jumping) on the board type controller 9, the player object Po jumps with the pogo stick at a speed according to the knee bending. When the user performs an action to shift the center-of-gravity position of the load applied to the board type controller 9 while the player object Po is in the air in the virtual world, the movement direction of the player object Po in the air is changed to a direction according to the shift of the center-of-gravity position. In this way, the user is allowed to change the jumping power (movement speed) and the movement direction of the player object Po in accordance with his/her action on the board type controller 9.
When the user changes the attitude of the terminal device 6 or rotates the terminal device 6 to change its direction, the movement direction in which the player object Po jumps out, or the position and the attitude of the virtual camera is changed. For example, when the user turns the terminal device 6 to the left or to the right in the real space, the direction in which the player object Po moves in the virtual world changes in accordance with the direction change of the terminal device 6. Further, in accordance with the change in the movement direction, the position and the attitude of the virtual camera change such that a horizontal line-of-sight direction obtained by projecting the line-of-sight direction of the virtual camera on the horizontal plane in the virtual world becomes equal to a horizontal movement direction obtained by projecting the movement direction on the horizontal plane in the virtual world. Specifically, when the user changes the direction of the terminal device 6 such that the back surface thereof turns to the left, the movement direction of the player object Po changes to the leftward direction in the virtual world. Then, the line of sight of the virtual camera turns to the movement direction, and the position and the attitude of the virtual camera change such that the virtual camera is located near and behind the player object Po.
When the user turns the terminal device 6 upward or downward in the real space, the position and the attitude of the virtual camera change in accordance with the direction change of the terminal device 6. For example, as shown in
In this way, by associating the attitude and the direction of the terminal device 6 with the attitude and the direction of the virtual camera, the user is allowed to experience a sense of looking into the virtual world through the LCD 61 of the terminal device 6. Further, when the user holds the terminal device 6 in such an attitude that the back surface of the terminal device 6 faces downward in the real space, the feet of the player object Po are displayed on the LCD 61 of the terminal device 6, which allows the user to check the landing point of the player object Po or surroundings of the feet of the player object Po. That is, when the user changes the up-down direction of the terminal device 6, the user is allowed to secure a field of view in the movement direction of the player object Po, or a field of view toward the feet of the player object Po, and furthermore, allowed to selectively display his/her desired image on the LCD 61 in accordance with the game situation.
Next, the process of the second embodiment, which is performed by the game system 1, will be described in detail. Firstly, main data used in the process according to the second embodiment will be described with reference to
As shown in
The board operation data Dba includes load data Dba1 and the like. Since the load data Dba1 is identical to the load data Daa1 of the first embodiment, repeated description is not necessary.
The terminal operation data Dbb includes acceleration data Dbb1, angular velocity data Dbb2, and the like. Since the acceleration data Dbb1 and the angular velocity data Dbb2 are identical to the acceleration data Dab1 and the angular velocity data Dab2 of the first embodiment, respectively, repeated description is not necessary.
Since the load value data Dbc and the center-of-gravity position data Dbd are identical to the load value data Dac and the center-of-gravity position data Dad of the first embodiment, respectively, repeated description is not necessary.
The terminal device direction/attitude data Dbe includes real space reference direction data Dbe1, current direction data Dbe2, and the like. Since the real space reference direction data Dbe1 and the current direction data Dbe2 are identical to the real space reference direction data Dae1 and the current direction data Dae2 of the first embodiment, respectively, repeated description is not necessary.
The operation direction data Dbf includes virtual world reference direction data Dbf1, operation instruction direction data Dbf2, and the like. The virtual world reference direction data Dbf1 is data representing a virtual world reference direction set in the virtual world. The operation instruction direction data Dbf2 is data representing an operation instruction direction which is currently instructed in the virtual world by the user. Methods for calculating the virtual world reference direction and the operation instruction direction of the second embodiment will be described later.
The action/attitude data Dbg, the movement vector data Dbh, the position data Dbi, and the virtual camera data Dbj are, as in the first embodiment, data representing the action and the attitude of the player object Po, data representing the movement speed and the movement direction of the player object Po, data representing the position of the player object Po, and data relating to the virtual camera, respectively, although the calculation methods thereof are different from those of the first embodiment as described later.
The jumping power data Dbk is data representing a jumping power (movement speed) of the player object Po, which is calculated based on the user's action on the board type controller 9.
The jump flag data Dbm is data representing a jump flag which is turned on while the player object Po is jumping. The squat flag data Dbn is data representing a squat flag which is turned on when it is determined that the user squats on the board type controller 9.
The image data Dbo includes player object data Dbo1, background image data Dbo2, and the like. The player object data Dbo1 is data for arranging the player object Po of the second exemplary game in the virtual world to generate a game image. The background image data Dbo2 is data for arranging a background of the second exemplary game in the virtual world to generate a game image.
Next, the process of the second embodiment, which is performed by the game apparatus body 5, will be described in detail with reference to
When the game apparatus body 5 is powered on, the CPU 10 of the game apparatus body 5 executes a boot program stored in the ROM/RTC 13 to initialize each unit such as the main memory. Then, the information processing program stored in the optical disc 4 is loaded to the main memory, and the CPU 10 starts to execute the program. The process of the second embodiment to be performed after completion of the above-mentioned process steps is identical to the process of the first embodiment except the game control process at step 44 in the main flow shown in
In
Next, the CPU 10 calculates an operation instruction direction with respect to the virtual world reference direction, in accordance with the horizontal angular difference and the attitude (up/down angle) of the terminal device 6 in the up-down direction (step 162), and proceeds to the next step. For example, the CPU 10 calculates, based on the virtual world reference direction represented by the virtual world reference direction data Dbf1, an operation instruction direction in the virtual world such that an angular difference which occurs when the virtual world reference direction and the operation instruction direction are projected on the horizontal plane in the virtual world is equal to the horizontal angular difference, and the same positional relation is achieved between the real space and the virtual world (i.e., if the current direction rotates to the left with respect to the real space reference direction, the operation instruction direction also rotates to the left with respect to the virtual world reference direction). Further, the CPU 10 calculates, based on the current direction represented by the current direction data Dbe2, an operation instruction direction in the virtual world such that an angular difference between the horizontal direction and the operation instruction direction in the virtual world is equal to an angular difference between the horizontal direction and the current direction in the real space, and the same positional relation is achieved between the real space and the virtual world (that is, if the current direction is the downward direction with respect to the horizontal direction in the real space, the operation instruction direction is also the downward direction with respect to the horizontal direction in virtual world). Then, the CPU 10 updates the operation instruction direction data Dbf2 by using the calculated operation instruction direction.
In the setting of the operation instruction direction at step 162, a range in which the operation instruction direction can be set may be limited. For example, the operation instruction direction may be set within a predetermined angular range on the left side and the right side of the virtual world reference direction with respect to the horizontal direction in the virtual world, and within a predetermined angular range on the upper side and the lower side of the horizontal direction with respect to the vertical direction in the virtual world. In this case, if the calculated operation instruction direction is outside the above-mentioned angular range, the operation instruction direction is shifted into the angular range closest to the calculated operation instruction direction. In another example, a current direction may be set within a predetermined angular range on the left side and the right side of the real space reference direction with respect to the horizontal direction in the real space, and within a predetermined angular range on the upper side and the lower side of the horizontal direction with respect to the vertical direction in the real space. If the calculated current direction is outside the above-mentioned angular range, the current direction is shifted into the angular range closest to the calculated current direction. Also in this case, since the operation instruction direction is calculated based on the current direction limited within the angular range, the operation instruction direction is also set within the angular ranges set in the upward, downward, leftward, or rightward direction.
Next, the CPU 10 determines whether or not the jump flag is set to OFF (step 163). For example, when the jump flag represented by the jump flag data Dbm is set to OFF, the CPU 10 determines that the player object Po is not jumping, and proceeds to step 164. On the other hand, when the jump flag represented by the jump flag data Dbm is set to ON, the CPU 10 determines that the player object Po is jumping, and proceeds to step 166.
In step 164, the CPU 10 sets the object action in a pre jumping state, and proceeds to next step. For example, the CPU 10 sets the action of the player object Po in a pre jumping state (e.g., a state in which the player object Po lands on the ground in the virtual world and tries to take a next jump), and updates the action/attitude data Dbg by using the set action.
Next, the CPU 10 performs a jumping action setting process (step 165), and ends the process of this sub-routine. Hereinafter, the jumping action setting process performed at step 165 will be described with reference to
In
In step 182, the CPU 10 determines whether or not the total load value is equal to or greater than a first threshold. For example, the CPU 10 determines whether or not the latest total load value represented by the load value data Dbc is equal to or greater than the first threshold. The first threshold is a threshold value for determining that the user performs an action of squatting down on the board type controller 9. For example, the first threshold is set at a value obtained by adding a predetermined rate (e.g., 20%) to the weight of the user on the board type controller 9. The weight of the user on the board type controller 9 may be calculated based on the total load value (e.g., an average of total load values obtained in a predetermined period), or may be previously inputted by the user. When the total load value is equal to or greater than the first threshold, the CPU 10 proceeds to step 183. On the other hand, when the total load value is smaller than the first threshold, the CPU 10 proceeds to step 185.
When the user performs an action of bending and stretching (jumping) on the board type controller 9, it is general that the user firstly takes an action of squatting on the board type controller 9 and then takes an action of stretching upward. As shown in
In step 183, the CPU 10 sets the object action to the squatting action, and proceeds to the next step. For example, the CPU 10 sets the action of the player object Po to the squatting action (e.g., a state in which the player object Po squats on the pogo stick for a next jump, with the pogo stick landing on the ground in the virtual world), and updates the action/attitude data Dbg by using the set action.
Next, the CPU 10 sets the squat flag to ON (step 184), and proceeds to step 185. For example, the CPU 10 sets the squat flag represented by the squat flag data Dbn to ON.
In step 185, the CPU 10 determines whether or not the squat flag represented by the squat flag data Dbn is set to ON. When the squat flag is set to ON, the CPU 10 proceeds to step 186. On the other hand, when the squat flag is set to OFF, the CPU 10 ends the process of this sub-routine.
In step 186, the CPU 10 determines whether or not the total load value is smaller than a second threshold. For example, the CPU 10 determines whether or not the latest total load value represented by the load value data Dbc is smaller than the second threshold. The second threshold is a threshold value for determining that the user performs an action of stretching on the board type controller 9. For example, the second threshold is set at a value obtained by subtracting a predetermined rate (e.g., 20%) from the weight of the user on the board type controller 9. When the total load value is equal to or greater than the second threshold, the CPU 10 proceeds to step 187. On the other hand, when the total load value is smaller than the second threshold, the CPU 10 proceeds to step 188.
When the user performs an action of bending and stretching (jumping) on the board type controller 9, it is general that the user firstly takes an action of squatting on the board type controller 9 and then takes an action of stretching upward. As shown in
In step 187, the CPU 10 adds a jumping power, and ends the process of this sub-routine. For example, the CPU 10 adds a predetermined amount to the parameter of the jumping power represented by the jumping power data Dbk, and updates the jumping power data Dbk by using the parameter of the jumping power after the addition. The process at step 187 is performed when the determination result is positive (i.e., the squat flag is ON) at step 185, and the determination result is negative (i.e., the total load value is equal to or greater than the second threshold) at step 186. That is, the process at step 187 is performed during a period from when the user squats to when it is determined that the user stretches. The longer the period (“squat” period) is, the more the jumping power is increased gradually.
On the other hand, in step 188, the CPU 10 sets the object action to the stretching action, and proceeds to the next step. For example, the CPU 10 sets the action of the player object Po to the stretching action (e.g., an action of jumping into the air with the pogo stick from the state in which the pogo stick lands on the ground in the virtual world), and updates the action/attitude data Dbg by using the set action.
Next, the CPU 10 sets a movement vector of the player object Po, based on the operation instruction direction and the jumping power (step 189), and proceeds to the next step. For example, the CPU 10 calculates a movement speed of the player object Po, based on the parameter of the jumping power represented by the jumping power data Dbk. In an example, the CPU 10 calculates a movement speed of the player object Po so as to be proportional to the parameter of the jumping power. Further, the CPU 10 sets a movement direction of the player object Po, based on the operation instruction direction represented by the operation instruction direction data Dbf2. For example, a movement direction is set such that a horizontal movement direction obtained by projecting the movement direction on the horizontal plane in the virtual world is equal to a horizontal operation instruction direction obtained by projecting the operation instruction direction on the horizontal plane in the virtual world. Further, a climb angle in the movement direction, at which the player object Po moves upward in the virtual world, is set to a specific angle. Then, the CPU 10 calculates a movement vector in the virtual world by using the movement speed and the movement direction of the player object Po, and updates the movement vector data Dbh by using the calculated movement vector. For example, the CPU 10 sets a length of the movement vector by using the calculated movement speed of the player object Po, and sets a direction of the movement vector based on the operation instruction direction represented by the operation instruction direction data Dbf2.
Next, the CPU 10 initializes the jumping power (step 190), and proceeds to the next step. For example, the CPU 10 initializes the parameter of the jumping power represented by the jumping power data Dbk to a predetermined initial value, thereby to update the jumping power data Dbk. The initial value at step 190 may be a value indicating that the jumping power is 0, or may be a value indicating a relatively low jumping power.
Next, the CPU 10 sets the squat flag to OFF (step 191), and proceeds to the next step. For example, the CPU 10 sets the squat flag represented by the squat flag data Dbn to OFF.
Next, the CPU 10 sets the jump flag to ON (step 192), and ends the process of this sub-routine. For example, the CPU 10 sets the jump flag represented by the jump flag data Dbm to ON.
Referring back to
Next, the CPU 10 corrects the movement vector of the player object Po based on the center-of-gravity position (step 167), and proceeds to the next step. For example, the CPU 10 corrects the movement vector represented by the movement vector data Dbh by using the latest center-of-gravity position represented by the center-of-gravity position data Dbd, and updates the movement vector data Dbh by using the corrected movement vector. In an example, the CPU 10 calculates a correction vector extending from the center of the platform 9a to the center-of-gravity position, and adds the correction vector to the movement vector that is currently set to correct the movement vector. The length of the correction vector may be a value obtained by multiplexing the distance between the center of the platform 9a and the center-of-gravity position by a predetermined constant, or may be a fixed value. For example, if the center-of-gravity position is present on a position shifted by a distance D from the center of the platform 9a to the left, a correction vector having a length according to the distance D in the leftward direction in the virtual world is calculated, and added to the currently set movement vector. Thereby, the movement vector is corrected toward the position where the center-of-gravity position is present by an amount according to the distance between the center of the platform 9a and the center-of-gravity position.
Next, the CPU 10 corrects the movement vector of the player object Po based on the environment set in the virtual world (step 168), and proceeds to the next step. For example, the CPU 10 corrects the movement vector represented by the movement vector data Dbh, based on the environment (gravity, wind, influence of other objects, and the like) set in the virtual world, and updates the movement vector data Dbh by using the corrected movement vector.
Next, the CPU 10 calculates a position of the player object Po (step 169), and proceeds to the next step. For example, the CPU 10 causes the position of the player object Po represented by the position data Dbi to shift in the virtual world, based on the movement vector represented by the movement vector data Dbh, and updates the position data Dbi by using the position after the shifting.
Next, the CPU 10 determines whether or not the player object Po has landed from the air in the virtual world (step 170). For example, the CPU 10 determines whether or not the player object Po has landed (e.g., the position of the player object Po is on a topography object or another object in the virtual world) based on the position of the player object Po represented by the position data Dbi. When the result of the determination is that the player object Po has landed, the CPU 10 proceeds to step 171. On the other hand, when the result of the determination is that the player object Po has not landed, the CPU 10 ends the process of this sub-routine.
In step 171, the CPU 10 initializes the movement vector of the player object Po, and proceeds to the next step. For example, the CPU 10 initializes the movement vector represented by the movement vector data Dbh to update the movement vector data Dbh. In step 171, the movement vector may be initialized to a parameter indicating that the player object Po does not move, or may be initialized to a predetermined movement vector.
Next, the CPU 10 sets the jump flag to OFF (step 172), and ends the process of this sub-routine. For example, the CPU 10 sets the jump flag represented by the jump flag data Dbm to OFF.
In the virtual camera setting process (step 84) of the second embodiment, a first virtual camera for generating a terminal game image is set such that a first player object Po1 arranged in the virtual world is included in the display range, based on the operation instruction direction represented by the operation instruction direction data Dbf2. Specifically, as described with reference to
In the monitor game image generation process (step 45) and the terminal game image generation process (step 46) of the second embodiment, images representing the result of the game control process are generated, respectively, as in the first embodiment. For example, the monitor game image is generated as a three-dimensional CG image which is generated through the steps of: arranging the second virtual camera in the virtual world based on the parameters relating to the second virtual camera, which are represented by the virtual camera data Dbj; arranging the player object Po and the like in the virtual world based on the action/attitude data Dbg and the position data Dbi; and calculating a scene of the virtual world viewed from the second virtual camera. The terminal game image is generated as a three-dimensional CG image which is generated through the steps of: arranging the first virtual camera in the virtual world based on the parameters relating to the first virtual camera, which are represented by the virtual camera data Dbj; arranging the player object Po and the like in the virtual world based on the action/attitude data Dbg and the position data Dbi; and calculating a scene of the virtual world viewed from the first virtual camera.
In this way, according to the above-mentioned process, when the user performs an operation based on his/her action on the board type controller 9 and thereby a process based on the user's action is performed, the user is allowed to view the result of the process on the LCD 61 of the portable terminal device 6 held by the user. Therefore, the user, who performs an action with the terminal device 6 in his/her hands, is allowed to view the result of the process in a favorable situation for the user. Further, since the user is allowed to control the position and the attitude of the virtual camera or the attitude and the movement direction of the player object Po by moving the portable terminal device 6, it is possible to provide the user with a sense of presence in the virtual world, and with an operation sense of becoming the player object Po. Furthermore, in the second exemplary game, the movement direction of the player object Po is determined based on the attitude of the portable terminal device 6, but the movement direction after the player object Po has jumped is adjusted in accordance with the action of the user on the board type controller 9. Accordingly, the movement direction of the player object Po can be changed not only by an operation using the terminal device 6 but also by an operation using the board type controller 9, which provides the user with a new operation sense.
Hereinafter, information processing according to a third embodiment will be described based on another exemplary game which is played by using the terminal device 6 and the board type controller 9. In the following description of the outline of the information processing according to the third embodiment, a third exemplary game is adopted as an example of the information processing. Since an information processing apparatus for executing an information processing program according to the third embodiment, and an information processing system including the information processing apparatus are identical to those of the first embodiment, the same components as those of the first embodiment are designated by the same reference numerals, and the detailed description thereof is omitted.
Firstly, an outline of information processing performed on the game apparatus body 5 will be described with reference to
In the third exemplary game, as in the first exemplary game shown in
As shown in
Further, as shown in
For example, when the user performs an action to shift forward the center-of-gravity position of a load the user applies to the board type controller 9, the player object Po moves forward in the direction of the first player object Po1 at a speed according to a forward length from the center of the platform 9a to the center-of-gravity position. When the user performs an action to shift backward the center-of-gravity position of the load the user applies to the board type controller 9, the player object Po moves backward in the direction of the first player object Po1 at a speed according to a backward length from the center of the platform 9a to the center-of-gravity position. In this way, the user is allowed to move the player object Po forward and backward in accordance with his/her action on the board type controller 9.
When the user changes the attitude of the terminal device 6 or rotates the terminal device 6 to change the direction of the terminal device 6, the direction of the player object Po and the position of the target object To change. Specifically, as shown in
When the direction of the terminal device 6 changes upward or downward, the direction of the turret (second player object Po2) changes upward or downward in the virtual world with the change in the direction of the terminal device 6, and the position of the target object To, which is a target of a shell shot from the turret, also changes in the virtual world. That is, the user is allowed to change the direction of the turret (the position of the target object To) upward, downward, leftward, and rightward in accordance with the direction of the terminal device 6. Thus, the user is allowed to direct the turret (the arrange the target object To) to his/her desired direction (position) by only changing the direction of the terminal device 6.
Next, the process of the third embodiment, which is performed by the game system 1, will be described in detail. First, main data used in the process according to the third embodiment will be described with reference to
As shown in
The board operation data Dca includes load data Deal and the like. Since the load data Dca1 is identical to the load data Daa1 of the first embodiment, repeated description is not necessary.
The terminal operation data Dcb includes acceleration data Dcb1, angular velocity data Dcb2, and the like. Since the acceleration data Dcb1 and the angular velocity data Dcb2 are identical to the acceleration data Dab1 and the angular velocity data Dab2 of the first embodiment, respectively, repeated description is not necessary.
Since the load value data Dcc and the center-of-gravity position data Dcd are identical to the load value data Dac and the center-of-gravity position data Dad of the first embodiment, respectively, repeated description is not necessary.
The terminal device direction/attitude data Dee includes real space reference direction data Dce1, current direction data Dce2, and the like. As in the first embodiment, the real space reference direction data Dce1 is data representing the reference direction of the terminal device 6 in the real space, and the current direction data Dce2 is data representing the direction and the attitude of the terminal device 6 at the current time in the real space. However, in the third embodiment, the respective direction data are subjected to various corrections. Methods of calculating the real space reference direction and the current direction according to the third embodiment will be described later.
The operation direction data Dcf includes virtual world reference direction data Dcf1, operation instruction direction data Dcf2, and the like. The virtual world reference direction data Dcf1 is data representing a virtual world reference direction set in the virtual world. The operation instruction direction data Dcf2 is data representing an operation instruction direction which is currently instructed in the virtual world by the user. Methods for calculating the virtual world reference direction and the operation instruction direction of the third embodiment will be described later.
The action/attitude data Dcg includes body attitude data Dcg1 and turret attitude data Dcg2, and the like. The body attitude data Dcg is data representing the action and the attitude of the first player object Po1 (tank body) in the virtual world. The turret attitude data Dcg2 is data representing the action and the attitude of the second player object Po1 (turret) in the virtual world.
The movement vector data Dch is data representing the movement speeds and the movement directions of the respective player objects (the first player object Po1 and the second player object Po2) and the shell object as in the first embodiment, although the calculation method thereof is different from that of the first embodiment as described later.
The position data Dci is data representing the positions of the player object Po, the target object To, the shell object and the like in the virtual world. The virtual camera data Dcj is data relating to the virtual camera as in the first embodiment although the calculation method thereof is different from that of the first embodiment as described later.
The image data Dck includes player object data Dck1, background image data Dck2, and the like. The player object data Dck1 is data for arranging the player object Po (the first player object Pot and the second player object Po2), the target object To, and the shell object of the third exemplary game in the virtual world to generate a game image. The background image data Dck2 is data for arranging a background of the third exemplary game in the virtual world to generate a game image.
Next, the process of the third embodiment, which is performed by the game apparatus body 5, will be described in detail with reference to
When the game apparatus body 5 is powered on, the CPU 10 of the game apparatus body 5 executes a boot program stored in the ROM/RTC 13 to initialize each unit such as the main memory. Then, the information processing program stored in the optical disc 4 is loaded to the main memory, and the CPU 10 starts to execute the program. The process of the third embodiment to be performed after completion of the above-mentioned process steps is identical to the process of the main flow of the first embodiment shown in
In the main flow of the third embodiment, in the reference direction setting process at step 41, a reference direction is set after the attitude and the direction of the terminal device 6 are subjected to various corrections, and the real space reference direction data Dce1 is updated by using the reference direction after the corrections. Further, the real space reference direction after the corrections is converted into a model coordinate system in the virtual world, and the virtual world reference direction data Dcf1 is updated by using the direction after the conversion, as the reference direction in the virtual world. The methods for correcting the attitude and the direction of the terminal device 6 will be described later. Hereinafter, the player object setting process at step 83 according to the third embodiment will be described with reference to
In
In
Next, the CPU 10 corrects the tilt of the terminal device 6 around the Z axis (step 222), and proceeds to the next step. For example, the CPU 10 corrects the direction (attitude) of the terminal device 6 such that the X axis of the terminal device 6 becomes the horizontal direction in the real space. Specifically, the CPU 10 forcibly corrects the X-axis direction to the horizontal direction in the real space by using the X-axis, Y-axis, and Z-axis directions corrected in step 221, and newly calculates a Z-axis direction, based on a cross product of the X-axis direction and the Y-axis direction. Then, the CPU 10 newly calculates a Y-axis direction, based on a cross product of the newly calculated Z-axis direction and the X-axis direction corrected to the horizontal direction.
Next, the CPU 10 performs a correction to limit the tilt of the terminal device 6 in the up-down direction of the terminal device 6 (step 223), and proceeds to the next step. For example, the CPU 10 limits the Z-axis direction newly calculated at step 222 into a predetermined range with respect to the up-down direction in the real space. If the Z-axis direction is outside the range, the CPU 10 resets the Z-axis direction in the closest range. Then, the CPU 10 newly calculates a Y-axis direction, based on a cross product of the reset Z-axis direction and the X-axis direction corrected to the horizontal direction at step 222. Further, the CPU 10 newly calculates an X-axis direction, based on a cross product of the newly calculated Y-axis direction and the reset Z-axis direction. Then, the CPU 10 updates the current direction data Dce2 by using the newly calculated X-axis direction and Y-axis direction, and the reset Z-axis direction.
Also in the reference direction setting process at step 41, the X-axis, Y-axis, and Z-axis directions of the terminal device 6 are corrected as in steps 221 to 223, and the real space reference direction data Dce1 is updated by using the corrected Z-axis direction as the real space reference direction.
Next, the CPU 10 calculates a horizontal angular difference between the real space reference direction and the current direction (step 224), and proceeds to the next step. The horizontal angular difference is an angular difference obtained by projecting an angular difference between the real space reference direction in the real space and the Z-axis direction represented by the current direction data Dce2 on the horizontal plane. The horizontal angular difference indicates an angle at which the direction of the terminal device 6 (the direction in which the back surface of the terminal device 6 faces (the z-axis positive direction shown in
Next, the CPU 10 calculates an up-down angular difference between the horizontal direction in the real space and the current direction (step 225), and proceeds to the next step. For example, the CPU 10 calculates, as an up-down angular difference, an angular difference between the horizontal direction in the real space and the Z-axis direction, by using the Z-axis direction represented by the current direction data Dce2.
Next, the CPU 10 calculates an operation instruction direction corresponding to the virtual world reference direction, in accordance with the horizontal angular difference calculated at step 224 and the up-down angular difference calculated at step 225 (step 226), and ends the process of this sub-routine. For example, based on the virtual world reference direction represented by the virtual world reference direction data Dcf1, the CPU 10 calculates an operation instruction direction in the virtual world such that an angular difference that occurs when the virtual world reference direction and the operation instruction direction are projected on the horizontal plane in the virtual world is equal to the horizontal angular difference, and the same positional relation is achieved between the real space and the virtual world (i.e., if the Z-axis direction rotates to the left with respect to the real space reference direction, the operation instruction direction also rotates to the left with respect to the virtual world reference direction). Further, the CPU 10 calculates an operation instruction direction in the virtual world such that an angular difference between the horizontal direction in the virtual world and the operation instruction direction is equal to the up-down angular difference, and the same positional relation is achieved between the real space and the virtual world (i.e., if the Z-axis direction is downward with respect to the horizontal direction of the real space, the operation instruction direction is also downward with respect to the horizontal direction in the virtual world). Then, the CPU 10 updates the operation instruction direction data Dcf2 by using the calculated operation instruction direction.
Referring back to
In step 203, the CPU 10 sets the direction (turret angle) of the second player object Po2 and the position (target position) of the target object To in accordance with the operation instruction direction, and proceeds to step 209. For example, the CPU 10 sets, as the turret direction of the second player object Po2, the operation instruction direction represented by the operation instruction direction data Dcf2, and updates the turret attitude data Dcg2 by using the set turret direction. Based on the turret direction of the second player object Po2 and the position of the player object Po represented by the position data Dci, the CPU 10 calculates, as a position of the target object To, a position at which a shell object shot from the second player object Po2 at a predetermined shell speed lands in the virtual world. Then, the CPU 10 updates, by using the calculated position, the position of the target object To represented by the position data Dci.
On the other hand, in step 204, the CPU 10 determines whether or not the operation instruction direction is within a second operation range. When the operation instruction direction is within the second operation range, the CPU 10 proceeds to step 205. On the other hand, when the operation instruction direction is outside the second operation range, the CPU 10 proceeds to step 207. The second operation range is a rotation angle range in the horizontal direction, in which the direction of the second player object Po2 and the position of the target object To are changed in accordance with the operation instruction direction, and further, the forward direction (body direction) of the first player object Po1 is changed so as to approach the operation instruction direction by a predetermined angle. For example, the second operation range includes a range from −87° to −5° and a range from +5° to +87° centering around the vertical world reference direction. Then, in step 204, the CPU 10 determines whether or not an angular difference which occurs when the virtual world reference direction and the operation instruction direction are projected on the horizontal plane in the virtual world is within the second operation range, by using the virtual world reference direction represented by the virtual world reference direction data Dcf1 and the operation instruction direction represented by the operation instruction direction data Dcf2. The second operation range corresponds an example of the body direction operation range shown in
In step 205, the CPU 10 sets the direction (turret angle) of the second player object Po2 and the position (target position) of the target object To in accordance with the operation instruction direction, and proceeds to the next step. For example, the CPU 10 sets the operation instruction direction represented by the operation instruction direction data Dcf2, as the turret direction of the second player object Po2, and updates the turret attitude data Dcg2 by using the set turret. Based on the turret direction of the second player object Po2 and the position of the player object Po represented by the position data Dci, the CPU 10 calculates, as a position of the target object To, a position at which a shell object shot from the second player object Po2 at a predetermined shell speed lands in the virtual world. Then, the CPU 10 updates, by using the calculated position, the position of the target object To represented by the position data Dci.
Next, the CPU 10 sets the forward direction (body direction) of the first player object Po1 in accordance with the operation instruction direction (step 206), and proceeds to step 209. For example, based on the forward direction of the first player object Po1 represented by the body attitude data Dcg1 and the operation instruction direction represented by the operation instruction direction data Dcf2, the CPU 10 calculates an angular difference θd which occurs when the forward direction of the first player object Po1 and the operation instruction direction are projected on the horizontal plane in the virtual world. Then, CPU 10 calculates an angle θc2 at which the forward direction of the first player object Po1 is changed, in accordance with the following equation:
θc2=1.0−cos θd
Then, the CPU 10 changes the forward direction of the first player object Po1 so as to approach the operation instruction direction by the calculated angle θc2, and updates the body attitude data Dcg1 by using the changed forward direction. Further, since the line-of-sight direction of the virtual camera for taking a game image to be displayed on the LCD 61 is set to a direction in which the first player object Po1 faces, the CPU 10 changes the virtual world reference direction represented by the virtual world reference direction data Dcf1, to the same direction and by the same angle θc2 as the forward direction of the first player object Po1, and updates the virtual world reference direction data Dcf1 by using the changed virtual world reference direction.
On the other hand, when it is determined at step 204 that the operation instruction direction is outside the second operation range, the CPU 10 determines that the operation instruction direction is within a third operation range. Then, the CPU 10 sets the direction (body direction) of the first player object Po1 in accordance with the operation instruction direction (step 207), and proceeds to the next step. The third operation range is a rotation angle range in the horizontal direction, in which the forward direction (body direction) of the first player object Po1 is changed at an angle relatively greater than that in the second operation range. For example, the third operation range includes a range from −180° to −87° and a range from +87° to +180° centering around the virtual world reference direction. The third operation range corresponds an example of the body direction operation range shown in
In step 207, the CPU 10 changes the forward direction of the first player object Po1 so as to approach the operation instruction direction by a predetermined angle θc3 (e.g., 1.0°), based on the forward direction of the first player object Po1 represented by the body attitude data Dcg1 and the operation instruction direction represented by the operation instruction direction data Dcf2, and updates the body attitude data Dcg1 by using the changed forward direction. Since the line-of-sight direction of the virtual camera for taking a game image to be displayed on the LCD 61 is set to the direction in which the first player object Po1 faces, the CPU 10 changes the virtual world reference direction represented by the virtual world reference direction data Dcf1, to the same direction and by the same angle θc3 as the forward direction of the first player object Po1, and updates the virtual world reference direction data Dcf1 by using the changed virtual world reference direction.
Next, the CPU 10 sets the direction (turret angle) of the second player object Po2 and the position (target position) of the target object To in accordance with the body direction (step 208), and proceeds to step 209. For example, in the third operation range, the direction of the second player object Po2 (turret) arranged on the first player object Po1 changes with the direction change of the first player object Po1 while maintaining the positional relation with the first player object Po1, and further, the position of the target object To also changes with the direction change of the first player object Po1. Accordingly, the CPU 10 changes the turret direction of the second player object Po2 represented by the turret attitude data Dcg2, to the same direction and by the same angle θc3 as the forward direction of the first player object Po1, and updates the turret attitude data Dcg2 by using the changed turret direction. Then, based on the turret direction of the second player object Po2 and the position of the player object Po represented by the position data Dci, the CPU 10 calculates, as a position of the target object To, a position at which a shell object shot from the second player object Po2 at a predetermined shell speed lands in the virtual world. Then, the CPU 10 updates, by using the calculated position, the position of the target object To represented by the position data Dci. That is, in the process at step 208, the turret direction of the second player object Po2 rotates in the virtual world together with the first player object Po1 while maintaining an angle (e.g., −87° or +87°) corresponding to the boundary between the second operation range and the third operation range with respect to the first player object Po1.
In step 209, the CPU 10 sets a movement vector based on the center-of-gravity position and the body direction, and proceeds to the next step. For example, the CPU 10 calculates a movement speed of the player object Po based on the latest center-of-gravity position represented by the center-of-gravity position data Dcd. For example, the CPU 10 calculates a movement speed of the player object Po, based on a Y1 axis value (a coordinate value in a short-side direction) of the center-of-gravity position in a predetermined coordinate system corresponding to a position on the platform 9a of the board type controller 9. For example, when the center of the platform 9a is set at the origin of the coordinate system, if the Y1 axis value of the center-of-gravity position is greater than a predetermined numerical value (i.e., if the center-of-gravity position is provided at a position apart from the center of the platform 9a, forward or backward, by a predetermined distance or more), the CPU 10 sets a forward or backward movement speed of the player object Po in accordance with the numerical value. Specifically, when the front side of the board type controller 9 (the side on which the load sensors 94c and 94d are provided as shown in
When the forward movement speed (e.g., the positive movement speed) of the player object Po is set, the CPU 10 regards the forward direction of the first player object Po1 represented by the body attitude data Dcg1, as the movement direction of the player object Po. When the backward movement speed (e.g., the negative movement speed) of the player object Po is set, the CPU 10 regards a direction opposite to the forward direction of the first player object Po1 represented by the body attitude data Dcg1, as the movement direction of the player object Po. Then, the CPU 10 calculates a movement vector in the virtual world, based on the calculated movement speed and movement direction of the player object Po, and updates the movement vector data Dch by using the calculated movement vector. For example, the CPU 10 sets a length of the movement vector by using the calculated movement speed of the player object Po, and sets a direction of the movement vector by using the forward direction of the first player object Po1 represented by the body attitude data Dcg1 or a direction opposite to the forward direction.
Next, the CPU 10 calculates a position of the player object Po (step 210), and proceeds to the next step. For example, the CPU 10 causes the position of the player object Po represented by the position data Dci to shift in the virtual world, based on the movement vector represented by the movement vector data Dch, and updates the position data Dci by using the position after the shifting.
Next, the CPU 10 determines whether or not the player object Po is during shelling (step 211). When the player object Po is during shelling, the CPU 10 proceeds to step 212. On the other hand, if the player object Po is not during shelling, the CPU 10 ends the process of this sub-routine. The player object Po is capable of shooting a shell object from the second player object Po2 toward the target object To, and a shell is shot from the turret toward the set turret direction in accordance with an operation by the user (e.g., an operation to press an attack button (operation button 64E) of the terminal device 6). The “during shelling” means a period from when the operation to cause the player object Po to shoot a shell object toward the target object To is performed to when the shell object collides with another object or the like and disappears.
In step 212, the CPU 10 calculates a position and a movement vector of the shell object, and ends the process of this sub-routine. For example, when the above-mentioned operation to shoot the shell object has been performed, the CPU 10 sets the position of the shell object in the turret as the second player object Po2, and sets a movement vector having a predetermined shell speed in the turret direction, thereby updating the movement vector of the shell object represented by the movement vector data Dch, and the position of the shell object represented by the position data Dci. After the shell object was shot, the CPU 10 moves the shell object in the virtual world, based on the set movement vector, to set a new position of the shell object, and updates the position of the shell object represented by the position data Dci by using the set position. Further, the CPU 10 corrects the movement vector, based on the environment (gravity, wind, influence of other objects, and the like) set in the virtual world, and updates the movement vector of the shell object represented by the movement vector data Dch by using the corrected movement vector.
In the virtual camera setting process (step 84) of the third embodiment, the first virtual camera for generating a terminal game image is set such that a state of the virtual world viewed from near the back of the first player object Po1 arranged in the virtual world is included in the terminal game image. On the other hand, the second virtual camera for generating a monitor game image is set in the same virtual world as the first virtual camera, such that a state of the virtual world in which the player object Po arranged in the virtual world is viewed from a distance, in the forward direction of the first player object Po1, in a manner of bird's eye viewing is included in the monitor game image. The CPU 10 set the positions of the first virtual camera and the second virtual camera in the virtual world (the parameters relating to the first virtual camera and the second virtual camera), based on the position of the player object Po represented by the position data Dbi and the forward direction of the first player object Po1 represented by the body attitude data Dcg1.
In the monitor game image generation process (step 45) and the terminal game image generation process (step 46) of the third embodiment, images representing the result of the game control process are generated, respectively, as in the first embodiment. For example, the monitor game image is generated as a three-dimensional CG image which is generated through the steps of: arranging the second virtual camera in the virtual world based on the parameters relating to the second virtual camera, which are represented by the virtual camera data Dcj; arranging the player object Po (the first player object Po1 and the second player object Po2), the target object To, the shell object, and the like in the virtual world based on the action/attitude data Dcg and the position data Dci; and calculating a scene of the virtual world viewed from the second virtual camera. The terminal game image is generated as a three-dimensional CG image which is generated through the steps of: arranging the first virtual camera in the virtual world based on the parameters relating to the first virtual camera, which are represented by the virtual camera data Dcj; arranging the player object Po, the target object To, the shell object, and the like in the virtual world based on the action/attitude data Dcg and the position data Dci; and calculating a scene of the virtual world viewed from the first virtual camera.
In this way, according to the above-mentioned process, in the operation using the terminal device 6 within the turret/target direction operation range (the first operation range), only the direction of the second player object Po2 and the position of the target object To change, while the direction of the first player object Po1 and the display range of the virtual world displayed on the LCD 61 do not change. Accordingly, in the operation using the terminal device 6 within the turret/target direction operation range (the first operation range), the objects to be moved by this operation are limited, and favorable operation environment is provided for adjusting the position of the target object To to shoot a shell toward the enemy object Eo or the like. Further, in the operation using the terminal device 6 within the body direction operation range (the second operation range or the third operation range) in the real space, not only the direction of the second player object Po2 and the position of the target object To but also the direction of the first player object Po1 and the position and the direction of the virtual camera can be changed. Accordingly, the operation using the terminal device 6 within the body direction operation range enables an operation of the objects other than the objects operable in the turret/target direction operation range, and is favorable for changing the movement direction of the player object Po, or changing the display range on the LCD 61. Thus, setting at least two operation ranges allows the user to perform various operations by using the attitude of a single device.
In the above-mentioned first to third exemplary games, control (control of the position and the direction) of the virtual camera (the first virtual camera) for generating an image to be displayed on the LCD 61 is performed based on the attitude of the terminal device 6. Such control provides the user with an image that makes the user feel like looking into the virtual world through the LCD 61, and thereby allows the user to experience a sense of presence in the virtual world. Further, the operation based on the attitude of the terminal device 6 enables rotation operations in three directions, i.e., the left-right swing motion (yaw) around the vertical direction (e.g., around the Y-axis direction), the up-down swing motion (pitch) around the left-right horizontal direction (e.g., around the X-axis direction), and the left-right rotation (roll) around the front-rear horizontal direction (e.g., around the Z-axis direction). Therefore, the operation based on the attitude of the terminal device 6 is suitable for control of the virtual camera that is similarly movable in the virtual world. By controlling the attitude of the virtual camera in the virtual world so as to be equal to the attitude of the terminal device 6 in the real space, it is possible to provide the user with an image that makes the user feel like looking into the virtual world along his/her desired direction. Further, in the first to third exemplary games, the player object performs an action (e.g., moves) in accordance with an action of the user on the board type controller 9. That is, the image displayed on the LCD 61 allows the user to experience a sense of presence in the virtual world, and moreover, allows the user to experience an operation sense of becoming the player character in the real space, which enhances the sense of presence in the virtual world.
In the first to third exemplary games, the attitude of the player object Po displayed on the LCD 61 is controlled based on the attitude of the terminal device 6. Such control provides the user with an operation environment as if the terminal device 6 is the player object Po, and allows the user to experience a sense of becoming the player object Po in the virtual world, and a sense of directly operating the player object Po. Further, the operation based on the attitude of the terminal device 6 enables rotation operations in three directions, i.e., the left-right swing motion (yaw) around the vertical direction (e.g., around the Y-axis direction), the up-down swing motion (pitch) around the left-right horizontal direction (e.g., around the X-axis direction), and the left-right rotation (roll) around the front-rear horizontal direction (e.g., around the Z-axis direction). Therefore, the operation based on the attitude of the terminal device 6 is suitable for control of the player object Po that is similarly movable in the virtual world. For example, in the first exemplary game, the left-right swing motion (yaw) around the vertical direction (Y-axis direction) along the LCD 61 of the terminal device 6 is related to an attitude change (yaw) of the player object Po in the left-right direction, the up-down swing motion (pitch) around the left-right direction (X-axis direction) along the LCD 61 is related to an attitude change (pitch) of the player object Po in the up-down direction, and the left-right rotation (roll) around the depth direction (Z-axis direction) of the LCD 61 is related to a rotational attitude change (roll) around the forward direction of the player object Po, thereby providing the user with an image of an object whose attitude changes as desired by the user in the virtual world. Further, in the first to third exemplary games, the player object performs an action (e.g., moves) in accordance with an action of the user on the board type controller 9. That is, the user operates one player object by using a plurality of devices (the terminal device 6 and the board type controller 9), which realizes a new operation. Further, control of the attitude of the player object based on the attitude of the terminal device 6 allows the user to experience a sense of becoming the player object in the virtual world, and a sense of directly operating the player object. Moreover, user's operation on the board type controller 9 allows the user to experience a sense of becoming the player character in the real space, which enhances the sense of presence in the virtual world. Further, in the first to third exemplary games, it is possible to move the player object in the direction forward from the player object. Accordingly, the user is allowed to set, based on the attitude of the terminal device 6, the movement direction of the player object as well as the attitude (forward direction) of the player object, and thus the user is allowed to easily and intuitively set the movement direction of the player object to his/her desired direction. Further, as well as the attitude of the player object, it is possible to set the movement direction of the player object in accordance with the rotation operations in the three directions of the terminal device 6. Therefore, the user is allowed to set his/her desired movement direction as it is in the virtual world.
In the first to third exemplary games, the movement direction of the player object Po is set based on the attitude of the terminal device 6. Such setting of the movement direction provides the user with an operation environment as if the terminal device 6 becomes the player object Po, and allows the user to experience a sense of presence in the virtual world as the player object Po, and a sense of directly operating the player object Po. Further, the operation using the attitude of the terminal device 6 enables rotation operations in three directions, i.e., the left-right swing motion (yaw) around the vertical direction (e.g., around the Y-axis direction), the up-down swing motion (pitch) around the left-right horizontal direction (e.g., around the X-axis direction), and the left-right rotation (roll) around the front-rear horizontal direction (e.g., around the Z-axis direction). Therefore, the operation based on the attitude of the terminal device 6 is suitable for control of the player object Po whose movement direction can be set in at least one direction among the three directions in the virtual world. For example, in the case of the first exemplary game, the left-right swing motion (yaw) around the vertical direction (Y-axis direction) along the LCD 61 of the terminal device 6 is related to a movement direction change (yaw) of the player object Po in the left-right direction, and the up-down swing motion (pitch) around the left-right direction (X-axis direction) along the LCD 61 is related to a movement direction change (pitch) of the player object Po in the up-down direction, thereby providing an object control for causing the player object Po to move in a movement direction desired by the user in the virtual world. Further, in the first to third exemplary games, setting of the movement (e.g., setting of the movement speed) of the player object is performed in accordance with an action of the user on the board type controller 9. That is, the user controls the movement direction and the movement speed of one player object by using a plurality of devices (the terminal device 6 and the board type controller 9), thereby realizing a new operation. Further, setting of the movement direction of the player object based on the attitude of the terminal device 6 allows the user to experience a sense of becoming the player object in the virtual world, and a sense of directly operating the player object. Moreover, the user's operation on the board type controller 9 allows the user to experience an operation sense of becoming the player object in the real space, which enhances the sense of presence in the virtual world.
In the first to third exemplary games, the direction of the virtual world displayed on the LCD 61 of the terminal device 6 is the movement direction of the player object. Accordingly, the user is allowed to set, based on the attitude of the terminal device 6, the movement direction of the player object. Further, since the virtual world viewed in the movement direction is displayed on the LCD 61, the user is allowed to easily and intuitively set the movement direction of the player object to his/her desired direction. Further, as well as the direction of the virtual camera, it is possible to set the movement direction of the player object in accordance with the rotation operations in the three directions of the terminal device 6, the user is allowed to set his/her desired movement direction as it is in the virtual world.
Further, in the first to third exemplary games, an image of a virtual world including at least the player object Po is displayed on the LCD 61 of the terminal device 6. However, an image of another type of a virtual world may be displayed on the LCD 61. For example, an image of a virtual world viewed from a subjective point of the player object Po may be displayed on the LCD 61 without displaying the player object Po. In this case, the direction of the virtual world displayed on the LCD 61 from the subjective point may be the same as the movement direction of the player object Po, or may be different from the movement direction of the player object Po. When the direction of the virtual world displayed on the LCD 61 from the subjective point is the same as the movement direction of the player object Po, the virtual world viewed in the movement direction is displayed on the LCD 61. Therefore, the user is allowed to easily and intuitively set the movement direction of the player object to his/her desired direction.
The above-mentioned first to third exemplary games adopts an example of a process in which control of the position and the attitude of the virtual camera is immediately associated with the operation instruction direction determined based on the attitude of the terminal device 6. However, control of the position and the attitude of the virtual camera may be delayed for a predetermined time in accordance with a change in the operation instruction direction. In this case, after the direction of the player object has changed, the position and the direction of the virtual camera follows the direction of the player object after the predetermined time.
Further, in the first to third exemplary games, the game image displayed on the LCD 61 of the terminal device 6 and the game image displayed on the monitor 2 are images showing the same virtual world (virtual space), but the images are viewed from different viewpoints or in different ranges of the virtual world. Accordingly, the user is allowed to view different views or ranges of the virtual world (virtual space) displayed on the two display screens, and thereby allowed to view appropriate game images according to the game situation or the like. Further, in the first to third exemplary games, the user holds and operates the terminal device 6 to change the position and the attitude of the player object or the virtual camera in accordance with the attitude and the position of the terminal device 6 in the real space, and change the image displayed on the LCD 61 in accordance with the position and the attitude of the player object or the virtual camera. Accordingly, the user, who views the image displayed on the LCD 61 with the terminal device 6 in his/her hands, is given a sense of presence in the virtual world (virtual space). On the other hand, it is difficult for the user, who views only the image displayed on the LCD 61, to know the position of the player object in the entire virtual world (virtual space) and the surroundings of the player object. Such a problem is resolved by displaying, on the monitor 2, a relatively wide range of the virtual world (virtual space).
In the first to third exemplary games, the user is allowed to perform an operation by changing a load applied to the board type controller 9 by the user, and further allowed to perform an operation (an operation according to the attitude or the position of the terminal device 6, a touch operation, a button operation, or the like) with holding the terminal device 6 on which a game image including a player object is displayed. The player object displayed on the terminal device 6 is caused to move in the virtual world (virtual space) in accordance with the operation of changing the load applied to the board type controller 9 and/or the operation using the terminal device 6. Accordingly, the user is allowed to experience a sense of acting as the player object and viewing the virtual world (virtual space), and a sense of operating the player object in the real world.
In the operation using the board type controller 9, presence/absence of a load applied to the board type controller 9, a change in a load, and a center-of-gravity position of a load are used for various operation controls for the player objects. For example, in the first to third exemplary games, the action, the movement speed, the movement speed and the like of the player object are changed in accordance with a change in the load applied to the board type controller 9, and the center-of-gravity position of the load. In the exemplary games, although the direction (e.g., the movement direction or the forward direction of the player object) in the virtual world (virtual space) is set in accordance with the direction of the user's operation, the direction is set based on the attitude (direction) of the terminal device 6. Further, correction of the movement direction in the air in the virtual world in the second exemplary game, and switching between the forward movement and the backward movement in the third exemplary game, are performed based on the center-of-gravity position of the load applied to the board type controller 9. That is, between the operation based on the attitude of the terminal device 6 and the operation using the board type controller 9, an appropriate operation, which facilitates setting of a direction or enhances a sense of presence in the virtual world, is selected. Thus, an appropriate one, between the attitude of the terminal device 6 and the center-of-gravity position of the load applied to the board type controller 9, can be selected according to the game content, as an operation to instruct a direction. In this way, in the case where the terminal device 6 and the board type controller 9 are used as operation means, when setting a direction in the virtual world (virtual space) in accordance with an operation of the user, the user is allowed to select an appropriate operation among a plurality of operations as options.
The game system 1 allows the user to play various games by using the terminal device 6 and the board type controller 9 as operation means. The terminal device 6 serves as a controller which allows the user to perform an input by an operation based on its motion, a touch operation, a button operation or the like, while it also serves as a portable display or a second display. Therefore, the game system 1 realizes a wide range of games. That is, since the terminal device 6 functions as a display device, there may be a game system in which the terminal device 6 is used as display means and the board type controller 9 is used as operation means while the monitor 2 and the controller 7 are not used. Further, since the terminal device 6 functions as an operation device as well as a display device, there may be a game system in which the terminal device 6 is used as display means and the terminal device 6 and the board type controller 9 are used as operation means while the monitor 2 and the controller 7 are not used. Furthermore, since the terminal device 6 functions as an operation device as well as a display device, there may be a game system in which the terminal device 6 is used as display means and operation means while the monitor 2, the controller 7, and the board type controller 9 are not used.
In the above-mentioned embodiments, the terminal device 6 functions as a so-called thin client terminal which does not execute a game process. However, at least a part of the sequential game processes executed by the game apparatus body 5 may be executed by the terminal device 6. For example, the terminal game image generating process may be executed by the terminal device 6. In another example, all the sequential game processes to be executed by the game apparatus body 5 may be executed by the terminal device 6. In this case, since the terminal device 6 functions as a processing device for executing the game processes as well as a display device, there may be a game system in which the terminal device 6 is used as display means, the board type controller 9 is used as operation means, and the terminal device 6 is used as processing means while the monitor 2, the game apparatus body 5, and the controller 7 are not used. In this game system, only the terminal device 6 and the board type controller 9 are connected wirelessly or via a cable, and board operation data is transmitted from the board type controller 9 to the terminal device 6, thereby realizing various kinds of games. Further, when the board type controller 9 is not used, there may be a game system in which the terminal device 6 is used as display means, operation means, and processing means.
In the above-mentioned embodiments, the attitude data (e.g., data outputted from at least one of the magnetic sensor 602, the acceleration sensor 603, and the gyro sensor 604) used for calculating the movement (including the position and the attitude, or a change in the position or the attitude) of the terminal device 6 is transmitted from the terminal device 6 to the game apparatus body 5, and the movement of the terminal device 6 is calculated by the information processing in the game apparatus body 5. However, the movement of the terminal device 6 to be calculated in the game apparatus body 5 may be calculated in the terminal device 6. In this case, data representing the movement of the terminal device 6, which is calculated in the terminal device 6 (i.e., data representing the position and the attitude of the termination device, or a change in the position or the attitude, which is calculated based on the attitude data) is transmitted from the terminal device 6 to the game apparatus body 5, and used in the information processing in the game apparatus body 5.
In the above description, the terminal device 6 and the game apparatus body 5 are connected by wireless communication, and the board type controller 9 and the game apparatus body 5 are connected by wireless communication. However, the inter-device wireless communication may be achieved in a manner other than mentioned above. In a first example, the terminal device 6 serves as a relay device for another wireless communication. In this case, the board operation data of the board type controller 9 is wirelessly transmitted to the terminal device 6, and the terminal device 6 wirelessly transmits, to the game apparatus body 5, the terminal operation data of the terminal device 6 together with the received board operation data. In this case, while the terminal device 6 and the game apparatus body 5 are directly connected by wireless communication, the board type controller 9 is connected via the terminal device 6 to the game apparatus body 5 by wireless communication. In a second example, the board type controller 9 serves as a relay device for another wireless communication. In this case, the terminal operation data of the terminal device 6 is wirelessly transmitted to the board type controller 9, and the board type controller 9 wirelessly transmits, to the game apparatus body 5, the board operation data of the board type controller 9 together with the received terminal operation data. In this case, the board type controller 9 and the game apparatus body 5 are directly connected by wireless communication, and the terminal device 6 is connected via the board type controller 9 to the game apparatus body 5 by wireless communication. When another device serves as a relay device to transmit operation data to the game apparatus body 5, a device which generates the operation data and the relay device which relays the control data may be electrically connected via a cable.
Further, the terminal device 6 and/or the board type controller 9 may be electrically connected to the game apparatus body 5 via cables. In this case, the cables connected to the terminal device 6 and/or the board type controller 9 are connected to a connection terminal of the game apparatus body 5. In a first example, the terminal device 6 and the game apparatus body 5 are electrically connected via a first cable, and the board type controller 9 and the game apparatus body 5 are electrically connected via a second cable. In a second example, the terminal device 6 is electrically connected to the game apparatus body 5 via a cable. In this case, the board operation data of the board type controller 9 may be wirelessly transmitted to the terminal device 6 and then transmitted to the game apparatus body 5 via the cable. Alternatively, the board operation data of the board type controller 9 may be wirelessly transmitted from the board type controller 9 directly to the game apparatus body 5. In a third example, the board type controller 9 is electrically connected to the game apparatus body 5 via a cable. In this case, the terminal operation data of the terminal device 6 may be wirelessly transmitted to the board type controller 9 and then transmitted to the game apparatus body 5 via the cable. Alternatively, the terminal operation data of the terminal device 6 may be wirelessly transmitted from the terminal device 6 directly to the game apparatus body 5.
Further, in the above-mentioned embodiments, the game system 1 includes one terminal device 6 and one board type controller 9. However, the game system 1 may be configured to include a plurality of terminal devices 6 and a plurality of board type controllers 9. In this case, the game apparatus body 5 may be wirelessly communicable with the respective terminal devices 6 and the respective type controllers 9, and may transmit game image data, game sound data, and control data to the respective terminal devices, and receive terminal operation data, camera image data, microphone sound data, and board operation data from the respective terminal devices 6 and the respective board type controllers 9. When the game apparatus body 5 wirelessly communicates with the plurality of terminal devices 6 and the plurality of board type controllers 9, the game apparatus body 5 may perform the wireless communications in a time division manner or a frequency division manner.
When the game system 1 includes a plurality of terminal devices 6 and a plurality of board type controllers 9 as described above, a plurality of users are allowed to play more types of games. For example, when the game system 1 includes two pairs of terminal devices 6 and board type controllers 9, two users are allowed to play a game simultaneously. Further, when the game system 1 includes two pairs of terminal devices 6 and board type controllers 9, since the game system 1 includes three display units, game images for three users can be generated to be displayed on the respective display units.
In the above description, the board type controller 9 is provided with a plurality of load sensors 94. However, if information of the center-of-gravity position of a load applied to the board type controller 9 is not required in the above-mentioned processing, the board type controller 9 may be provided with at least one load sensor 94.
The exemplary embodiments have been described by using the stationary game apparatus 3. However, the information processing program may be executed by an information processing apparatus such as a hand-held game apparatus or a general personal computer. Further, the exemplary embodiments may be applied to, as well as the game apparatus, any hand-held electronic devices, e.g., a PDA (Personal Digital Assistant), a mobile telephone, a personal computer, a camera, and the like. Any device may be connected to the terminal device 6 and the board type controller 9 wirelessly or via cables.
In the above description, the information processing is executed by the game apparatus body 5. However, at least a part of the process steps in the information processing may be performed by another apparatus provided outside the game system 1. For example, when the game apparatus body 5 is configured to be communicable with another apparatus (e.g., a server or another game apparatus), the process steps in the information processing may be performed by the game apparatus body 5 in combination with the other apparatus. For example, the other apparatus performs a process of setting a player object, a virtual world and the like, and data relating to an action or an attitude of the player object is transmitted from the game apparatus body 5 to the other apparatus, and thereby the information processing is performed. Then, image data representing a virtual world generated in the other apparatus is transmitted to the game apparatus body 5, and the virtual world is displayed on the monitor 2 and the LCD 61. Thus, when at least a part of the process steps in the information processing is performed by another apparatus, the same processing as the information processing is achieved. At least a part of the process steps in the information processing may be performed by the board type controller 9 (microcomputer 100). Further, the above-mentioned information processing can be executed by one processor or by a cooperation of a plurality of processors which is/are included in an information processing system constituted by at least one information processing apparatus. Further, in the exemplary embodiment, the processes shown in the above-mentioned flowcharts are performed by the CPU 10 of the game apparatus body 5 executing the predetermined program. However, a part or the entirety of the processes may be performed by a dedicated circuit included in the game apparatus body 5.
Further, the shape of the game apparatus body 5, the shapes of the terminal device 6, the controller 7, and the board type controller 9, and the shapes, numbers, and mounting positions of the operation buttons and the sensors, are merely examples. It should be understood that other shapes, numbers, and mounting positions may be adopted. Further, the processing sequences, set values, display modes, and values used in determination which are used in the above-mentioned game process are merely examples. It is understood that other sequences, display modes, and values may be adopted.
Further, the information processing program (game program) may be supplied to the game apparatus body 5 via a wired or wireless communication circuit, as well as to the game apparatus body 5 via an external storage medium such as the optical disc 4. Further, the information processing program may be previously stored in a nonvolatile storage device inside the game apparatus body 5. Examples of an information storage medium storing the information processing program therein include: a CD-ROM, a DVD, any other optical disc-shaped storage medium similar to these media, a flexible disk, a hard disk, a magnetic optical disk, and a magnetic tape. Further, the information storage medium storing the information processing program therein may be a nonvolatile semiconductor memory or a volatile memory. Such a storage medium is a storage medium readable by a computer or the like. For example, it is possible to provide the above-mentioned various functions by causing a computer or the like to read and execute the programs stored in these storage media.
The systems, devices and apparatuses described herein may include one or more processors, which may be located in one place or distributed in a variety of places communicating via one or more networks. Such processor(s) can, for example, use conventional 3D graphics transformations, virtual camera and other techniques to provide appropriate images for display. By way of example and without limitation, the processors can be any of: a processor that is part of or is a separate component co-located with the stationary display and which communicates remotely (e.g., wirelessly) with the movable display; or a processor that is part of or is a separate component co-located with the movable display and communicates remotely (e.g., wirelessly) with the stationary display or associated equipment; or a distributed processing arrangement some of which is contained within the movable display housing and some of which is co-located with the stationary display, the distributed portions communicating together via a connection such as a wireless or wired network; or a processor(s) located remotely (e.g., in the cloud) from both the stationary and movable displays and communicating with each of them via one or more network connections; or any combination or variation of the above.
The processors can be implemented using one or more general-purpose processors, one or more specialized graphics processors, or combinations of these. These may be supplemented by specifically-designed ASICs (application specific integrated circuits) and/or logic circuitry. In the case of a distributed processor architecture or arrangement, appropriate data exchange and transmission protocols are used to provide low latency and maintain interactivity, as will be understood by those skilled in the art.
Similarly, program instructions, data and other information for implementing the systems and methods described herein may be stored in one or more on-board and/or removable memory devices. Multiple memory devices may be part of the same device or different devices, which are co-located or remotely located with respect to each other.
While the exemplary embodiments have been described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is understood that numerous other modifications and variations can be devised. It is also understood that, from the description of specific embodiments, the one skilled in the art can implement the exemplary embodiments in the equivalent range based on the description and on the common technological knowledge. Further, it should be understood that terms used in the present specification have meanings generally used in the art concerned unless otherwise specified. Therefore, unless otherwise defined, all the jargon and technical terms have the same meanings as those generally understood by one skilled in the art of the exemplary embodiments. In the event of any conflict, the present specification (including meanings defined herein) has priority.
Number | Date | Country | Kind |
---|---|---|---|
2011-050039 | Mar 2011 | JP | national |
2011-083456 | Apr 2011 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5838909 | Roy et al. | Nov 1998 | A |
5853324 | Kami et al. | Dec 1998 | A |
6201554 | Lands | Mar 2001 | B1 |
6225977 | Li | May 2001 | B1 |
6290600 | Glasson | Sep 2001 | B1 |
6416410 | Abou-Samra et al. | Jul 2002 | B1 |
6450886 | Oishi et al. | Sep 2002 | B1 |
6483540 | Akasawa et al. | Nov 2002 | B1 |
6500070 | Tomizawa et al. | Dec 2002 | B1 |
6540614 | Nishino et al. | Apr 2003 | B1 |
6712703 | Miyamoto et al. | Mar 2004 | B2 |
6762746 | Fukuda | Jul 2004 | B2 |
6908388 | Shimizu et al. | Jun 2005 | B2 |
6966837 | Best | Nov 2005 | B1 |
7326117 | Best | Feb 2008 | B1 |
7588498 | Iizuka et al. | Sep 2009 | B2 |
20020006827 | Ogata et al. | Jan 2002 | A1 |
20020022518 | Okuda et al. | Feb 2002 | A1 |
20020140666 | Bradski | Oct 2002 | A1 |
20020155889 | Miyamoto et al. | Oct 2002 | A1 |
20020165028 | Miyamoto et al. | Nov 2002 | A1 |
20030134665 | Kato et al. | Jul 2003 | A1 |
20030216176 | Shimizu et al. | Nov 2003 | A1 |
20030220142 | Siegel | Nov 2003 | A1 |
20040046736 | Pryor et al. | Mar 2004 | A1 |
20040092309 | Suzuki | May 2004 | A1 |
20040219980 | Bassett et al. | Nov 2004 | A1 |
20040229687 | Miyamoto et al. | Nov 2004 | A1 |
20050014543 | Itoi et al. | Jan 2005 | A1 |
20050119053 | Suzuki et al. | Jun 2005 | A1 |
20050130738 | Miyamoto et al. | Jun 2005 | A1 |
20050187015 | Suzuki et al. | Aug 2005 | A1 |
20050255900 | Takahashi et al. | Nov 2005 | A1 |
20060017692 | Wehrenberg et al. | Jan 2006 | A1 |
20060040740 | DiDato | Feb 2006 | A1 |
20060046848 | Abe et al. | Mar 2006 | A1 |
20060262120 | Rosenberg | Nov 2006 | A1 |
20060262210 | Smith et al. | Nov 2006 | A1 |
20060266200 | Goodwin | Nov 2006 | A1 |
20070007143 | Hayashi et al. | Jan 2007 | A1 |
20070008298 | Ohta | Jan 2007 | A1 |
20070015577 | Hsu | Jan 2007 | A1 |
20070018968 | Iwamoto et al. | Jan 2007 | A1 |
20070072662 | Templeman | Mar 2007 | A1 |
20070073196 | Tanaka et al. | Mar 2007 | A1 |
20070208528 | Seo et al. | Sep 2007 | A1 |
20070265085 | Miyamoto et al. | Nov 2007 | A1 |
20080009332 | Kake | Jan 2008 | A1 |
20080042973 | Zhao et al. | Feb 2008 | A1 |
20080062198 | Takahashi et al. | Mar 2008 | A1 |
20080070686 | Satsukawa et al. | Mar 2008 | A1 |
20080096654 | Mondesir et al. | Apr 2008 | A1 |
20080096657 | Benoist | Apr 2008 | A1 |
20080102951 | Eto et al. | May 2008 | A1 |
20080216974 | Pitcher et al. | Sep 2008 | A1 |
20080254821 | Kusuda et al. | Oct 2008 | A1 |
20080261696 | Yamazaki et al. | Oct 2008 | A1 |
20080268956 | Suzuki | Oct 2008 | A1 |
20080274813 | Sato | Nov 2008 | A1 |
20080318681 | Rofougaran et al. | Dec 2008 | A1 |
20090002391 | Williamson et al. | Jan 2009 | A1 |
20090069096 | Nishimoto | Mar 2009 | A1 |
20090070093 | Nakanishi et al. | Mar 2009 | A1 |
20090093305 | Okamoto et al. | Apr 2009 | A1 |
20090156308 | Hsu | Jun 2009 | A1 |
20090187371 | Ohta | Jul 2009 | A1 |
20090244064 | Inokuchi et al. | Oct 2009 | A1 |
20090298585 | Cannon et al. | Dec 2009 | A1 |
20090303204 | Nasiri et al. | Dec 2009 | A1 |
20100045666 | Kornmann et al. | Feb 2010 | A1 |
20100045667 | Kornmann et al. | Feb 2010 | A1 |
20100048357 | Nakagawa et al. | Feb 2010 | A1 |
20100053322 | Marti et al. | Mar 2010 | A1 |
20100058254 | Narita | Mar 2010 | A1 |
20100081505 | Alten et al. | Apr 2010 | A1 |
20100087248 | Takahashi | Apr 2010 | A1 |
20100137063 | Shirakawa et al. | Jun 2010 | A1 |
20100169110 | Sawano et al. | Jul 2010 | A1 |
20100178988 | Izuno et al. | Jul 2010 | A1 |
20100188397 | Tsai et al. | Jul 2010 | A1 |
20100188937 | Watanabe | Jul 2010 | A1 |
20100214216 | Nasiri et al. | Aug 2010 | A1 |
20100245236 | Takayama | Sep 2010 | A1 |
20100245685 | Onodera et al. | Sep 2010 | A1 |
20100279770 | Ikeda | Nov 2010 | A1 |
20100283723 | Konishi | Nov 2010 | A1 |
20100285882 | Hsu | Nov 2010 | A1 |
20100292006 | Terrell et al. | Nov 2010 | A1 |
20100302238 | Yonemori et al. | Dec 2010 | A1 |
20100304857 | Suzuki et al. | Dec 2010 | A1 |
20110039618 | Ichiyanagi et al. | Feb 2011 | A1 |
20110054359 | Sazonov et al. | Mar 2011 | A1 |
20110070953 | Konishi | Mar 2011 | A1 |
20110077088 | Hayashi et al. | Mar 2011 | A1 |
20110092289 | Dagman et al. | Apr 2011 | A1 |
20110159960 | Ueshima et al. | Jun 2011 | A1 |
20110169928 | Gassel et al. | Jul 2011 | A1 |
20110172013 | Shirasaka et al. | Jul 2011 | A1 |
20110244956 | Sakakibara et al. | Oct 2011 | A1 |
20110244957 | Nishimura et al. | Oct 2011 | A1 |
20110250964 | Kulas | Oct 2011 | A1 |
20110250965 | Kulas et al. | Oct 2011 | A1 |
20110281650 | Yamazaki et al. | Nov 2011 | A1 |
20110300930 | Hsu | Dec 2011 | A1 |
20110306425 | Rivard et al. | Dec 2011 | A1 |
20120014558 | Stafford et al. | Jan 2012 | A1 |
20120017236 | Stafford et al. | Jan 2012 | A1 |
20120079080 | Pishevar | Mar 2012 | A1 |
20120086630 | Zhu et al. | Apr 2012 | A1 |
20120086631 | Osman et al. | Apr 2012 | A1 |
20120115596 | Otani | May 2012 | A1 |
20120115609 | Sugiyama et al. | May 2012 | A1 |
20130017876 | Koumbourlis | Jan 2013 | A1 |
20130038532 | Okura et al. | Feb 2013 | A1 |
Number | Date | Country |
---|---|---|
1 726 342 | Nov 2006 | EP |
2 218 485 | Aug 2010 | EP |
2 497 545 | Sep 2012 | EP |
2 497 545 | Oct 2012 | EP |
2015854 | Nov 2013 | EP |
2 442 259 | Apr 2008 | GB |
2 442 259 | Apr 2008 | GB |
H07-36612 | Feb 1995 | JP |
H9-091110 | Apr 1997 | JP |
H 09-294260 | Nov 1997 | JP |
H11-90043 | Apr 1999 | JP |
2000-316143 | Nov 2000 | JP |
2000-325653 | Nov 2000 | JP |
2001-34247 | Feb 2001 | JP |
2002-298160 | Oct 2002 | JP |
2002-325963 | Nov 2002 | JP |
2003-61940 | Mar 2003 | JP |
2003-512142 | Apr 2003 | JP |
2003-325974 | Nov 2003 | JP |
2003-334379 | Nov 2003 | JP |
2004-030408 | Jan 2004 | JP |
2004-159781 | Jun 2004 | JP |
2004-329744 | Nov 2004 | JP |
2005-103154 | Apr 2005 | JP |
2005-137921 | Jun 2005 | JP |
2005-230263 | Sep 2005 | JP |
2006-31307 | Feb 2006 | JP |
2006-39635 | Feb 2006 | JP |
2007-301048 | Nov 2007 | JP |
2008-012353 | Jan 2008 | JP |
2008-15679 | Jan 2008 | JP |
2008-264195 | Nov 2008 | JP |
2008-264402 | Nov 2008 | JP |
2009-172010 | Aug 2009 | JP |
2009-237680 | Oct 2009 | JP |
2009-536058 | Oct 2009 | JP |
2010-055511 | Mar 2010 | JP |
2010-233705 | Oct 2010 | JP |
2010-259611 | Nov 2010 | JP |
2010-273839 | Dec 2010 | JP |
2011-015752 | Jan 2011 | JP |
2011-19810 | Feb 2011 | JP |
2011-019817 | Feb 2011 | JP |
2011-53838 | Mar 2011 | JP |
2011-056049 | Mar 2011 | JP |
0067864 | Nov 2000 | WO |
WO 0130470 | May 2001 | WO |
WO 2004103244 | Feb 2004 | WO |
2010060211 | Jun 2010 | WO |
2011004629 | Jan 2011 | WO |
Entry |
---|
“Virtual Camera System.” Wikipedia. Wikimedia Foundation, Feb. 25, 2011. Web. Jan. 7, 2016. <https://en.wikipedia.org/w/index.php?title=Virtual_camera_system&oldid=415917860>. |
Jul. 18, 2013 Office Action in U.S. Appl. No. 13/362,255, 20 pages. |
Aug. 29, 2013 Office Action in U.S. Appl. No. 13/362,289, 71 pages. |
Aug. 29, 2013 Office Action in U.S. Appl. No. 13/400,944, 58 pages. |
Aug. 29, 2013 Office Action in U.S. Appl. No. 13/402,026, 87 pages. |
Aug. 30, 2013 Office Action in U.S. Appl. No. 13/401,054, 71 pages. |
Apr. 10, 2013 Office Action from U.S. Appl. No. 13/277,561, 43 pages. |
Nov. 21, 2012 Office Action from U.S. Appl. No. 13/271,510, 22 pages. |
Sep. 4, 2012 European Search Report for EP 11184519.4, 6 pages. |
Sep. 4, 2012 European Search Report for EP 11185811.4, 7 pages. |
Sep. 4, 2012 European Search Report for EP 11186930.1, 7 pages. |
Oct. 2, 2012 European Search Report for EP 11186933.5, 7 pages. |
Sep. 4, 2012 European Search Report for EP 11187473.1, 7 pages. |
Sep. 7, 2012 European Search Report for EP 12156629.3, 7 pages. |
Office Action of U.S. Appl. No. 13/333,045 dated Feb. 20, 2014. |
Oct. 1, 2013 Search Report in EP 12156630.1, 9 pages. |
U.S. Office Action dated Jun. 27, 2014 issued in co-pending U.S. Appl. No. 13/283,072. |
Office Action in U.S. Appl. No. 13/362,255 dated Apr. 10, 2014. |
Final Office Action (36 pages) dated Jul. 2, 2014 issued in co-pending U.S. Appl. No. 13/283,032. |
Office Action dated Aug. 20, 2014 issued in U.S. Appl. No. 13/343,913. |
Office Action dated Jun. 27, 2014 issued in co-pending U.S. Appl. No. 13/283,072. |
European Search Report EP Application No. 12 15 0272.8 dated Oct. 28, 2014. |
European Search Report EP Application No. 12 15 3067.9 dated Oct. 29, 2014. |
Office Action dated Dec. 10, 2014 in corresponding U.S. Appl. No. 13/283,032. |
Office Action in co-pending U.S. Appl. No. 13/271,510 dated Sep. 18, 2014. |
Office Action in co-pending U.S. Appl. No. 13/283,072 dated Oct. 10, 2014. |
Office Action in corresponding Japanese Patent Application No. 2011-225538 dated May 21, 2015. |
Office Action in corresponding U.S. Appl. No. 13/352,091 dated May 1, 2015. |
Japanese Notice of Reasons for Refusal dated Mar. 16, 2015 in corresponding JP Application No. 2011-118902. |
Office Action in corresponding U.S. Appl. No. 13/343,913 dated Mar. 4, 2015. |
Office Action issued Japanese Patent Appln. No. 2011-083454 dated Jan. 22, 2015 (with translation). |
Office Action issued Japanese Patent Appln. Nos. 2011-123645 and 2011-123646 dated Feb. 20, 2015. |
The Legend of Zelda: Ocarina of Time, Nintendo DREAM, Kabushiki Kaisha Anbitto, Mar. 1, 2011, vol. 203 p. 11. |
European Search Report for EP11194630.7 dated Feb. 16, 2015. |
Wei et al., “Novel Interface for First Person Shooting Games on PDAs,” 2008, pp. 113-121. |
Office Action in corresponding U.S. Appl. No. 13/343,913 dated Jul. 29, 2015. |
Decision of Refusal in corresponding Japanese Appln. No. 2011-123645 dated Aug. 6, 2015. |
“Minna no Ennichi,” Shukan Famitsu, vol. 27, No. 10, Enterbrain Inc., Feb. 23, 2012, pp. 32-33. |
“Close-up!,” Mobile Software Palm OS, Mobile PRESS, vol. 5, No. 1, Japan- Gijutsu-Hyohron Co., Ltd., Feb. 24, 2005, p. 213. |
“iPhone 3G Perfect Guide,” Mac People, vol. 14, No. 9, Japan, ASCII Media Works, Inc., Sep. 1, 2008, pp. 122-127. |
“The Legend of Zelda: Ocarina of Time 3D,” Famitsu DS+Wii, Enterbrain Inc., Apr. 21, 2011, vol. 13, No. 6. |
Samurai Slash, [online], Aug. 27, 2015, the date of publication: Jun. 18, 2009 URL:http://raku-job.jp/blog/2009/06/iponeipod-touch.html. |
Office Action dated Aug. 28, 2015 issued in corresponding JP Patent Application No. 2011-123644. |
Office Action dated Sep. 1, 2015 issued in corresponding JP Patent Application No. 2011-118901 and English Translation. |
Office Action dated Sep. 1, 2015 issued in corresponding JP Patent Application No. 2011-115402 and English Translation. |
Office Action dated Sep. 1, 2015 issued in corresponding JP Patent Application No. 2011-115404 and English Translation. |
Cameltry: an iPhone ball rolling labyrinth demanding Cameltray and rotations. You had better not compare it with other similar games, uploaded on Mar. 9, 2009 (with translation). |
Notice of Reasons for Refusal for corresponding Japanese Patent Appln. No. JP2011-118901 dated May 18, 2016. |
Office Action issued in related U.S. Appl. No. 13/277,561 dated Jul. 13, 2016. |
Japanese Office Action dated Mar. 30, 2017 for Japanese Appln. No. 2011-123644. |
Office Action in related U.S. Appl. No. 13/283,032 dated Dec. 30, 2015. |
Notice of Allowance in related U.S. Appl. No. 13/343,913 dated Jan. 11, 2016. |
Notice of Allowance in corresponding U.S. Appl. No. 13/352,091 dated Feb. 18, 2016. |
European Search Report in corresponding European Application No. 14166174.4 dated Jan. 14, 2016. |
Office Action in U.S. Appl. No. 13/283,032 dated Dec. 5, 2013. |
Number | Date | Country | |
---|---|---|---|
20120229507 A1 | Sep 2012 | US |