JP5276055B2 - GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM - Google Patents

GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM Download PDF

Info

Publication number
JP5276055B2
JP5276055B2 JP2010134160A JP2010134160A JP5276055B2 JP 5276055 B2 JP5276055 B2 JP 5276055B2 JP 2010134160 A JP2010134160 A JP 2010134160A JP 2010134160 A JP2010134160 A JP 2010134160A JP 5276055 B2 JP5276055 B2 JP 5276055B2
Authority
JP
Japan
Prior art keywords
light source
character
shadow
game
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010134160A
Other languages
Japanese (ja)
Other versions
JP2011255090A (en
Inventor
健 鈴田
達也 鈴木
淳 藤木
貴則 菊池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Interactive Entertainment Inc
Original Assignee
Sony Interactive Entertainment Inc
Sony Computer Entertainment Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Interactive Entertainment Inc, Sony Computer Entertainment Inc filed Critical Sony Interactive Entertainment Inc
Priority to JP2010134160A priority Critical patent/JP5276055B2/en
Priority to EP11792065.2A priority patent/EP2441503B1/en
Priority to US13/394,603 priority patent/US9211472B2/en
Priority to PCT/JP2011/000653 priority patent/WO2011155102A1/en
Publication of JP2011255090A publication Critical patent/JP2011255090A/en
Application granted granted Critical
Publication of JP5276055B2 publication Critical patent/JP5276055B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a game control technique that is highly entertaining. <P>SOLUTION: A game device includes: a light source control unit 112 for changing a position of a light source or an irradiation direction of light emitted from the light source, on the basis of an operation direction of a player, on a game field where an object is arranged; a shadow drawing unit 116 for drawing a shadow of the object projected by the light emitted from the light source on a projection surface which is provided on the game field; and a character control unit 118 for moving a character along a shadow of the object. <P>COPYRIGHT: (C)2012,JPO&amp;INPIT

Description

本発明は、ゲーム制御技術に関し、とくに、3次元空間に配置されたオブジェクトの影に沿ってキャラクタを移動させるゲームを制御するゲーム装置、ゲーム制御方法、及びゲーム制御プログラムに関する。   The present invention relates to a game control technique, and more particularly to a game apparatus, a game control method, and a game control program for controlling a game in which a character is moved along a shadow of an object arranged in a three-dimensional space.

3次元空間をモデリングしたゲームフィールドにおいて、キャラクタを移動させて所定のゴールへ導くゲームが数多く提供されている。ゲームフィールドにいろいろな趣向を凝らしたギミックを配置したり、敵キャラクタを配置したりするなどして、新しい娯楽性を提供する努力がなされている。   There are many games in which a character is moved to a predetermined goal in a game field modeling a three-dimensional space. Efforts are being made to provide new entertainment such as placing gimmicks with various tastes in the game field and placing enemy characters.

米国特許公開第2009−0104992号公報US Patent Publication No. 2009-0104992

本発明者らは、3次元空間に配置されたオブジェクトの影に沿ってキャラクタを移動させるという、全く新しいゲームを提供する技術を想到するに至った。   The present inventors have come up with a technique for providing a completely new game in which a character is moved along the shadow of an object arranged in a three-dimensional space.

本発明はこうした状況に鑑みてなされたものであり、その目的は、より娯楽性の高いゲーム制御技術を提供することにある。   The present invention has been made in view of such circumstances, and an object thereof is to provide a game control technique with higher entertainment.

本発明のある態様は、ゲーム制御プログラムに関する。このゲーム制御プログラムは、オブジェクトが配置されたゲームフィールドにおいて、プレイヤーの操作指示に基づいて光源の位置又は光の照射方向を変更する機能と、前記ゲームフィールドに設けられた投影面に投影される前記オブジェクトの影を描画する機能と、前記オブジェクトの影に沿ってキャラクタを移動させる機能と、をコンピュータに実現させる。   One embodiment of the present invention relates to a game control program. The game control program is a function of changing a position of a light source or a light irradiation direction based on an operation instruction of a player in a game field in which an object is arranged, and the projection on a projection plane provided in the game field. The computer realizes the function of drawing the shadow of the object and the function of moving the character along the shadow of the object.

なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システムなどの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a representation of the present invention converted between a method, an apparatus, a system, etc. are also effective as an aspect of the present invention.

本発明によれば、より娯楽性の高いゲーム制御技術を提供することができる。   According to the present invention, a more entertaining game control technique can be provided.

本発明の実施例にかかるゲームシステムの使用環境を示す図である。It is a figure which shows the use environment of the game system concerning the Example of this invention. 入力デバイスの外観構成を示す図である。It is a figure which shows the external appearance structure of an input device. 入力デバイスの内部構成を示す図である。It is a figure which shows the internal structure of an input device. ゲーム装置の構成を示す図である。It is a figure which shows the structure of a game device. アプリケーション処理部の構成を示す図である。It is a figure which shows the structure of an application process part. 実施の形態に係るゲーム装置により制御されるゲームにおけるゲームフィールドの例を示す図である。It is a figure which shows the example of the game field in the game controlled by the game device which concerns on embodiment. ゲーム画面の例を示す図である。It is a figure which shows the example of a game screen. 影描画部により描画されたオブジェクトの影の画像を示す図である。It is a figure which shows the image of the shadow of the object drawn by the shadow drawing part. ゲーム画面の例を示す図である。It is a figure which shows the example of a game screen. ゲーム画面の例を示す図である。It is a figure which shows the example of a game screen. キャラクタをジャンプさせる機能を有するギミックが配置されたゲーム画面の例を示す図である。It is a figure which shows the example of the game screen by which the gimmick which has the function to make a character jump is arrange | positioned. キャラクタをジャンプさせる機能を有するギミックが配置されたゲーム画面の例を示す図である。It is a figure which shows the example of the game screen by which the gimmick which has the function to make a character jump is arrange | positioned. キャラクタを落下させる機能を有するギミックが配置されたゲーム画面の例を示す図である。It is a figure which shows the example of the game screen by which the gimmick which has the function to drop a character is arrange | positioned. キャラクタを落下させる機能を有するギミックが配置されたゲーム画面の例を示す図である。It is a figure which shows the example of the game screen by which the gimmick which has the function to drop a character is arrange | positioned. ゴールの形成を判定する機能について説明する図である。It is a figure explaining the function which determines formation of a goal. トンネルの形成を判定する機能について説明するための図である。It is a figure for demonstrating the function which determines formation of a tunnel. 影絵の形成を判定する機能について説明するための図である。It is a figure for demonstrating the function which determines formation of a shadow picture.

実施の形態に係るゲーム装置は、ユーザが光源の位置を操作することにより、3次元空間内に配置されたオブジェクトの影の位置や形状を変化させ、オブジェクトの影に沿ってキャラクタを移動させるゲームを提供する。キャラクタが影の上を移動するという現実世界では起こりえない現象をゲーム世界において実現させることにより、現実世界では味わえない斬新な楽しさをユーザに提供することができる。   The game device according to the embodiment is a game in which the user moves the character along the shadow of the object by changing the position and shape of the shadow of the object arranged in the three-dimensional space by operating the position of the light source. I will provide a. By realizing a phenomenon in the game world where the character moves over the shadow, which cannot occur in the game world, it is possible to provide the user with a novel enjoyment that cannot be experienced in the real world.

図1は、本発明の実施例にかかるゲームシステム1の使用環境を示す。ゲームシステム1は、ゲームソフトウェアを実行するゲーム装置10と、ゲーム装置10による処理結果を出力する表示装置12と、入力デバイス20と、入力デバイス20を撮像する撮像装置14を備える。   FIG. 1 shows a use environment of a game system 1 according to an embodiment of the present invention. The game system 1 includes a game device 10 that executes game software, a display device 12 that outputs a processing result by the game device 10, an input device 20, and an imaging device 14 that images the input device 20.

入力デバイス20は、ユーザが操作指示を行うための操作入力装置であり、ゲーム装置10は、入力デバイス20における操作指示をもとにゲームアプリケーションを処理して、ゲームアプリケーションの処理結果を示す画像信号を生成する処理装置である。   The input device 20 is an operation input device for a user to give an operation instruction, and the game apparatus 10 processes a game application based on the operation instruction in the input device 20 and an image signal indicating a processing result of the game application. Is a processing device for generating

入力デバイス20は、ユーザによる操作指示をゲーム装置10に伝送する機能をもち、本実施例ではゲーム装置10との間で無線通信可能な無線コントローラとして構成される。入力デバイス20とゲーム装置10は、Bluetooth(ブルートゥース)(登録商標)プロトコルを用いて無線接続を確立してもよい。なお入力デバイス20は、無線コントローラに限らず、ゲーム装置10とケーブルを介して接続される有線コントローラであってもよい。   The input device 20 has a function of transmitting an operation instruction from the user to the game apparatus 10 and is configured as a wireless controller capable of wireless communication with the game apparatus 10 in this embodiment. The input device 20 and the game apparatus 10 may establish a wireless connection using a Bluetooth (registered trademark) protocol. The input device 20 is not limited to the wireless controller, and may be a wired controller connected to the game apparatus 10 via a cable.

入力デバイス20はバッテリにより駆動され、ゲームを進行させる操作指示を行うための複数のボタンを有して構成される。ユーザが入力デバイス20のボタンを操作すると、その操作指示が無線によりゲーム装置10に送信される。ゲーム装置10は、入力デバイス20から操作指示を受信し、操作指示に応じてゲーム進行を制御して、ゲーム画像信号を生成する。生成されたゲーム画像信号は、表示装置12より出力される。   The input device 20 is driven by a battery and is configured to have a plurality of buttons for performing operation instructions for proceeding with the game. When the user operates the button of the input device 20, the operation instruction is transmitted to the game apparatus 10 by radio. The game apparatus 10 receives an operation instruction from the input device 20, controls the game progress in accordance with the operation instruction, and generates a game image signal. The generated game image signal is output from the display device 12.

撮像装置14は、CCD撮像素子またはCMOS撮像素子などから構成されるビデオカメラであり、実空間を所定の周期で撮像して、周期ごとのフレーム画像を生成する。たとえば、撮像装置14の撮像速度は30枚/秒として、表示装置12のフレームレートと一致させてもよい。撮像装置14は、USB(Universal Serial Bus)あるいはその他のインタフェースを介してゲーム装置10と接続する。   The imaging device 14 is a video camera composed of a CCD imaging device, a CMOS imaging device, or the like. The imaging device 14 images a real space at a predetermined cycle and generates a frame image for each cycle. For example, the imaging speed of the imaging device 14 may be 30 frames / second so as to match the frame rate of the display device 12. The imaging device 14 is connected to the game device 10 via a USB (Universal Serial Bus) or other interface.

表示装置12は画像を出力するディスプレイであって、ゲーム装置10において生成された画像信号を受けて、ゲーム画面を表示する。表示装置12は、ディスプレイおよびスピーカを有するテレビであってよく、またコンピュータディスプレイであってもよい。表示装置12は、ゲーム装置10に有線ケーブルで接続されてよく、また無線LAN(Local Area Network)などにより無線接続されてもよい。   The display device 12 is a display that outputs an image. The display device 12 receives an image signal generated by the game device 10 and displays a game screen. The display device 12 may be a television having a display and a speaker, or may be a computer display. The display device 12 may be connected to the game device 10 by a wired cable, or may be wirelessly connected by a wireless local area network (LAN) or the like.

本実施例のゲームシステム1において、入力デバイス20は発光体を有する。ゲーム中、発光体は所定色で発光し、撮像装置14により撮像される。撮像装置14は入力デバイス20を撮像し、フレーム画像を生成してゲーム装置10に供給する。ゲーム装置10はフレーム画像を取得して、フレーム画像における発光体の画像の位置および大きさから、実空間における発光体の位置情報を導出する。ゲーム装置10は、位置情報をゲームの操作指示として取り扱い、プレイヤーキャラクタの動作を制御するなど、ゲームの処理に反映させる。本実施例のゲーム装置10は、入力デバイス20のボタンなどの操作入力だけでなく、取得した発光体画像の位置情報も用いてゲームアプリケーションを処理する機能をもつ。   In the game system 1 of the present embodiment, the input device 20 has a light emitter. During the game, the light emitter emits light in a predetermined color and is imaged by the imaging device 14. The imaging device 14 images the input device 20, generates a frame image, and supplies the frame image to the game device 10. The game apparatus 10 acquires a frame image, and derives position information of the light emitter in real space from the position and size of the image of the light emitter in the frame image. The game apparatus 10 treats the position information as a game operation instruction and reflects it in the game process such as controlling the movement of the player character. The game apparatus 10 according to the present embodiment has a function of processing a game application using not only an operation input such as a button of the input device 20 but also the positional information of the acquired light emitter image.

入力デバイス20の発光体は、複数色で発光可能に構成される。発光体は、ゲーム装置10からの発光指示により、発光色を変更できる。   The light emitter of the input device 20 is configured to emit light in a plurality of colors. The light emitter can change the light emission color in accordance with a light emission instruction from the game apparatus 10.

また入力デバイス20は加速度センサおよびジャイロセンサを有する。センサの検出値は、所定周期でゲーム装置10に送信され、ゲーム装置10は、センサの検出値を取得して、実空間における入力デバイス20の姿勢情報を取得する。ゲーム装置10は、姿勢情報をゲームの操作指示として取り扱い、ゲームの処理に反映させる。このように本実施例のゲーム装置10は、取得した入力デバイス20の姿勢情報も用いてゲームアプリケーションを処理する機能をもつ。   The input device 20 includes an acceleration sensor and a gyro sensor. The detection value of the sensor is transmitted to the game apparatus 10 at a predetermined cycle, and the game apparatus 10 acquires the detection value of the sensor and acquires the posture information of the input device 20 in the real space. The game apparatus 10 handles the posture information as a game operation instruction and reflects it in the game processing. As described above, the game apparatus 10 according to the present embodiment has a function of processing a game application using the acquired posture information of the input device 20.

図2は、入力デバイス20の外観構成を示す。図2(a)は、入力デバイス20の上面構成を示し、図2(b)は、入力デバイス20の下面構成を示す。入力デバイス20は、発光体22およびハンドル24を有する。発光体22は、その外側を光透過性を有する樹脂で球体に形成され、内側に発光ダイオードや電球などの発光素子を有する。内側の発光素子が発光すると、外側の球体全体が光る。ハンドル24の上面には、操作ボタン30、32、34、36、38が設けられ、下面には操作ボタン40が設けられる。ユーザはハンドル24の端部を手で把持した状態で、操作ボタン30、32、34、36、38を親指で操作し、操作ボタン40を人差し指で操作する。操作ボタン30、32、34、36、38は、押下式に構成され、ユーザは押下することで操作する。操作ボタン40は、アナログ量を入力できるものであってよい。   FIG. 2 shows an external configuration of the input device 20. FIG. 2A shows the top surface configuration of the input device 20, and FIG. 2B shows the bottom surface configuration of the input device 20. The input device 20 has a light emitter 22 and a handle 24. The light emitter 22 is formed into a sphere with a light-transmitting resin on the outside, and has a light emitting element such as a light emitting diode or a light bulb on the inside. When the inner light emitting element emits light, the entire outer sphere glows. Operation buttons 30, 32, 34, 36, and 38 are provided on the upper surface of the handle 24, and an operation button 40 is provided on the lower surface. The user operates the operation buttons 30, 32, 34, 36, and 38 with the thumb and the operation button 40 with the index finger while holding the end of the handle 24 by hand. The operation buttons 30, 32, 34, 36, and 38 are configured to be pressed, and the user operates by pressing them. The operation button 40 may be capable of inputting an analog amount.

ユーザは表示装置12に表示されるゲーム画面を見ながらゲームを行う。撮像装置14は、ゲームアプリケーションの実行中に発光体22を撮像する必要があるため、その撮像範囲が表示装置12と同じ方向を向くように配置されることが好ましい。一般にユーザは表示装置12の正面でゲームをプレイすることが多いため、撮像装置14は、その光軸の方向が表示装置12の正面方向と一致するように配置される。具体的に、撮像装置14は、表示装置12の近傍において、表示装置12の表示画面をユーザが視認可能な位置を撮像範囲に含むように配置されることが好ましい。これにより、撮像装置14は、入力デバイス20を撮像できる。   The user plays the game while watching the game screen displayed on the display device 12. Since the imaging device 14 needs to image the light emitter 22 during execution of the game application, the imaging device 14 is preferably arranged so that the imaging range faces the same direction as the display device 12. In general, since a user often plays a game in front of the display device 12, the imaging device 14 is arranged so that the direction of the optical axis thereof coincides with the front direction of the display device 12. Specifically, the imaging device 14 is preferably arranged in the vicinity of the display device 12 so that the imaging range includes a position where the user can visually recognize the display screen of the display device 12. Thereby, the imaging device 14 can image the input device 20.

図3は、入力デバイス20の内部構成を示す。入力デバイス20は、無線通信モジュール48、処理部50、発光部62および操作ボタン30、32、34、36、38、40を備える。無線通信モジュール48は、ゲーム装置10の無線通信モジュールとの間でデータを送受信する機能をもつ。処理部50は、入力デバイス20における所期の処理を実行する。   FIG. 3 shows the internal configuration of the input device 20. The input device 20 includes a wireless communication module 48, a processing unit 50, a light emitting unit 62, and operation buttons 30, 32, 34, 36, 38, and 40. The wireless communication module 48 has a function of transmitting / receiving data to / from the wireless communication module of the game apparatus 10. The processing unit 50 executes intended processing in the input device 20.

処理部50は、メイン制御部52、入力受付部54、3軸加速度センサ56、3軸ジャイロセンサ58および発光制御部60を有する。メイン制御部52は、無線通信モジュール48との間で必要なデータの送受を行う。   The processing unit 50 includes a main control unit 52, an input receiving unit 54, a triaxial acceleration sensor 56, a triaxial gyro sensor 58, and a light emission control unit 60. The main control unit 52 transmits and receives necessary data to and from the wireless communication module 48.

入力受付部54は、操作ボタン30、32、34、36、38、40からの入力情報を受け付け、メイン制御部52に送る。3軸加速度センサ56は、XYZの3軸方向の加速度成分を検出する。3軸ジャイロセンサ58は、XZ平面、ZY平面、YX平面における角速度を検出する。なお、ここでは、入力デバイス20の幅方向をX軸、高さ方向をY軸、長手方向をZ軸と設定する。3軸加速度センサ56および3軸ジャイロセンサ58は、入力デバイス20のハンドル24内に配置され、ハンドル24内の中心近傍に配置されることが好ましい。無線通信モジュール48は、操作ボタンからの入力情報とともに、3軸加速度センサ56による検出値情報、および3軸ジャイロセンサ58による検出値情報を、所定の周期でゲーム装置10の無線通信モジュールに送信する。この送信周期は、たとえば11.25m秒に設定される。   The input receiving unit 54 receives input information from the operation buttons 30, 32, 34, 36, 38, 40 and sends it to the main control unit 52. The triaxial acceleration sensor 56 detects acceleration components in the XYZ triaxial directions. The triaxial gyro sensor 58 detects angular velocities in the XZ plane, the ZY plane, and the YX plane. Here, the width direction of the input device 20 is set as the X axis, the height direction is set as the Y axis, and the longitudinal direction is set as the Z axis. The triaxial acceleration sensor 56 and the triaxial gyro sensor 58 are preferably disposed in the handle 24 of the input device 20 and are disposed in the vicinity of the center in the handle 24. The wireless communication module 48 transmits detection value information from the three-axis acceleration sensor 56 and detection value information from the three-axis gyro sensor 58 together with input information from the operation buttons to the wireless communication module of the game apparatus 10 at a predetermined cycle. . This transmission cycle is set to 11.25 milliseconds, for example.

発光制御部60は、発光部62の発光を制御する。発光部62は、赤色LED64a、緑色LED64b、青色LED64cを有し、複数色の発光を可能とする。発光制御部60は、赤色LED64a、緑色LED64b、青色LED64cの発光を調整して、発光部62を所望の色に発光させる。   The light emission control unit 60 controls the light emission of the light emitting unit 62. The light emitting unit 62 includes a red LED 64a, a green LED 64b, and a blue LED 64c, and enables light emission of a plurality of colors. The light emission control unit 60 adjusts the light emission of the red LED 64a, the green LED 64b, and the blue LED 64c, and causes the light emitting unit 62 to emit light in a desired color.

無線通信モジュール48はゲーム装置10から発光指示を受け取ると、メイン制御部52に供給し、メイン制御部52は、発光制御部60に発光指示を供給する。発光制御部60は、発光部62が発光指示により指定された色で発光するように、赤色LED64a、緑色LED64b、青色LED64cの発光を制御する。たとえば発光制御部60は、各LEDをPWM(パルス幅変調)制御で点灯制御してもよい。   When the wireless communication module 48 receives the light emission instruction from the game apparatus 10, the wireless communication module 48 supplies the light emission instruction to the main control unit 52, and the main control unit 52 supplies the light emission control unit 60 with the light emission instruction. The light emission control unit 60 controls the light emission of the red LED 64a, the green LED 64b, and the blue LED 64c so that the light emitting unit 62 emits light in the color specified by the light emission instruction. For example, the light emission control unit 60 may perform lighting control of each LED by PWM (pulse width modulation) control.

図4は、ゲーム装置10の構成を示す。ゲーム装置10は、フレーム画像取得部80、画像処理部82、デバイス情報導出部84、無線通信モジュール86、入力受付部88、出力部90およびアプリケーション処理部100を備える。本実施例におけるゲーム装置10の処理機能は、CPU、メモリ、メモリにロードされたプログラムなどによって実現され、ここではそれらの連携によって実現される構成を描いている。プログラムは、ゲーム装置10に内蔵されていてもよく、また記録媒体に格納された形態で外部から供給されるものであってもよい。したがってこれらの機能ブロックがハードウェアのみ、ソフトウェアのみ、またはそれらの組合せによっていろいろな形で実現できることは、当業者に理解されるところである。なおハードウェアの構成上、ゲーム装置10は複数のCPUを有してもよい。   FIG. 4 shows the configuration of the game apparatus 10. The game apparatus 10 includes a frame image acquisition unit 80, an image processing unit 82, a device information deriving unit 84, a wireless communication module 86, an input receiving unit 88, an output unit 90, and an application processing unit 100. The processing function of the game apparatus 10 in the present embodiment is realized by a CPU, a memory, a program loaded in the memory, and the like, and here, a configuration realized by cooperation thereof is illustrated. The program may be built in the game apparatus 10 or may be supplied from the outside in a form stored in a recording medium. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof. Note that the game apparatus 10 may have a plurality of CPUs due to the hardware configuration.

無線通信モジュール86は、入力デバイス20の無線通信モジュール48との間で無線通信を確立する。これにより入力デバイス20は、操作ボタンの状態情報、3軸加速度センサ56および3軸ジャイロセンサ58の検出値情報を、ゲーム装置10に所定の周期で送信できるようになる。   The wireless communication module 86 establishes wireless communication with the wireless communication module 48 of the input device 20. As a result, the input device 20 can transmit operation button state information, detection value information of the triaxial acceleration sensor 56 and triaxial gyro sensor 58 to the game apparatus 10 at a predetermined cycle.

無線通信モジュール86は、入力デバイス20から送信される操作ボタンの状態情報、およびセンサ検出値情報を受信し、入力受付部88に供給する。入力受付部88は、ボタン状態情報およびセンサ検出値情報を分離し、アプリケーション処理部100に引き渡す。アプリケーション処理部100は、ボタン状態情報およびセンサ検出値情報を、ゲームの操作指示として受け取る。アプリケーション処理部100は、センサ検出値情報を、入力デバイス20の姿勢情報として取り扱う。   The wireless communication module 86 receives the operation button state information and sensor detection value information transmitted from the input device 20 and supplies them to the input receiving unit 88. The input receiving unit 88 separates the button state information and the sensor detection value information and delivers them to the application processing unit 100. The application processing unit 100 receives button state information and sensor detection value information as game operation instructions. The application processing unit 100 handles sensor detection value information as posture information of the input device 20.

フレーム画像取得部80はUSBインタフェースとして構成され、撮像装置14から所定の撮像速度(たとえば30フレーム/秒)でフレーム画像を取得する。画像処理部82は、フレーム画像から発光体画像を抽出する。画像処理部82は、フレーム画像中の発光体画像の位置、および大きさを特定する。入力デバイス20の発光体22が、たとえばユーザ環境内で使われそうにない色で点灯することで、画像処理部82は、フレーム画像から高精度に発光体画像を抽出できる。画像処理部82は、フレーム画像データを所定の閾値を用いて2値化処理し、2値化された画像を生成してもよい。この2値化処理により、所定の閾値より大きい輝度を保持する画素の画素値が“1”に符号化され、所定の閾値以下の輝度を保持する画素の画素値が“0”に符号化される。この所定の閾値を超える輝度で発光体22を点灯させることで、画像処理部82は、2値化された画像から、発光体画像の位置および大きさを特定できる。たとえば画像処理部82は、フレーム画像における発光体画像の重心座標と、発光体画像の半径を特定する。   The frame image acquisition unit 80 is configured as a USB interface, and acquires a frame image from the imaging device 14 at a predetermined imaging speed (for example, 30 frames / second). The image processing unit 82 extracts a light emitter image from the frame image. The image processing unit 82 specifies the position and size of the light emitter image in the frame image. When the light emitter 22 of the input device 20 is lit in a color that is unlikely to be used in the user environment, for example, the image processing unit 82 can extract the light emitter image from the frame image with high accuracy. The image processing unit 82 may binarize the frame image data using a predetermined threshold value to generate a binarized image. As a result of this binarization processing, the pixel value of the pixel holding the luminance greater than the predetermined threshold is encoded as “1”, and the pixel value of the pixel holding the luminance equal to or lower than the predetermined threshold is encoded as “0”. The By illuminating the illuminator 22 with a luminance exceeding the predetermined threshold, the image processing unit 82 can specify the position and size of the illuminant image from the binarized image. For example, the image processing unit 82 specifies the barycentric coordinates of the illuminant image in the frame image and the radius of the illuminant image.

デバイス情報導出部84は、画像処理部82で特定された発光体画像の位置および大きさから、撮像装置14からみた入力デバイス20の位置情報を導出する。デバイス情報導出部84は、発光体画像の重心座標からカメラ座標における位置座標を導出し、また発光体画像の半径から、撮像装置14からの距離情報を導出する。この位置座標および距離情報は、入力デバイス20の位置情報を構成する。デバイス情報導出部84は、フレーム画像ごとに入力デバイス20の位置情報を導出し、アプリケーション処理部100に引き渡す。アプリケーション処理部100は、入力デバイス20の位置情報を、ゲームの操作指示として受け取る。   The device information deriving unit 84 derives position information of the input device 20 as viewed from the imaging device 14 from the position and size of the light emitter image specified by the image processing unit 82. The device information deriving unit 84 derives position coordinates in the camera coordinates from the barycentric coordinates of the light emitter image, and derives distance information from the imaging device 14 from the radius of the light emitter image. The position coordinates and distance information constitute position information of the input device 20. The device information deriving unit 84 derives the position information of the input device 20 for each frame image and passes it to the application processing unit 100. The application processing unit 100 receives the position information of the input device 20 as a game operation instruction.

アプリケーション処理部100は、入力デバイス20の位置情報および姿勢情報と、ボタン状態情報とからゲームを進行させて、ゲームアプリケーションの処理結果を示す画像信号を生成する。画像信号は出力部90から表示装置12に送られ、表示画像として出力される。   The application processing unit 100 progresses the game from the position information and posture information of the input device 20 and the button state information, and generates an image signal indicating the processing result of the game application. The image signal is sent from the output unit 90 to the display device 12 and output as a display image.

図5は、アプリケーション処理部100の構成を示す。アプリケーション処理部100は、操作指示受付部102、制御部110、パラメータ保持部150、ゲームデータ保持部152および画像生成部154を備える。   FIG. 5 shows a configuration of the application processing unit 100. The application processing unit 100 includes an operation instruction receiving unit 102, a control unit 110, a parameter holding unit 150, a game data holding unit 152, and an image generation unit 154.

操作指示受付部102は、デバイス情報導出部84から入力デバイス20の位置情報を、入力受付部88から入力デバイス20の姿勢情報およびボタン状態情報を、それぞれ操作指示として受け付ける。制御部110は、操作指示受付部102が受け付けた操作指示にもとづいてゲームプログラムを実行し、ゲームを進行させる。パラメータ保持部150は、ゲームの進行に必要なパラメータを保持する。ゲームデータ保持部152は、ゲーム世界を構成するオブジェクトなどの三次元データなど、ゲームに必要なデータを保持する。画像生成部154は、制御部110によりレンダリングされたゲームフィールドの画像に、各種情報などを付加して表示画面を生成する。   The operation instruction receiving unit 102 receives the position information of the input device 20 from the device information deriving unit 84 and the posture information and button state information of the input device 20 from the input receiving unit 88 as operation instructions. The control unit 110 executes the game program based on the operation instruction received by the operation instruction receiving unit 102 and advances the game. The parameter holding unit 150 holds parameters necessary for the progress of the game. The game data holding unit 152 holds data necessary for the game, such as three-dimensional data such as objects constituting the game world. The image generation unit 154 generates a display screen by adding various information to the image of the game field rendered by the control unit 110.

制御部110は、光源制御部112、ゲームフィールド描画部114、影描画部116、キャラクタ制御部118、ギミック制御部120、影形状判定部122を含む。   The control unit 110 includes a light source control unit 112, a game field drawing unit 114, a shadow drawing unit 116, a character control unit 118, a gimmick control unit 120, and a shadow shape determination unit 122.

光源制御部112は、入力デバイス20の位置情報、姿勢情報及びボタン状態情報に基づいて、ゲームフィールド内に設定される光源の位置又は光源から照射される光の照射方向を制御する。光源制御部112は、入力デバイス20の操作ボタン40が押されると、パラメータ保持部150に保持された現在の光源位置及び照射方向を示す情報と、入力デバイス20の位置情報及び姿勢情報とに基づいて、光源位置及び照射方向角度を算出し、影描画部116に通知するとともに、パラメータ保持部150に格納する。   The light source control unit 112 controls the position of the light source set in the game field or the irradiation direction of light emitted from the light source based on the position information, posture information, and button state information of the input device 20. When the operation button 40 of the input device 20 is pressed, the light source control unit 112 is based on the information indicating the current light source position and irradiation direction held in the parameter holding unit 150 and the position information and posture information of the input device 20. Then, the light source position and the irradiation direction angle are calculated, notified to the shadow drawing unit 116, and stored in the parameter holding unit 150.

ゲームフィールド描画部114は、ゲームフィールドをレンダリングするための視点位置及び視線方向を設定し、ゲームフィールドに配置されたオブジェクト及び影の投影面をレンダリングして、ゲームフィールドの画像を生成する。本実施の形態では、ゲームフィールドを構成する壁及び床を投影面とする。   The game field drawing unit 114 sets the viewpoint position and the line-of-sight direction for rendering the game field, renders the object and shadow projection plane arranged in the game field, and generates an image of the game field. In the present embodiment, the walls and the floor constituting the game field are used as projection planes.

影描画部116は、ゲームフィールド描画部114が設定した視点位置及び視線方向と、光源制御部112が設定した光源位置及び照射方向とを取得し、光源から照射される光により壁及び床に投影されるオブジェクトの影を描画する。影描画部116が描画した影の二次元画像は、パラメータ保持部150に格納される。   The shadow drawing unit 116 acquires the viewpoint position and line-of-sight direction set by the game field drawing unit 114 and the light source position and irradiation direction set by the light source control unit 112, and projects them onto the walls and floor by the light emitted from the light source. Draw the shadow of the object to be created. The shadow two-dimensional image drawn by the shadow drawing unit 116 is stored in the parameter holding unit 150.

キャラクタ制御部118は、影描画部116により描画された影に沿ってキャラクタを移動させる。キャラクタ制御部118は、影描画部116により描画された影の二次元画像を参照して、キャラクタの移動先を判定する。キャラクタ制御部118は、複数のオブジェクトが離れた位置に配置されていたとしても、それらのオブジェクトの影同士がつながっていれば、それらのオブジェクトの影の間をキャラクタが移動可能とする。キャラクタ制御部118は、所定の速度で自動的にキャラクタを移動させるが、プレイヤーから移動速度を増減する操作指示を取得すると、キャラクタの移動速度を増減させる。   The character control unit 118 moves the character along the shadow drawn by the shadow drawing unit 116. The character control unit 118 refers to the two-dimensional image of the shadow drawn by the shadow drawing unit 116 to determine the character movement destination. Even if a plurality of objects are arranged at positions separated from each other, the character control unit 118 allows the character to move between the shadows of the objects as long as the shadows of the objects are connected to each other. The character control unit 118 automatically moves the character at a predetermined speed. When an operation instruction for increasing or decreasing the moving speed is acquired from the player, the character controlling unit 118 increases or decreases the moving speed of the character.

ギミック制御部120は、ゲームフィールドに配置されたオブジェクトに設定された、所定の機能を発動させるギミックを制御する。ギミック制御部120は、キャラクタ制御部118により制御されるキャラクタが、配置されたギミックの付近を通過する際に、そのギミックの機能を発動するか否かを判定し、発動する場合には、キャラクタ制御部118などにその旨を通知する。ギミック制御部120は、配置されたギミックの機能を発動するか否かを所定のタイミング、例えばフレームごとに判定してもよい。   The gimmick control unit 120 controls a gimmick that activates a predetermined function set in an object arranged in the game field. The gimmick control unit 120 determines whether or not to activate the function of the gimmick when the character controlled by the character control unit 118 passes near the arranged gimmick. This is notified to the control unit 118 and the like. The gimmick control unit 120 may determine whether to activate the function of the arranged gimmick at a predetermined timing, for example, for each frame.

影形状判定部122は、影描画部116により描画されたオブジェクトの影の形状が、予め定められた所定の形状になっているか否かを判定する。影形状判定部122は、パラメータ保持部150に格納された、影描画部116により描画された影の二次元画像と、ゲームデータ保持部152に格納された、予め定められた形状とを比較して、影の二次元画像の中から予め定められた形状を検出する。影形状判定部122は、光源の位置及び照射方向が所定の位置及び方向に合致したときに、所定の形状の影が形成されたと判定してもよい。予め定められた形状が検出されると、その旨を識別可能に表示することにより、プレイヤーに通知する。影形状判定部122は、影の形状を所定のタイミング、例えばフレームごとに判定してもよい。影形状判定部122は、ギミック制御部120がギミックの機能を発動するか否かを判定する際に、ギミックの影の形状が所定の形状になっているか否かを判定するために用いられてもよい。   The shadow shape determination unit 122 determines whether or not the shadow shape of the object drawn by the shadow drawing unit 116 is a predetermined shape. The shadow shape determination unit 122 compares the two-dimensional image of the shadow drawn by the shadow drawing unit 116 stored in the parameter holding unit 150 with a predetermined shape stored in the game data holding unit 152. Then, a predetermined shape is detected from the shadow two-dimensional image. The shadow shape determination unit 122 may determine that a shadow having a predetermined shape has been formed when the position of the light source and the irradiation direction match the predetermined position and direction. When a predetermined shape is detected, the player is notified by displaying that fact in an identifiable manner. The shadow shape determination unit 122 may determine the shape of the shadow at a predetermined timing, for example, for each frame. The shadow shape determination unit 122 is used to determine whether or not the shape of the gimmick shadow is a predetermined shape when determining whether or not the gimmick control unit 120 activates the gimmick function. Also good.

影形状判定部122は、影描画部116により描画されたオブジェクトの影が形成すべき所定の形状に近づいたことを、段階的にプレイヤーに提示してもよい。例えば、形成すべき所定の形状のほかに、所定の形状に類似する形状を段階的に複数保持しておき、それらの形状に合致する形状が検出されると、その旨をプレイヤーに提示してもよい。また、影描画部116により描画された影の二次元画像の中から所定の形状を探索する際に、既知の任意の技術により形状マッチングを行い、所定の類似度よりも高い結果が得られた場合に、その旨をプレイヤーに提示してもよい。また、光源位置又は照射方向の、所定の位置又は方向からのずれが所定値未満になったときに、その旨をプレイヤーに提示してもよい。   The shadow shape determination unit 122 may present to the player step by step that the shadow of the object drawn by the shadow drawing unit 116 has approached a predetermined shape to be formed. For example, in addition to a predetermined shape to be formed, a plurality of shapes similar to the predetermined shape are held in stages, and when a shape that matches those shapes is detected, that fact is shown to the player. Also good. Further, when searching for a predetermined shape from the two-dimensional image of the shadow drawn by the shadow drawing unit 116, shape matching was performed using any known technique, and a result higher than the predetermined similarity was obtained. In some cases, this may be presented to the player. Further, when the deviation of the light source position or the irradiation direction from the predetermined position or direction becomes less than a predetermined value, that fact may be presented to the player.

図6は、実施の形態に係るゲーム装置により制御されるゲームにおけるゲームフィールドの例を示す。3次元空間内に、ゲームフィールドを構成する壁210と、ゲームフィールド内に配置されたオブジェクト202、204が設けられている。図示しない光源からゲームフィールドに光が当てられ、その光によりオブジェクト202の影212、オブジェクト204の影214が壁210に投影される。本実施の形態においては、強い光が当たっている領域200の内側に投影される影のみを表示しているが、影描画部116は、領域200の外側に投影される影も描画しており、キャラクタ制御部118は、領域200の外側に投影される影の上もキャラクタを移動可能とする。   FIG. 6 shows an example of a game field in a game controlled by the game device according to the embodiment. In the three-dimensional space, a wall 210 constituting a game field and objects 202 and 204 arranged in the game field are provided. Light is applied to the game field from a light source (not shown), and the shadow 212 of the object 202 and the shadow 214 of the object 204 are projected onto the wall 210 by the light. In the present embodiment, only the shadow projected inside the region 200 that is exposed to strong light is displayed, but the shadow drawing unit 116 also draws the shadow projected outside the region 200. The character control unit 118 also allows the character to move on the shadow projected outside the area 200.

光源制御部112は、プレイヤーが入力デバイス20の操作ボタン40を押しながら、入力デバイス20を上下左右に移動させると、入力デバイス20の位置情報に応じて、光源の位置を上下左右に移動させ、又は、光源の照射角度を上下左右に傾ける。また、プレイヤーが入力デバイス20の操作ボタン40を押しながら、入力デバイス20を上下左右に傾けると、入力デバイス20の姿勢情報に応じて、光源の位置を上下左右に移動させ、又は、光源の照射角度を上下左右に傾ける。光源制御部112は、ゲームフィールドにおける三次元座標の座標軸であるx軸及びy軸に沿って光源の位置又は角度を変更してもよいし、ゲームフィールドをレンダリングした画面における二次元座標の座標軸であるX軸及びY軸に沿って光源の位置又は角度を変更してもよい。光源制御部112は、入力デバイス20と撮像装置14との間の距離に応じて、z軸方向又は画面の奥行き方向へ光源の位置を移動させてもよい。   When the player moves the input device 20 up, down, left, and right while pressing the operation button 40 of the input device 20, the light source control unit 112 moves the position of the light source up, down, left, and right according to the position information of the input device 20, Alternatively, the illumination angle of the light source is tilted up, down, left and right. Further, when the player tilts the input device 20 up, down, left, right while pressing the operation button 40 of the input device 20, the position of the light source is moved up, down, left, right according to the attitude information of the input device 20, or the light source is irradiated. Tilt the angle up / down / left / right. The light source control unit 112 may change the position or angle of the light source along the x-axis and y-axis that are the coordinate axes of the three-dimensional coordinates in the game field, or the coordinate axes of the two-dimensional coordinates in the screen on which the game field is rendered. The position or angle of the light source may be changed along a certain X axis and Y axis. The light source control unit 112 may move the position of the light source in the z-axis direction or the depth direction of the screen according to the distance between the input device 20 and the imaging device 14.

図7は、ゲーム画面の例を示す。ゲームが開始されると、ゲームフィールド描画部114は、ゲームデータ保持部152から、キャラクタの初期位置を示す座標を取得し、その初期位置に、ブランコ222に乗ったキャラクタ220を表示する。また、ゲームデータ保持部152から、ゴールの位置を示す座標を取得し、その位置にゴール224を表示する。プレイヤーが光源を操作して、キャラクタ220を光で照らすと、キャラクタ制御部118は、キャラクタ220をブランコ222から落下させる。キャラクタ制御部118は、1フレームごとに所定の座標値ずつキャラクタ220の現在位置を下方へ移動させる。キャラクタ220の下方に影がなければ、キャラクタ220は画面下端まで落下し、ゲームオーバーとなる。キャラクタ220の下方に影があれば、キャラクタ制御部118は、キャラクタ220をその影の上に着地させる。したがって、プレイヤーは、ゲームの開始にあたって、キャラクタ220の下方にオブジェクトの影が投影されるように光源の位置や角度を調節しつつ、キャラクタ220を光で照らす必要がある。   FIG. 7 shows an example of the game screen. When the game is started, the game field drawing unit 114 acquires the coordinates indicating the initial position of the character from the game data holding unit 152, and displays the character 220 on the swing 222 at the initial position. Also, the coordinates indicating the position of the goal are acquired from the game data holding unit 152, and the goal 224 is displayed at the position. When the player operates the light source to illuminate the character 220 with light, the character control unit 118 causes the character 220 to fall from the swing 222. The character control unit 118 moves the current position of the character 220 downward by a predetermined coordinate value for each frame. If there is no shadow below the character 220, the character 220 falls to the bottom of the screen and the game is over. If there is a shadow below the character 220, the character control unit 118 causes the character 220 to land on the shadow. Therefore, at the start of the game, the player needs to illuminate the character 220 with light while adjusting the position and angle of the light source so that the shadow of the object is projected below the character 220.

図8は、影描画部116により描画されたオブジェクトの影の画像を示す。キャラクタ制御部118は、この二次元画像を参照して、キャラクタ220が着地した影212の上部に沿ってキャラクタ220を移動させる。キャラクタ制御部118は、まず、キャラクタ220を右方向へ移動させ、影212の右端にキャラクタ220が到達すると、キャラクタ220を左方向へ移動させる。そして、影212の左端にキャラクタ220が到達すると、キャラクタ220を右方向へ移動させる。キャラクタ制御部118は、先にキャラクタ220を左に移動させてもよい。   FIG. 8 shows an image of the shadow of the object drawn by the shadow drawing unit 116. The character control unit 118 refers to the two-dimensional image and moves the character 220 along the upper part of the shadow 212 on which the character 220 has landed. The character control unit 118 first moves the character 220 to the right, and when the character 220 reaches the right end of the shadow 212, moves the character 220 to the left. When the character 220 reaches the left end of the shadow 212, the character 220 is moved in the right direction. The character control unit 118 may first move the character 220 to the left.

キャラクタ制御部118は、影に段差がある場合、所定の高さまでの上昇段差はキャラクタが乗り越えられるようにし、所定の高さ以上の上昇段差は乗り越えられずに逆方向へ移動させるようにしてもよい。また、所定の高さまでの下降段差はキャラクタが飛び降りられるようにし、所定の高さ以上の下降段差は飛び降りられずに逆方向へ移動させるようにしてもよい。また、キャラクタ制御部118は、キャラクタが接地している影と、その影に隣接する別の影との間の隙間が所定の範囲以内であれば、キャラクタが隣接する影へ飛び移れるようにしてもよい。   If there is a step in the shadow, the character control unit 118 may allow the character to get over the rising step up to a predetermined height, and move in the reverse direction without going over the rising step over the predetermined height. Good. Further, the descending step up to a predetermined height may cause the character to jump off, and the descending step above the predetermined height may be moved in the opposite direction without jumping off. In addition, the character control unit 118 allows the character to jump to the adjacent shadow if the gap between the shadow that the character touches the ground and another shadow adjacent to the shadow is within a predetermined range. Also good.

キャラクタ制御部118は、キャラクタの移動方向の、概ねキャラクタの身長に相当する範囲に、キャラクタが接地している影とは連続していない別の影が存在する場合、その影が障害物となって、その方向にはキャラクタが移動できないと判定し、キャラクタを逆方向へ移動させるようにしてもよい。   If there is another shadow that is not continuous with the shadow on which the character touches the ground, the character control unit 118 becomes an obstacle. Then, it may be determined that the character cannot move in that direction, and the character may be moved in the reverse direction.

図8に示した状態では、キャラクタ220が接地している影212はゴール224につながっていないので、キャラクタ220はゴール224に辿り着くことができない。プレイヤーは、光源の位置や角度を調節して、影212、影214及びゴール224が一つにつながるようにして、キャラクタ220をゴール224へ導く。   In the state shown in FIG. 8, the shadow 212 to which the character 220 is grounded is not connected to the goal 224, so the character 220 cannot reach the goal 224. The player guides the character 220 to the goal 224 by adjusting the position and angle of the light source so that the shadow 212, the shadow 214, and the goal 224 are connected together.

図9は、ゲーム画面の例を示す。プレイヤーが、入力デバイスにより光源の位置を左方向へ移動させる、又は、光の照射方向を右へ移動させると、オブジェクトの影の位置は右へ移動する。光源制御部112が、光源位置又は照射方向を変更すると、影描画部116は、フレームごとに、光源位置及び照射方向を設定して、壁及び床に投影されたオブジェクトの影を描画する。キャラクタ制御部118は、光源制御部112が光源の位置又は角度を変更している間、キャラクタ220を移動させずにその場で静止させるが、影描画部116により描画される影212の移動にともなって、キャラクタ220も移動される。したがって、キャラクタ220は、影212に乗ったまま、影212とともに右へ移動する。影の移動にともなってキャラクタが移動しているときに、他の影などの障害物に衝突すると、キャラクタ制御部118は、その障害物に押されるようにキャラクタを移動させる。キャラクタが障害物により移動された結果、接地していた影のブロックから外れると、キャラクタ制御部118は、キャラクタをその位置から下方に落下させる。   FIG. 9 shows an example of the game screen. When the player moves the position of the light source to the left by the input device or moves the light irradiation direction to the right, the position of the shadow of the object moves to the right. When the light source control unit 112 changes the light source position or the irradiation direction, the shadow drawing unit 116 sets the light source position and the irradiation direction for each frame, and draws the shadow of the object projected on the wall and the floor. While the light source control unit 112 changes the position or angle of the light source, the character control unit 118 stops the character 220 on the spot without moving, but moves the shadow 212 drawn by the shadow drawing unit 116. At the same time, the character 220 is also moved. Accordingly, the character 220 moves to the right together with the shadow 212 while riding on the shadow 212. When the character is moving along with the movement of the shadow, if the character collides with another obstacle such as a shadow, the character control unit 118 moves the character so that it is pushed by the obstacle. As a result of the character being moved by the obstacle, the character control unit 118 causes the character to fall downward from the position when the character is out of the grounded shadow block.

図10は、ゲーム画面の例を示す。プレイヤーが、光源位置を更に左方向に移動させる、又は、照射方向を更に右へ移動させると、オブジェクトの影は更に右へ移動し、オブジェクト202の影212と、オブジェクト204の影214と、ゴール224とが一体となる。この状態で光源位置及び照射方向を固定すると、キャラクタ制御部118がキャラクタ220をゴール224まで移動させ、ゲームクリアとなる。   FIG. 10 shows an example of the game screen. When the player moves the light source position further to the left or moves the irradiation direction further to the right, the shadow of the object moves further to the right, the shadow 212 of the object 202, the shadow 214 of the object 204, and the goal 224 is integrated. If the light source position and the irradiation direction are fixed in this state, the character control unit 118 moves the character 220 to the goal 224, and the game is cleared.

ここで、光源制御部112及びキャラクタ制御部118の動作の詳細について更に説明する。光源制御部112により光源位置又は照射方向が変更されると、影描画部116は、カメラの視点位置及び視線方向と、光源の位置及び照射方向とを設定し、ゲームフィールド中の壁及び床を投影面としてオブジェクトの影を描画する。そして、影として描画された位置の、ゲーム画面上における二次元座標を算出し、パラメータ保持部150に格納する。このとき、影のブロックの上端の二次元座標のみをパラメータ保持部150に格納してもよい。光源制御部112は、光源位置又は照射方向の変更前後の影の位置の対応関係を求め、変更前にキャラクタが接地していた影の座標に対応する変更後の座標をキャラクタ制御部118に通知する。光源制御部112は、ゲームフィールドにギミックが配置されている場合、ギミックの種類と影の座標とをパラメータ保持部150に格納する。   Here, details of operations of the light source control unit 112 and the character control unit 118 will be further described. When the light source position or irradiation direction is changed by the light source control unit 112, the shadow drawing unit 116 sets the viewpoint position and line-of-sight direction of the camera, the position of the light source and the irradiation direction, and moves the walls and floors in the game field. Draw an object's shadow as a projection plane. Then, two-dimensional coordinates on the game screen of the position drawn as a shadow are calculated and stored in the parameter holding unit 150. At this time, only the two-dimensional coordinates of the upper end of the shadow block may be stored in the parameter holding unit 150. The light source control unit 112 obtains the correspondence between the positions of the shadows before and after the change of the light source position or the irradiation direction, and notifies the character control unit 118 of the changed coordinates corresponding to the coordinates of the shadow that the character touches before the change. To do. When the gimmick is arranged in the game field, the light source control unit 112 stores the gimmick type and the shadow coordinates in the parameter holding unit 150.

キャラクタ制御部118は、光源制御部112が光源位置又は照射方向を変更している間は、キャラクタを自動的に移動させず、その場に停止させるが、接地している影の移動に伴って、光源制御部112から通知された変更後の座標にキャラクタを移動させる。キャラクタ制御部118は、光源制御部112が、光源位置又は照射方向を変更する速度が、所定の速度以上であればキャラクタを停止させ、所定の速度未満であればキャラクタを停止させないように制御してもよい。キャラクタ制御部118は、キャラクタがジャンプしたり落下したりして、影に接地していないときには、光源制御部112が光源位置又は照射方向を変更している間も、キャラクタを停止させず、自動的に移動させてもよい。キャラクタ制御部118は、光源制御部112が光源位置又は照射方向を変更していない間は、パラメータ保持部150に格納された影の二次元画像を参照して、キャラクタの移動位置を判定し、ゲーム画面上におけるキャラクタの二次元座標を更新する。   While the light source control unit 112 changes the light source position or the irradiation direction, the character control unit 118 does not automatically move the character and stops the character on the spot, but with the movement of the grounded shadow The character is moved to the changed coordinates notified from the light source control unit 112. The character control unit 118 controls the light source control unit 112 to stop the character if the speed at which the light source position or the irradiation direction is changed is equal to or higher than a predetermined speed, and to stop the character if the speed is lower than the predetermined speed. May be. When the character jumps or falls and the character control unit 118 is not in contact with the shadow, the character control unit 118 does not stop the character while the light source control unit 112 changes the light source position or the irradiation direction. May be moved. While the light source control unit 112 has not changed the light source position or irradiation direction, the character control unit 118 refers to the shadow two-dimensional image stored in the parameter holding unit 150 to determine the character movement position, Update the two-dimensional coordinates of the character on the game screen.

つづいて、ゲームフィールドに配置されるギミックについて説明する。図11は、キャラクタをジャンプさせる機能を有するギミックが配置されたゲーム画面の例を示す。球形のオブジェクト232は、キャラクタをジャンプさせる機能を有するギミックである。オブジェクト232の影242が、キャラクタ220が接地している影212と重なっている場合に、キャラクタ220が影242の上に移動すると、ギミックの機能が発動され、キャラクタ220は上方にジャンプする。   Next, a gimmick placed in the game field will be described. FIG. 11 shows an example of a game screen on which gimmicks having a function of jumping characters are arranged. The spherical object 232 is a gimmick having a function of causing a character to jump. When the shadow 242 of the object 232 overlaps the shadow 212 with which the character 220 is grounded, when the character 220 moves over the shadow 242, the gimmick function is activated, and the character 220 jumps upward.

図12は、キャラクタをジャンプさせる機能を有するギミックが配置されたゲーム画面の例を示す。オブジェクト232の影242が、キャラクタ220が接地している影212と重なっていない場合は、影242はキャラクタ220をジャンプさせるギミックとして機能せず、キャラクタ220の移動を妨げる障害物となる。   FIG. 12 shows an example of a game screen on which gimmicks having a function of jumping characters are arranged. When the shadow 242 of the object 232 does not overlap the shadow 212 that the character 220 is grounded, the shadow 242 does not function as a gimmick that causes the character 220 to jump, and becomes an obstacle that prevents the character 220 from moving.

影描画部116は、オブジェクトの影を描画する際に、通常のオブジェクトの影とギミックの影とを識別可能にパラメータ保持部150に記録する。影を描画する二次元平面の各ドットに、ギミックの影であるか否かを示すフラグを記録しておいてもよいし、ギミックの影の座標をテーブルとして記録しておいてもよい。キャラクタ制御部118は、キャラクタを移動させたときに、パラメータ保持部150を参照して、キャラクタが接地している影がギミックの影であるか否かを判定し、ギミックの影であれば、ギミック制御部120に通知する。   When drawing the shadow of the object, the shadow drawing unit 116 records the normal object shadow and the gimmick shadow in the parameter holding unit 150 so as to be distinguishable. A flag indicating whether the shadow is a gimmick shadow may be recorded in each dot on the two-dimensional plane on which the shadow is drawn, or the coordinates of the gimmick shadow may be recorded as a table. When the character control unit 118 moves the character, the character control unit 118 refers to the parameter holding unit 150 to determine whether the shadow that the character touches is a gimmick shadow. Notify the gimmick control unit 120.

ギミック制御部120は、影描画部116により描画された影の二次元画像を参照して、キャラクタが接地しているギミックの影の状態に基づいて、ギミックの影が所定の状態になっていればギミックの機能を発動させ、なっていなければ発動させない。ギミック制御部120は、影の二次元画像において、ギミックが配置されたオブジェクトの影を中心として、その周辺の影の状態を参照して、ギミックの機能を発動するか否かを判定する。図11及び図12に示した、キャラクタをジャンプさせる機能を有するギミックの場合、ギミックの影が、直前までキャラクタが接地していた影に重なっていれば、ギミックの機能を発動させ、重なっていなければ、ギミックの機能を発動させない。   The gimmick control unit 120 refers to the two-dimensional image of the shadow drawn by the shadow drawing unit 116, and the gimmick shadow is in a predetermined state based on the state of the gimmick shadow on which the character is grounded. If it is not, activate the gimmick function. The gimmick control unit 120 determines whether or not to activate the gimmick function with reference to the state of the shadow around the shadow of the object on which the gimmick is arranged in the two-dimensional image of the shadow. In the case of the gimmick having the function of jumping the character shown in FIG. 11 and FIG. 12, if the gimmick's shadow overlaps the shadow that the character has touched until immediately before, the gimmick's function must be activated and overlapped. For example, the gimmick function is not activated.

図13は、キャラクタを落下させる機能を有するギミックが配置されたゲーム画面の例を示す。空洞を有するオブジェクト234は、キャラクタを落下させる機能を有するギミックである。オブジェクト234の影244に穴が空いている場合に、キャラクタ220が影244の上に移動すると、ギミックの機能が発動され、キャラクタ220は影244の下に落下する。   FIG. 13 shows an example of a game screen on which gimmicks having a function of dropping a character are arranged. The object 234 having a cavity is a gimmick having a function of dropping a character. When the shadow 244 of the object 234 has a hole and the character 220 moves over the shadow 244, the gimmick function is activated, and the character 220 falls below the shadow 244.

図14は、キャラクタを落下させる機能を有するギミックが配置されたゲーム画面の例を示す。空洞が投影されないような光源位置及び照射方向から光が照射されていて、オブジェクト234の影244に穴が空いていない場合は、影244はキャラクタ220を落下させるギミックとして機能せず、キャラクタ220は影244の上を通過できる。   FIG. 14 shows an example of a game screen on which a gimmick having a function of dropping a character is arranged. When light is irradiated from the light source position and the irradiation direction so that the cavity is not projected and the shadow 244 of the object 234 is not perforated, the shadow 244 does not function as a gimmick that causes the character 220 to fall. It can pass over the shadow 244.

ギミック制御部120は、影描画部116により描画された影の二次元画像を参照して、キャラクタの現在位置の下方にオブジェクト234の空洞に由来する穴が空いているか否かを確認し、穴が空いていれば、ギミックの機能を発動させ、穴が空いていなければ、ギミックの機能を発動させない。   The gimmick control unit 120 refers to the two-dimensional image of the shadow drawn by the shadow drawing unit 116 and confirms whether a hole derived from the cavity of the object 234 is below the current position of the character. If is open, the gimmick function is activated. If there is no hole, the gimmick function is not activated.

つづいて、影形状判定部122の機能について説明する。図15は、ゴールの形成を判定する機能について説明する図である。図15(a)は、球形のオブジェクト252の影262と、直方体のオブジェクト254の影264を示す。図15(b)は、球形のオブジェクト252の影262と、直方体のオブジェクト254の影264が、重なり合った状態を示す。影形状判定部122は、影描画部116により描画された影の二次元画像の中から、図15(b)に示した形状の影を検出すると、ゴールが形成されたと判定する。影形状判定部122は、ゴールが形成されたと判定すると、その旨を影描画部116に通知する。影描画部116は、図15(c)に示すように、影262及び影264を、ゴール224を示す画像に変更する。これにより、ゴール224が形成されたことがプレイヤーに通知される。   Next, the function of the shadow shape determination unit 122 will be described. FIG. 15 is a diagram for explaining a function for determining the formation of a goal. FIG. 15A shows a shadow 262 of a spherical object 252 and a shadow 264 of a rectangular parallelepiped object 254. FIG. 15B shows a state in which the shadow 262 of the spherical object 252 and the shadow 264 of the rectangular parallelepiped object 254 overlap each other. The shadow shape determination unit 122 determines that a goal has been formed when a shadow having the shape illustrated in FIG. 15B is detected from the shadow two-dimensional image drawn by the shadow drawing unit 116. When determining that the goal has been formed, the shadow shape determination unit 122 notifies the shadow drawing unit 116 of the fact. The shadow drawing unit 116 changes the shadow 262 and the shadow 264 to an image showing the goal 224 as shown in FIG. Thereby, the player is notified that the goal 224 has been formed.

図16は、トンネルの形成を判定する機能について説明するための図である。図16(a)は、門の形をしたオブジェクト256の影266と、もう一つの門の形をしたオブジェクト257の影267と、直方体の柱の形をしたオブジェクト258の影268を示す。図16(b)は、門256の影266と柱258の影268が接し、門257の影267と柱258の影268が接した状態を示す。影形状判定部122は、影描画部116により描画された影の二次元画像の中から、図16(b)に示した形状の影を検出すると、トンネルが形成されたと判定する。影形状判定部122は、トンネルが形成されたと判定すると、その旨をキャラクタ制御部118に通知する。   FIG. 16 is a diagram for explaining a function of determining formation of a tunnel. FIG. 16A shows a shadow 266 of an object 256 having a gate shape, a shadow 267 of another object 257 having a gate shape, and a shadow 268 of an object 258 having a rectangular column shape. FIG. 16B shows a state where the shadow 266 of the gate 256 and the shadow 268 of the column 258 are in contact with each other, and the shadow 267 of the gate 257 and the shadow 268 of the column 258 are in contact with each other. The shadow shape determination unit 122 determines that a tunnel is formed when a shadow having the shape shown in FIG. 16B is detected from the shadow two-dimensional image drawn by the shadow drawing unit 116. When the shadow shape determination unit 122 determines that a tunnel is formed, the shadow shape determination unit 122 notifies the character control unit 118 to that effect.

キャラクタ制御部118は、図16(c)に示すように、門256の影266をキャラクタ220が通過すると、あたかも柱258の影268の中をくぐり抜けたかのように、キャラクタ220を門257の影267へ移動させる。キャラクタ制御部118は、キャラクタ220が門257の影267を通過したとき、柱258の影268に他の門の影が接していなければ、キャラクタ220が門257の影267から再び出てくるようにキャラクタ220を移動させる。   As shown in FIG. 16C, when the character 220 passes through the shadow 266 of the gate 256, the character control unit 118 makes the character 220 pass through the shadow 268 of the pillar 258, as if it has passed through the shadow 267 of the gate 257. Move to. When the character 220 passes the shadow 267 of the gate 257 and the shadow 268 of the pillar 258 does not touch the shadow of another gate, the character control unit 118 causes the character 220 to come out of the shadow 267 of the gate 257 again. The character 220 is moved.

キャラクタ制御部118は、柱の影に接している門の影が2つ以上ある場合、キャラクタが通過した門の影の位置を起点として、他の門の影までの距離を算出し、最も近い位置にある門の影にキャラクタを移動させる。最も近い距離の門の影が複数ある場合には、最も上にある門の影に移動させてもよいし、最も左にある門の影に移動させてもよいし、任意のルールにより優先順位を決定してもよい。キャラクタがある門の影からトンネルに進入し、まだ他の門の影から脱出していない間に、光源制御部112により光源位置又は照射方向が変更されて、トンネルが分断された場合、キャラクタ制御部118は、トンネルに接続していたいずれかの門の影からキャラクタを脱出させてもよいし、ゲームオーバーとしてもよい。   When there are two or more gate shadows in contact with the pillar shadow, the character control unit 118 calculates the distance to the shadow of the other gate from the position of the gate shadow passed by the character as the starting point. Move the character to the shadow of the gate at the position. If there are multiple shadows of the closest gate, you can move to the shadow of the top gate, or you can move it to the shadow of the leftmost gate. May be determined. When the character enters the tunnel from the shadow of a certain gate and has not yet escaped from the shadow of another gate, the light source control unit 112 changes the light source position or irradiation direction, and the tunnel is cut off. The unit 118 may cause the character to escape from the shadow of any gate connected to the tunnel, or the game may be over.

図17は、影絵の形成を判定する機能について説明するための図である。本図の例では、所定の光源位置から所定の方向に光を照射したときに、特定の形状の影が形成されるように、オブジェクトが配置されている。プレイヤーは、与えられた題をヒントにして、隠された影絵が形成されるように、光源位置又は照射方向を変更する。影形状判定部122が、特定の形状の影が形成されたと判定すると、その旨がプレイヤーに通知される。影形状判定部122は、影描画部116により描画された影の二次元画像を参照して、特定の形状を検出してもよいし、光源制御部112により変更された光源位置及び照射方向が特定の位置及び方向に合致するか否かを判定してもよい。特定の形状の影が形成されたときに、キャラクタをゴールへ導く通路が形成されるようにしてもよい。   FIG. 17 is a diagram for explaining a function of determining the formation of a shadow picture. In the example of this figure, the object is arranged so that a shadow of a specific shape is formed when light is irradiated in a predetermined direction from a predetermined light source position. The player changes the light source position or the irradiation direction so that a hidden shadow picture is formed using the given subject as a hint. When the shadow shape determination unit 122 determines that a shadow of a specific shape has been formed, the player is notified of that fact. The shadow shape determination unit 122 may detect a specific shape with reference to the two-dimensional image of the shadow drawn by the shadow drawing unit 116, and the light source position and irradiation direction changed by the light source control unit 112 may be detected. It may be determined whether or not it matches a specific position and direction. When a shadow of a specific shape is formed, a path for guiding the character to the goal may be formed.

以上、本発明を実施例をもとに説明した。この実施例は例示であり、その各構成要素や各処理プロセスの組合せにいろいろな変形が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   In the above, this invention was demonstrated based on the Example. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to each component and combination of processing processes, and such modifications are within the scope of the present invention.

1 ゲームシステム、10 ゲーム装置、110 制御部、112 光源制御部、114 ゲームフィールド描画部、116 影描画部、118 キャラクタ制御部、120 ギミック制御部、122 影形状判定部、150 パラメータ保持部、152 ゲームデータ保持部、154 画像生成部。   1 game system, 10 game device, 110 control unit, 112 light source control unit, 114 game field drawing unit, 116 shadow drawing unit, 118 character control unit, 120 gimmick control unit, 122 shadow shape determination unit, 150 parameter holding unit, 152 Game data holding unit, 154 image generation unit.

Claims (8)

入力手段を介して受け付けたプレイヤーからの指示に応じて演算手段によりゲームを制御し、前記ゲームの画像を表示手段に表示するゲーム装置において実行されるプログラムであって、
前記演算手段を、
オブジェクトが配置されたゲームフィールドにおいて、前記入力手段を介して受け付けたプレイヤーの操作指示に基づいて光源の位置又は前記光源から照射される光の照射方向を変更する光源制御部、
前記オブジェクトのデータを記憶手段から読み出し、前記ゲームフィールドに設けられた投影面に、前記光源から照射される光により投影される前記オブジェクトの影を描画して、前記表示手段に表示する影描画部、
前記オブジェクトの影に沿って、前記表示手段に表示されるキャラクタを自動的に移動させるキャラクタ制御部、として機能させ、
前記キャラクタ制御部は、前記光源制御部が、前記光源の位置又は前記光源から照射される光の照射方向を変更している間は、前記光源の位置又は前記光源から照射される光の照射方向を変更する速度が、所定の速度以上であれば前記キャラクタを停止させ、所定の速度未満であれば前記キャラクタを停止させないことを特徴とするゲーム制御プログラム。
A program that is executed in a game device that controls a game by arithmetic means according to an instruction from a player received via an input means, and displays an image of the game on a display means,
The computing means is
A light source control unit that changes a position of a light source or an irradiation direction of light emitted from the light source based on a player's operation instruction received via the input unit in a game field in which an object is arranged;
A shadow rendering unit that reads out data of the object from a storage unit, renders a shadow of the object projected by light emitted from the light source on a projection surface provided in the game field, and displays the shadow on the display unit ,
Function as a character control section that automatically moves the character displayed on the display means along the shadow of the object,
While the character control unit is changing the position of the light source or the irradiation direction of the light emitted from the light source, the character control unit is positioned at the light source or the irradiation direction of the light emitted from the light source. A game control program characterized in that the character is stopped if the speed of changing the speed is equal to or higher than a predetermined speed, and is not stopped if the speed is lower than the predetermined speed.
入力手段を介して受け付けたプレイヤーからの指示に応じて演算手段によりゲームを制御し、前記ゲームの画像を表示手段に表示するゲーム装置において実行されるプログラムであって、
前記演算手段を、
オブジェクトが配置されたゲームフィールドにおいて、前記入力手段を介して受け付けたプレイヤーの操作指示に基づいて光源の位置又は前記光源から照射される光の照射方向を変更する光源制御部、
前記オブジェクトのデータを記憶手段から読み出し、前記ゲームフィールドに設けられた投影面に、前記光源から照射される光により投影される前記オブジェクトの影を描画して、前記表示手段に表示する影描画部、
前記オブジェクトの影に沿って、前記表示手段に表示されるキャラクタを自動的に移動させるキャラクタ制御部、として機能させ、
前記キャラクタ制御部は、前記キャラクタが前記影に接しているときには、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間は、前記キャラクタを停止させ、前記キャラクタが前記影に接していないときには、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間も、前記キャラクタを停止させないことを特徴とするゲーム制御プログラム。
A program that is executed in a game device that controls a game by arithmetic means according to an instruction from a player received via an input means, and displays an image of the game on a display means,
The computing means is
A light source control unit that changes a position of a light source or an irradiation direction of light emitted from the light source based on a player's operation instruction received via the input unit in a game field in which an object is arranged;
A shadow rendering unit that reads out data of the object from a storage unit, renders a shadow of the object projected by light emitted from the light source on a projection surface provided in the game field, and displays the shadow on the display unit ,
Function as a character control section that automatically moves the character displayed on the display means along the shadow of the object,
When the character is in contact with the shadow, the character control unit stops the character while the light source control unit changes the position of the light source or the irradiation direction of light emitted from the light source. When the character is not in contact with the shadow, the light source control unit does not stop the character while changing the position of the light source or the irradiation direction of the light emitted from the light source. Game control program.
入力手段を介して受け付けたプレイヤーからの指示に応じて演算手段によりゲームを制御し、前記ゲームの画像を表示手段に表示するゲーム装置において実行されるプログラムであって、
前記演算手段を、
オブジェクトが配置されたゲームフィールドにおいて、前記入力手段を介して受け付けたプレイヤーの操作指示に基づいて光源の位置又は前記光源から照射される光の照射方向を変更する光源制御部、
前記オブジェクトのデータを記憶手段から読み出し、前記ゲームフィールドに設けられた投影面に、前記光源から照射される光により投影される前記オブジェクトの影を描画して、前記表示手段に表示する影描画部、
前記オブジェクトの影に沿って、前記表示手段に表示されるキャラクタを自動的に移動させるキャラクタ制御部、として機能させ、
前記キャラクタ制御部は、前記キャラクタが前記影に接しているときには、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間、前記光源の位置又は前記光源から照射される光の照射方向を変更する速度が所定の速度以上であれば前記キャラクタを停止させ、所定の速度未満であれば前記キャラクタを停止させず、前記キャラクタが前記影に接していないときには、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間も前記キャラクタを停止させない
ことを特徴とするゲーム制御プログラム。
A program that is executed in a game device that controls a game by arithmetic means according to an instruction from a player received via an input means, and displays an image of the game on a display means,
The computing means is
A light source control unit that changes a position of a light source or an irradiation direction of light emitted from the light source based on a player's operation instruction received via the input unit in a game field in which an object is arranged;
A shadow rendering unit that reads out data of the object from a storage unit, renders a shadow of the object projected by light emitted from the light source on a projection surface provided in the game field, and displays the shadow on the display unit ,
Function as a character control section that automatically moves the character displayed on the display means along the shadow of the object,
When the character is in contact with the shadow, the character control unit changes the position of the light source or the position of the light source while the light source control unit changes the position of the light source or the irradiation direction of light emitted from the light source. If the speed of changing the irradiation direction of light emitted from the light source is equal to or higher than a predetermined speed, the character is stopped. If the speed is lower than the predetermined speed, the character is not stopped and the character is not in contact with the shadow. Sometimes, the game control program does not stop the character while the light source control unit changes the position of the light source or the irradiation direction of light emitted from the light source.
前記キャラクタ制御部は、複数のオブジェクトが離れた位置に配置されていたとしても、それらのオブジェクトの影同士がつながっていれば、それらのオブジェクトの影の間を前記キャラクタが移動可能とすることを特徴とする請求項1から3のいずれかに記載のゲーム制御プログラム。   The character control unit makes it possible for the character to move between the shadows of the objects as long as the shadows of the objects are connected to each other even if the plurality of objects are arranged at distant positions. The game control program according to any one of claims 1 to 3, wherein 前記キャラクタ制御部は、前記影描画部が描画した前記オブジェクトの影の二次元画像を参照して、前記キャラクタの移動先を判定することを特徴とする請求項1から4のいずれかに記載のゲーム制御プログラム。   The said character control part determines the movement destination of the said character with reference to the two-dimensional image of the shadow of the said object which the said shadow drawing part drawn. Game control program. オブジェクトが配置されたゲームフィールドにおいて、入力手段を介して受け付けたプレイヤーの操作指示に基づいて光源の位置又は光の照射方向を変更する光源制御部と、
前記オブジェクトのデータを記憶手段から読み出し、前記ゲームフィールドに設けられた投影面に、前記光源から照射される光により投影される前記オブジェクトの影を描画して、表示手段に表示する影描画部と、
前記オブジェクトの影に沿って、前記表示手段に表示されるキャラクタを自動的に移動させ、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間は、前記キャラクタを停止させるキャラクタ制御部と、を備え、
前記キャラクタ制御部は、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更する速度が所定の速度以上であれば前記キャラクタを停止させ、所定の速度未満であれば前記キャラクタを停止させない、又は、前記キャラクタが前記影に接していないときには前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間も前記キャラクタを停止させない
ことを特徴とするゲーム装置。
A light source control unit that changes the position of the light source or the light irradiation direction based on the operation instruction of the player received via the input means in the game field in which the object is arranged;
A shadow rendering unit that reads out data of the object from a storage unit, renders a shadow of the object projected by light emitted from the light source on a projection surface provided in the game field, and displays the shadow on the display unit; ,
While the character displayed on the display means is automatically moved along the shadow of the object and the light source control unit changes the position of the light source or the irradiation direction of the light emitted from the light source. A character control unit for stopping the character,
The character control unit stops the character if the speed at which the light source control unit changes the position of the light source or the irradiation direction of light emitted from the light source is greater than or equal to a predetermined speed, and if the speed is less than the predetermined speed The character is not stopped, or when the character is not in contact with the shadow, the light source control unit also stops the character while changing the position of the light source or the irradiation direction of the light emitted from the light source. A game device characterized by not allowing
入力手段を介して受け付けたプレイヤーからの指示に応じて演算手段によりゲームを制御し、前記ゲームの画像を表示手段に表示するゲーム装置において実行されるゲーム制御方法であって、
前記演算手段により実現される光源制御部が、オブジェクトが配置されたゲームフィールドにおいて、前記入力手段を介して受け付けたプレイヤーの操作指示に基づいて光源の位置又は光の照射方向を変更するステップと、
前記演算手段により実現される影描画部が、前記オブジェクトのデータを記憶手段から読み出し、前記ゲームフィールドに設けられた投影面に、前記光源から照射される光により投影される前記オブジェクトの影を描画して、前記表示手段に表示するステップと、
前記演算手段により実現されるキャラクタ制御部が、前記オブジェクトの影に沿って、前記表示手段に表示されるキャラクタを自動的に移動させ、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間は、前記キャラクタを停止させるステップと、を備え、
前記キャラクタ制御部は、前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更する速度が所定の速度以上であれば前記キャラクタを停止させ、所定の速度未満であれば前記キャラクタを停止させない、又は、前記キャラクタが前記影に接していないときには前記光源制御部が前記光源の位置又は前記光源から照射される光の照射方向を変更している間も前記キャラクタを停止させない
ことを特徴とするゲーム制御方法。
A game control method that is executed in a game device that controls a game by a calculation unit according to an instruction from a player received via an input unit and displays an image of the game on a display unit,
A step of changing a light source position or a light irradiation direction based on an operation instruction of a player received through the input means in a game field in which an object is arranged, and a light source control unit realized by the calculation means;
A shadow rendering unit realized by the computing unit reads the object data from the storage unit, and renders the shadow of the object projected by the light emitted from the light source on the projection surface provided in the game field. And displaying on the display means;
The character control unit realized by the calculation unit automatically moves the character displayed on the display unit along the shadow of the object, and the light source control unit is irradiated from the position of the light source or the light source. A step of stopping the character while changing the irradiation direction of the light.
The character control unit stops the character if the speed at which the light source control unit changes the position of the light source or the irradiation direction of light emitted from the light source is greater than or equal to a predetermined speed, and if the speed is less than the predetermined speed The character is not stopped, or when the character is not in contact with the shadow, the light source control unit also stops the character while changing the position of the light source or the irradiation direction of the light emitted from the light source. The game control method characterized by not letting it do.
請求項1から5のいずれかに記載のゲーム制御プログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the game control program according to any one of claims 1 to 5 is recorded.
JP2010134160A 2010-06-11 2010-06-11 GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM Active JP5276055B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2010134160A JP5276055B2 (en) 2010-06-11 2010-06-11 GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM
EP11792065.2A EP2441503B1 (en) 2010-06-11 2011-02-07 Game device, game control method, system, and game control program
US13/394,603 US9211472B2 (en) 2010-06-11 2011-02-07 Game device, game control method, and game control program configured to control a game in which a character is moved along a shadow
PCT/JP2011/000653 WO2011155102A1 (en) 2010-06-11 2011-02-07 Game device, game control method, and game control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010134160A JP5276055B2 (en) 2010-06-11 2010-06-11 GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM

Publications (2)

Publication Number Publication Date
JP2011255090A JP2011255090A (en) 2011-12-22
JP5276055B2 true JP5276055B2 (en) 2013-08-28

Family

ID=45471934

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010134160A Active JP5276055B2 (en) 2010-06-11 2010-06-11 GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM

Country Status (1)

Country Link
JP (1) JP5276055B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5797862B1 (en) * 2015-04-30 2015-10-21 グリー株式会社 GAME PROGRAM, GAME CONTROL METHOD, AND COMPUTER

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3910487B2 (en) * 2002-05-17 2007-04-25 任天堂株式会社 Game system and game program
JP3990252B2 (en) * 2002-10-15 2007-10-10 株式会社バンダイナムコゲームス GAME SYSTEM, PROGRAM, AND INFORMATION STORAGE MEDIUM

Also Published As

Publication number Publication date
JP2011255090A (en) 2011-12-22

Similar Documents

Publication Publication Date Title
US10510189B2 (en) Information processing apparatus, information processing system, and information processing method
US9199166B2 (en) Game system with virtual camera controlled by pointing device
JP6532393B2 (en) Display control apparatus and display control method
WO2017094608A1 (en) Display control device and display control method
US8851994B2 (en) Game device, game control method, and game control program adapted to control game by using position and posture of input device
US10994200B2 (en) Information processing apparatus, information processing system, information processing method, program and information recording medium
US20170087455A1 (en) Filtering controller input mode
WO2011155102A1 (en) Game device, game control method, and game control program
US20130172081A1 (en) Game device, game control method, and game control program, for controlling picture drawing game
JP2010142404A (en) Game program, and game apparatus
JP5600033B2 (en) GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM
JP2011024612A (en) Game device
JP5276055B2 (en) GAME DEVICE, GAME CONTROL METHOD, AND GAME CONTROL PROGRAM
US8721444B2 (en) Game device for performing operation object control and non-operation object control
JP5945297B2 (en) GAME PROGRAM AND GAME DEVICE
JP2012000154A (en) Game device, game control method, and game control program
JP5453006B2 (en) Game device
JP5241789B2 (en) Program, object control method, and game apparatus
WO2017199460A1 (en) Program, computer device, program execution method, and computer system
JP5331259B2 (en) Information processing program, information processing apparatus, information processing system, and information processing method
JP6891319B2 (en) Display control device and display control method
JP2023027077A (en) Display control device and display control method
JP2019185049A (en) Display control device and display control method
KR20190004989A (en) Game controller, game device and medthod for controlling light

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120814

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130226

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130311

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130507

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130516

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5276055

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250