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 capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, the game program causing the computer to execute:
- a first acceleration obtaining step of obtaining first acceleration data representing an acceleration in a first direction of the input device, based on a value detected by the acceleration detection section;
a second acceleration obtaining step of obtaining second acceleration data representing an acceleration in a second direction of the input device which is different from the first direction, based on a value detected by the acceleration detection section;
a first determination step of determining whether or not the first acceleration data is smaller than a first threshold value;
a first parameter setting step of, when the first acceleration data is determined to be smaller than the first threshold value in the first determination step, executing predetermined calculation processing at least based on the second acceleration data to execute first setting processing of calculating a first parameter used in game processing; and
when the first acceleration data is determined to be larger than the first threshold value in the first determination step, executing second setting processing of setting the first parameter to a predetermined value; and
a game processing control step of executing the game processing based on the first parameter which is set in the first parameter setting step.
1 Assignment
0 Petitions
Accused Products
Abstract
First acceleration data representing an acceleration applied in a first direction of the input device and second acceleration data representing an acceleration applied in a second direction of the input device different from the first direction are obtained based on a value detected by an acceleration detection section. Next, it is determined whether or not the first acceleration data is smaller than a first threshold value. When the first acceleration data is determined to be smaller than the first threshold value, predetermined calculation processing at least based on the second acceleration data is executed to calculate a first parameter used in game processing. When the first acceleration data is determined to be larger than the first threshold value, the first parameter is set to a predetermined value. The game processing is executed based on the first parameter.
18 Citations
24 Claims
-
1. A storage medium having stored thereon a game program executable by a computer of a game apparatus capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, the game program causing the computer to execute:
-
a first acceleration obtaining step of obtaining first acceleration data representing an acceleration in a first direction of the input device, based on a value detected by the acceleration detection section; a second acceleration obtaining step of obtaining second acceleration data representing an acceleration in a second direction of the input device which is different from the first direction, based on a value detected by the acceleration detection section; a first determination step of determining whether or not the first acceleration data is smaller than a first threshold value; a first parameter setting step of, when the first acceleration data is determined to be smaller than the first threshold value in the first determination step, executing predetermined calculation processing at least based on the second acceleration data to execute first setting processing of calculating a first parameter used in game processing; and
when the first acceleration data is determined to be larger than the first threshold value in the first determination step, executing second setting processing of setting the first parameter to a predetermined value; anda game processing control step of executing the game processing based on the first parameter which is set in the first parameter setting step. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A storage medium having stored thereon a game program executable by a computer of a game apparatus capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, wherein:
-
the game causes a player to perform an operation of inclining the input device; and the game program causes the computer to execute; a first acceleration obtaining step of, when the player performs the operation of inclining the input device, obtaining first acceleration data representing an acceleration in a direction perpendicularly crossing an arc which is a trajectory of a movement of a predetermined position in the input device made by the operation, based on a value detected by the acceleration detection section; a second acceleration obtaining step of obtaining second acceleration data representing an acceleration in a tangent direction to the arc when the player performs the operation of inclining the input device, based on a value detected by the acceleration detection section; a first determination step of determining whether or not the first acceleration data is smaller than a first threshold value; a game input data setting step of, when the first acceleration data is determined to be smaller than the first threshold value in the first determination step, substituting the first acceleration data and the second acceleration data to calculate inclination data representing an inclination of the input device with respect to a gravity direction and to set the inclination data as a first parameter used in game processing; and
when the first acceleration data is determined to be larger than the first threshold value in the first determination step, setting the first parameter to a predetermined value; anda game processing control step of executing the game processing based on the first parameter which is set in the game input data setting step.
-
-
21. A storage medium having stored thereon a game program executable by a computer of a game apparatus capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, the game program causing the computer to execute:
-
a first acceleration obtaining step of obtaining first acceleration data representing an acceleration applied in a first direction of the input device, based on a value detected by the acceleration detection section; a second acceleration obtaining step of obtaining second acceleration data representing an acceleration applied in a second direction of the input device which is different from the first direction, based on a value detected by the acceleration detection section; a history storage step of storing a history of the second acceleration data obtained in the second acceleration obtaining step on a storage section accessible by the computer; a first determination step of determining whether or not the first acceleration data is smaller than a first threshold value; a second determination step of referring to the history stored on the storage section to at least determine whether or not maximum data of the second acceleration data in an immediately previous predetermined period is larger than the second threshold value; and a game processing control step of executing predetermined game processing when the first acceleration data is determined to be larger than the first threshold value in the first determination step and further the maximum data is determined to be larger than the second threshold value in the second determination step.
-
-
22. A game apparatus capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, the game apparatus comprising:
-
a first acceleration obtaining section for obtaining first acceleration data representing an acceleration applied in a first direction of the input device, based on a value detected by the acceleration detection section; a second acceleration obtaining section for obtaining second acceleration data representing an acceleration applied in a second direction of the input device which is different from the first direction, based on a value detected by the acceleration detection section; a first determination section for determining whether or not the first acceleration data is smaller than a first threshold value; a first parameter setting section for, when the first acceleration data is determined to be smaller than the first threshold value by the first determination section, executing predetermined calculation processing at least based on the second acceleration data to execute first setting processing of calculating a first parameter used in game processing; and
when the first acceleration data is determined to be larger than the first threshold value by the first determination section, executing second setting processing of setting the first parameter to a predetermined value; anda game processing control section for executing the game processing based on the first parameter which is set by the first parameter setting section.
-
-
23. A game apparatus capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, wherein:
-
a game executable by the game apparatus causes a player to perform an operation of inclining the input device; and the game apparatus comprises; a first acceleration obtaining section for, when the player performs the operation of inclining the input device, obtaining first acceleration data representing an acceleration applied in a direction perpendicularly crossing an arc which is a trajectory of a movement of a predetermined position in the input device made by the operation, based on a value detected by the acceleration detection section; a second acceleration obtaining section for obtaining second acceleration data representing an acceleration applied in a tangent direction to the arc when the player performs the operation of inclining the input device, based on a value detected by the acceleration detection section; a first determination section for determining whether or not the first acceleration data is smaller than a first threshold value; a game input data setting section for, when the first acceleration data is determined to be smaller than the first threshold value by the first determination section, substituting the first acceleration data and the second acceleration data for an inverse tangent function to calculate inclination data representing an inclination of the input device with respect to a gravity direction and to set the inclination data as a first parameter used in game processing; and
when the first acceleration data is determined to be larger than the first threshold value by the first determination section, setting the first parameter to a predetermined value; anda game processing control section for executing the game processing based on the first parameter which is set by the game input data setting section.
-
-
24. A game apparatus capable of using a value detected by an acceleration detection section provided in an input device for detecting an acceleration in at least two directions, the game apparatus comprising:
-
a first acceleration obtaining section for obtaining first acceleration data representing an acceleration applied in a first direction of the input device, based on a value detected by the acceleration detection section; a second acceleration obtaining section for obtaining second acceleration data representing an acceleration applied in a second direction of the input device which is different from the first direction, based on a value detected by the acceleration detection section; a history storage section for storing a history of the second acceleration data obtained by the second acceleration obtaining section on a storage section; a first determination section for determining whether or not the first acceleration data is smaller than a first threshold value; a second determination section for referring to the history stored on the storage section to at least determine whether or not maximum data of the second acceleration data in an immediately previous predetermined period is larger than the second threshold value; and a game processing section for executing predetermined game processing when the first acceleration data is determined to be larger than the first threshold value by the first determination section and further the maximum data is determined to be larger than the second threshold value by the second determination section.
-
Specification