JP6894566B1 - program - Google Patents

program Download PDF

Info

Publication number
JP6894566B1
JP6894566B1 JP2020210395A JP2020210395A JP6894566B1 JP 6894566 B1 JP6894566 B1 JP 6894566B1 JP 2020210395 A JP2020210395 A JP 2020210395A JP 2020210395 A JP2020210395 A JP 2020210395A JP 6894566 B1 JP6894566 B1 JP 6894566B1
Authority
JP
Japan
Prior art keywords
target position
game
character
block
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
JP2020210395A
Other languages
Japanese (ja)
Other versions
JP2022097041A (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.)
NHN PlayArt Corp
Original Assignee
NHN PlayArt Corp
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 NHN PlayArt Corp filed Critical NHN PlayArt Corp
Priority to JP2020210395A priority Critical patent/JP6894566B1/en
Priority to JP2021093901A priority patent/JP7317895B2/en
Application granted granted Critical
Publication of JP6894566B1 publication Critical patent/JP6894566B1/en
Publication of JP2022097041A publication Critical patent/JP2022097041A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】多数のオブジェクトの配置を容易に行うこと【解決手段】一実施形態におけるプログラムは、仮想空間において移動可能なキャラクタの位置に応じた第1視野領域をディスプレイに表示し、入力された操作に応じて、キャラクタの位置に関連した第1対象位置にオブジェクトを配置し、または、第1対象位置に既に存在するオブジェクトを削除し、キャラクタの位置および第1対象位置に基づいて、第2対象位置を決定し、第2対象位置に応じて、第2視野領域を設定することをコンピュータに実行させる。【選択図】図10PROBLEM TO BE SOLVED: To easily arrange a large number of objects. SOLUTION: A program in one embodiment displays a first visual field area corresponding to a position of a movable character in a virtual space on a display, and an input operation Depending on, the object is placed at the first target position related to the character's position, or the object that already exists at the first target position is deleted, and the second target is based on the character's position and the first target position. The computer is made to determine the position and set the second visual field area according to the second target position. [Selection diagram] FIG. 10

Description

本発明は、仮想空間にオブジェクトを生成する技術に関する。 The present invention relates to a technique for creating an object in a virtual space.

仮想空間において立方体形状のオブジェクトを配置することによって、仮想空間に自由に地形を生成する技術がある(例えば、特許文献1)。仮想空間に配置されるキャラクタは、仮想空間の範囲内で地形に応じて移動することができる。 There is a technique for freely generating terrain in a virtual space by arranging a cube-shaped object in the virtual space (for example, Patent Document 1). Characters placed in the virtual space can move according to the terrain within the range of the virtual space.

特開2017−097567号公報Japanese Unexamined Patent Publication No. 2017-097567

オブジェクトを仮想空間に配置するときには、ユーザが配置すべき位置を特定する。多数のオブジェクトを配置しようとすると、オブジェクトの数に応じてその配置位置を繰り返し特定する必要が生じるため、ユーザの負担が多い。特に、キャラクタが移動しながらオブジェクトを配置していくような構成においては、さらにキャラクタを移動させる必要があり、その負担が増大する。 When placing an object in virtual space, specify where the user should place it. When a large number of objects are to be arranged, it is necessary to repeatedly specify the arrangement position according to the number of objects, which imposes a heavy burden on the user. In particular, in a configuration in which objects are arranged while the character is moving, it is necessary to move the character further, which increases the burden.

本発明の目的の一つは、多数のオブジェクトの配置を容易に行うことにある。 One of the objects of the present invention is to easily arrange a large number of objects.

本発明の一実施形態によれば、仮想空間において移動可能なキャラクタの位置に応じた第1視野をディスプレイに表示し、入力された操作に応じて、前記キャラクタの位置に関連した第1対象位置にオブジェクトを配置し、または、前記第1対象位置に既に存在するオブジェクトを削除し、前記キャラクタの位置および前記第1対象位置に基づいて、第2対象位置を決定し、前記第2対象位置に応じて、前記ディスプレイに表示する第2視野を設定することをコンピュータに実行させるためのプログラムが提供される。 According to one embodiment of the present invention, a first visual field corresponding to the position of a movable character in a virtual space is displayed on a display, and a first target position related to the position of the character is displayed according to an input operation. Place an object in, or delete an object that already exists in the first target position, determine the second target position based on the position of the character and the first target position, and place it in the second target position. Accordingly, a program for causing the computer to set the second field of view to be displayed on the display is provided.

前記第1視野と前記第2視野とが異なってもよい。 The first visual field and the second visual field may be different.

前記第2対象位置を示す画像を前記ディスプレイに表示することをさらに前記コンピュータに実行させることを含んでもよい。 It may further include causing the computer to display an image indicating the second target position on the display.

入力された操作に応じて、前記第2対象位置にオブジェクトを配置し、または、前記第2対象位置に既に存在するオブジェクトを削除し、前記キャラクタの位置および前記第1対象位置および前記第2対象位置に基づいて、第3対象位置を決定し、前記第3対象位置に応じて、前記ディスプレイに表示する第3視野を設定することをさらに前記コンピュータに実行させてもよい。 Depending on the input operation, an object is placed at the second target position, or an object that already exists at the second target position is deleted, and the position of the character, the first target position, and the second target are deleted. The computer may further determine the third target position based on the position and set the third field of view to be displayed on the display according to the third target position.

前記第2対象位置が前記第1対象位置に隣接し、前記第3対象位置が前記第2対象位置に隣接し、前記第1対象位置と前記第3対象位置とが前記第2対象位置を挟むように、前記第2対象位置および前記第3対象位置が決定されてもよい。 The second target position is adjacent to the first target position, the third target position is adjacent to the second target position, and the first target position and the third target position sandwich the second target position. As described above, the second target position and the third target position may be determined.

前記第2対象位置が前記第1対象位置に隣接し、前記第3対象位置が前記第1対象位置に隣接し、前記第2対象位置と前記第3対象位置とが前記第1対象位置を挟むように、前記第2対象位置および前記第3対象位置が決定されてもよい。 The second target position is adjacent to the first target position, the third target position is adjacent to the first target position, and the second target position and the third target position sandwich the first target position. As described above, the second target position and the third target position may be determined.

前記キャラクタと前記第2対象位置との第2距離は、前記キャラクタと前記第1対象位置との第1距離より長くてもよい。さらに、前記第2距離は、前記キャラクタと前記第3対象位置との第3距離より短くてもよい。 The second distance between the character and the second target position may be longer than the first distance between the character and the first target position. Further, the second distance may be shorter than the third distance between the character and the third target position.

前記第2対象位置は、前記第2対象位置と前記キャラクタの位置とで前記第1対象位置が挟まれるように決定されてもよい。 The second target position may be determined so that the first target position is sandwiched between the second target position and the position of the character.

前記第2対象位置は、前記キャラクタの位置から見て前記第1対象位置の左右のいずれかに隣接する位置として決定されてもよい。 The second target position may be determined as a position adjacent to either the left or right of the first target position when viewed from the position of the character.

前記第2視野を設定することは、前記ディスプレイの所定範囲に前記第2対象位置が含まれるように前記第2視野を設定してもよい。 To set the second field of view, the second field of view may be set so that the second target position is included in a predetermined range of the display.

前記第2対象位置が決定された後に、入力された操作に応じて前記キャラクタが所定量以上移動した場合に、前記第2対象位置を解除して前記第1対象位置を決定してもよい。 After the second target position is determined, when the character moves by a predetermined amount or more in response to the input operation, the second target position may be released to determine the first target position.

本発明の一実施形態によれば、多数のオブジェクトの配置を容易に行うことができる。 According to one embodiment of the present invention, a large number of objects can be easily arranged.

一実施形態における通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system in one Embodiment. 一実施形態における通信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus in one Embodiment. 一実施形態におけるサーバの構成を示すブロック図である。It is a block diagram which shows the structure of the server in one Embodiment. 一実施形態におけるゲーム表示機能を示すブロック図である。It is a block diagram which shows the game display function in one Embodiment. 一実施形態におけるゲーム制御機能を示すブロック図である。It is a block diagram which shows the game control function in one Embodiment. 仮想空間を説明する図である。It is a figure explaining a virtual space. 仮想空間における視野制御を説明するための図である。It is a figure for demonstrating the visual field control in a virtual space. 生成モードにおけるゲーム画面の第1例を示す図である。It is a figure which shows the 1st example of the game screen in a generation mode. 生成モードにおけるゲーム画面の第2例を示す図である。It is a figure which shows the 2nd example of the game screen in a generation mode. ブロックを配置するときの視野制御方法を示すフローチャートである。It is a flowchart which shows the visual field control method at the time of arranging a block. ブロックの配置のための最初の対象位置と視野との関係を示す図である。It is a figure which shows the relationship between the field of view and the initial target position for the arrangement of a block. ブロックの配置後における2番目の対象位置と視野との関係を示す図である。It is a figure which shows the relationship between the 2nd target position and a visual field after the arrangement of a block. ブロックの配置後における3番目の対象位置と視野との関係を示す図である。It is a figure which shows the relationship between the 3rd target position and a visual field after the arrangement of a block. ブロックの配置後における3番目の対象位置と視野との関係の別の例を示す図である。It is a figure which shows another example of the relationship between the 3rd target position and a visual field after the arrangement of a block. 4番目以降に決定される対象位置の別の例を示す図である。It is a figure which shows another example of the target position determined after the 4th.

以下、本発明の一実施形態について、図面を参照して詳細に説明する。以下に示す実施形態は本発明の実施形態の一例であって、本発明はこれらの実施形態に限定されない。本実施形態で参照する図面において、同一部分または同様な機能を有する部分には同一の符号または類似の符号(数字の後にA、B等を付しただけの符号)を付し、その繰り返しの説明は省略する場合がある。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. The embodiments shown below are examples of embodiments of the present invention, and the present invention is not limited to these embodiments. In the drawings referred to in the present embodiment, the same part or a part having a similar function is given the same code or a similar code (a code in which A, B, etc. are simply added after the numbers), and the description thereof is repeated. May be omitted.

[通信システムの構成]
図1は、一実施形態における通信システムの構成を示すブロック図である。一実施形態における通信システム1000は、通信装置10およびサーバ50を有するクライアントサーバシステムである。通信装置10およびサーバ50は、インターネット、通信回線などのネットワークNWに接続される。図1において、サーバ50は、単一の装置として記載しているが、互いに協働する複数の装置で構成されていてもよい。
[Communication system configuration]
FIG. 1 is a block diagram showing a configuration of a communication system according to an embodiment. The communication system 1000 in one embodiment is a client-server system having a communication device 10 and a server 50. The communication device 10 and the server 50 are connected to a network NW such as the Internet and a communication line. Although the server 50 is described as a single device in FIG. 1, it may be composed of a plurality of devices that cooperate with each other.

