Information processing apparatus, storage medium, and methodology for calculating an output value based on a tilt angle of an input device
First Claim
1. A computer-readable storage medium storing an information processing program to be executed by a computer of an information processing apparatus which calculates an output value within a predetermined range in accordance with a tilt angle of an input device capable of being tilted at any angle, whereina memory of the information processing apparatus for storing boundary angle data representing a boundary angle corresponding to the tilt angle, of the input device, obtained when the output value is equal to a value of a boundary of the predetermined range, andthe information processing program causes the computer to execute:
- a tilt calculation step of calculating the tilt angle of the input device by obtaining, from the input device, input data including a value changed in accordance with the tilt angle of the input device;
an accessing step of accessing boundary angle data corresponding to the tilt angle obtained when the output value is equal to a value of a boundary of the predetermined range;
a first update step of updating the boundary angle data, when the tilt angle calculated in the tilt calculation step is greater than the boundary angle represented by the boundary angle data, such that the tilt angle calculated in the tilt calculation step becomes a new boundary angle; and
an output calculation step of calculating the output value based on a ratio of the tilt angle calculated in the tilt calculation step to the boundary angle represented by the boundary angle data.
1 Assignment
0 Petitions
Accused Products
Abstract
A game apparatus stores, when an output value is equal to a boundary value of a predetermined range, boundary angle data representing a boundary angle corresponding to a tilt angle of an input device. The game apparatus obtains, from an input device, data including a value changed in accordance with a tilt angle of the input device so as to calculate the tilt angle of the input device. Thereafter, when a tilt angle calculated in a tilt calculation step is greater than the boundary angle represented by the boundary angle data, the boundary angle data is updated such that the tilt angle calculated in the tilt calculation step becomes a new boundary angle. The output value is calculated based on a ratio of the tilt angle calculated in the tilt calculation step to the boundary angle represented by the boundary angle data.
105 Citations
14 Claims
-
1. A computer-readable storage medium storing an information processing program to be executed by a computer of an information processing apparatus which calculates an output value within a predetermined range in accordance with a tilt angle of an input device capable of being tilted at any angle, wherein
a memory of the information processing apparatus for storing boundary angle data representing a boundary angle corresponding to the tilt angle, of the input device, obtained when the output value is equal to a value of a boundary of the predetermined range, and the information processing program causes the computer to execute: -
a tilt calculation step of calculating the tilt angle of the input device by obtaining, from the input device, input data including a value changed in accordance with the tilt angle of the input device; an accessing step of accessing boundary angle data corresponding to the tilt angle obtained when the output value is equal to a value of a boundary of the predetermined range; a first update step of updating the boundary angle data, when the tilt angle calculated in the tilt calculation step is greater than the boundary angle represented by the boundary angle data, such that the tilt angle calculated in the tilt calculation step becomes a new boundary angle; and an output calculation step of calculating the output value based on a ratio of the tilt angle calculated in the tilt calculation step to the boundary angle represented by the boundary angle data. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An information processing apparatus which calculates an output value within a predetermined range in accordance with a tilt angle of an input device capable of being tilted at any angle, the information processing apparatus comprising:
-
a memory for storing boundary angle data representing a boundary angle corresponding to the tilt angle, of the input device, obtained when the output value is equal to a value of a boundary of the predetermined range; tilt angle calculation programmed logic circuitry for calculating the tilt angle of the input device by obtaining, from the input device, input data including a value changed in accordance with the tilt angle of the input device; first update programmed logic circuitry for updating the boundary angle data, when the tilt angle calculated by the tilt calculation programmed logic circuitry is greater than the boundary angle represented by the boundary angle data, the boundary angle data such that the tilt angle calculated by the tilt calculation programmed logic circuitry becomes a new boundary angle; and output calculation programmed logic circuitry for calculating the output value based on a ratio of the tilt angle calculated by the tilt calculation programmed logic circuitry to the boundary angle represented by the boundary angle data. - View Dependent Claims (11, 12, 13)
-
-
14. A calculation method of calculating an output value within a predetermined range in accordance with a tilt angle of an input device capable of being tilted by any angle, wherein
a memory of an information processing apparatus for storing, boundary angle data representing a boundary angle corresponding to the tilt angle, of the input device, obtained when the output value is equal to a value of a boundary of the predetermined range, and the calculation method comprises: -
a tilt calculation step of calculating the tilt angle of the input device by obtaining, from the input device, input data including a value changed in accordance with the tilt angle of the input device; an accessing step of accessing said boundary angle data corresponding to the tilt angle obtained when the output value is equal to a value of a boundary of the predetermined range; a first update step of updating the boundary angle data, when the tilt angle calculated in the tilt calculation step is greater than the boundary angle represented by the boundary angle data, such that the tilt angle calculated in the tilt calculation step becomes a new boundary angle; and an output calculation step of calculating the output value based on a ratio of the tilt angle calculated in the tilt calculation step to the boundary angle represented by the boundary angle data.
-
Specification