Game program
First Claim
1. A storage medium storing a game program for displaying, on a display device provided with a touch panel, an object placed in a three dimensional game space based on a virtual camera provided in the game space, wherein the game program causes a computer to execute:
- a camera control step of changing a setting value for the camera, the value indicative of at least one of a position, a gazing point, and an angle of view of the virtual camera;
a game image generation step of generating a game image to be displayed on the display device by drawing the object based on the setting value for the camera;
a touch coordinates detection step of detecting touch coordinates indicative of a touched position on the touch panel based on an output signal from the touch panel;
a camera fixing step of fixing, when the touch coordinates are detected while the setting value for the camera is changing, the setting value for the camera such that the value remains unchanged at least until the detection for the touch coordinates stops; and
, a designation coordinates calculation step of sequentially calculating, when the touch coordinates are changed, in a state where the setting value for the camera is fixed, three dimensional coordinates, in the game space, corresponding to the changed touch coordinates, and accepting the outcome as designation coordinates designated by a player.
1 Assignment
0 Petitions
Accused Products
Abstract
A CPU core determines whether a stick is in contact with a touch panel based on an output signal from the touch panel; if not in contact, a gazing point of a virtual camera is moved to a collective center of masses for objects; on the other hand, if the stick is in contact with the touch panel, setting values for the camera are fixed, an operation target object is caused to appear at a position, in a game space, corresponding to touch coordinates, and, then, the operation target object is moved in accordance with a dragging operation from a player; the setting values for the camera are fixed until the stick detaches from the touch panel; and, accordingly, when the player moves an arbitrary object in the three dimensional game space by operating the touch panel, the player can accurately move the object to an intended point.
-
Citations
7 Claims
-
1. A storage medium storing a game program for displaying, on a display device provided with a touch panel, an object placed in a three dimensional game space based on a virtual camera provided in the game space, wherein
the game program causes a computer to execute: -
a camera control step of changing a setting value for the camera, the value indicative of at least one of a position, a gazing point, and an angle of view of the virtual camera;
a game image generation step of generating a game image to be displayed on the display device by drawing the object based on the setting value for the camera;
a touch coordinates detection step of detecting touch coordinates indicative of a touched position on the touch panel based on an output signal from the touch panel;
a camera fixing step of fixing, when the touch coordinates are detected while the setting value for the camera is changing, the setting value for the camera such that the value remains unchanged at least until the detection for the touch coordinates stops; and
,a designation coordinates calculation step of sequentially calculating, when the touch coordinates are changed, in a state where the setting value for the camera is fixed, three dimensional coordinates, in the game space, corresponding to the changed touch coordinates, and accepting the outcome as designation coordinates designated by a player. - View Dependent Claims (2, 3, 4)
-
-
5. A storage medium storing a game program for displaying, on a display device provided with a touch panel, an object placed in a three dimensional game space based on a virtual camera provided in the game space, wherein
the game program causes a computer to execute: -
a first camera control step of changing a setting value for the camera, the value indicative of at least one of a position, a gazing point, and an angle of view of the virtual camera;
a game image generation step of generating a game image to be displayed on the display device by drawing the object based on the virtual camera;
a touch coordinates detection step of detecting touch coordinates indicative of a touched position on the touch panel based on an output signal from the touch panel;
an object determination step of determining whether, on a screen of the display device, an operation target object corresponding to the touch coordinates is displayed based on the touch coordinates detected in the touch coordinates detection step;
a camera fixing step of fixing, when the operation target object is determined, in the object determination step, as being displayed at a position, on a screen of the display device, corresponding to the touch coordinates while the setting value for the camera is changing, the setting value for the camera such that the value remains unchanged at least until the detection for the touch coordinates stops;
a designation coordinates calculation step of sequentially calculating, when the touch coordinates are changed, in a state where the setting value for the camera is fixed, three dimensional coordinates, in the game space, corresponding to the changed touch coordinates, and accepting the outcome as designation coordinates designated by a player; and
an operation target object movement step of updating a position of the operation target object in the game space in accordance with a change in the designation coordinates sequentially calculated in the designation coordinates calculation step. - View Dependent Claims (6, 7)
-
Specification