クライアントである通信装置10は、例えば、スマートフォンであり、ネットワークNWに接続することによって他の装置と通信することができる。通信装置10は、スマートフォンに限らず、タブレット型端末、携帯ゲーム機等のユーザが保持可能な携帯装置であってもよいし、デスクトップパソコンのような据え置き型の装置であってもよい。 The communication device 10 which is a client is, for example, a smartphone, and can communicate with other devices by connecting to the network NW. The communication device 10 is not limited to a smartphone, and may be a portable device that can be held by a user such as a tablet terminal or a portable game machine, or a stationary device such as a desktop personal computer.

通信装置10は、インストールされたゲームプログラムを実行することにより、複数のユーザにより対戦可能なゲームを、サーバ50と連携して通信装置10のユーザに提供する。このゲームは、2つの動作モードのいずれかに設定される。2つの動作モードは、対戦モードおよび生成モードである。 By executing the installed game program, the communication device 10 provides the user of the communication device 10 with a game that can be played by a plurality of users in cooperation with the server 50. This game is set to one of two operation modes. The two operation modes are a battle mode and a generation mode.

対戦モードは、仮想空間に生成されたステージにおいて移動可能なゲームキャラクタをユーザが操作することによって他のゲームキャラクタと戦闘ができるゲームを、ユーザに提供する動作モードである。対戦モードであるときには、複数のゲームキャラクタが対戦するゲームであることから、複数のゲームキャラクタにそれぞれ対応する複数の通信装置10がサーバ50に接続する。 The battle mode is an operation mode that provides the user with a game in which the user can fight with another game character by operating the game character that can move in the stage generated in the virtual space. In the battle mode, since the game is a game in which a plurality of game characters compete against each other, a plurality of communication devices 10 corresponding to the plurality of game characters are connected to the server 50.

生成モードは、対戦モードで用いられるステージを生成するための動作モードである。このステージは、仮想空間において互いに接続された複数のオブジェクトによって実現される。各オブジェクトは、ゲームキャラクタと干渉して、オブジェクトが存在する部分へのゲームキャラクタの侵入を妨げる。例えば、ゲームキャラクタは、オブジェクト上を移動することができる。したがって、ユーザの指示に応じてオブジェクトを接続することによって、様々な形状のステージを生成することができる。 The generation mode is an operation mode for generating a stage used in the battle mode. This stage is realized by multiple objects connected to each other in virtual space. Each object interferes with the game character to prevent the game character from entering the part where the object exists. For example, a game character can move on an object. Therefore, by connecting objects according to the user's instruction, stages of various shapes can be generated.

仮想空間においては、下方向に向けて重力が発生するように設定されている。オブジェクトが存在しない部分に侵入したゲームキャラクタは、重力の影響により仮想空間下方に落下することになることが想定される。この例では、そのような現象が起きないように、ステージの形状に応じてゲームキャラクタの侵入を禁止する領域が設定されてもよい。生成モードにおいて様々なステージを予め生成しておくことで、対戦モードにおいて用いるステージを生成済みのステージから選択することができる。 In the virtual space, gravity is set to be generated downward. It is assumed that a game character that has invaded a part where an object does not exist will fall below the virtual space due to the influence of gravity. In this example, a region for prohibiting the invasion of the game character may be set according to the shape of the stage so that such a phenomenon does not occur. By generating various stages in advance in the generation mode, the stage to be used in the battle mode can be selected from the generated stages.

サーバ50は、通信装置10に対して、アプリケーションプログラムを提供したり、各種のサービスを提供したりする情報処理装置の一例である。各種のサービスには、例えば、通信装置10においてオンラインゲームを実行する際におけるログイン処理、同期処理などのサービスが含まれる。そのほか、各種のサービスには、例えば、SNS(ソーシャルネットワーキングサービス)が含まれていてもよい。 The server 50 is an example of an information processing device that provides an application program or various services to the communication device 10. Various services include, for example, services such as login processing and synchronization processing when executing an online game on the communication device 10. In addition, various services may include, for example, SNS (social networking service).

アプリケーションプログラムには、例えば、以下に説明するゲームを実行するためのアプリケーションプログラム(ゲームプログラムという)が含まれる。アプリケーションプログラムは、サーバ50が読み取り可能な記録媒体に記録されている。記録媒体は、サーバ50に含まれる記憶装置であってもよいし、サーバ50に接続される記憶装置であってもよいし、サーバ50がネットワークNWを介して接続される記憶装置であってもよい。 The application program includes, for example, an application program (referred to as a game program) for executing the game described below. The application program is recorded on a recording medium that can be read by the server 50. The recording medium may be a storage device included in the server 50, a storage device connected to the server 50, or a storage device to which the server 50 is connected via the network NW. Good.

[通信装置の構成]
図2は、一実施形態における通信装置の構成を示すブロック図である。一実施形態における通信装置10は、制御部11、記憶部12、表示部13、操作部14、センサ部15、撮像部16、位置検出部17および通信部18を含む。通信装置10は、これらの構成のすべてを含むものに限定されない。また、通信装置10は、マイクロフォン、スピーカなど他の構成を含んでもよい。
[Communication device configuration]
FIG. 2 is a block diagram showing a configuration of a communication device according to an embodiment. The communication device 10 in one embodiment includes a control unit 11, a storage unit 12, a display unit 13, an operation unit 14, a sensor unit 15, an imaging unit 16, a position detection unit 17, and a communication unit 18. The communication device 10 is not limited to those including all of these configurations. Further, the communication device 10 may include other configurations such as a microphone and a speaker.

制御部11は、CPU(Central Processing Unit)などのプロセッサ(演算処理回路)およびRAM等の記憶装置を備えるコンピュータの一例である。制御部11は、記憶部12に記憶されたプログラムをプロセッサにより実行して、各種機能を通信装置10において実現させる。通信装置10の各要素から出力される信号は、通信装置10において実現される各種機能によって使用される。制御部11は、ゲームプログラムを実行することによって、ゲームをユーザに提供するときに用いるゲーム表示機能を実現する。 The control unit 11 is an example of a computer including a processor (arithmetic processing circuit) such as a CPU (Central Processing Unit) and a storage device such as a RAM. The control unit 11 executes the program stored in the storage unit 12 by the processor to realize various functions in the communication device 10. The signals output from each element of the communication device 10 are used by various functions realized in the communication device 10. By executing the game program, the control unit 11 realizes a game display function used when providing the game to the user.

記憶部12は、不揮発性メモリ、ハードディスクドライブなどの記憶装置である。記憶部12は、プログラムおよび当該プログラムの実行に必要となるパラメータ等の各種データを記憶する。上述したゲームプログラムは、サーバ50または他のサーバからネットワークNW経由でダウンロードされ、記憶部12に記憶されることによって、通信装置10にインストールされる。ゲームプログラムは、磁気記録媒体、光記録媒体、光磁気記録媒体、半導体メモリ等の記録媒体に記録した状態で提供されてもよい。この場合、通信装置10は、この記録媒体を読み取る装置を備えていればよい。記憶部12も記録媒体の一例である。 The storage unit 12 is a storage device such as a non-volatile memory or a hard disk drive. The storage unit 12 stores various data such as a program and parameters required for executing the program. The game program described above is downloaded from the server 50 or another server via the network NW, stored in the storage unit 12, and then installed in the communication device 10. The game program may be provided in a state of being recorded on a recording medium such as a magnetic recording medium, an optical recording medium, an optical magnetic recording medium, or a semiconductor memory. In this case, the communication device 10 may be provided with a device for reading the recording medium. The storage unit 12 is also an example of a recording medium.

表示部13は、制御部11の制御に応じて、各種の画面(例えば、ゲーム画面等)を表示する表示領域を有するディスプレイである。表示部13は、例えば、液晶ディスプレイまたは有機ELディスプレイ等の表示装置である。 The display unit 13 is a display having a display area for displaying various screens (for example, a game screen, etc.) according to the control of the control unit 11. The display unit 13 is, for example, a display device such as a liquid crystal display or an organic EL display.

操作部14は、ユーザの操作に応じた信号を制御部11に出力する操作装置である。操作部14は、表示部13の表面に配置されたタッチセンサである。操作部14は、表示部13と組み合わせることによってタッチパネルを構成する。ユーザの指またはスタイラスペン等で操作部14に接触することによって、ユーザの操作に応じた命令または情報が通信装置10へ入力される。操作部14は、通信装置10の筐体に配置されたスイッチを含んでもよい。 The operation unit 14 is an operation device that outputs a signal corresponding to the user's operation to the control unit 11. The operation unit 14 is a touch sensor arranged on the surface of the display unit 13. The operation unit 14 constitutes a touch panel by combining with the display unit 13. By touching the operation unit 14 with the user's finger or a stylus pen, a command or information corresponding to the user's operation is input to the communication device 10. The operation unit 14 may include a switch arranged in the housing of the communication device 10.

センサ部15は、通信装置10の動き、通信装置10の周囲の環境などに関する情報を収集して信号に変換する機能を備える装置である。センサ部15は、例えば、加速度センサ、ジャイロセンサ等を含む。制御部11は、センサ部15の出力信号に基づいて、通信装置10の挙動(例えば、傾き、振動など)に関する情報を取得する。センサ部15は、照度センサ、温度センサ、磁気センサその他のセンサを含んでもよい。 The sensor unit 15 is a device having a function of collecting information on the movement of the communication device 10 and the surrounding environment of the communication device 10 and converting the information into a signal. The sensor unit 15 includes, for example, an acceleration sensor, a gyro sensor, and the like. The control unit 11 acquires information on the behavior (for example, tilt, vibration, etc.) of the communication device 10 based on the output signal of the sensor unit 15. The sensor unit 15 may include an illuminance sensor, a temperature sensor, a magnetic sensor, and other sensors.

撮像部16は、撮像対象の像を信号に変換する撮像装置である。通信装置10は、撮像部16から出力された撮像信号に基づいて画像データを生成する。画像データは、静止画像のデータであってもよいし、動画像のデータであってもよい。以下の説明において画像といった場合には、特に断りがない限り、静止画像および動画像のいずれも含む。撮像部16は、一次元コードまたは二次元コードなどの識別コードを読み取るスキャナーとしても機能する。 The imaging unit 16 is an imaging device that converts an image to be imaged into a signal. The communication device 10 generates image data based on the image pickup signal output from the image pickup unit 16. The image data may be still image data or moving image data. In the following description, the term "image" includes both still images and moving images unless otherwise specified. The imaging unit 16 also functions as a scanner that reads an identification code such as a one-dimensional code or a two-dimensional code.

位置検出部17は、位置情報に基づいて通信装置10の位置を検出する。本実施形態の位置検出部17は、GNSS(Global Navigation Satellite System)を用いて通信装置10の位置を検出する。 The position detection unit 17 detects the position of the communication device 10 based on the position information. The position detection unit 17 of the present embodiment detects the position of the communication device 10 using GNSS (Global Navigation Satellite System).

通信部18は、制御部11の制御により、ネットワークNWと接続して、ネットワークNWに接続されたサーバ50など他の装置と情報の送信および受信を行う無線通信モジュールである。通信部18は、赤外線通信、近距離無線通信などを行う通信モジュールを含んでいてもよい。 The communication unit 18 is a wireless communication module that connects to the network NW under the control of the control unit 11 and transmits and receives information to and from other devices such as the server 50 connected to the network NW. The communication unit 18 may include a communication module that performs infrared communication, short-range wireless communication, and the like.

