发明名称 |
Computer-readable storage medium having game program stored therein and game apparatus for generating a two-dimensional game image representing a three-dimensional game space |
摘要 |
A computer-readable storage medium having stored therein a game program for generating a two-dimensional game image representing a state of a three-dimensional game space acquired by a virtual camera so as to display the two-dimensional game image by a display device, and the program is executed so as to calculate the number of pixels included in a linear distance to a target pixel representing a predetermined pixel on the two-dimensional game image, from a sight point pixel corresponding to a sight point of the virtual camera in the three-dimensional game space. Next, a movement rate of the virtual camera is set in accordance with the number of pixels having been calculated. The virtual camera is moved to a predetermined position in the three-dimensional game space in accordance with the movement rate having been set. |
申请公布号 |
US8753205(B2) |
申请公布日期 |
2014.06.17 |
申请号 |
US200812076304 |
申请日期 |
2008.03.17 |
申请人 |
Nintendo Co., Ltd. |
发明人 |
Kando Yuji |
分类号 |
A63F9/24 |
主分类号 |
A63F9/24 |
代理机构 |
Nixon & Vanderhye P.C. |
代理人 |
Nixon & Vanderhye P.C. |
主权项 |
1. A non-transitory computer-readable storage medium having stored therein a game program executed by a computer of a game apparatus for generating a two-dimensional game image representing a state of a three-dimensional game space acquired by a virtual camera so as to display the two-dimensional game image by a display device, the game program causing the computer to function as:
a sight point pixel calculator for calculating a sight point pixel representing a pixel on the two-dimensional game image, the sight point pixel corresponding to a sight point of the virtual camera in the three-dimensional game space; a camera movement controller for moving the virtual camera in the three-dimensional game space in accordance with a direction from the sight point pixel on the two-dimensional game image to a target pixel representing a predetermined pixel; a number-of-pixels calculator for calculating a number of pixels included in a linear distance to the target pixel from the sight point pixel; and a movement rate setter for setting a movement rate of the virtual camera in accordance with the number of pixels calculated by the number-of-pixels calculator, wherein the camera movement controller moves the virtual camera in accordance with the movement rate having been set by the movement rate setter.
|
地址 |
Kyoto JP |