Storage medium storing game program, game apparatus and game control method
First Claim
1. A storage medium storing a game program for performing game processing, in a game apparatus having an operation means including an acceleration sensor for detecting accelerations on at least two axes orthogonal to each other, according to a rotating operation to move said operation means around an axis orthogonal to said two axes, whereinsaid game program causes a processor of said game apparatus to perform:
- an obtaining step of obtaining the accelerations on the two axes detected by said acceleration sensor;
a conversion step of converting said accelerations on the two axes into a point on a two-dimensional coordinate system;
an angle calculation step of calculating an angle defined by a line connecting said point converted with a reference point, and a reference direction;
an angle change calculation step of calculating an angle change between a present angle calculated in said angle calculation step and a previous angle;
an angle correction step of calculating a correction angle based on the angle change calculated in said angle change calculation step and a previous correction angle; and
a game processing step of performing game processing based on the correction angle calculated in said angle correction step.
1 Assignment
0 Petitions
Accused Products
Abstract
A game apparatus includes a controller provided with an acceleration sensor for detecting accelerations on at least two axes orthogonal to each other. When playing a game, the controller is given a rotating operation so as to rotate around an axis orthogonal to the two axes. The accelerations on the two axes detected according to the rotating operation are converted into a point on a two-dimensional coordinate system. An angle of each converted point is calculated, and an angle change is also calculated. Based on the angle change corrected to change smoothly and a previous correction angle, a present correction angle is calculated. Game processing according to the correction angle is performed, and a game object is moved by an amount corresponding to the correction angle, for example.
-
Citations
7 Claims
-
1. A storage medium storing a game program for performing game processing, in a game apparatus having an operation means including an acceleration sensor for detecting accelerations on at least two axes orthogonal to each other, according to a rotating operation to move said operation means around an axis orthogonal to said two axes, wherein
said game program causes a processor of said game apparatus to perform: -
an obtaining step of obtaining the accelerations on the two axes detected by said acceleration sensor; a conversion step of converting said accelerations on the two axes into a point on a two-dimensional coordinate system; an angle calculation step of calculating an angle defined by a line connecting said point converted with a reference point, and a reference direction; an angle change calculation step of calculating an angle change between a present angle calculated in said angle calculation step and a previous angle; an angle correction step of calculating a correction angle based on the angle change calculated in said angle change calculation step and a previous correction angle; and a game processing step of performing game processing based on the correction angle calculated in said angle correction step. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A game apparatus for performing game processing, having an operation means including an acceleration sensor for detecting accelerations on at least two axes orthogonal to each other, according to a rotating operation to move said operation means around an axis orthogonal to said two axes, comprising:
-
an obtaining means for obtaining the accelerations on the two axes detected by said acceleration sensor; a conversion means for converting said accelerations on the two axes into a point on a two-dimensional coordinate system; an angle calculation means for calculating an angle defined by a line connecting said point converted with a reference point, and a reference direction; an angle change calculation means for calculating an angle change between a present angle calculated by said angle calculation means and a previous angle; an angle correction means for calculating a correction angle based on the angle change calculated by said angle change calculation means and a previous correction angle; and a game processing means for performing game processing based on the correction angle calculated by said angle correction means.
-
-
7. A game control method for performing game processing, in a game apparatus having an operation means including an acceleration sensor for detecting accelerations on at least two axes orthogonal to each other, according to a rotating operation to move said operation means around an axis orthogonal to said two axes, including:
-
an obtaining step of obtaining the accelerations on the two axes detected by said acceleration sensor; a conversion step of converting said accelerations on the two axes into a point on a two-dimensional coordinate system; an angle calculation step of calculating an angle defined by a line connecting said point converted with a reference point, and a reference direction; an angle change calculation step of calculating an angle change between a present angle calculated in said angle calculation step and a previous angle; an angle correction step of calculating a correction angle based on the angle change calculated in said angle change calculation step and a previous correction angle; and a game processing step of performing game processing based on the correction angle calculated in said angle correction step.
-
Specification