[サーバの構成]
図3は、一実施形態におけるサーバの構成を示すブロック図である。一実施形態におけるサーバ50は、制御部51、記憶部52および通信部53を含む。
[Server configuration]
FIG. 3 is a block diagram showing a server configuration in one embodiment. The server 50 in one embodiment includes a control unit 51, a storage unit 52, and a communication unit 53.

制御部51は、CPUなどのプロセッサ(演算処理回路)およびRAM等の記憶装置を備えるコンピュータの一例である。制御部51は、記憶部52に記憶されたプログラムをプロセッサにより実行して、各種機能をサーバ50において実現させる。サーバ50の各要素から出力される信号は、サーバ50において実現される各種機能によって使用される。制御部51は、ゲーム提供プログラムを実行することによって、通信装置10に提供するゲームを制御するためのゲーム制御機能を実現する。ゲーム制御機能は、対戦モードにおいてゲームを制御するための進行制御機能と、生成モードにおいてゲームを制御するための生成制御機能とを含む。 The control unit 51 is an example of a computer including a processor (arithmetic processing circuit) such as a CPU and a storage device such as a RAM. The control unit 51 executes the program stored in the storage unit 52 by the processor to realize various functions on the server 50. The signals output from each element of the server 50 are used by various functions realized in the server 50. The control unit 51 realizes a game control function for controlling the game provided to the communication device 10 by executing the game providing program. The game control function includes a progress control function for controlling the game in the battle mode and a generation control function for controlling the game in the generation mode.

記憶部52は、不揮発性メモリ、ハードディスクドライブなどの記憶装置である。記憶部52は、プログラムおよび当該プログラムの実行に必要となるパラメータ等の情報を記憶する。プログラムにはゲーム提供プログラムも含まれる。ゲーム提供プログラムも、記憶部52に記憶される。ゲームを提供中に通信装置10から受信した各種データについても記憶部52に記憶される。記憶部52は、通信装置10に提供されるゲームプログラムを記憶してもよい。 The storage unit 52 is a storage device such as a non-volatile memory or a hard disk drive. The storage unit 52 stores information such as a program and parameters required for executing the program. The program also includes a game offering program. The game providing program is also stored in the storage unit 52. Various data received from the communication device 10 during the provision of the game are also stored in the storage unit 52. The storage unit 52 may store the game program provided to the communication device 10.

ゲーム提供プログラムは、他のサーバからネットワークNW経由でダウンロードされ、記憶部52に記憶されることによって、サーバ50にインストールされてもよい。ゲーム提供プログラムは、磁気記録媒体、光記録媒体、光磁気記録媒体、半導体メモリなどのコンピュータ読み取り可能な記録媒体に記録した状態で提供されてもよい。この場合、サーバ50は、この記録媒体を読み取る装置を備えていればよい。記憶部52も記録媒体の一例である。 The game providing program may be installed on the server 50 by being downloaded from another server via the network NW and stored in the storage unit 52. The game providing program may be provided in a state of being recorded on a computer-readable recording medium such as a magnetic recording medium, an optical recording medium, an optical magnetic recording medium, or a semiconductor memory. In this case, the server 50 may be provided with a device for reading the recording medium. The storage unit 52 is also an example of a recording medium.

通信部53は、制御部51の制御により、ネットワークNWと接続して、ネットワークNWに接続された通信装置10、他のサーバなど、他の装置と情報の送信および受信を行う無線通信モジュールである。他のサーバとしては、例えば、ゲームサーバ、SNSサーバ、メールサーバなどである。 The communication unit 53 is a wireless communication module that connects to the network NW under the control of the control unit 51 and transmits and receives information to and from other devices such as the communication device 10 and other servers connected to the network NW. .. Other servers include, for example, a game server, an SNS server, a mail server, and the like.

[ゲーム表示機能]
ゲームは、ゲーム表示機能およびゲーム制御機能によって、ユーザに提供される。まず、ゲーム表示機能について説明する。ゲーム表示機能は、通信装置10の制御部11がゲームプログラムを実行することによって実現される。以下に説明するゲーム表示機能を実現するための構成の一部または全部がハードウエアによって実現されてもよい。
[Game display function]
The game is provided to the user by the game display function and the game control function. First, the game display function will be described. The game display function is realized by the control unit 11 of the communication device 10 executing the game program. Part or all of the configuration for realizing the game display function described below may be realized by hardware.

図4は、一実施形態におけるゲーム表示機能を示すブロック図である。一実施形態におけるゲーム表示機能100は、ゲーム操作取得部101、操作データ送信部103、制御データ受信部105、ゲームデータ記憶領域107、および表示データ生成部109を含む。 FIG. 4 is a block diagram showing a game display function in one embodiment. The game display function 100 in one embodiment includes a game operation acquisition unit 101, an operation data transmission unit 103, a control data reception unit 105, a game data storage area 107, and a display data generation unit 109.

ゲーム操作取得部101は、ユーザによって操作部14に入力された操作のうち、ゲーム操作を取得する。ゲーム操作は、ユーザによって操作部14に入力された操作のうち、ゲームに関する操作であって、例えば、ゲームキャラクタの移動、パラメータの指定等を含む。 The game operation acquisition unit 101 acquires the game operation among the operations input to the operation unit 14 by the user. The game operation is an operation related to the game among the operations input to the operation unit 14 by the user, and includes, for example, movement of a game character, specification of parameters, and the like.

操作データ送信部103は、ゲーム操作取得部101によって取得されたゲーム操作を示す操作データを生成して、通信部18を介してサーバ50に送信する。 The operation data transmission unit 103 generates operation data indicating the game operation acquired by the game operation acquisition unit 101, and transmits the operation data to the server 50 via the communication unit 18.

制御データ受信部105は、制御データをサーバ50から通信部18を介して受信する。制御データは、各通信装置10から送信された操作データに基づいてサーバ50が生成するデータである。 The control data receiving unit 105 receives the control data from the server 50 via the communication unit 18. The control data is data generated by the server 50 based on the operation data transmitted from each communication device 10.

ゲームデータ記憶領域107は、ゲーム画面を表示するために必要なデータ(例えば、画像データ等)を記憶する領域である。 The game data storage area 107 is an area for storing data (for example, image data, etc.) necessary for displaying the game screen.

表示データ生成部109は、ゲーム操作取得部101によって取得されたゲーム操作および制御データ受信部105によって受信された制御データに基づいて、ゲーム画面を表示部13に表示するための表示データを生成する。このとき、表示データ生成部109は、必要に応じてゲームデータ記憶領域107に記憶されたデータを用いる。 The display data generation unit 109 generates display data for displaying the game screen on the display unit 13 based on the control data received by the game operation and control data reception unit 105 acquired by the game operation acquisition unit 101. .. At this time, the display data generation unit 109 uses the data stored in the game data storage area 107 as needed.

ゲーム操作がゲーム画面上に表示される設定画面等における操作のように、ゲームキャラクタを移動させる操作とは別の操作を示す場合などにおいて、表示データ生成部109は、ゲーム操作に基づく表示データを制御データとは関係なく生成する場合もある。 When the game operation indicates an operation different from the operation of moving the game character, such as the operation on the setting screen displayed on the game screen, the display data generation unit 109 generates display data based on the game operation. It may be generated regardless of the control data.

[ゲーム制御機能]
続いて、ゲーム制御機能について説明する。ゲーム制御機能は、サーバ50の制御部51がゲーム提供プログラムを実行することによって実現される。以下に説明するゲーム制御機能を実現するための構成の一部または全部がハードウエアによって実現されてもよい。
[Game control function]
Next, the game control function will be described. The game control function is realized by the control unit 51 of the server 50 executing the game providing program. Part or all of the configuration for realizing the game control function described below may be realized by hardware.

図5は、本発明の一実施形態におけるゲーム進行制御機能を示すブロック図である。一実施形態におけるゲーム制御機能500は、操作データ受信部501、処理実行部503および制御データ送信部505を含む。 FIG. 5 is a block diagram showing a game progress control function according to an embodiment of the present invention. The game control function 500 in one embodiment includes an operation data receiving unit 501, a processing execution unit 503, and a control data transmitting unit 505.

操作データ受信部501は、複数の通信装置10から送信された操作データを受信する。これらの操作データは、送信元の通信装置10に対応するゲームキャラクタに関連付けられる。通信装置10に対応するゲームキャラクタは、通信装置10を介してログインしたユーザに割り当てられ、ユーザによって操作可能なゲームキャラクタである。 The operation data receiving unit 501 receives the operation data transmitted from the plurality of communication devices 10. These operation data are associated with the game character corresponding to the communication device 10 of the transmission source. The game character corresponding to the communication device 10 is a game character that is assigned to a user who has logged in via the communication device 10 and can be operated by the user.

処理実行部503は、操作データ受信部501が受信した操作データに基づいて、この操作データに対応するゲームキャラクタの動作を、仮想空間において制御するためのステータスデータを生成する。 Based on the operation data received by the operation data receiving unit 501, the processing execution unit 503 generates status data for controlling the operation of the game character corresponding to the operation data in the virtual space.

ステータスデータは、例えば、ゲームキャラクタに関して、仮想空間における座標、向き、動き、その他さまざまな状態を規定する。ゲームキャラクタの動作は、ステータスデータに規定される状態になるように制御される。ステータスデータは、ユーザが操作するゲームキャラクタの状態を規定する場合に限らない。例えば、対戦モードにおけるゲームでは、仮想空間における様々なオブジェクトの状態を規定する場合もある。ここでいうオブジェクトとは、例えば、ゲームの進行(時間経過またはゲームキャラクタの動作の結果)に伴って状態が変化するものを含んでもよいし、ゲームの進行において状態が全く変化しないものを含んでもよい。生成モードにおけるゲームでは、ステージを生成するものであって、ゲームの進行という概念がなければ、オブジェクトの状態は変化しなくてもよい。 The status data defines, for example, the coordinates, orientation, movement, and various other states of the game character in the virtual space. The operation of the game character is controlled so as to be in the state specified in the status data. The status data is not limited to the case of defining the state of the game character operated by the user. For example, in a game in battle mode, the state of various objects in the virtual space may be defined. The object referred to here may include, for example, an object whose state changes with the progress of the game (the result of the passage of time or the movement of the game character), or an object whose state does not change at all as the game progresses. Good. In the game in the generation mode, the stage is generated, and if there is no concept of the progress of the game, the state of the object does not have to change.

処理実行部503は、各ゲームキャラクタに対応して生成したステータスデータを制御データ送信部505に提供する。 The processing execution unit 503 provides the control data transmission unit 505 with the status data generated corresponding to each game character.

制御データ送信部505は、複数の通信装置10のそれぞれに対して、通信部58を介して、所定時間毎にステータスデータを含む制御データを送信する。 The control data transmission unit 505 transmits control data including status data to each of the plurality of communication devices 10 via the communication unit 58 at predetermined time intervals.

