Storage medium having game program stored thereon and game apparatus
First Claim
1. A non-transitory 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 sensor provided in an input device for detecting accelerations in at least two directions, the game program causing the computer to execute:
- obtaining first acceleration data representing an acceleration in a first direction of the input device;
obtaining second acceleration data representing an acceleration in a second direction of the input device which is different from the first direction;
determining whether or not the first acceleration data is smaller than a first threshold value;
when the first acceleration data is smaller than the first threshold value, executing predetermined calculation processing at least based on the second acceleration data to execute first setting processing of calculating a first parameter;
when the first acceleration data is not smaller than the first threshold value, executing a second predetermined process, the second predetermined process including setting the first parameter to a predetermined value; and
executing a game process, including animating a movement of a virtual object, based on the first parameter,wherein the predetermined value is a predetermined inclination value.
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.
-
Citations
28 Claims
-
1. A non-transitory 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 sensor provided in an input device for detecting accelerations in at least two directions, the game program causing the computer to execute:
-
obtaining first acceleration data representing an acceleration in a first direction of the input device; obtaining second acceleration data representing an acceleration in a second direction of the input device which is different from the first direction; determining whether or not the first acceleration data is smaller than a first threshold value; when the first acceleration data is smaller than the first threshold value, executing predetermined calculation processing at least based on the second acceleration data to execute first setting processing of calculating a first parameter; when the first acceleration data is not smaller than the first threshold value, executing a second predetermined process, the second predetermined process including setting the first parameter to a predetermined value; and executing a game process, including animating a movement of a virtual object, based on the first parameter, wherein the predetermined value is a predetermined inclination value. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A non-transitory 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 sensor disposed in an input device, the acceleration sensor configured to detect accelerations in at least two directions, wherein:
-
the game instructs a player to perform an operation of inclining the input device; and the game program causes the computer to execute; 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 sensor; 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 sensor; executing a first mode when the first acceleration data is smaller than a first threshold value and a second mode otherwise; when the first mode is executed, using 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 a computer game process; when the second mode is executed, setting the first parameter to a predetermined value; and executing the computer game process based on the first parameter, the game process including animating a movement of a virtual object.
-
-
23. A non-transitory 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 sensor provided in an input device for detecting accelerations in at least two directions, the game program causing the computer to execute:
-
obtaining first acceleration data representing an acceleration applied in a first direction of the input device; obtaining second acceleration data representing an acceleration applied in a second direction of the input device which is different from the first direction; storing a history of the obtained second acceleration data on a storage medium accessible by the computer; determining whether or not the first acceleration data is smaller than a first threshold value; referring to the history stored on the storage medium to at least determine whether or not maximum data of the second acceleration data in an immediately previous predetermined period is larger than a second threshold value; and executing predetermined game processing when the first acceleration data is determined to be larger than the first threshold value and additionally when the maximum data is determined to be larger than the second threshold value, the predetermined game processing including animating a movement of a virtual object at a predetermined speed, the predetermined speed independent of the first and second acceleration data.
-
-
24. A game apparatus configured to use a value detected by an acceleration sensor provided in an input device that is configured to detect accelerations in at least two directions, the game apparatus comprising:
-
a processing system configured to cause; obtaining first acceleration data representing an acceleration applied in a first direction of the input device; obtaining second acceleration data representing an acceleration applied in a second direction of the input device which is different from the first direction; determining 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, 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, wherein the first parameter is an inclination angle; when the first acceleration data is determined to be larger than the first threshold value, executing second setting processing of setting the first parameter to a predetermined value; and executing the game processing by animating a movement of a virtual object based on the first parameter.
-
-
25. 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 instructs a player to perform an operation of inclining the input device; and the game apparatus comprises; a processing system configured to cause; 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; 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; determining 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, 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, setting the first parameter to a predetermined inclination value; andexecuting the game processing based on the first parameter by animating a movement of a virtual game object.
-
-
26. 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 processing system configured to cause; 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; 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; storing a history of the obtained second acceleration data on a non-transitory storage medium; determining whether or not the first acceleration data is smaller than a first threshold value; referring to the history stored on the non-transitory storage medium 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 executing predetermined game processing when the first acceleration data is determined to be larger than the first threshold value and further the maximum data is determined to be larger than the second threshold value, the predetermined game processing including animating a movement of a virtual object at a predetermined speed, the predetermined speed independent of the first and second acceleration data.
-
-
27. A computer implemented method for controlling an object of a computer program with a user input device, the user input device including an acceleration sensing system, the acceleration sensing system including one or more acceleration sensors, the acceleration sensing system configured to detect accelerations in at least two directions, the method comprising:
-
obtaining first acceleration data representing an acceleration in a first direction of the user input device; obtaining second acceleration data representing an acceleration in a second direction of the user input device, the second direction different from the first direction; executing a first mode when the first acceleration data is less than a predetermined threshold and otherwise executing a second mode; when executing the first mode, executing a first predetermined process, the first predetermined process including calculating angle data from the second acceleration data, the angle data associated with a movement of the user input device; when executing the second mode, executing a second predetermined proccss, the second predetermined process including calculating the angle data based on a predetermined inclination value; and animating a rotation of the object of the computer program based on the calculated angle data.
-
-
28. A game system configured to communicate with an acceleration sensing system disposed on or in an input device, the acceleration sensing system including one or more acceleration sensors, the acceleration sensing system configured to detect accelerations in at least two directions, the game system comprising:
a processing system configured to cause; obtaining first acceleration data representing an acceleration in a first direction of the user input device; obtaining second acceleration data representing an acceleration in a second direction of the user input device, the second direction different from the first direction; executing a first mode when the first acceleration data is less than a predetermined threshold and otherwise executing a second mode; when executing the first mode, executing a first predetermined process, the first predetermined process including calculating an orientation from the second acceleration data; when executing the second mode, executing a second predetermined process, the second predetermined process including calculating the orientation from a predetermined orientation value; and animating a movement of an object of a computer program based on the calculated orientation.
Specification