Image processing program and image processing apparatus
First Claim
1. A computer-readable storage medium having an image processing program stored therein to be executed by a computer of an image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, wherein the image processing program causes the computer to execute:
- a first moving control step of moving a first object in the virtual space;
a determination step of determining whether or not the first object has collided against a second object;
a direction calculation step of, when it is determined in the determination step that the first object has collided against the second object, calculating a moving direction of the first object;
a first motion control step of causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is an opposite direction to the moving direction of the first object; and
a display step of causing the display apparatus to display how the second object is caused to perform the motion by the first motion control step.
1 Assignment
0 Petitions
Accused Products
Abstract
A game apparatus 3 moves an arrow object 72 in a virtual space, and then determines whether or not a hitting determination area 74 set for the arrow object 72 is in contact with a hitting determination area 73 set for a player character 71. When the two hitting determination areas 74, 73 are determined to be in contact with each other, the game apparatus 3 calculates a moving direction of the arrow object 72. The game apparatus 3 further causes the player character 71 to perform a motion such that at least a part of the player character 71 turns to a designated direction, which is an opposite direction to the moving direction of the arrow object 72. A display apparatus displays how the player character 71 performs the motion.
36 Citations
21 Claims
-
1. A computer-readable storage medium having an image processing program stored therein to be executed by a computer of an image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, wherein the image processing program causes the computer to execute:
-
a first moving control step of moving a first object in the virtual space;
a determination step of determining whether or not the first object has collided against a second object;
a direction calculation step of, when it is determined in the determination step that the first object has collided against the second object, calculating a moving direction of the first object;
a first motion control step of causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is an opposite direction to the moving direction of the first object; and
a display step of causing the display apparatus to display how the second object is caused to perform the motion by the first motion control step. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable storage medium having an image processing program stored therein to be executed by a computer of an image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, wherein the image processing program causes the computer to execute:
-
a velocity vector storage step of storing a velocity vector representing a moving direction and a moving distance per time unit of a first object in the virtual space;
a first moving control step of updating a position of the first object in the virtual space based on the velocity vector and thus moving the first object;
a determination step of determining whether or not the first object has collided against a second object;
a velocity vector referring step of, when it is determined in the determination step that the first object has collided against the second object, referring to the velocity vector of the first object;
a first motion control step of causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is an opposite direction to the velocity vector; and
a display step of causing the display apparatus to display how the second object is caused to perform the motion by the first motion control step. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer-readable storage medium having an image processing program stored therein to be executed by a computer of an image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, wherein the image processing program causes the computer to execute:
-
a deformation step of deforming a hitting determination area set for a first object;
a determination step of determining whether or not the hitting determination area set for the first object is in contact with a hitting determination area set for a second object;
a position calculation step of, when it is determined in the determination step that the hitting determination area set for the first object is in contact with the hitting determination area set for the second object, calculating a contact position of the hitting determination areas;
a first motion control step of causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is a direction from a position of the second object to the contact position; and
a display step of causing the display apparatus to display how the second object is caused to perform the motion by the first motion control step. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. An image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, the image processing apparatus comprising:
-
first moving control means for moving a first object in the virtual space;
determination means for determining whether or not the first object has collided against a second object;
direction calculation means for, when it is determined by the determination means that the first object has collided against the second object, calculating a moving direction of the first object;
first motion control means for causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is an opposite direction to the moving direction of the first object; and
display control means for causing the display apparatus to display how the second object is caused to perform the motion by the first motion control means.
-
-
20. An image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, the image processing apparatus comprising:
-
velocity vector storage means for storing a velocity vector representing a moving direction and a moving distance per time unit of a first object in the virtual space;
first moving control means for updating a position of the first object in the virtual space based on the velocity vector and thus moving the first object;
determination means for determining whether or not the first object has collided against a second object;
velocity vector referring means for, when it is determined by the determination means that the first object has collided against the second object, referring to the velocity vector of the first object;
first motion control means for causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is an opposite direction to the velocity vector; and
display control means for causing the display apparatus to display how the second object is caused to perform the motion by the first motion control means.
-
-
21. An image processing apparatus for causing a display apparatus to display a three-dimensional virtual space in which a plurality of objects appear, the image processing apparatus comprising:
-
deformation means for deforming a hitting determination area set for a first object;
determination means for determining whether or not the hitting determination area set for the first object is in contact with a hitting determination area set for a second object;
position calculation means for, when it is determined by the determination means that the hitting determination area set for the first object is in contact with the hitting determination area set for the second object, calculating a contact position of the hitting determination areas;
first motion control means for causing the second object to perform a motion such that at least a part of the second object turns to a designated direction, which is a direction from a position of the second object to the contact position; and
display control means for causing the display apparatus to display how the second object is caused to perform the motion by the first motion control means.
-
Specification