このように、ゲーム表示機能100およびゲーム制御機能500によって、ゲームがユーザに提供される。 In this way, the game is provided to the user by the game display function 100 and the game control function 500.

[生成モード]
続いて、ゲームの動作モードが生成モードに設定されている場合の機能、すなわち、ステージを生成するための機能について、さらに詳しく説明する。
[Generation mode]
Next, the function when the operation mode of the game is set to the generation mode, that is, the function for generating the stage will be described in more detail.

まず、仮想空間に配置されたステージの例について説明する。 First, an example of a stage arranged in a virtual space will be described.

図6は、仮想空間を説明する図である。仮想空間VSには、ステージSTが配置されている。仮想空間VSには下方向への重力が設定されている。図6に示すように、仮想空間VSにおける上下方向がz軸として定義され、水平方向が互いに垂直に交わるx軸およびy軸として定義される。仮想空間VSに配置されたステージSTは、上述したように、互いに接続された複数のオブジェクトによって形成されている。ここでは、オブジェクトが立方体の形状を有するブロックBKであるものとして説明する。ブロックBKの各辺は、x軸、y軸およびz軸のいずれかに沿って配置されている。したがって、ブロックBKの上面は、x軸とy軸とを含む水平面に対応する。ブロックBKは、ゲームキャラクタCHと干渉し、ブロックBKが存在する部分への侵入を妨げる。したがって、ゲームキャラクタCHは、ブロックBK上を移動することができる。図6に示す例では、ブロックBKのいずれかに隣接して配置されたブロックBKNも示されている。ブロックBKNは、ユーザの操作によって仮想空間VSに配置されたブロックである。 FIG. 6 is a diagram illustrating a virtual space. A stage ST is arranged in the virtual space VS. Gravity in the downward direction is set in the virtual space VS. As shown in FIG. 6, the vertical direction in the virtual space VS is defined as the z-axis, and is defined as the x-axis and the y-axis in which the horizontal directions intersect perpendicularly with each other. As described above, the stage ST arranged in the virtual space VS is formed by a plurality of objects connected to each other. Here, it is assumed that the object is a block BK having a cubic shape. Each side of the block BK is arranged along any of the x-axis, y-axis, and z-axis. Therefore, the upper surface of the block BK corresponds to a horizontal plane including the x-axis and the y-axis. The block BK interferes with the game character CH and prevents the block BK from invading the part where the block BK exists. Therefore, the game character CH can move on the block BK. In the example shown in FIG. 6, a block BKN arranged adjacent to any of the block BKs is also shown. The block BKN is a block arranged in the virtual space VS by the operation of the user.

[生成モードにおけるゲーム画面の例]
通信装置10は、ゲームキャラクタCHの後方の視点からの視野を制御することによって、ステージSTをゲーム画面に表示する。生成モードにおいては、ユーザは、このゲーム画面でゲームキャラクタCHを移動させる操作、およびブロックBKを配置したり削除したりする操作を通信装置10に入力する。ここでは、視野の制御方法および生成モードにおけるゲーム画面の例について説明する。
[Example of game screen in generation mode]
The communication device 10 displays the stage ST on the game screen by controlling the field of view from the viewpoint behind the game character CH. In the generation mode, the user inputs to the communication device 10 an operation of moving the game character CH and an operation of arranging or deleting the block BK on the game screen. Here, an example of the field of view control method and the game screen in the generation mode will be described.

図7は、仮想空間における視野制御を説明するための図である。視野VAは、仮想空間VSの一部の領域であって、視点VPから視線方向VDに沿って仮想空間VS内を見たときに、表示部13にゲーム画面として表示される領域に対応する(例えば、図8、図9を参照)。ゲームキャラクタCHは、通信装置10のユーザによって操作されるゲームキャラクタである。ここでは、ゲームの動作モードが生成モードである場合について説明しているが、対戦モードである場合は、他のユーザによって操作されるゲームキャラクタまたは所定のアルゴリズムにしたがってサーバ50によって制御されるゲームキャラクタも仮想空間VSに存在する。 FIG. 7 is a diagram for explaining visual field control in the virtual space. The field of view VA is a part of the virtual space VS, and corresponds to an area displayed as a game screen on the display unit 13 when the inside of the virtual space VS is viewed from the viewpoint VP along the line-of-sight direction VD. For example, see FIGS. 8 and 9). The game character CH is a game character operated by the user of the communication device 10. Here, the case where the operation mode of the game is the generation mode is described, but in the case of the battle mode, the game character operated by another user or the game character controlled by the server 50 according to a predetermined algorithm. Also exists in the virtual space VS.

キャラクタ基準点VCは、通信装置10のユーザによって操作されるゲームキャラクタCHの位置に対して連動する位置として定義される。例えば、キャラクタ基準点VCは、ゲームキャラクタCHの頭部中心であってもよいし、この頭部中心から所定の方向に所定距離ずれることで、ゲームキャラクタCHの外側の位置であってもよい。 The character reference point VC is defined as a position linked to the position of the game character CH operated by the user of the communication device 10. For example, the character reference point VC may be the center of the head of the game character CH, or may be located outside the game character CH by deviating from the center of the head by a predetermined distance in a predetermined direction.

キャラクタ方向DCは、ゲームキャラクタCHの正面方向に対応する。視点VPは、ゲームキャラクタCHの後方に設定され、詳細には、キャラクタ基準点VCに対してキャラクタ方向DCとは反対側に設定される。視点VPとキャラクタ基準点VCとの距離は予め設定されている。 The character direction DC corresponds to the front direction of the game character CH. The viewpoint VP is set behind the game character CH, and more specifically, is set on the side opposite to the character direction DC with respect to the character reference point VC. The distance between the viewpoint VP and the character reference point VC is preset.

視線方向VDは、視点VPからキャラクタ基準点VCへの方向に対応する。視点VPは、キャラクタ基準点VCを中心に上下左右に移動する。視点VPがD1方向に移動すると、視線方向VDが下側に傾くため視野VAは下側に変化する。視点VPがD2方向に移動すると、視線方向VDが上側に傾くため視野VAは上側に変化する。視点VPがD3方向に移動すると、視線方向VDが右に傾くため視野VAは右側に変化する。視点VPがD4方向に移動すると、視線方向VDが左に傾くため視野VAは左側に変化する。この例では、移動方向に対応するキャラクタ方向DCと視線方向VDとが同じになるように、視点VPが制御される。以上が視野の制御方法についての説明である。 The line-of-sight direction VD corresponds to the direction from the viewpoint VP to the character reference point VC. The viewpoint VP moves up, down, left, and right around the character reference point VC. When the viewpoint VP moves in the D1 direction, the line-of-sight direction VD tilts downward, so that the visual field VA changes downward. When the viewpoint VP moves in the D2 direction, the line-of-sight direction VD tilts upward, so that the visual field VA changes upward. When the viewpoint VP moves in the D3 direction, the line-of-sight direction VD tilts to the right, so that the field of view VA changes to the right. When the viewpoint VP moves in the D4 direction, the field of view VA changes to the left because the line-of-sight direction VD tilts to the left. In this example, the viewpoint VP is controlled so that the character direction DC corresponding to the moving direction and the line-of-sight direction VD are the same. The above is the description of the field of view control method.

図8は、生成モードにおけるゲーム画面の第1例を示す図である。図8に示す生成モードにおけるゲーム画面CDは、仮想空間VSにおける視野VAに対応する領域を含む。上述したように、操作部14に対する操作を受け付ける領域は、表示部13と同じ領域に配置されている。領域TAは、この例では、ゲームキャラクタCHが表示される領域と少なくとも一部が重畳する位置に配置された半円形の領域である。領域TAは、ゲームキャラクタCHに対する制御のための操作を受け付ける領域である。操作の起点が領域TAに含まれていれば、ゲームキャラクタCHの移動制御のための操作として認識される。この例では、領域TAを起点としてスライドさせる操作が入力された場合、スライドさせた方向にゲームキャラクタCHが移動する。領域TAより上側の領域を起点としてスライドさせる操作が入力された場合、スライドさせた方向にゲームキャラクタCHの向き(キャラクタ方向DC)を変えてもよいし、ゲームキャラクタCHの向きを変えずに視線方向VDのみを変えてもよい。 FIG. 8 is a diagram showing a first example of a game screen in the generation mode. The game screen CD in the generation mode shown in FIG. 8 includes an area corresponding to the field of view VA in the virtual space VS. As described above, the area for receiving the operation for the operation unit 14 is arranged in the same area as the display unit 13. In this example, the area TA is a semicircular area arranged at a position where at least a part of the area where the game character CH is displayed overlaps. The area TA is an area that accepts an operation for controlling the game character CH. If the starting point of the operation is included in the area TA, it is recognized as an operation for controlling the movement of the game character CH. In this example, when the operation of sliding with the area TA as the starting point is input, the game character CH moves in the sliding direction. When an operation of sliding from the area above the area TA is input, the direction of the game character CH (character direction DC) may be changed in the sliding direction, or the line of sight may be changed without changing the direction of the game character CH. Only the directional VD may be changed.

この例では、ゲーム画面CDの下端領域EAにおいて、操作ボタンTB1、TB2、TB3、TB4、TCが配置される。 In this example, the operation buttons TB1, TB2, TB3, TB4, and TC are arranged in the lower end region EA of the game screen CD.

操作ボタンTB1、TB2、TB3、TB4は、タップ操作によって仮想空間VSに配置するオブジェクトを選択するための画像である。この例では、仮想空間VSに配置するオブジェクトの例は、ブロックBKであるが、操作ボタンTB1、TB2、TB3、TB4への操作(例えば、長押し、フリックなどの操作)により配置するオブジェクトの種類を変更することもできる。ブロックBK以外のオブジェクトの種類は、例えば、ブロックBKとは異なる形状(例えば、階段状)のオブジェクトであってもよいし、複数のブロックBKを連結したようなオブジェクトであってもよい。 The operation buttons TB1, TB2, TB3, and TB4 are images for selecting an object to be placed in the virtual space VS by tap operation. In this example, the example of the object to be placed in the virtual space VS is the block BK, but the type of the object to be placed by operating the operation buttons TB1, TB2, TB3, TB4 (for example, long press, flick, etc.). Can also be changed. The type of object other than the block BK may be, for example, an object having a shape different from that of the block BK (for example, a stepped shape), or an object in which a plurality of block BKs are concatenated.

操作ボタンTCは、操作ボタンTB1、TB2、TB3、TB4によって設定されたオブジェクトを、タップ操作によって仮想空間VSに配置したり、タップ操作によって既に配置されたオブジェクトを削除したりするための画像である。操作ボタンTCに対するフリック操作により、オブジェクトの配置に用いるか、オブジェクトの削除に用いるかを切り替えて設定することができる。例えば、オブジェクトの配置に用いるように設定されているときに、操作ボタンTCへタップ操作が入力されると、オブジェクト(例えば、ブロックBK)を仮想空間VSに配置することができる。 The operation button TC is an image for arranging the objects set by the operation buttons TB1, TB2, TB3, and TB4 in the virtual space VS by the tap operation, and deleting the objects already arranged by the tap operation. .. By flicking the operation button TC, it is possible to switch between using it for arranging objects and deleting objects. For example, if a tap operation is input to the operation button TC when it is set to be used for arranging an object, the object (for example, block BK) can be arranged in the virtual space VS.

