摘要 |
A game apparatus comprises an obtaining means, a gravity direction calculating means, a first movement direction calculating means, and a game processing means. The obtaining means successively obtains acceleration data. The gravity direction calculating means calculates a gravity direction based on values of a plurality of pieces of acceleration data obtained during a predetermined period, where an orientation of an input device is used as a reference. The first movement direction calculating means calculates a first movement direction which is a movement direction of the input device, based on the values of the plurality of pieces of acceleration data obtained during the predetermined period, where the orientation of the input device is used as a reference. The game processing means executes a game process based on the first movement direction and the gravity direction. |