Storage medium storing information processing program and information processing apparatus
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, whereinstorage means of the information processing apparatus stores 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;
a first update step of updating, when the tilt angle calculated in the tilt calculation step is greater than the boundary angle represented by the boundary angle data, 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.
-
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
storage means of the information processing apparatus stores 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; a first update step of updating, when the tilt angle calculated in the tilt calculation step is greater than the boundary angle represented by the boundary angle data, 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:
-
storage means 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 calculation means 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 means for updating, when the tilt angle calculated by the tilt calculation means 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 means becomes a new boundary angle; and output calculation means for calculating the output value based on a ratio of the tilt angle calculated by the tilt calculation means 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
storage means of an information processing apparatus stores, 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; a first update step of updating, when the tilt angle calculated in the tilt calculation step is greater than the boundary angle represented by the boundary angle data, 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