オブジェクトが配置されたり削除されたりする対象の位置(以下、対象位置という場合がある)は、ゲームキャラクタCHの位置および向きに関連して決定され、オブジェクトの形状を模した画像のカーソルCAによって示される。この例では、オブジェクトの配置ができる位置は、既に配置されているオブジェクトに隣接する位置に制限される。図8に示すカーソルCAの例では、配置されるオブジェクト(この例ではブロックBK)の外縁および半透過による面を表示することで、オブジェクトが配置される対象の位置を示している。オブジェクトが削除される対象の位置を示す場合には、その対象の位置は、削除対象のオブジェクトを特定するように表示される。以下の説明では、ブロックBKが配置される場合の例を説明する。 The position of the target on which the object is placed or deleted (hereinafter, may be referred to as the target position) is determined in relation to the position and orientation of the game character CH, and is indicated by the cursor CA of the image imitating the shape of the object. Is done. In this example, the position where the object can be placed is limited to the position adjacent to the already placed object. In the example of the cursor CA shown in FIG. 8, the position of the object on which the object is placed is shown by displaying the outer edge of the object to be placed (block BK in this example) and the semitransparent surface. When an object indicates the position of the object to be deleted, the position of the object is displayed so as to identify the object to be deleted. In the following description, an example in which the block BK is arranged will be described.

図9は、生成モードにおけるゲーム画面の第2例を示す図である。図9は、図8において、操作ボタンTCへの操作により、ブロックBKが配置された後の画面例である。図8において示されていたカーソルCAの位置に、新たなブロックBK1が配置される。カーソルCAは、新たなブロックBK1に隣接する位置のうち予め決められたアルゴリズムにしたがって決定される対象位置に移動する。この対象位置の決定方法の詳細については後述する。図9に示す例では、カーソルCAは、新たなブロックBK1に隣接する位置のうちゲームキャラクタCHの前側かつゲームキャラクタCHに最も近い位置に移動する。このとき、ゲーム画面CDにおいて新たな対象位置を示すカーソルCAが、ゲーム画面CDにおける左右方向の略中央に位置するように、視野VAが制御される。 FIG. 9 is a diagram showing a second example of the game screen in the generation mode. FIG. 9 is an example of a screen in FIG. 8 after the block BK is arranged by operating the operation button TC. A new block BK1 is placed at the position of the cursor CA shown in FIG. The cursor CA moves to a target position determined according to a predetermined algorithm among the positions adjacent to the new block BK1. The details of the method of determining the target position will be described later. In the example shown in FIG. 9, the cursor CA moves to the front side of the game character CH and the position closest to the game character CH among the positions adjacent to the new block BK1. At this time, the field of view VA is controlled so that the cursor CA indicating the new target position on the game screen CD is located substantially in the center of the game screen CD in the left-right direction.

ゲームキャラクタCHを移動させてカーソルCAを図9に示す位置に表示させるためには、その位置の近くにゲームキャラクタCHを移動させる必要がある。一方、この例では、ゲームキャラクタCHを移動させなくても最初に配置したブロックBK1の位置に隣接した位置を対象位置として決定してカーソルCAを表示させることができる。これにより、ゲームキャラクタCHを移動させなくても、ブロックを配置する指示をすれば、次の対象位置にブロックBKを配置することができる。 In order to move the game character CH and display the cursor CA at the position shown in FIG. 9, it is necessary to move the game character CH near that position. On the other hand, in this example, the cursor CA can be displayed by determining the position adjacent to the position of the block BK1 initially arranged as the target position without moving the game character CH. As a result, the block BK can be placed at the next target position by instructing the block to be placed without moving the game character CH.

[視野制御方法]
仮想空間VSにおいてブロックBKの配置・削除をするときの視野を制御する方法について説明する。まず操作ボタンTCがオブジェクトの配置に用いられるように設定されている場合における視野制御方法について説明する。
[Field of view control method]
A method of controlling the field of view when arranging / deleting the block BK in the virtual space VS will be described. First, a field of view control method when the operation button TC is set to be used for arranging objects will be described.

図10は、ブロックを配置するときの視野制御方法を示すフローチャートである。図10に示す処理は、例えば、ユーザによってゲームの動作モードが生成モードに設定され、基準となるステージSTを決定すると実行される。基準となるステージSTは、通信装置10の記憶部12に記憶されていてもよいし、サーバ50の記憶部52に記憶されていてもよい。基準となるステージSTは、予めテンプレートとして設定された初期ステージであってもよいし、この生成モードによって既に生成したステージSTであってもよい。以下に説明する各処理は、ゲーム表示機能とゲーム制御機能(特に生成制御機能)との連携によって実現される。したがって、以下の処理は、通信装置10の制御部11によって実行されてもよいし、サーバ50の制御部51によって実行されてもよいし、制御部11と制御部51との双方によって分担して実行されてもよい。 FIG. 10 is a flowchart showing a field of view control method when arranging blocks. The process shown in FIG. 10 is executed, for example, when the operation mode of the game is set to the generation mode by the user and the reference stage ST is determined. The reference stage ST may be stored in the storage unit 12 of the communication device 10 or may be stored in the storage unit 52 of the server 50. The reference stage ST may be an initial stage set in advance as a template, or may be a stage ST already generated by this generation mode. Each process described below is realized by the cooperation between the game display function and the game control function (particularly the generation control function). Therefore, the following processing may be executed by the control unit 11 of the communication device 10, may be executed by the control unit 51 of the server 50, or may be shared by both the control unit 11 and the control unit 51. It may be executed.

まず、ステージST上に配置されたブロックBKに隣接する位置のうち、ゲームキャラクタCHの位置および向きに応じた位置を1番目の対象位置として決定してカーソルCAを表示する(ステップS100)。続いて、生成モードを終了する指示、ゲームキャラクタCHを移動する指示、またはブロックBKを配置する指示のいずれかが入力されるまで待機する(ステップS500;No,ステップS400;No,ステップS200;No)。この状態を待機状態という。待機状態において、生成モードを終了する指示が入力されると(ステップS500;Yes)、図10に示す処理が終了する。 First, among the positions adjacent to the block BK arranged on the stage ST, the position corresponding to the position and orientation of the game character CH is determined as the first target position, and the cursor CA is displayed (step S100). Subsequently, it waits until any of an instruction to end the generation mode, an instruction to move the game character CH, or an instruction to arrange the block BK is input (step S500; No, step S400; No, step S200; No). ). This state is called the standby state. When an instruction to end the generation mode is input in the standby state (step S500; Yes), the process shown in FIG. 10 ends.

待機状態において、ゲームキャラクタCHを所定量以上移動させる指示が入力されると(ステップS400;Yes)、直前に決定した対象位置を解除してカーソルCAを消去し(ステップS430)、その移動指示に基づいてゲームキャラクタCHを仮想空間VSのステージST上で移動させ(ステップS450)、ステップS100の処理に戻る。すなわち、対象位置が解除され、その部分に表示されていたカーソルCAを消去し、ゲームキャラクタCHの位置および向きに応じて改めて1番目の対象位置を決定して、その対象位置にカーソルCAを表示する。所定量以上ゲームキャラクタCHを移動させることは、予め決められた距離以上ゲームキャラクタCHを移動させることであってもよいし、ゲームキャラクタCHの位置を少しでも変化させることであってもよい。 When an instruction to move the game character CH by a predetermined amount or more is input in the standby state (step S400; Yes), the target position determined immediately before is released and the cursor CA is erased (step S430), and the movement instruction is given. Based on this, the game character CH is moved on the stage ST of the virtual space VS (step S450), and the process returns to the process of step S100. That is, the target position is released, the cursor CA displayed in that portion is erased, the first target position is determined again according to the position and orientation of the game character CH, and the cursor CA is displayed at the target position. To do. Moving the game character CH by a predetermined amount or more may be moving the game character CH by a predetermined distance or more, or changing the position of the game character CH as much as possible.

このような制御により、具体的にはカーソルは以下のように表示される。例えば、直前に1番目の対象位置が決定されていた場合には、ゲームキャラクタCHの位置の変化に連動して順次1番目の対象位置が決定されてカーソルCAが表示される。そのため、カーソルCAは、ゲームキャラクタCHの位置の変化に連動して移動するように表示される。一方、直前に2番目以降の対象位置が決定されていた場合には、ゲームキャラクタCHから遠く離れた位置にカーソルCAが表示されている。そのため、ゲームキャラクタCHが移動することにより、2番目以降の対象位置が解除されて新たに1番目の対象位置が決定されると、カーソルCAの位置は、ゲームキャラクタCHから遠く離れた位置からゲームキャラクタCHに近い位置に変更されるように表示される。 With such control, specifically, the cursor is displayed as follows. For example, when the first target position is determined immediately before, the first target position is sequentially determined in conjunction with the change in the position of the game character CH, and the cursor CA is displayed. Therefore, the cursor CA is displayed so as to move in conjunction with the change in the position of the game character CH. On the other hand, when the second and subsequent target positions are determined immediately before, the cursor CA is displayed at a position far away from the game character CH. Therefore, when the second and subsequent target positions are released and the first target position is newly determined by moving the game character CH, the position of the cursor CA is set to the game from a position far away from the game character CH. It is displayed so that it is changed to a position close to the character CH.

待機状態において、ブロックBKを配置する指示が入力されると(ステップS200;Yes)、カーソルCAが表示された位置(対象位置)にブロックBKを配置する(ステップS230)。その後、配置されたブロックBKの位置とゲームキャラクタCHの位置とに基づいて、次の対象位置(n番目の対象位置;nは2以上の自然数)を決定して、その対象位置にカーソルCAを表示する(ステップS250)。対象位置が決定されると、その対象位置に表示されるカーソルCAがゲーム画面CDにおける左右方向の略中央に表示されるように、視野VAを制御し(ステップS300)、待機状態に戻る。ここで、待機状態において、ゲームキャラクタCHを所定量以上移動させる指示が入力されずに(ステップS400;No)、ブロックBKを配置する指示が入力されると(ステップS200;Yes)、上記の「n番目」のnが大きくなっていく。一方、ゲームキャラクタCHを所定量以上移動させる指示が入力されると(ステップS400;Yes)、ステップS100の処理に戻るため、「n番目」が「2番目」以上であったものが、「1番目」となる。 In the standby state, when an instruction to place the block BK is input (step S200; Yes), the block BK is placed at the position (target position) where the cursor CA is displayed (step S230). After that, the next target position (nth target position; n is a natural number of 2 or more) is determined based on the position of the placed block BK and the position of the game character CH, and the cursor CA is moved to the target position. Display (step S250). When the target position is determined, the field of view VA is controlled (step S300) so that the cursor CA displayed at the target position is displayed substantially in the center of the game screen CD in the left-right direction, and the game returns to the standby state. Here, in the standby state, if the instruction to move the game character CH by a predetermined amount or more is not input (step S400; No) and the instruction to arrange the block BK is input (step S200; Yes), the above-mentioned ". The n of the "nth" becomes larger. On the other hand, when an instruction to move the game character CH by a predetermined amount or more is input (step S400; Yes), the process returns to the process of step S100. "Third".

