Storage medium having game program stored thereon and game apparatus
First Claim
1. A storage medium having stored thereon a game program executable by a computer of a game apparatus for executing game processing based on a state of an input device, which is at least one of a position and a moving speed of the input device, the game program causing the computer to execute:
- a game data obtaining step of sequentially obtaining game data variable in accordance with the state of the input device and usable for the game processing;
a determination step of determining whether or not a predetermined condition for the game processing has been fulfilled based on the game data;
an indicated position establishment step of obtaining information on an indicated position on a game image, which is calculated from the game data when the predetermined condition has been fulfilled;
a speed establishment step of obtaining the moving speed of the input device which is calculated from the game data after the information on the indicated position is obtained; and
a processing step of, when the moving speed obtained in the speed establishment step is equal to or greater than a predetermined speed, processing an object which appears in a virtual game space and is related to the indicated position.
1 Assignment
0 Petitions
Accused Products
Abstract
Game data variable in accordance with the state of an input device and usable for game processing is sequentially obtained. Next, it is determined whether or not a predetermined condition for the game processing has been fulfilled based on the game data. Information on an indicated position on a game image, which is calculated from the game data when the predetermined condition has been fulfilled, is obtained. A moving speed of the input device which is calculated from the game data is also obtained. When the obtained moving speed is equal to or greater than a predetermined speed, an object which appears in a virtual game space and is related to the indicated position is processed.
79 Citations
12 Claims
-
1. A storage medium having stored thereon a game program executable by a computer of a game apparatus for executing game processing based on a state of an input device, which is at least one of a position and a moving speed of the input device, the game program causing the computer to execute:
-
a game data obtaining step of sequentially obtaining game data variable in accordance with the state of the input device and usable for the game processing; a determination step of determining whether or not a predetermined condition for the game processing has been fulfilled based on the game data; an indicated position establishment step of obtaining information on an indicated position on a game image, which is calculated from the game data when the predetermined condition has been fulfilled; a speed establishment step of obtaining the moving speed of the input device which is calculated from the game data after the information on the indicated position is obtained; and a processing step of, when the moving speed obtained in the speed establishment step is equal to or greater than a predetermined speed, processing an object which appears in a virtual game space and is related to the indicated position. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A game apparatus for executing game processing based on a state of an input device, which is at least one of a position and a moving speed of the input device, the game apparatus comprising:
-
a game data obtaining section for sequentially obtaining game data variable in accordance with the state of the input device and usable for the game processing; a determination section for determining whether or not a predetermined condition for the game processing has been fulfilled based on the game data; an indicated position establishment section for obtaining information on an indicated position on a game image, which is calculated from the game data when the predetermined condition has been fulfilled; a speed establishment section for obtaining the moving speed of the input device which is calculated from the game data after the information on the indicated position is obtained; and a processing section for, when the moving speed obtained by the speed establishment section is equal to or greater than a predetermined speed, processing an object which appears in a virtual game space and is related to the indicated position.
-
-
10. A storage medium having stored thereon a game program executable by a computer of a game apparatus for executing game processing based on a motion of an input device including an acceleration sensor, the game program causing the computer to execute:
-
an acceleration data obtaining step of obtaining data representing an output from the acceleration sensor, or data corresponding to an acceleration of the input device which is calculated from the data representing the output from the acceleration sensor, at an interval of a unit time; a storage step of storing the acceleration data obtained in the acceleration data obtaining step; a ratio determination step of detecting, from the data stored in the storage step, a ratio of accelerations having a value close to a value of a gravitational acceleration with respect to accelerations for a predetermined time duration counted backward from the time when the data was obtained in the acceleration data obtaining step; a conversion parameter calculation step of, when the ratio is equal to or greater than a predetermined value, calculating a conversion parameter for allowing a direction of each of the accelerations, having a value close to the value of the gravitational acceleration in a coordinate system for the input device, to be detected as a direction of the gravitational acceleration; and a control step of executing the game processing based on the motion of the input device, which is obtained as a result of the conversion performed using the conversion parameter. - View Dependent Claims (11)
-
-
12. A game apparatus for executing game processing based on a motion of an input device including an acceleration sensor, the game apparatus comprising:
-
an acceleration data obtaining section for obtaining data representing an output from the acceleration sensor, or data corresponding to an acceleration of the input device which is calculated from the data representing the output from the acceleration sensor, at an interval of a unit time; a storage section for storing the acceleration data obtained by the acceleration data obtaining section; a ratio determination section for detecting, from the data stored by the storage section, a ratio of accelerations having a value close to a value of a gravitational acceleration with respect to accelerations for a predetermined time duration counted backward from the time when the data was obtained by the acceleration data obtaining section; a conversion parameter calculation section for, when the ratio is equal to or greater than a predetermined value, calculating a conversion parameter for allowing a direction of each of the accelerations, having a value close to the value of the gravitational acceleration in a coordinate system for the input device, to be detected as a direction of the gravitational acceleration; and a control section for executing the game processing based on the motion of the input device, which is obtained as a result of the conversion performed using the conversion parameter.
-
Specification