Patent ID: 8308564

Claim:
A non-transitory storage medium having stored thereon a program executable by a computer of an apparatus for executing processing based on a state of an input device, which is at least one of a position, a moving speed and an acceleration of the input device, the program causing the computer to execute: sequentially obtaining data variable in accordance with the state of the input device and usable for the processing; determining whether or not a predetermined condition for the processing has been fulfilled based on the data, wherein said predetermined condition relates to whether the acceleration of the input device exceeds a predetermined value; indicated position establishment for obtaining information on an indicated position on an image in virtual space, which is calculated from the data at the time when the predetermined condition has been fulfilled; parameter establishment for obtaining one of the moving speed and the acceleration of the input device which are calculated from the data; and when one of the moving speed and the acceleration which is obtained in the parameter establishment is equal to or greater than a predetermined value, processing for controlling motion of an object which appears in a virtual space based on the indicated position.