続いて、ステップS250における対象位置の決定方法、およびステップS300における視野VAの制御方法について説明する。 Subsequently, a method of determining the target position in step S250 and a method of controlling the visual field VA in step S300 will be described.

図11は、ブロックの配置のための最初の対象位置と視野との関係を示す図である。図12は、ブロックの配置後における2番目の対象位置と視野との関係を示す図である。図13は、ブロックの配置後における3番目の対象位置と視野との関係を示す図である。図11および図12は、それぞれ図8および図9における状況に対応し、ステージSTの上方から見た場合におけるゲームキャラクタCH、対象位置(カーソルCA)および視野VAを示している。 FIG. 11 is a diagram showing the relationship between the initial target position for arranging the blocks and the visual field. FIG. 12 is a diagram showing the relationship between the second target position and the visual field after the arrangement of the blocks. FIG. 13 is a diagram showing the relationship between the third target position and the visual field after the arrangement of the blocks. 11 and 12 correspond to the situations in FIGS. 8 and 9, respectively, and show the game character CH, the target position (cursor CA), and the field of view VA when viewed from above the stage ST.

図11に示すように、カーソルCAで示される1番目の対象位置は、ゲームキャラクタCHの位置に隣接する位置のうち、キャラクタ方向DCに対応する位置として決められる。図11の状態においてブロックの配置が指示されると、図12に示すようにブロックBK1が配置され、ブロックBK1に隣接した位置が2番目の対象位置として決定されてカーソルCAが表示される。2番目の対象位置は、ブロックBK1に隣接した位置のうち、ゲームキャラクタCHが存在せず、かつゲームキャラクタCHに最も近い位置として決定される。 As shown in FIG. 11, the first target position indicated by the cursor CA is determined as a position corresponding to the character direction DC among the positions adjacent to the position of the game character CH. When the arrangement of the block is instructed in the state of FIG. 11, the block BK1 is arranged as shown in FIG. 12, the position adjacent to the block BK1 is determined as the second target position, and the cursor CA is displayed. The second target position is determined as a position adjacent to the block BK1 in which the game character CH does not exist and is closest to the game character CH.

2番目の対象位置が決定されると、2番目の対象位置におけるカーソルCAが視野VAの略中央に位置するように、視野VAが制御される。この例では、キャラクタ方向DCは、図12に示すようにカーソルCAを向くように変更されるが、図11の状態と同じ方向のままブロックBK1を向いていてもよい。 When the second target position is determined, the field of view VA is controlled so that the cursor CA at the second target position is located substantially in the center of the field of view VA. In this example, the character direction DC is changed to face the cursor CA as shown in FIG. 12, but may face the block BK1 in the same direction as in the state of FIG.

ゲームキャラクタCHが移動しないまま、図12の状態においてブロックの配置が指示されると、図13に示すようにブロックBK2が配置され、ブロックBK2に隣接した位置が3番目の対象位置として決定されてカーソルCAが表示される。3番目の対象位置は、ブロックBK2に隣接した位置のうち、ブロックBK1とは反対側の位置として決定される。すなわち、ブロックBK1(1番目の対象位置)に対するブロックBK2(2番目の対象位置)と同じ関係で、ブロックBK2に対する3番目の対象位置が決定される。したがって、2番目の対象位置は、1番目の対象位置と3番目の対象位置とに挟まれた位置であるともいえる。 When the arrangement of the block is instructed in the state of FIG. 12 without moving the game character CH, the block BK2 is arranged as shown in FIG. 13, and the position adjacent to the block BK2 is determined as the third target position. The cursor CA is displayed. The third target position is determined as a position adjacent to the block BK2 and opposite to the block BK1. That is, the third target position with respect to the block BK2 is determined in the same relationship as the block BK2 (second target position) with respect to the block BK1 (first target position). Therefore, it can be said that the second target position is a position sandwiched between the first target position and the third target position.

2番目の対象位置が決定されたときと同様に、3番目の対象位置におけるカーソルCAが視野VAの略中央に位置するように、視野VAがさらに制御される。この例では、キャラクタ方向DCが図13に示すようにカーソルCAを向くように変更されるが、上述したように、図11の状態と同じ方向のままブロックBK1を向いていてもよい。このように、ゲームキャラクタCHが移動しないままブロックの配置が指示されることで、この指示がされる度にブロックBKが同一方向に順次並んで配置される。したがって、ゲームキャラクタCHを移動させなくても、ブロックBK1を起点とした1方向に並ぶブロックBKにより壁を形成することができる。この例では、ゲームキャラクタCHの位置と2番目の対象位置との距離は、ゲームキャラクタCHの位置と1番目の対象位置との距離より長く、ゲームキャラクタCHの位置と3番目の対象位置との距離より短い。 The field of view VA is further controlled so that the cursor CA at the third target position is located approximately in the center of the field of view VA, as when the second target position was determined. In this example, the character direction DC is changed so as to face the cursor CA as shown in FIG. 13, but as described above, the block BK1 may be oriented in the same direction as in the state of FIG. In this way, by instructing the arrangement of the blocks without moving the game character CH, the blocks BKs are sequentially arranged in the same direction each time this instruction is given. Therefore, the wall can be formed by the blocks BKs arranged in one direction starting from the block BK1 without moving the game character CH. In this example, the distance between the position of the game character CH and the second target position is longer than the distance between the position of the game character CH and the first target position, and the distance between the position of the game character CH and the third target position Shorter than the distance.

このとき、次の対象位置として決定された位置が視野VAの略中央に含まれるようになっているため、ゲームキャラクタCHからカーソルCAの位置が遠くなっていっても、次の指示においてブロックBKが配置される位置を、ユーザに対してわかりやすく提示することができる。ユーザの操作によって、ゲームキャラクタCHを移動させたり、向きを変えたりした場合には、ブロックBKが並んで配置される方法が解除され、1番目の対象位置を決定する方法が適用される。 At this time, since the position determined as the next target position is included in the substantially center of the field of view VA, even if the position of the cursor CA is far from the game character CH, the block BK is given in the next instruction. The position where is placed can be presented to the user in an easy-to-understand manner. When the game character CH is moved or turned by the user's operation, the method of arranging the block BKs side by side is canceled, and the method of determining the first target position is applied.

ゲームキャラクタCHを移動させずに順次決定される対象位置は、図11から図13に示す例に限られない。以下、対象位置を決定する方法について、別の一例を説明する。 The target positions that are sequentially determined without moving the game character CH are not limited to the examples shown in FIGS. 11 to 13. Hereinafter, another example of the method of determining the target position will be described.

図14は、ブロックの配置後における3番目の対象位置と視野との関係の別の例を示す図である。図14に示す例では、上述した例と比べて、3番目以降の対象位置を決定する方法が異なる。ここでは、3番目の対象位置は、ブロックBK2の直前に配置されたブロックBK1に隣接した位置のうち、ブロックBK2とは反対側の位置として決定される。したがって、1番目の対象位置は、2番目の対象位置と3番目の対象位置とに挟まれた位置であるともいえる。 FIG. 14 is a diagram showing another example of the relationship between the third target position and the visual field after the arrangement of the blocks. In the example shown in FIG. 14, the method of determining the third and subsequent target positions is different from the above-mentioned example. Here, the third target position is determined as a position adjacent to the block BK1 arranged immediately before the block BK2 and opposite to the block BK2. Therefore, it can be said that the first target position is a position sandwiched between the second target position and the third target position.

これを4番目以降も同じように対象位置を決定すると、図14における2番目の対象位置の左側に4番目の対象位置が決定され、続いて、3番目の対象位置の右側に5番目の対象位置が決定される。これを繰り返すことで、ブロックBK1を中心として並ぶブロックBKにより壁を形成することができる。 When the target position is determined in the same manner for the fourth and subsequent targets, the fourth target position is determined on the left side of the second target position in FIG. 14, and then the fifth target is determined on the right side of the third target position. The position is determined. By repeating this, a wall can be formed by the blocks BK arranged around the block BK1.

4番目の対象位置が1番目の対象位置に対してゲームキャラクタCHと反対側に決定されるようにして、ゲームキャラクタCHの正面方向(1番目の対象位置が決定されたときのキャラクタ方向DC)に離れていくようにブロックBKが配置されていくようにしてもよい。この場合の一例について図15を用いて説明する。 The front direction of the game character CH (character direction DC when the first target position is determined) so that the fourth target position is determined on the side opposite to the game character CH with respect to the first target position. The block BK may be arranged so as to move away from the block BK. An example of this case will be described with reference to FIG.

図15は、4番目以降に決定される対象位置の別の例を示す図である。図15に示す数字は、対象位置として決定される順番を示している。このように、4番目以降の対象位置は、1番目から3番目までの対象位置の決定方法と同じようにしつつも、ゲームキャラクタCHの正面方向に向けて拡がっていくように3つずつブロックBKが配置されていくように決定される。ゲームキャラクタCHの正面方向に向けてブロックBKが配置されていく場合は、3つずつのブロックBKの幅で拡がっていく場合に限らず、その幅がより狭くてもよいし、広くてもよい。このように平面的に拡がっていく対象位置の決定方法によれば、地面および足場といった領域を容易に生成することができるため、例えば、ステージSTの基礎となる部分を生成するのに適している。 FIG. 15 is a diagram showing another example of the target position determined after the fourth. The numbers shown in FIG. 15 indicate the order in which the target positions are determined. In this way, the fourth and subsequent target positions are the same as the method for determining the first to third target positions, but the block BK is divided into three blocks so as to expand toward the front of the game character CH. Is determined to be placed. When the block BKs are arranged toward the front of the game character CH, the width may be narrower or wider, not limited to the case where the block BKs are expanded by the width of each of the three block BKs. .. According to the method of determining the target position that spreads in a plane in this way, areas such as the ground and scaffolding can be easily generated, so that it is suitable for generating, for example, the basic part of the stage ST. ..

1つずつのブロックBKで並んで配置される場合には、図11から図13までの例で示したようにブロックBK1を起点とした1方向に並ぶブロックBKを配置するときに、その1方向がキャラクタ方向DCに対応するようにすればよい。これによれば、ゲームキャラクタCHを移動させずに、ブロックBK1を起点として、キャラクタ方向DCの方向に並んでブロックBKを配置することができる。この場合、1番目の対象位置が、ゲームキャラクタCHの位置と2番目の対象位置とで挟まれているともいえる。 When the block BKs are arranged side by side in one direction, as shown in the examples of FIGS. 11 to 13, when the block BKs arranged in one direction starting from the block BK1 are arranged, one direction thereof. Should correspond to the character direction DC. According to this, the block BKs can be arranged side by side in the character direction DC with the block BK1 as the starting point without moving the game character CH. In this case, it can be said that the first target position is sandwiched between the position of the game character CH and the second target position.

