Computer-readable storage medium having program stored therein, apparatus, system, and method, for performing game processing
First Claim
1. A non-transitory computer-readable storage medium having a game program stored therein, the game program causing a computer of a game apparatus, which is connected to an imaging device and a display device that allows a real space to be viewed on a screen thereof, to perform functionality comprising:
- obtaining a taken image obtained by the imaging device taking an image of the real space;
detecting a specific object from the obtained taken image;
calculating an imaging device position of the imaging device with respect to the detected specific object;
setting a virtual camera in a virtual space on the basis of the imaging device position;
setting, on the basis of the imaging device position, a virtual surface in the virtual space and defining subspaces extending at least along a depth direction relative to the virtual surface in the virtual space;
providing, on the basis of a virtual camera position of the virtual camera, a first virtual object in a first subspace of the virtual space that is defined by the virtual surface;
generating a virtual object image by taking, by the virtual camera, the virtual space including the first virtual object;
displaying the virtual object image on the display device such that the virtual object image is superimposed on the real space on the screen and viewed by a user;
providing a second virtual object different from the first virtual object, in the virtual space in accordance with a progress of a game; and
controlling the progress of the game in accordance with changing a positional relation of either one of the first virtual object or the second virtual object or both of them with respect to the virtual surface.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage medium has stored therein a game program that in game processing, controls a correlation between a player object and a non-player object through a virtual surface that is set on the basis of a marker for generating a superimposed image by combining a real world image and a virtual world image. The game program causes a computer of an apparatus, which includes a display device for providing the superimposed image to a user and an imaging section for taking an image of the marker, to operate as predetermined means.
27 Citations
13 Claims
-
1. A non-transitory computer-readable storage medium having a game program stored therein, the game program causing a computer of a game apparatus, which is connected to an imaging device and a display device that allows a real space to be viewed on a screen thereof, to perform functionality comprising:
-
obtaining a taken image obtained by the imaging device taking an image of the real space; detecting a specific object from the obtained taken image; calculating an imaging device position of the imaging device with respect to the detected specific object; setting a virtual camera in a virtual space on the basis of the imaging device position; setting, on the basis of the imaging device position, a virtual surface in the virtual space and defining subspaces extending at least along a depth direction relative to the virtual surface in the virtual space; providing, on the basis of a virtual camera position of the virtual camera, a first virtual object in a first subspace of the virtual space that is defined by the virtual surface; generating a virtual object image by taking, by the virtual camera, the virtual space including the first virtual object; displaying the virtual object image on the display device such that the virtual object image is superimposed on the real space on the screen and viewed by a user; providing a second virtual object different from the first virtual object, in the virtual space in accordance with a progress of a game; and controlling the progress of the game in accordance with changing a positional relation of either one of the first virtual object or the second virtual object or both of them with respect to the virtual surface. - View Dependent Claims (2, 3, 4, 5, 6, 11, 12, 13)
-
-
7. A game apparatus having at least one processor and configured to be connected to an imaging device and a display device that allows a real space to be viewed on a screen thereof, the game apparatus configured to:
-
obtain a taken image obtained by the imaging device taking an image of the real space; detect a specific object from the obtained taken image; calculate an imaging device position of the imaging device with respect to the specific object on the basis of a detection result of the specific object; set a virtual camera in a virtual space on the basis of the imaging device position; set, on the basis of the imaging device position, a virtual surface in the virtual space and define subspaces extending at least along a depth direction relative to the virtual surface in the virtual space; provide, on the basis of a position of the virtual camera, a first virtual object in a first subspace of the virtual space that is defined by the virtual surface; generate a virtual object image by taking, by the virtual camera, the virtual space including the first virtual object; display the virtual object image on the display device such that the virtual object image is superimposed on the real space on the screen and viewed by a user; provide a second virtual object different from the first virtual object, in the virtual space in accordance with a progress of a game; and control the progress of the game in accordance with changing a positional relation of either one of the first virtual object or the second virtual object or both of them with respect to the virtual surface.
-
-
8. A game system comprising:
-
an imaging device; a display device configured to allow a real space to be viewed on a screen of the display device; and a game apparatus operatively coupled to the imaging device and the display device and configured to; obtain a taken image obtained by the imaging device taking an image of the real space, detect a specific object from the obtained taken image, calculate an imaging device position of the imaging device with respect to the specific object on the basis of a detection result of the specific object, set a virtual camera in a virtual space on the basis of the imaging device position, set, on the basis of the imaging device position, a virtual surface in the virtual space and define subspaces extending at least along a depth direction relative to the virtual surface in the virtual space, provide, on the basis of a position of the virtual camera, a first virtual object in a first subspace of the virtual space that is defined by the virtual surface, generate a virtual object image by taking, by the virtual camera, the virtual space including the first virtual object, display the virtual object image on the display device such that the virtual object image is superimposed on the real space on the screen and viewed by a user, provide a second virtual object different from the first virtual object, in the virtual space in accordance with a progress of a game, and control the progress of the game in accordance with changing a positional relation of either one of the first virtual object or the second virtual object or both of them with respect to the virtual surface.
-
-
9. A method for performing game processing in a game system having one or more processors, the method comprising:
-
obtaining a taken image obtained by taking an image of a real space the imaging device by an imaging device connected to the game system; detecting a specific object from the obtained taken image; calculating, via the one or more processors, an imaging device position of the imaging device with respect to the detected specific object; setting a virtual camera in a virtual space on the basis of the imaging device position; setting, on the basis of the imaging device position, a virtual surface in the virtual space and defining subspaces extending at least along a depth direction relative to the virtual surface in the virtual space; providing, on the basis of a position of the virtual camera, a first virtual object in a first subspace of the virtual space that is defined by the virtual surface; generating a virtual object image by taking, by the virtual camera, the virtual space including the first virtual object; displaying the virtual object image on a display device connected to the game system, such that the virtual object image is superimposed on the real space on a screen of the display device and viewed by a user; providing a second virtual object different from the first virtual object, in the virtual space in accordance with a progress of a game; and controlling the progress of the game in accordance with changing a positional relation of either one of the first virtual object or the second virtual object or both of them with respect to the virtual surface.
-
-
10. A game system connected to an imaging device and a display device that allows a real space to be viewed on a screen thereof, the game system comprising:
-
a marker having a feature of serving as a specific object; and a processing system having at least one processor, the processing system configured to; obtain a taken image obtained by the imaging device taking an image of the real space; detect the specific object from the obtained taken image; calculate an imaging device position of the imaging device with respect to the specific object on the basis of a detection result of the specific object; set a virtual camera in a virtual space on the basis of the imaging device position; set, on the basis of the imaging device position, a virtual surface in the virtual space and define subspaces extending at least along a depth direction relative to the virtual surface in the virtual space; provide, on the basis of a position of the virtual camera, a first virtual object in a first subspace of the virtual space that is defined by the virtual surface; generate a virtual object image by taking, by the virtual camera, the virtual space including the first virtual object; display the virtual object image on the display device such that the virtual object image is superimposed on the real space on the screen and viewed by a user; provide a second virtual object different from the first virtual object, in the virtual space in accordance with a progress of a game; and control the progress of the game in accordance with changing a positional relation of either one of the first virtual object or the second virtual object or both of them with respect to the virtual surface.
-
Specification