これらの例のように、ブロックBKが配置された後に次の対象位置を決定する方法は、様々な方法が適用可能である。ユーザの操作によって、いずれかの方法を選択して適用することができるようにしてもよい。どのような方法が適用されたとしても、対象位置は、ゲームキャラクタCHに対する相対的な位置関係が変化していく。その位置関係の変化に応じて、視野VAを制御することで、対象位置が変わっていることをユーザに認識させやすくなる。対象位置がゲームキャラクタCHの正面方向に離れるほど、視点VPが上方に移動するように視野VAを制御することで、ゲームキャラクタCHに近い部分に配置されたブロックBKを避け、上方からの視点VPからの対象位置をゲーム画面CDに表示させるようにしてもよい。 As in these examples, various methods can be applied to the method of determining the next target position after the block BK is placed. Either method may be selected and applied by the operation of the user. Regardless of which method is applied, the relative positional relationship of the target position with respect to the game character CH changes. By controlling the field view VA according to the change in the positional relationship, it becomes easy for the user to recognize that the target position has changed. By controlling the field of view VA so that the viewpoint VP moves upward as the target position moves toward the front of the game character CH, the block BK arranged near the game character CH is avoided and the viewpoint VP from above is avoided. The target position from may be displayed on the game screen CD.

図10から図15における説明は、操作ボタンTCがオブジェクトの配置に用いられるように設定されている場合における視野制御方法について説明した。一方、操作ボタンTCがオブジェクトの削除に用いられるように設定されている場合については、対象位置が既に存在するブロックBKの位置から決定され、操作ボタンTCへの操作により対象位置のブロックBKが削除され、削除されたブロックBKに隣接するブロックBKが次の対象位置として決定される。このように、ブロックBKを削除する場合とブロックBKを配置する場合とは、このような一部分だけが異ならせることで同様に処理が実現できるため、ブロックBKを削除する場合については、その詳細の説明を省略する。 The description in FIGS. 10 to 15 describes a field of view control method when the operation button TC is set to be used for arranging objects. On the other hand, when the operation button TC is set to be used for deleting the object, the target position is determined from the position of the block BK that already exists, and the block BK at the target position is deleted by operating the operation button TC. The block BK adjacent to the deleted block BK is determined as the next target position. In this way, the case of deleting the block BK and the case of arranging the block BK can be similarly processed by making only such a part different. Therefore, the case of deleting the block BK is described in detail. The explanation is omitted.

<変形例>
以上、本発明の一実施形態について説明したが、本発明の一実施形態は、以下のように様々な形態に変形することもできる。また、上述した実施形態および以下に説明する変形例とは、矛盾を生じない限り、それぞれ互いに組み合わせて適用することもできる。さらに、各実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。
<Modification example>
Although one embodiment of the present invention has been described above, one embodiment of the present invention can be transformed into various forms as follows. Further, the above-described embodiment and the modifications described below can be applied in combination with each other as long as there is no contradiction. Further, it is possible to add / delete / replace a part of the configuration of each embodiment with another configuration.

(1)上述したように、通信装置10において実現されるゲーム表示機能およびサーバ50において実現されるゲーム制御機能によって、ゲームがユーザに提供される。ゲーム表示機能の一部がサーバ50において実現されてもよい。例えば、ゲーム表示機能のうち、制御データ受信部105、ゲームデータ記憶領域107および表示データ生成部109がサーバ50において実現されてもよい。この場合、通信装置10は、サーバ50から表示データを受信して、表示データに基づいて表示部13に表示すればよい。 (1) As described above, the game is provided to the user by the game display function realized in the communication device 10 and the game control function realized in the server 50. A part of the game display function may be realized in the server 50. For example, among the game display functions, the control data receiving unit 105, the game data storage area 107, and the display data generating unit 109 may be realized in the server 50. In this case, the communication device 10 may receive the display data from the server 50 and display it on the display unit 13 based on the display data.

(2)ブロックBK等の仮想空間VSへの配置は、生成モードにおいて実現されていたが、対戦モードにおいても実現されてもよい。例えば、対戦モードにおいてゲームキャラクタCHを操作し、ブロックBKの配置または削除を実行することで、対戦中にステージSTの形状を変化させてもよい。 (2) Arrangement of the block BK or the like in the virtual space VS has been realized in the generation mode, but it may also be realized in the battle mode. For example, the shape of the stage ST may be changed during the battle by operating the game character CH in the battle mode and arranging or deleting the block BK.

(3)対象位置が決定されると、その対象位置にはカーソルCAが表示されていたが、視野VAの制御によりゲーム画面CDにおける位置関係で対象位置が認識できるため、必ずしもカーソルCAが表示されなくてもよい。 (3) When the target position is determined, the cursor CA is displayed at the target position, but since the target position can be recognized by the positional relationship on the game screen CD by controlling the field of view VA, the cursor CA is not always displayed. It does not have to be.

(4)2番目以降の対象位置は、1番目の対象位置と同じ水平面において決定される例に限らず、上下方向に決定されるようにしてもよい。例えば、1番目の対象位置から上方に並ぶように2番目以降の対象位置が順次決定されるようにしてもよい。m番目の対象位置にブロックBKが配置された後に、m+1番目の対象位置が1番目の対象位置の上方に隣接する位置として決定されてもよい。その後は、m+n番目の対象位置がn番目の対象位置の上方に隣接する位置として決定されてもよい。例えば、図15に示すように、1段目として12番目の対象位置までブロックBKが配置された後に、2段目に対象位置が移動し、順次、12+n番目の対象位置がn番目の対象位置の上方に隣接する位置として決定されてもよい。 (4) The second and subsequent target positions are not limited to the example determined in the same horizontal plane as the first target position, and may be determined in the vertical direction. For example, the second and subsequent target positions may be sequentially determined so as to line up above the first target position. After the block BK is placed at the m-th target position, the m + 1-th target position may be determined as a position adjacent above the first target position. After that, the m + nth target position may be determined as a position adjacent above the nth target position. For example, as shown in FIG. 15, after the block BK is placed up to the 12th target position as the first stage, the target position moves to the second stage, and the 12 + nth target position is sequentially the nth target position. It may be determined as a position adjacent to the upper part of.

上方に対象位置が移動した場合には、視野VAが上方を向くように制御されてもよいし、視野VAが上方に移動するように制御されてもよい。ユーザは、視野VAが変化することで上段に対象位置が移動したことを認識しやすい。上方に対象位置が移動しても、上方に対しては視野VAが変わらないようにしてもよい。図8に示すように、ゲーム画面CDが縦方向に長い場合には、上下方向には視野VAが広く確保されているため、上方に視野VAを制御しなくても、ユーザが認識することができる。 When the target position moves upward, the visual field VA may be controlled to face upward, or the visual field VA may be controlled to move upward. The user can easily recognize that the target position has moved to the upper stage due to the change in the visual field VA. Even if the target position moves upward, the visual field VA may not change upward. As shown in FIG. 8, when the game screen CD is long in the vertical direction, the visual field VA is widely secured in the vertical direction, so that the user can recognize the game screen without controlling the visual field VA upward. it can.

(5)新たな対象位置が決定されたときの視野VAの制御方法は、その対象位置がゲーム画面CDにおける略中央に位置するようにする例に限られない。以下、複数の例について説明する。例えば、ブロックBKを配置した位置(直前の対象位置)と、新たに決定された対象位置との間のいずれかの位置がゲーム画面CDにおける略中央に位置するようにして、視野VAの変化量を少なくしてもよい。このとき、直前の対象位置に近い位置(ブロックBKを配置した位置)がゲーム画面CDの略中央に位置するようにする制御するほど、視野VAの変化量が小さくなるが、ユーザは、視野VAが動く方向から、新たに決定された対象位置を認識しやすくなる。 (5) The method of controlling the visual field VA when a new target position is determined is not limited to the example in which the target position is located substantially in the center of the game screen CD. Hereinafter, a plurality of examples will be described. For example, the amount of change in the visual field VA is set so that any position between the position where the block BK is placed (the target position immediately before) and the newly determined target position is located substantially in the center of the game screen CD. May be reduced. At this time, the more the position close to the immediately preceding target position (the position where the block BK is arranged) is controlled to be located substantially in the center of the game screen CD, the smaller the amount of change in the visual field VA becomes, but the user can use the visual field VA. It becomes easier to recognize the newly determined target position from the direction in which the moves.

1番目の対象位置に配置されたブロックBKから直前に配置されたブロックBKまで、さらに、最後に決定された対象位置のカーソルCAの全てが、ゲーム画面CDに表示されるように視野VAが制御されてもよい。これらを全て表示させるために、視点VPをゲームキャラクタCHから遠ざけることで、ゲーム画面CDに表示される範囲が広くなうように視野VAが制御されてもよい。 From the block BK placed at the first target position to the block BK placed immediately before, the field of view VA controls so that all the cursor CAs at the last determined target position are displayed on the game screen CD. May be done. In order to display all of these, the field of view VA may be controlled so that the range displayed on the game screen CD is widened by moving the viewpoint VP away from the game character CH.

(6)新たな対象位置がゲーム画面CDのうち所定の範囲にある予め決められた位置に表示されるように、視野VAが制御されてもよい。この所定の範囲は、ゲーム画面CDのうち、操作ボタンTB1、TB2、TB3、TB4、TCが配置される下端領域EAを除いた領域であってもよいし、領域TAを除いた領域であってもよいし、下端領域EAと領域TAとを除いた領域であってもよい。図8および図9の例では、カーソルCAが領域TAに重畳する部分を含んでいる。このように、対象位置とゲーム画面CDとの関係について、対象位置に応じたカーソルCAの少なくとも一部が、この所定の範囲に含まれるように視野VAが制御されればよいが、カーソルCAの全てが、この所定の範囲に含まれるように視野VAが制御されてもよい。このようにすると、ユーザによる操作の入力時においても、ユーザの指でカーソルCAが見えなくなることを防止することができる。 (6) The field of view VA may be controlled so that the new target position is displayed at a predetermined position in the game screen CD within a predetermined range. This predetermined range may be an area of the game screen CD excluding the lower end area EA in which the operation buttons TB1, TB2, TB3, TB4, and TC are arranged, or an area excluding the area TA. Alternatively, it may be a region excluding the lower end region EA and the region TA. In the examples of FIGS. 8 and 9, the portion where the cursor CA overlaps the region TA is included. As described above, regarding the relationship between the target position and the game screen CD, the field of view VA may be controlled so that at least a part of the cursor CA corresponding to the target position is included in this predetermined range. The visual field VA may be controlled so that all are included in this predetermined range. By doing so, it is possible to prevent the cursor CA from being invisible with the user's finger even when the user inputs an operation.

(7)図8または図9に示すように、カーソルCAがゲーム画面CDに表示されている状態において、ユーザの操作によりキャラクタ方向DCを変えずに視線方向VDを変更するように視野VAが制御された場合、対象位置がゲーム画面CDに表示される範囲(または変形例(6)に示す所定の範囲)に修正されてもよい。 (7) As shown in FIG. 8 or 9, in the state where the cursor CA is displayed on the game screen CD, the visual field VA is controlled so that the line-of-sight direction VD is changed by the user's operation without changing the character direction DC. If so, the target position may be modified to a range displayed on the game screen CD (or a predetermined range shown in the modification (6)).

(8)この例ではゲームの動作モードは、対戦モードと生成モードとから選択される。一方、動作モードの選択対象は、対戦モードに代えて他の動作モードを含んでいてもよいし、さらに多くの動作モードを含んでいてもよい。例えば、対戦モード以外の例としては、他のユーザが存在せずに単独のユーザでゲームを楽しむことができるようなモードであってもよい。単独ユーザおよび複数ユーザにかかわらず、ゲームの種類としては、対戦ゲームのほか、レースゲーム、シューティングゲーム、アクションロールプレイングゲーム、およびオープンワールドが例示される。 (8) In this example, the operation mode of the game is selected from the battle mode and the generation mode. On the other hand, the operation mode selection target may include other operation modes instead of the battle mode, or may include more operation modes. For example, as an example other than the battle mode, there may be a mode in which a single user can enjoy the game without another user. Examples of game types, whether single users or multiple users, include competitive games, racing games, shooting games, action role-playing games, and open worlds.

10…通信装置、11…制御部、12…記憶部、13…表示部、14…操作部、15…センサ部、16…撮像部、17…位置検出部、18…通信部、50…サーバ、51…制御部、52…記憶部、58…通信部、100…ゲーム表示機能、101ゲーム操作取得部、103…操作データ送信部、105…制御データ受信部、107…ゲームデータ記憶領域、109…表示データ生成部、500…ゲーム制御機能、501…操作データ受信部、503…処理実行部、505…制御データ送信部、1000…通信システム 10 ... communication device, 11 ... control unit, 12 ... storage unit, 13 ... display unit, 14 ... operation unit, 15 ... sensor unit, 16 ... imaging unit, 17 ... position detection unit, 18 ... communication unit, 50 ... server, 51 ... control unit, 52 ... storage unit, 58 ... communication unit, 100 ... game display function, 101 game operation acquisition unit, 103 ... operation data transmission unit, 105 ... control data reception unit, 107 ... game data storage area, 109 ... Display data generation unit, 500 ... Game control function, 501 ... Operation data reception unit, 503 ... Processing execution unit, 505 ... Control data transmission unit, 1000 ... Communication system

Claims (12)

仮想空間において移動可能なキャラクタの位置に応じた第1視野をディスプレイに表示し、
入力された操作に応じて、前記キャラクタの位置に関連した第1対象位置にオブジェクトを配置し、または、前記第1対象位置に既に存在するオブジェクトを削除し、
前記キャラクタの位置および前記第1対象位置に基づいて、第2対象位置を決定し、
前記第2対象位置に応じて、前記ディスプレイに表示する第2視野を設定すること
をコンピュータに実行させるためのプログラム。
The first field of view according to the position of the movable character in the virtual space is displayed on the display.
Depending on the input operation, the object is placed at the first target position related to the position of the character, or the object that already exists at the first target position is deleted.
The second target position is determined based on the position of the character and the first target position.
A program for causing a computer to set a second field of view to be displayed on the display according to the second target position.
前記第1視野と前記第2視野とが異なる、請求項1に記載のプログラム。 The program according to claim 1, wherein the first visual field and the second visual field are different. 前記第2対象位置を示す画像を前記ディスプレイに表示することをさらに前記コンピュータに実行させることを含む、請求項1または請求項2に記載のプログラム。 The program according to claim 1 or 2, further comprising causing the computer to display an image indicating the second target position on the display. 入力された操作に応じて、前記第2対象位置にオブジェクトを配置し、または、前記第2対象位置に既に存在するオブジェクトを削除し、
前記キャラクタの位置および前記第1対象位置および前記第2対象位置に基づいて、第3対象位置を決定し、
前記第3対象位置に応じて、前記ディスプレイに表示する第3視野を設定すること
をさらに前記コンピュータに実行させることを含む、請求項1から請求項3のいずれかに記載のプログラム。
Depending on the input operation, the object is placed at the second target position, or the object that already exists at the second target position is deleted.
A third target position is determined based on the position of the character, the first target position, and the second target position.
The program according to any one of claims 1 to 3, further comprising causing the computer to set a third field of view to be displayed on the display according to the third target position.
前記第2対象位置が前記第1対象位置に隣接し、前記第3対象位置が前記第2対象位置に隣接し、前記第1対象位置と前記第3対象位置とが前記第2対象位置を挟むように、前記第2対象位置および前記第3対象位置が決定される、請求項4に記載のプログラム。 The second target position is adjacent to the first target position, the third target position is adjacent to the second target position, and the first target position and the third target position sandwich the second target position. The program according to claim 4, wherein the second target position and the third target position are determined as described above. 前記第2対象位置が前記第1対象位置に隣接し、前記第3対象位置が前記第1対象位置に隣接し、前記第2対象位置と前記第3対象位置とが前記第1対象位置を挟むように、前記第2対象位置および前記第3対象位置が決定される、請求項4に記載のプログラム。 The second target position is adjacent to the first target position, the third target position is adjacent to the first target position, and the second target position and the third target position sandwich the first target position. The program according to claim 4, wherein the second target position and the third target position are determined as described above. 前記キャラクタと前記第2対象位置との第2距離は、前記キャラクタと前記第1対象位置との第1距離より長く、前記キャラクタと前記第3対象位置との第3距離より短い、請求項4から請求項6のいずれかに記載のプログラム。 4. The second distance between the character and the second target position is longer than the first distance between the character and the first target position and shorter than the third distance between the character and the third target position, claim 4. The program according to any one of claims 6. 前記キャラクタと前記第2対象位置との第2距離は、前記キャラクタと前記第1対象位置との第1距離より長い、請求項1から請求項6のいずれかに記載のプログラム。 The program according to any one of claims 1 to 6, wherein the second distance between the character and the second target position is longer than the first distance between the character and the first target position. 前記第2対象位置は、前記第2対象位置と前記キャラクタの位置とで前記第1対象位置が挟まれるように決定される、請求項1から請求項5のいずれかに記載のプログラム。 The program according to any one of claims 1 to 5, wherein the second target position is determined so that the first target position is sandwiched between the second target position and the position of the character. 前記第2対象位置は、前記キャラクタの位置から見て前記第1対象位置の左右のいずれかに隣接する位置として決定される、請求項1から請求項8のいずれかに記載のプログラム。 The program according to any one of claims 1 to 8, wherein the second target position is determined as a position adjacent to either the left or right of the first target position when viewed from the position of the character. 前記第2視野を設定することは、前記ディスプレイの所定範囲に前記第2対象位置が含まれるように前記第2視野を設定する、請求項1から請求項10のいずれかに記載のプログラム。 The program according to any one of claims 1 to 10, wherein setting the second field of view sets the second field of view so that the second target position is included in a predetermined range of the display. 前記第2対象位置が決定された後に、入力された操作に応じて前記キャラクタが所定量以上移動した場合に、前記第2対象位置を解除して前記第1対象位置を決定する、請求項1から請求項11のいずれかに記載のプログラム。

1. The first target position is determined by releasing the second target position when the character moves by a predetermined amount or more in response to an input operation after the second target position is determined. The program according to any one of claims 11.

JP2020210395A 2020-12-18 2020-12-18 program Active JP6894566B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020210395A JP6894566B1 (en) 2020-12-18 2020-12-18 program
JP2021093901A JP7317895B2 (en) 2020-12-18 2021-06-03 program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020210395A JP6894566B1 (en) 2020-12-18 2020-12-18 program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2021093901A Division JP7317895B2 (en) 2020-12-18 2021-06-03 program

Publications (2)

Publication Number Publication Date
JP6894566B1 true JP6894566B1 (en) 2021-06-30
JP2022097041A JP2022097041A (en) 2022-06-30

Family

ID=76540369

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020210395A Active JP6894566B1 (en) 2020-12-18 2020-12-18 program

Country Status (1)

Country Link
JP (1) JP6894566B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017097567A (en) * 2015-11-20 2017-06-01 株式会社スクウェア・エニックス Program, computer device, and execution method
JP2019209115A (en) * 2018-06-04 2019-12-12 任天堂株式会社 Game program, information processing system, information processor, and information processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017097567A (en) * 2015-11-20 2017-06-01 株式会社スクウェア・エニックス Program, computer device, and execution method
JP2019209115A (en) * 2018-06-04 2019-12-12 任天堂株式会社 Game program, information processing system, information processor, and information processing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
「世界のウェブアーカイブ|国立国会図書館インターネット資料収集保存事業」, JPN6021014850, 15 December 2020 (2020-12-15), ISSN: 0004492942 *

Also Published As

Publication number Publication date
JP2022097041A (en) 2022-06-30

Similar Documents

Publication Publication Date Title
US11565181B2 (en) Virtual object control method and apparatus, computer device, and storage medium
US9354839B2 (en) Storage medium storing object movement controlling program and information processing apparatus
WO2019153750A1 (en) Method, apparatus and device for view switching of virtual environment, and storage medium
JP4358181B2 (en) GAME PROGRAM AND GAME DEVICE
US11154779B2 (en) Processing device, program, and method
EP2902998A1 (en) Display device, control system, and control programme
JP4799261B2 (en) Image display apparatus, control method thereof, and program
CN112451969B (en) Virtual object control method, device, computer equipment and storage medium
JP4912377B2 (en) Display device, display method, and program
JP2022505457A (en) How to build buildings in virtual environments, equipment, equipment and programs
JP6100497B2 (en) Information processing program, information processing apparatus, information processing system, and image display method
JP6088787B2 (en) Program, information processing apparatus, information processing method, and information processing system
US20210117070A1 (en) Computer-readable recording medium, computer apparatus, and method of controlling
JP6936913B1 (en) Program and setting method
JP6894566B1 (en) program
JP7317895B2 (en) program
JP6801138B1 (en) Terminal device, virtual object operation method, and virtual object operation program
JP6957712B1 (en) Program and field of view control method
US8970491B2 (en) Computer system, computer system control method, program, and information storage medium
JP2016224595A (en) System, method, and program
WO2023286222A1 (en) Processing device, program, and method
JP7285996B1 (en) Screen control method and program
JP5247907B1 (en) Data acquisition device, data acquisition system, data acquisition device control method, and program
JP6911188B1 (en) Program and image control method
JP6999847B1 (en) Game control method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201218

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20201218

A80 Written request to apply exceptions to lack of novelty of invention

Free format text: JAPANESE INTERMEDIATE CODE: A80

Effective date: 20210108

TRDD Decision of grant or rejection written
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20210409

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210510

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210603

R150 Certificate of patent or registration of utility model

Ref document number: 6894566

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250