JP6737836B2 - Program, information processing apparatus, and control method - Google Patents
Program, information processing apparatus, and control method Download PDFInfo
- Publication number
- JP6737836B2 JP6737836B2 JP2018095679A JP2018095679A JP6737836B2 JP 6737836 B2 JP6737836 B2 JP 6737836B2 JP 2018095679 A JP2018095679 A JP 2018095679A JP 2018095679 A JP2018095679 A JP 2018095679A JP 6737836 B2 JP6737836 B2 JP 6737836B2
- Authority
- JP
- Japan
- Prior art keywords
- field
- virtual camera
- user
- field object
- size
- 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
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Description
本発明は、プログラム、情報処理装置、及び制御方法に関する。 The present invention relates to a program, an information processing device, and a control method.
従来、例えばスマートフォン又は携帯ゲーム機等の情報処理装置が実行するゲームにおいて、3次元仮想空間内の仮想カメラを視点とし、当該仮想空間内のオブジェクトを2次元平面に描画した画像をゲーム画面として表示する技術が知られている。例えば特許文献1には、仮想カメラを視点として、キャラクタが配置されたフィールドを上空から斜めに俯瞰したゲーム画面を表示する構成が開示されている。
Conventionally, in a game executed by an information processing device such as a smartphone or a portable game machine, a virtual camera in a three-dimensional virtual space is used as a viewpoint, and an image of an object in the virtual space drawn on a two-dimensional plane is displayed as a game screen. The technology to do is known. For example,
しかしながら、このような情報処理装置に備えられた表示デバイスの画面サイズは比較的小さく、必ずしも画面の視認性が十分でない場合がある。したがって、情報処理装置におけるゲーム画面の視認性について改善の余地があった。 However, the screen size of the display device included in such an information processing apparatus is relatively small, and the visibility of the screen may not always be sufficient. Therefore, there is room for improvement in the visibility of the game screen in the information processing device.
かかる事情に鑑みてなされた本発明の目的は、情報処理装置に表示されるゲーム画面の視認性を向上させるプログラム、情報処理装置、及び制御方法を提供することにある。 An object of the present invention made in view of such circumstances is to provide a program, an information processing apparatus, and a control method for improving the visibility of a game screen displayed on the information processing apparatus.
上記課題を解決するために本発明に係るプログラムは、
ゲームを実行する情報処理装置に、
3次元の仮想空間内に、仮想カメラと、フィールドオブジェクトと、前記フィールドオブジェクト上に位置するオブジェクトと、を配置するステップと、
前記仮想カメラを視点として、前記フィールドオブジェクト及び前記オブジェクトを透視投影により投影した2次元画像を含むゲーム画面を表示するステップと、
前記フィールドオブジェクト及び前記オブジェクトの少なくとも一方を、前記仮想カメラに対して相対的に移動させるステップと、
前記仮想カメラの光軸方向における前記オブジェクトの前記仮想カメラからの距離が第1範囲内である場合、前記距離が長くなるほど前記オブジェクトを大きくする補正を行う第1補正ステップと、
前記距離が前記仮想カメラの光軸方向において前記第1範囲と異なる第2範囲内である場合、前記距離が長くなるほど前記オブジェクトを小さくする補正を行う第2補正ステップと、を実行させる。
In order to solve the above problems, the program according to the present invention is
In the information processing device that executes the game,
Arranging a virtual camera, a field object, and an object located on the field object in a three-dimensional virtual space,
Displaying a game screen including a two-dimensional image obtained by projecting the field object and the object by perspective projection with the virtual camera as a viewpoint;
Moving at least one of the field object and the object relative to the virtual camera;
If the distance of the object from the virtual camera in the optical axis direction of the virtual camera is within a first range, a first correction step of performing correction such that the object becomes larger as the distance increases,
When the distance is within a second range different from the first range in the optical axis direction of the virtual camera, a second correction step of performing correction such that the object becomes smaller as the distance becomes longer is executed.
また、本発明に係る情報処理装置は、
表示部と、制御部と、を備え、
前記制御部は、
3次元の仮想空間内に、仮想カメラと、フィールドオブジェクトと、前記フィールドオブジェクト上に位置するオブジェクトと、を配置し、
前記仮想カメラを視点として、前記フィールドオブジェクト及び前記オブジェクトを透視投影により投影した2次元画像を含むゲーム画面を前記表示部に表示させ、
前記フィールドオブジェクト及び前記オブジェクトの少なくとも一方を、前記仮想カメラに対して相対的に移動させ、
前記仮想カメラの光軸方向における前記オブジェクトの前記仮想カメラからの距離が第1範囲内である場合、前記距離が長くなるほど前記オブジェクトを大きくする補正を行い、
前記距離が前記仮想カメラの光軸方向において前記第1範囲と異なる第2範囲内である場合、前記距離が長くなるほど前記オブジェクトを小さくする補正を行う。
Further, the information processing device according to the present invention,
A display unit and a control unit,
The control unit is
A virtual camera, a field object, and an object located on the field object are arranged in a three-dimensional virtual space,
A game screen including a two-dimensional image obtained by projecting the field object and the object by perspective projection from the virtual camera as a viewpoint,
At least one of the field object and the object is moved relative to the virtual camera,
When the distance of the object from the virtual camera in the optical axis direction of the virtual camera is within the first range, correction is performed to make the object larger as the distance becomes longer,
When the distance is within the second range different from the first range in the optical axis direction of the virtual camera, the correction is performed such that the object becomes smaller as the distance becomes longer.
また、本発明に係る制御方法は、
ゲームを実行する情報処理装置の制御方法であって、
3次元の仮想空間内に、仮想カメラと、フィールドオブジェクトと、前記フィールドオブジェクト上に位置するオブジェクトと、を配置するステップと、
前記仮想カメラを視点として、前記フィールドオブジェクト及び前記オブジェクトを透視投影により投影した2次元画像を含むゲーム画面を表示するステップと、
前記フィールドオブジェクト及び前記オブジェクトの少なくとも一方を、前記仮想カメラに対して相対的に移動させるステップと、
前記仮想カメラの光軸方向における前記オブジェクトの前記仮想カメラからの距離が第1範囲内である場合、前記距離が長くなるほど前記オブジェクトを大きくする補正を行う第1補正ステップと、
前記距離が前記仮想カメラの光軸方向において前記第1範囲と異なる第2範囲内である場合、前記距離が長くなるほど前記オブジェクトを小さくする補正を行う第2補正ステップと、を含む。
Further, the control method according to the present invention,
A method for controlling an information processing device for executing a game, comprising:
Arranging a virtual camera, a field object, and an object located on the field object in a three-dimensional virtual space,
Displaying a game screen including a two-dimensional image obtained by projecting the field object and the object by perspective projection with the virtual camera as a viewpoint;
Moving at least one of the field object and the object relative to the virtual camera;
If the distance of the object from the virtual camera in the optical axis direction of the virtual camera is within a first range, a first correction step of performing correction such that the object becomes larger as the distance increases,
When the distance is within a second range that is different from the first range in the optical axis direction of the virtual camera, a second correction step is performed to make the object smaller as the distance becomes longer.
本発明に係るプログラム、情報処理装置、及び制御方法によれば、情報処理装置に表示されるゲーム画面の視認性が向上する。 According to the program, the information processing device, and the control method of the present invention, the visibility of the game screen displayed on the information processing device is improved.
以下、本発明の実施形態について、図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(情報処理装置の概要)
図1を参照して、本発明の第1実施形態に係る情報処理装置10の概要について説明する。情報処理装置10は、例えばスマートフォン、PC、又は携帯ゲーム機等であって、本実施形態に係るゲームのアプリケーションを実行可能である。ゲームのアプリケーションは、例えばインターネットを介して所定のアプリケーション配信サーバから受信されてもよく、或いは情報処理装置10に備えられた記憶装置又は情報処理装置10が読取可能なメモリカード等の記憶媒体に予め記憶されていてもよい。
(Outline of information processing device)
An outline of the information processing apparatus 10 according to the first embodiment of the present invention will be described with reference to FIG. The information processing device 10 is, for example, a smartphone, a PC, a portable game machine, or the like, and can execute the game application according to the present embodiment. The game application may be received from, for example, a predetermined application distribution server via the Internet, or may be previously stored in a storage device included in the information processing device 10 or a storage medium such as a memory card readable by the information processing device 10 in advance. It may be stored.
(ゲームの概要)
本実施形態に係るゲームの概要について説明する。本実施形態に係るゲームは、1つ以上のゲームパートを含む。少なくとも1つのゲームパートは、ゲーム媒体を用いて実行されてもよい。
(Outline of the game)
The outline of the game according to this embodiment will be described. The game according to the present embodiment includes one or more game parts. At least one game part may be executed using the game content.
ゲーム媒体は、ゲームに使用される電子データであり、例えば、カード、アイテム、仮想通貨、チケット、キャラクタ、及びアバタ等、任意の媒体を含む。また、ゲーム媒体は、ユーザによってゲーム内で取得、所有、使用、管理、交換、合成、強化、売却、廃棄、又は贈与等され得る電子データであるが、ゲーム媒体の利用態様は本明細書で明示されるものに限られない。 The game medium is electronic data used in the game, and includes any medium such as a card, an item, a virtual currency, a ticket, a character, an avatar, and the like. Further, the game content is electronic data that can be acquired, owned, used, managed, exchanged, combined, enhanced, sold, disposed of, or donated in the game by the user. It is not limited to what is specified.
以下、特に明示した場合を除き、「ユーザが所有するゲーム媒体」とは、当該ユーザを一意に識別可能なユーザIDに所有ゲーム媒体として対応付けられたゲーム媒体を示す。
また、「ゲーム媒体をユーザに付与する」とは、ゲーム媒体を所有ゲーム媒体としてユーザIDに対応付けることを示す。また、「ユーザが所有するゲーム媒体を破棄する」とは、ユーザIDと所有ゲーム媒体との対応付けを解消することを示す。また、「ユーザが所有するゲーム媒体を消費する」とは、ユーザIDと所有ゲーム媒体との対応付けの解消に応じて、何らかの効果又は影響をゲーム内で発生させ得ることを示す。また、「ユーザが所有するゲーム媒体を売却する」とは、ユーザIDと所有ゲーム媒体との対応付けを解消し、且つ、ユーザIDに他のゲーム媒体(例えば、仮想通貨又はアイテム等)を所有ゲーム媒体として対応付けることを示す。また、「ユーザAが所有するゲーム媒体をユーザBに譲渡する」とは、ユーザAのユーザIDと所有ゲーム媒体との対応付けを解消し、且つ、ユーザBのユーザIDに当該ゲーム媒体を所有ゲーム媒体として対応付けることを示す。また、「ゲーム媒体を作成する」とは、ゲーム媒体に関する情報の少なくとも一部を定義又は決定することを示す。
Hereinafter, unless otherwise specified, the “game content owned by the user” refers to the game content associated with the user ID that can uniquely identify the user as the owned game content.
Further, “giving a game content to the user” means associating the game content with the user ID as the owned game content. Further, “discarding the game content owned by the user” indicates that the association between the user ID and the owned game content is canceled. Further, “consuming the game content owned by the user” indicates that some effect or influence can be generated in the game in accordance with the cancellation of the association between the user ID and the owned game content. In addition, “selling a game medium owned by the user” means that the association between the user ID and the owned game medium is canceled, and the user ID owns another game medium (for example, virtual currency or item). It shows that it is associated as a game medium. In addition, “transferring the game content owned by the user A to the user B” means that the correspondence between the user ID of the user A and the owned game content is canceled, and the user ID of the user B owns the game content. It shows that it is associated as a game medium. Further, “creating a game content” means defining or deciding at least a part of the information about the game content.
ゲームパートは、ゲーム内でユーザがプレイ可能なコンテンツであって、例えばクエスト、ミッション、ミニゲーム、ゲーム媒体の育成、強化、及び合成、ゲーム媒体入手イベント、仮想空間の探索イベント、並びに対戦相手(例えば、他のユーザ、敵キャラクタ、及び敵の建物等)との対戦イベント等を含む。各ゲームパートには、1つ以上の所定の課題(ゲーム課題)が設定されてもよい。例えば、ユーザによってプレイされるゲームパートに設定された1つ以上のゲーム課題の達成に成功したと判定された場合、ユーザに対して、例えばゲーム媒体等が報酬として付与されてもよい。ゲーム課題には、例えば敵キャラクタとの対戦に勝利するとの課題、仮想空間内のゴール地点まで到達するとの課題、及び所定時間が経過するまでユーザのキャラクタが所定の状態(例えば、行動不能の状態)にならないとの課題等、ゲームパートの内容に応じた任意の課題が採用可能である。また、ゲームパートに設定された1つ以上のゲーム課題のうち、特定の課題(クリア課題)が達成されることを、ゲームパートのクリアともいう。ゲームパートをプレイするユーザがクリア課題の達成に成功した場合、当該ゲームパートのクリアと判定され、当該ゲームパートが終了してもよい。 The game part is content that can be played by the user in the game, and includes, for example, quests, missions, mini games, training, strengthening, and composition of game media, game media acquisition events, virtual space search events, and opponents ( For example, it includes a battle event with other users, enemy characters, and enemy buildings). One or more predetermined tasks (game tasks) may be set for each game part. For example, when it is determined that one or more game tasks set in the game part played by the user have been successfully achieved, for example, a game content or the like may be given to the user as a reward. The game task includes, for example, a task of winning a battle with an enemy character, a task of reaching a goal point in the virtual space, and a user character in a predetermined state (e.g., incapable state) until a predetermined time elapses. It is possible to adopt any task according to the content of the game part, such as a task that does not become). In addition, achievement of a specific task (clear task) among one or more game tasks set for the game part is also referred to as clearing the game part. When the user who plays the game part succeeds in achieving the clear task, it may be determined that the game part has been cleared, and the game part may end.
例えば、ゲームをプレイするユーザは、3次元の仮想空間内のフィールド上に配置されたユーザキャラクタを操作する。ユーザ操作に応じてユーザキャラクタがフィールド上を移動する。フィールドには、例えば町及びダンジョン等の多様なエリアが設けられてもよい。例えば町の住人キャラクタとの会話イベント、及びダンジョン内で遭遇する敵キャラクタとの対戦イベント等、エリアに応じた多様なイベントが発生してもよい。イベントが実行されることによって、ゲームのストーリーが進行してもよい。ユーザが敵キャラクタとの対戦に勝利すると、例えばアイテム、仮想通貨、又はキャラクタ等のゲーム媒体がユーザに付与されてもよい。 For example, a user who plays a game operates a user character arranged on a field in a three-dimensional virtual space. A user character moves on the field according to a user operation. Various areas such as towns and dungeons may be provided in the field. For example, various events depending on the area may occur, such as a conversation event with a resident character in the town and a battle event with an enemy character encountered in the dungeon. The story of the game may proceed by executing the event. When the user wins the battle with the enemy character, for example, a game medium such as an item, virtual currency, or a character may be given to the user.
本実施形態に係るゲームにおいて、3次元の仮想空間内の仮想カメラを視点とし、透視投影によって当該仮想空間内のオブジェクトを仮想スクリーンに投影した2次元画像を含むゲーム画面が表示される。例えば、仮想スクリーンに投影されたオブジェクトの投影像が、ゲーム画面上に表示される。以下、画面上のオブジェクトを、当該オブジェクトの投影像ともいう。透視投影によるゲーム画面上では、仮想カメラからの距離に応じた遠近感が表現される。具体的には、仮想カメラとオブジェクトとの間の距離に応じて、当該オブジェクトの投影像の大きさが変化する。例えば、仮想空間内でオブジェクトが仮想カメラから離れるほど、当該オブジェクトの投影像が小さくなる。また、本実施形態に係るゲームにおいて、所定の条件を満たす場合には、仮想カメラからの距離に応じた当該オブジェクトの投影像の大きさの変化を低減するように、当該オブジェクト自体の大きさを補正する処理が実行される。本実施形態に係るゲームの処理の詳細については後述する。 In the game according to the present embodiment, a game screen including a two-dimensional image obtained by projecting an object in the virtual space on the virtual screen by perspective projection is displayed with the virtual camera in the three-dimensional virtual space as a viewpoint. For example, the projected image of the object projected on the virtual screen is displayed on the game screen. Hereinafter, the object on the screen is also referred to as a projected image of the object. On the game screen by perspective projection, a sense of perspective corresponding to the distance from the virtual camera is expressed. Specifically, the size of the projected image of the object changes according to the distance between the virtual camera and the object. For example, as the object moves away from the virtual camera in the virtual space, the projected image of the object becomes smaller. Further, in the game according to the present embodiment, when the predetermined condition is satisfied, the size of the object itself is reduced so as to reduce the change in the size of the projected image of the object according to the distance from the virtual camera. The correction process is executed. Details of the game process according to the present embodiment will be described later.
(情報処理装置の構成)
情報処理装置10の構成について具体的に説明する。情報処理装置10は、通信部11と、記憶部12と、表示部13と、入力部14と、制御部15と、を備える。
(Configuration of information processing device)
The configuration of the information processing device 10 will be specifically described. The information processing device 10 includes a communication unit 11, a
通信部11は、無線又は有線を介して外部装置と通信可能なインタフェースを含む。通信部11は、例えばLTE(Long Term Evolution)(登録商標)等のモバイル通信規格に対応する無線通信モジュール、無線LAN通信モジュール、又は有線LAN通信モジュール等を含んでもよい。 The communication unit 11 includes an interface capable of communicating with an external device wirelessly or by wire. The communication unit 11 may include, for example, a wireless communication module, a wireless LAN communication module, a wired LAN communication module, or the like that supports a mobile communication standard such as LTE (Long Term Evolution) (registered trademark).
記憶部12は、例えば一次記憶装置及び二次記憶装置を含む。記憶部12は、例えば半導体メモリ、磁気メモリ、又は光メモリ等を含んでもよい。記憶部12は、ゲームの処理に用いられる情報及びプログラムを記憶する。ゲームの処理に用いられる情報及びプログラムは、通信部11を介して外部装置から取得されてもよい。例えば、ゲームのアプリケーションプログラムが、所定のアプリケーション配信サーバから取得されてもよい。以下、アプリケーションプログラムを、単にアプリケーションともいう。また例えば、ゲームの処理に用いられる情報が、ゲーム提供者のサーバ装置から取得されてもよい。
The
表示部13は、例えば液晶ディスプレイ又は有機ELディスプレイ等の表示デバイスを含む。表示部13は、多様な画面を表示可能である。
The
入力部14は、情報処理装置10に対するユーザ操作を検出する入力インタフェースを含む。入力インタフェースは、例えば物理キー及びポインティングデバイス等を含んでもよい。ポインティングデバイスは、例えばマウス、タッチパッド、及び表示部13と一体的に設けられたタッチパネル等を含んでもよい。
The input unit 14 includes an input interface that detects a user operation on the information processing device 10. The input interface may include, for example, a physical key and a pointing device. The pointing device may include, for example, a mouse, a touch pad, and a touch panel integrally provided with the
制御部15は、1つ以上のプロセッサを含む。プロセッサは、特定のプログラムを読み込むことにより特定の機能を実現する汎用プロセッサ、及び特定の処理に特化した専用プロセッサを含んでもよい。制御部15は、情報処理装置10全体の動作を制御する。例えば制御部15は、表示部13に対するユーザ操作に応じてゲームのアプリケーションを実行する。また制御部15は、ゲームに関する多様な処理を実行する。
The control unit 15 includes one or more processors. The processor may include a general-purpose processor that realizes a specific function by reading a specific program, and a dedicated processor specialized for specific processing. The control unit 15 controls the overall operation of the information processing device 10. For example, the control unit 15 executes a game application according to a user operation on the
例えば制御部15は、図2及び図3に示すように、ワールド座標系が設定された3次元の仮想空間内に、フィールドオブジェクト20と、第1オブジェクト21と、第2オブジェクト22と、仮想カメラ24と、を配置する。図2においては、仮想カメラ24の図示を省略している。図3においては、第2オブジェクト22の図示を省略している。ワールド座標系は、例えばXw軸、Yw軸、及びZw軸を含む。
For example, as shown in FIG. 2 and FIG. 3, the control unit 15 controls the
フィールドオブジェクト20は、仮想のフィールド(例えば、地面)に対応する。フィールドオブジェクト20には、フィールド(例えば、地面)のテクスチャ画像が投影されていてもよい。フィールドオブジェクト20は、例えば実質的に厚みの無いシート状のオブジェクトであってもよい。
The
フィールドオブジェクト20の少なくとも一部は、曲面形状を有する。フィールドオブジェクト20全体が曲面形状であってもよい。曲面形状は、1つ以上の自由曲面で構成されてもよく、或いは複数のポリゴンで構成されてもよい。以下、フィールドオブジェクト20の曲面形状部分を、曲面部ともいう。例えば、フィールドオブジェクト20の曲面部の形状は、Zw軸正方向に凸である曲面形状に略一致してもよい。また例えば、フィールドオブジェクト20の曲面部の形状は、例えば図2及び図3に示すように、Yw−Zw平面上でZw軸正方向に凸である曲線がXw軸方向に延設された形状に略一致してもよい。
ここで、「曲面部の形状が所定形状に略一致する」とは、曲面部の形状が、当該所定形状と細部において異なってもよいことを示す。例えば、曲面部の形状は、当該所定形状の少なくとも一部に凹凸又は孔等を形成した形状であってもよい。
At least a part of the
Here, “the shape of the curved surface portion substantially matches the predetermined shape” means that the shape of the curved surface portion may differ from the predetermined shape in details. For example, the shape of the curved surface portion may be a shape in which irregularities or holes are formed in at least part of the predetermined shape.
フィールドオブジェクト20上は、後述するように第1オブジェクト21が移動可能な移動可能領域が設定されていてもよい。例えば、移動可能領域は、フィールド上の道等に対応し得る。フィールドオブジェクト20上には、第1オブジェクト21が進入できない進入禁止領域が設定されていてもよい。例えば、進入禁止領域は、フィールド上の川、池、及び海等に対応し得る。
A movable area in which the
第1オブジェクト21は、フィールドオブジェクト20上の移動可能領域内を移動可能なゲーム媒体に対応する。フィールドオブジェクト20上の移動可能領域内を移動可能なゲーム媒体は、例えばユーザが操作するユーザキャラクタ、ユーザキャラクタの後について自動的に移動する仲間キャラクタ、及び自動的に移動するNPC(Non Player Character)等を含んでもよい。第1オブジェクト21には、対応する第1ゲーム媒体のテクスチャ画像が投影されていてもよい。第1オブジェクト21は、フィールドオブジェクト20の、Zw軸正方向側の面上に配置される。本実施形態において、ユーザキャラクタに対応する第1オブジェクト21は、フィールドオブジェクト20上の対象領域23内に配置される。対象領域23は、上述した移動可能領域の少なくとも一部である。
The
第2オブジェクト22は、フィールドオブジェクト20上を移動しないゲーム媒体に対応する。フィールドオブジェクト20上を移動しないゲーム媒体は、例えば建物、壁、及び樹木等の設置物を含んでもよい。第2オブジェクト22には、対応する第2ゲーム媒体のテクスチャ画像が投影されていてもよい。第2オブジェクト22は、フィールドオブジェクト20の、Zw軸正方向側の面上に配置される。
The
第1オブジェクト21及び第2オブジェクト22の形状は、任意に定められる。例えば、第1オブジェクト21及び第2オブジェクト22は、厚みの無い平面形状であってもよい。
The shapes of the
配置された第1オブジェクト21及び第2オブジェクト22の向きは、仮想カメラ24に対して所定条件を満たすように、制御部15によって制御されてもよい。
The orientations of the arranged
例えば、所定条件は、第1オブジェクト21及び第2オブジェクト22に設定された特定方向が、仮想カメラ24の光軸25に略平行になるとの条件を含んでもよい。特定方向は、平面形状であるオブジェクトの法線方向であってもよい。或いは、特定方向は、オブジェクトに設定されたオブジェクト座標系によって示される任意の方向であってもよい。
For example, the predetermined condition may include a condition that the specific direction set for the
また例えば、所定条件は、第1オブジェクト21及び第2オブジェクト22に設定された特定方向が仮想カメラ24に向くとの条件を含んでもよい。
Further, for example, the predetermined condition may include a condition that the specific direction set for the
仮想カメラ24は、後述するフィールド画面を表示部13に表示させる処理に用いられる。仮想カメラ24の位置、向き、及び視野は、任意に定められる。
The
例えば図3に示すように、仮想カメラ24は、フィールドオブジェクト20に対してZw軸正方向側に位置してもよい。仮想カメラ24の向きは、光軸25がYw−Zw平面に略平行となるように定められてもよい。仮想カメラ24の向きは、光軸25がフィールドオブジェクト20と交わるように定められてもよい。仮想カメラ24から見て右方向が、Xw軸正方向と略一致してもよい。フィールドオブジェクト20の曲面部の法線と仮想カメラ24の光軸25に平行な直線との成す角度が、光軸25方向における仮想カメラ24からの距離に応じて異なってもよい。仮想カメラ24の視野内に対象領域23が含まれるように、仮想カメラ24の位置、向き、及び視野が定められてもよい。仮想カメラ24の視野内にフィールドオブジェクト20の曲面部の少なくとも一部が含まれるように、仮想カメラ24の位置、向き、及び視野が定められてもよい。仮想カメラ24の視野内に対象領域23が含まれる場合、後述するフィールド画面には、ユーザキャラクタに対応する第1オブジェクト21の少なくとも一部が含まれる。
For example, as shown in FIG. 3, the
制御部15は、仮想カメラ24を視点として仮想空間を眺めた透視投影によるゲーム画面を、表示部13に表示させる。詳細には、制御部15は、仮想カメラ24を視点とし、仮想空間内のオブジェクトを透視投影によって2次元平面に描画した2次元画像を生成する。制御部15は、当該2次元画像を含むゲーム画面を表示部13に表示させる。以下、当該2次元画像を含むゲーム画面を、フィールド画面ともいう。
The control unit 15 causes the
フィールド画面には、フィールドオブジェクト20の少なくとも一部と、第1オブジェクト21の少なくとも一部と、第2オブジェクト22の少なくとも一部と、が含まれ得る。例えば図4に示すフィールド画面には、フィールドオブジェクト20の一部と、ユーザキャラクタに対応し対象領域23内に位置する第1オブジェクト21と、建物に対応する第2オブジェクト22と、が含まれる。
The field screen may include at least a part of the
制御部15は、フィールドオブジェクト20、第1オブジェクト21、及び第2オブジェクト22のうち少なくとも1つを、仮想カメラ24に対して相対的に移動させる。仮想カメラ24に対してオブジェクトを相対的に移動させることは、仮想空間内で仮想カメラ24及びオブジェクトの少なくとも一方を移動させることを含む。上述したように、フィールドオブジェクト20上を移動しないゲーム媒体に対応する第2オブジェクト22は、フィールドオブジェクト20と一体的に移動する。
The control unit 15 moves at least one of the
仮想カメラ24に対して、ユーザキャラクタである第1オブジェクト21を相対的に移動させる処理について詳細に説明する。制御部15は、第1オブジェクト21が対象領域23内に位置している場合、ユーザ操作に応じて又は自動的に、対象領域23内において、第1オブジェクト21を仮想カメラ24に対して相対的に移動させる。このとき、第1オブジェクト21は、フィールドオブジェクト20に対しても相対的に移動している。したがって、フィールド画面上では、フィールドオブジェクト20は移動せず、第1オブジェクト21が対象領域23内において移動する。
The process of relatively moving the
移動する第1オブジェクト21が対象領域23の端に到達すると、制御部15は、第1オブジェクト21の仮想カメラ24に対する相対的な移動を停止させる。一方、制御部15は、第1オブジェクト21のフィールドオブジェクト20に対する相対的な移動を継続する。換言すると、制御部15は、仮想カメラ24に対してある方向に相対移動する第1オブジェクト21を停止させ、且つ、仮想カメラ24に対してフィールドオブジェクト20を当該方向とは逆方向に相対移動させる。したがって、フィールド画面上では、第1オブジェクト21は移動せず、フィールドオブジェクト20が移動する。
When the moving
仮想カメラ24に対してフィールドオブジェクト20を相対的に移動させる処理について、詳細に説明する。例えば、制御部15は、移動する第1オブジェクト21が対象領域23のXw軸正方向の端に到達すると、フィールドオブジェクト20をXw軸負方向に平行移動させる。反対に、制御部15は、移動する第1オブジェクト21が対象領域23のXw軸負方向の端に到達すると、フィールドオブジェクト20をXw軸正方向に平行移動させる。フィールドオブジェクト20がXw軸方向に平行移動することによって、フィールド画面上では、フィールドオブジェクト20が左右方向に移動する。
The process of moving the
また例えば、制御部15は、移動する第1オブジェクト21が、仮想カメラ24から見て対象領域23の手前側の端に到達すると、フィールドオブジェクト20を奥側に向かってスライド移動させる。反対に、制御部15は、移動する第1オブジェクト21が、仮想カメラ24から見て対象領域23の奥側の端に到達すると、フィールドオブジェクト20を手前側に向かってスライド移動させる。上述したように、フィールドオブジェクト20は、例えば実質的に厚みの無いシート状のオブジェクトである。フィールドオブジェクト20のスライド移動は、例えば図3の両矢印で示すようにYw−Zw平面に略平行な面によるフィールドオブジェクト20の断面形状を含む軌道に沿って、シート状のフィールドオブジェクト20が送り出されるように移動する態様を含んでもよい。フィールドオブジェクト20がスライド移動することによって、フィールド画面上では、フィールドオブジェクト20が奥側又は手前側に向かってスライド移動する。
Further, for example, when the moving
仮想カメラ24に対してフィールドオブジェクト20を相対的に移動させる場合、制御部15は、仮想カメラ24とフィールドオブジェクト20との相対的位置関係に応じて、フィールドオブジェクト20上の対象領域23の位置、大きさ、及び形状のうち少なくとも1つを変化させる。仮想カメラ24に対してフィールドオブジェクト20を相対的に移動させることは、仮想空間内において仮想カメラ24及びフィールドオブジェクト20の少なくとも一方を移動させることを含む。
When the
例えば、制御部15は、仮想カメラ24の視野内に対象領域23が含まれるように、フィールドオブジェクト20上の対象領域23の位置を変化させてもよい。制御部15は、仮想カメラ24に対する対象領域23の相対的位置を維持するように、フィールドオブジェクト20上の対象領域23の位置を変化させてもよい。
For example, the control unit 15 may change the position of the
また例えば、制御部15は、仮想カメラ24の視野内に含まれるフィールドオブジェクト20上の移動可能領域に応じて、フィールドオブジェクト20上の対象領域23の大きさ及び形状の少なくとも一方を変化させてもよい。具体例として、フィールドオブジェクト20上の移動可能領域が道である例について説明する。ユーザキャラクタである第1オブジェクト21がフィールドオブジェクト20上の道を進むに従って、例えば道の幅及び形状が変化する場合がある。かかる場合、制御部15は、仮想カメラ24の視野内に含まれる道の幅及び形状に応じて、対象領域23の大きさ及び形状の少なくとも一方を変化させてもよい。
Further, for example, the control unit 15 may change at least one of the size and shape of the
また例えば、フィールドオブジェクト20の形状(例えば、曲面部の曲率等)が変化し得る構成において、制御部15は、フィールドオブジェクト20の形状の変化に応じて、フィールドオブジェクト20上の対象領域23の位置、大きさ、及び形状のうち少なくとも1つを変化させてもよい。
Further, for example, in a configuration in which the shape of the field object 20 (for example, the curvature of the curved surface portion) can change, the control unit 15 changes the position of the
制御部15は、仮想カメラ24の光軸25方向における仮想カメラ24と第1オブジェクト21との間の距離に応じて、当該第1オブジェクト21の大きさを補正する。以下、光軸25方向における仮想カメラ24からの距離を、光軸方向距離ともいう。第1オブジェクト21の大きさを補正することによって、例えば、透視投影による第1オブジェクト21の投影像の大きさの変化が低減され得る。以下、詳細に説明する。
The control unit 15 corrects the size of the
上述したように、透視投影によれば、光軸方向距離に応じてオブジェクトの投影像の大きさが変化する。具体的には、オブジェクトの投影像は、光軸方向距離が短いほど大きくなり、光軸方向距離が長いほど小さくなる。これに対して、オブジェクト自体の大きさを、光軸方向距離が短いほど小さくし、光軸方向距離が長いほど大きくすることによって、光軸方向距離に対するオブジェクトの投影像の大きさの変化を低減することができる。例えば図5に示すように、光軸方向距離がnからn±dに変化する場合、オブジェクト自体の大きさを倍率α=(n±d)/nで補正すると、光軸方向距離の変化前後で当該オブジェクトの投影像の大きさが等しくなる。 As described above, according to the perspective projection, the size of the projected image of the object changes according to the distance in the optical axis direction. Specifically, the projected image of the object becomes larger as the distance in the optical axis direction becomes shorter, and becomes smaller as the distance in the optical axis direction becomes longer. On the other hand, the size of the object itself is made smaller as the distance in the optical axis direction becomes shorter and becomes larger as the distance in the optical axis direction becomes longer, thereby reducing the change in the size of the projected image of the object with respect to the distance in the optical axis direction. can do. For example, as shown in FIG. 5, when the distance in the optical axis direction changes from n to n±d, if the size of the object itself is corrected by the magnification α=(n±d)/n, the distance before and after the change in the optical axis direction is changed. Then, the sizes of the projected images of the object become equal.
制御部15は、図6に示すように、第1オブジェクト21の光軸方向距離が第1範囲内である場合、光軸方向距離が長くなるほど当該第1オブジェクト21を大きくし、光軸方向距離が短くなるほど当該第1オブジェクト21を小さくする。第1範囲は、フィールドオブジェクト20上の対象領域23に対応する、仮想カメラ24の光軸25方向における距離の範囲(即ち、光軸方向距離の範囲)である。第1範囲は、光軸方向距離をLとして、例えば次式(1)で示されてもよい。
n−d≦L≦n+d (1)
制御部15は、光軸方向距離Lに応じた倍率αで、第1オブジェクト21の大きさを補正してもよい。補正によって、第1オブジェクト21の大きさが変化し得る。光軸方向距離Lが第1範囲内である場合における第1オブジェクト21の大きさの倍率αは、例えば次式(2)で示されてもよい。
α=L/n (n−d≦L≦n+d) (2)
As shown in FIG. 6, when the optical axis direction distance of the
n−d≦L≦n+d (1)
The control unit 15 may correct the size of the
α=L/n (n−d≦L≦n+d) (2)
かかる構成によって奏される効果について、第1オブジェクト21の大きさを補正しない場合と比較して説明する。
The effect produced by such a configuration will be described in comparison with the case where the size of the
図7に示すように、仮に、第1オブジェクト210の大きさを補正しない場合には、必ずしもフィールド画面の視認性が十分でない場合がある。具体的には、透視投影によれば、第1オブジェクト210の光軸方向距離Lが短くなるほど、第1オブジェクト210の投影像が大きくなる(図中の第1オブジェクト210aに対する第1オブジェクト210b)。フィールド画面上で手前側に位置する第1オブジェクト210bの投影像は、比較的大きい。このため、第1オブジェクト210bの影に他のオブジェクトが隠れる蓋然性が増加するので、画面の視認性が必ずしも十分でない。一方、第1オブジェクト210の光軸方向距離Lが長くなるほど、第1オブジェクト210の投影像が小さくなる(図中の第1オブジェクト210aに対する第1オブジェクト210c)。フィールド画面上で奥側に位置する第1オブジェクト210cの投影像は、比較的小さい。このため、第1オブジェクト210cの視認性が必ずしも十分でない。
As shown in FIG. 7, if the size of the
これに対して、制御部15は、例えば第1オブジェクト21が対象領域23内で移動する場合、光軸方向距離Lに応じ第1オブジェクト21の大きさを補正する。詳細には、第1オブジェクト21が対象領域23内に存在する場合、第1オブジェクト21の光軸方向距離は上述した第1範囲内である。制御部15は、例えば上述した式(2)で算出される倍率αを用いて、第1オブジェクト21の大きさを補正してもよい。第1オブジェクト21の大きさが倍率αで補正されることによって、例えば図7に示すように、第1オブジェクト21の投影像の大きさが、対象領域23内において一定となり得る(図中の第1オブジェクト21aに対する第1オブジェクト21b及び21c)。上述したように、対象領域23は、ユーザキャラクタに対応する第1オブジェクト21が存在し得るフィールドオブジェクト20上の領域である。このため、ユーザキャラクタを操作するユーザは、フィールド画面上の対象領域23に注目する蓋然性が高い。したがって、注目される蓋然性の高い対象領域23内において、第1オブジェクト21の投影像の大きさの変化が低減されるので、フィールド画面の視認性が向上する。
On the other hand, for example, when the
制御部15は、例えばNPC等、ユーザキャラクタ以外の第1ゲーム媒体に対応する第1オブジェクト211の光軸方向距離Lが第2範囲内である場合、光軸方向距離Lが長くなるほど当該第1オブジェクト211を小さくし、光軸方向距離Lが短くなるほど当該第1オブジェクト211を大きくする。第2範囲は、仮想カメラ24の光軸25方向における距離の範囲(即ち、光軸方向距離Lの範囲)である。第2範囲は、例えば次式(3)で示されてもよい。
n−d−e≦L≦n−d,n+d≦L≦n+d+e (3)
光軸方向距離Lが第2範囲内である場合における第1オブジェクト211の大きさの倍率αは、例えば次式(4)で示されてもよい。
n−d−e≦L≦n−d, n+d≦L≦n+d+e (3)
The magnification α of the size of the
かかる構成によれば、以下に説明するように、フィールド画面の違和感が低減される。
例えば図6に示すように、光軸方向距離L=n±dであるとき、倍率α=(n±d)/nである。したがって、第1オブジェクト211がフィールド画面上で対象領域の手前側又は奥側の端に位置するとき、第1オブジェクト211の倍率αは1ではなくなっている。
倍率α≠1である場合、例えば第2オブジェクト22と、倍率α≠1で補正された第1オブジェクト211と、の縮尺が一致しない。これに対して、第1オブジェクト211がフィールド画面上で対象領域23から手前側又は奥側へ離れていくと、上述した第2範囲において、当該第1オブジェクト211の大きさの倍率αが1に近づく。このため、例えば第2オブジェクト22と、フィールド画面上で対象領域23から手前側又は奥側に離れた第1オブジェクト211と、の縮尺が一致するので、フィールド画面の違和感が低減される。
With such a configuration, as will be described below, the sense of discomfort in the field screen is reduced.
For example, as shown in FIG. 6, when the optical axis direction distance L=n±d, the magnification α=(n±d)/n. Therefore, when the
When the magnification α≠1, for example, the scales of the
制御部15は、例えばNPCに対応する第1オブジェクト211の光軸方向距離Lが第3範囲内である場合、光軸方向距離Lによらず、第1オブジェクト211の大きさを一定に維持する。換言すると、制御部15は、光軸方向距離Lに応じた第1オブジェクト211の大きさの変化を停止させる。第3範囲は、仮想カメラ24の光軸25方向における距離の範囲(即ち、光軸方向距離Lの範囲)である。第3範囲は、例えば次式(5)で示されてもよい。
L≦n−d−e,n+d+e≦L (5)
光軸方向距離Lが第3範囲内である場合における第1オブジェクト211の大きさの倍率αは、例えば次式(6)で示されてもよい。
α=1 (L≦n−d−e,n+d+e≦L) (6)
For example, when the optical axis direction distance L of the
L≦n−d−e, n+d+e≦L (5)
The magnification α of the size of the
α=1 (L≦n−d−e, n+d+e≦L) (6)
図7を参照して、光軸方向距離Lに応じて第1オブジェクト21及び211の大きさが補正される場合における、第1オブジェクト21及び211の投影像の大きさについて説明する。図7に示す領域A、B、及びCは、それぞれ上述した第1範囲、第2範囲、及び第3範囲に対応する、フィールド画面上の領域である。領域Aにおいて、第1オブジェクト21及び211の投影像の大きさは一定となり得る(図中の第1オブジェクト21a−21c、211a、及び211b参照)。領域Bにおいて、第1オブジェクト211が領域Aの手前側の端又は奥側の端から離れるにしたがって、第1オブジェクト211の大きさの倍率αが1に近づくように変化しつつ(即ち、第2オブジェクト22と同一の縮尺に近づきつつ)、第1オブジェクト211の投影像の大きさが透視投影により変化する(図中の第1オブジェクト211c及び211e参照)。領域Cにおいて、第1オブジェクトの倍率αは1のまま、第1オブジェクト211の投影像の大きさが透視投影により変化する(図中の第1オブジェクト211d参照)。
The size of the projected image of the
例えば図6に示すように、上述の例では、第1範囲及び第2範囲において、倍率αは、光軸方向距離Lに対して直線的に変化している。しかしながら、光軸方向距離Lに対する倍率αの変化は、直線的な変化に限られない。例えば図8に示すように、第1範囲及び第2範囲において、倍率αが、光軸方向距離Lに対して曲線的に変化してもよい。 For example, as shown in FIG. 6, in the above example, the magnification α changes linearly with respect to the optical axis direction distance L in the first range and the second range. However, the change in the magnification α with respect to the optical axis direction distance L is not limited to the linear change. For example, as shown in FIG. 8, in the first range and the second range, the magnification α may change in a curve with respect to the optical axis direction distance L.
図9を参照して、情報処理装置10の動作について説明する。 The operation of the information processing device 10 will be described with reference to FIG. 9.
ステップS100:制御部15は、3次元の仮想空間内に、仮想カメラ24と、フィールドオブジェクト20と、第1オブジェクト21と、第2オブジェクト22と、を配置する。
Step S100: The control unit 15 arranges the
ステップS101:制御部15は、仮想カメラ24を視点として、仮想空間を眺めた透視投影によるゲーム画面を、表示部13に表示させる。
Step S101: The control unit 15 causes the
ステップS102:制御部15は、フィールドオブジェクト20、第1オブジェクト21、及び第2オブジェクト22のうち少なくとも1つを、仮想カメラ24に対して相対的に移動させる。
Step S102: The control unit 15 moves at least one of the
ステップS103:制御部15は、仮想カメラ24の光軸25方向における仮想カメラ24と第1オブジェクト21との間の距離に応じて、当該第1オブジェクト21の大きさを補正する。補正によって、第1オブジェクト21の大きさが変化し得る。その後、プロセスはステップS102に戻る。
Step S103: The control unit 15 corrects the size of the
以上述べたように、本実施形態に係る情報処理装置10は、仮想カメラ24の光軸25方向における仮想カメラ24と第1オブジェクト21との間の距離に応じて、第1オブジェクト21の大きさを補正する。かかる構成によれば、例えば、透視投影による第1オブジェクト21の投影像の大きさの変化が低減され得るので、フィールド画面の視認性を向上可能である。
As described above, the information processing apparatus 10 according to the present embodiment determines the size of the
本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。したがって、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各手段、各ステップ等に含まれる機能等は論理的に矛盾しないように再配置可能であり、複数の手段やステップ等を1つに組み合わせたり、或いは分割したりすることが可能である。 Although the present invention has been described based on the drawings and the embodiments, it should be noted that those skilled in the art can easily make various variations and modifications based on the present disclosure. Therefore, it should be noted that these variations and modifications are included in the scope of the present invention. For example, the functions and the like included in each means and each step can be rearranged so as not to logically contradict each other, and a plurality of means and steps can be combined or divided into one. ..
例えば、上述した実施形態では、光軸方向距離Lに応じて第1オブジェクト21の大きさを補正することによって、第1オブジェクト21の投影像の大きさを制御する構成について説明した。他の実施形態において、第1オブジェクト21の大きさを補正することなく、第1オブジェクト21の投影像の大きさを補正する構成であってもよい。
For example, in the above-described embodiment, the configuration in which the size of the projected image of the
具体的には、制御部15は、第1オブジェクト21の光軸方向距離が第1範囲内である場合、光軸方向距離が長くなるほど当該第1オブジェクト21の投影像を大きくし、光軸方向距離が短くなるほど当該第1オブジェクト21の投影像を小さくしてもよい。制御部15は、ユーザキャラクタ以外の第1ゲーム媒体に対応する第1オブジェクト211の光軸方向距離が第2範囲内である場合、光軸方向距離が長くなるほど当該第1オブジェクト211の投影像を小さくし、光軸方向距離が短くなるほど当該第1オブジェクト211の投影像を大きくしてもよい。制御部15は、第1オブジェクト211の光軸方向距離が第3範囲内である場合、光軸方向距離によらず、第1オブジェクト211の投影像の大きさを一定に維持してもよい。
Specifically, when the distance in the optical axis direction of the
また、上述した実施形態にかかるゲームは、ロールプレイングゲーム又はシミュレーションゲーム等であるものとして説明したが、本発明は、ゲーム内のフィールド上でゲーム媒体を移動させる多様なジャンルのゲームに適用可能である。 Further, although the game according to the above-described embodiment has been described as being a role playing game, a simulation game, or the like, the present invention can be applied to games of various genres in which the game medium is moved on the field in the game. is there.
また、上述した実施形態において、各種のゲーム画面の一部を、情報処理装置10との間で通信可能なサーバ装置が生成したデータに基づいて情報処理装置10に表示させるウェブ表示とし、ゲーム画面の一部(例えば、メニューボタンが配されるヘッダ領域及びフッタ領域)を、情報処理装置10にインストールされているネイティブアプリによって表示させるネイティブ表示としてもよい。このように、上述した実施形態に係るゲームは、情報処理装置10及びサーバ装置のそれぞれが処理の一部を担うハイブリッドゲームとすることもできる。 In addition, in the above-described embodiment, a part of various game screens is a web display displayed on the information processing device 10 based on data generated by a server device that can communicate with the information processing device 10. A part (for example, a header area and a footer area where menu buttons are arranged) may be a native display displayed by a native application installed in the information processing device 10. As described above, the game according to the above-described embodiment may be a hybrid game in which each of the information processing device 10 and the server device plays a part of processing.
また、上述した実施形態に係る情報処理装置10として機能させるために、コンピュータ又は携帯電話等、情報処理を実行可能な装置を好適に用いることができる。このような装置は、実施形態に係る情報処理装置10の各機能を実現する処理内容を記述したプログラムを、装置の記憶部に格納し、装置のCPUによって当該プログラムを読み出して実行させることにより実現可能である。 Moreover, in order to make it function as the information processing apparatus 10 according to the above-described embodiment, an apparatus capable of executing information processing, such as a computer or a mobile phone, can be preferably used. Such a device is realized by storing a program describing the processing content for realizing each function of the information processing device 10 according to the embodiment in a storage unit of the device and reading and executing the program by the CPU of the device. It is possible.
10 情報処理装置
11 通信部
12 記憶部
13 表示部
14 入力部
15 制御部
20 フィールドオブジェクト
21、21a−21c、210a−210c、211a−211e 第1オブジェクト
22 第2オブジェクト
23 対象領域
24 仮想カメラ
25 光軸
10 information processing device 11
Claims (8)
前記仮想カメラを視点として、前記フィールドオブジェクト及び前記オブジェクトを透視投影により投影した2次元画像を含むゲーム画面を表示するステップと、
前記フィールドオブジェクト及び前記オブジェクトの少なくとも一方を、前記仮想カメラに対して相対的に移動させるステップと、
前記オブジェクトのうちユーザによって操作可能なオブジェクトが前記フィールドオブジェクト上の所定の範囲外である場合、前記ゲーム画面内の前記オブジェクトに対応する画像の大きさを変更し、前記オブジェクトのうちユーザによって操作可能なオブジェクトが前記フィールドオブジェクト上の前記所定の範囲内である場合、前記ゲーム画面内の前記オブジェクトに対応する画像の大きさを変更しない補正ステップと、
を情報処理装置に実行させ、
前記所定の範囲は、前記フィールドオブジェクトを含む前記ゲーム画面を表示した際に前記オブジェクトのうちユーザによって操作可能なオブジェクトが移動可能な領域に含まれる、
ことを特徴とするためのプログラム。 Arranging a virtual camera, a field object, and an object located on the field object in a three-dimensional virtual space,
Displaying a game screen including a two-dimensional image obtained by projecting the field object and the object by perspective projection with the virtual camera as a viewpoint;
Moving at least one of the field object and the object relative to the virtual camera;
If an object of the objects that can be operated by the user is outside the predetermined range on the field object, the size of the image corresponding to the object in the game screen is changed, and the object of the object can be operated by the user. If the object is within the predetermined range on the field object, a correction step of not changing the size of the image corresponding to the object in the game screen,
To the information processing device,
The predetermined range is included in an area in which an object operable by a user among the objects can be moved when the game screen including the field object is displayed.
A program to characterize that.
前記仮想カメラと前記フィールドオブジェクトとの相対的位置関係に応じて、前記フィールドオブジェクト上の前記所定の範囲の位置、大きさ、及び形状のうち少なくとも1つが変化する、プログラム。 The program according to claim 1,
A program in which at least one of the position, size, and shape of the predetermined range on the field object changes according to the relative positional relationship between the virtual camera and the field object.
前記フィールドオブジェクトの形状の変化に応じて、前記フィールドオブジェクト上の前記所定の範囲の位置、大きさ、及び形状のうち少なくとも1つが変化する、プログラム。 The program according to any one of claims 1 and 2,
A program that changes at least one of the position, size, and shape of the predetermined range on the field object according to the change of the shape of the field object.
前記フィールドオブジェクトは、曲面部を有し、
前記曲面部の法線と前記仮想カメラの光軸に平行な直線との成す角度が、前記仮想カメラの光軸方向における前記仮想カメラからの距離に応じて異なる、プログラム。 The program according to any one of claims 1 to 3,
The field object has a curved surface portion,
A program in which an angle formed by a normal line of the curved surface portion and a straight line parallel to the optical axis of the virtual camera differs depending on a distance from the virtual camera in the optical axis direction of the virtual camera.
前記オブジェクトは、前記フィールドオブジェクト上を移動可能な第1オブジェクト及び前記フィールドオブジェクト上を移動しない第2オブジェクトを含み、
前記補正ステップにおいて、前記第1オブジェクトの大きさを補正する、プログラム。 The program according to any one of claims 1 to 4,
The object includes a first object movable on the field object and a second object not moving on the field object,
A program for correcting the size of the first object in the correction step.
前記オブジェクトがユーザによる操作で又は自動で前記所定の範囲内を移動する場合、前記オブジェクトが前記所定の範囲内の端に到達すると、前記フィールドオブジェクトは前記仮想カメラに対して相対的に移動する、プログラム。 The program according to any one of claims 1 to 5,
When the object moves within the predetermined range by a user operation or automatically, when the object reaches an end within the predetermined range, the field object moves relative to the virtual camera. program.
前記制御部は、
3次元の仮想空間内に、仮想カメラと、フィールドオブジェクトと、前記フィールドオブジェクト上に位置するオブジェクトと、を配置し、
前記仮想カメラを視点として、前記フィールドオブジェクト及び前記オブジェクトを透視投影により投影した2次元画像を含むゲーム画面を前記表示部に表示させ、
前記フィールドオブジェクト及び前記オブジェクトの少なくとも一方を、前記仮想カメラに対して相対的に移動させ、
前記オブジェクトのうちユーザによって操作可能なオブジェクトが前記フィールドオブジェクト上の所定の範囲外である場合、前記ゲーム画面内の前記オブジェクトに対応する画像の大きさを変更し、前記オブジェクトのうちユーザによって操作可能なオブジェクトが前記フィールドオブジェクト上の前記所定の範囲内である場合、前記ゲーム画面内の前記オブジェクトに対応する画像の大きさを変更せず、
前記所定の範囲は、前記フィールドオブジェクトを含む前記ゲーム画面を表示した際に前記オブジェクトのうちユーザによって操作可能なオブジェクトが移動可能な領域に含まれる、
ことを特徴とする、情報処理装置。 A display unit and a control unit,
The control unit is
A virtual camera, a field object, and an object located on the field object are arranged in a three-dimensional virtual space,
A game screen including a two-dimensional image obtained by projecting the field object and the object by perspective projection from the virtual camera as a viewpoint,
At least one of the field object and the object is moved relative to the virtual camera,
If an object of the objects that can be operated by the user is outside the predetermined range on the field object, the size of the image corresponding to the object in the game screen is changed, and the object of the object can be operated by the user. When the object is within the predetermined range on the field object, the size of the image corresponding to the object in the game screen is not changed,
The predetermined range is included in an area in which an object operable by a user among the objects can be moved when the game screen including the field object is displayed.
An information processing device, characterized in that
3次元の仮想空間内に、仮想カメラと、フィールドオブジェクトと、前記フィールドオブジェクト上に位置するオブジェクトと、を配置するステップと、
前記仮想カメラを視点として、前記フィールドオブジェクト及び前記オブジェクトを透視投影により投影した2次元画像を含むゲーム画面を表示するステップと、
前記フィールドオブジェクト及び前記オブジェクトの少なくとも一方を、前記仮想カメラに対して相対的に移動させるステップと、
前記オブジェクトのうちユーザによって操作可能なオブジェクトが前記フィールドオブジェクト上の所定の範囲外である場合、前記ゲーム画面内の前記オブジェクトに対応する画像の大きさを変更し、前記オブジェクトのうちユーザによって操作可能なオブジェクトが前記フィールドオブジェクト上の前記所定の範囲内である場合、前記ゲーム画面内の前記オブジェクトに対応する画像の大きさを変更しない補正ステップと、
を含み、
前記所定の範囲は、前記フィールドオブジェクトを含む前記ゲーム画面を表示した際に前記オブジェクトのうちユーザによって操作可能なオブジェクトが移動可能な領域に含まれる、
ことを特徴とする、制御方法。 A method of controlling an information processing device, comprising:
Arranging a virtual camera, a field object, and an object located on the field object in a three-dimensional virtual space,
Displaying a game screen including a two-dimensional image obtained by projecting the field object and the object by perspective projection with the virtual camera as a viewpoint;
Moving at least one of the field object and the object relative to the virtual camera;
If an object of the objects that can be operated by the user is outside the predetermined range on the field object, the size of the image corresponding to the object in the game screen is changed, and the object of the object can be operated by the user. If the object is within the predetermined range on the field object, a correction step of not changing the size of the image corresponding to the object in the game screen,
Including
The predetermined range is included in an area in which an object operable by a user among the objects can be moved when the game screen including the field object is displayed.
A control method characterized by the above.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018095679A JP6737836B2 (en) | 2018-05-17 | 2018-05-17 | Program, information processing apparatus, and control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2018095679A JP6737836B2 (en) | 2018-05-17 | 2018-05-17 | Program, information processing apparatus, and control method |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2017069795A Division JP6343055B1 (en) | 2017-03-31 | 2017-03-31 | Program, information processing apparatus, and control method |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020121890A Division JP7001767B2 (en) | 2020-07-16 | 2020-07-16 | Programs, information processing devices, and control methods |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018171456A JP2018171456A (en) | 2018-11-08 |
| JP6737836B2 true JP6737836B2 (en) | 2020-08-12 |
Family
ID=64106882
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2018095679A Active JP6737836B2 (en) | 2018-05-17 | 2018-05-17 | Program, information processing apparatus, and control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6737836B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111897432B (en) * | 2020-08-03 | 2025-02-25 | 联想(北京)有限公司 | Position determination method, device and electronic device |
| CN115482326A (en) * | 2022-10-14 | 2022-12-16 | 网易(杭州)网络有限公司 | Method, device and storage medium for adjusting display size of rendering target |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4234089B2 (en) * | 2004-11-16 | 2009-03-04 | 株式会社ソニー・コンピュータエンタテインメント | Entertainment device, object display device, object display method, program, and character display method |
| JP4863435B2 (en) * | 2005-05-13 | 2012-01-25 | 任天堂株式会社 | GAME PROGRAM, GAME DEVICE, GAME SYSTEM, AND GAME PROCESSING METHOD |
| JP2008229000A (en) * | 2007-03-20 | 2008-10-02 | Samii Kk | Image generator, game machine and program |
| JP2011096017A (en) * | 2009-10-29 | 2011-05-12 | Namco Bandai Games Inc | Program, information storage medium and terminal |
| JP5887160B2 (en) * | 2012-02-15 | 2016-03-16 | 任天堂株式会社 | Image processing system, game system, image processing method, image processing apparatus, and computer program |
-
2018
- 2018-05-17 JP JP2018095679A patent/JP6737836B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2018171456A (en) | 2018-11-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6343055B1 (en) | Program, information processing apparatus, and control method | |
| CN108686374B (en) | game system | |
| EP2466445A1 (en) | Input direction determination terminal, method and computer program product | |
| CN111971098B (en) | Game system and game providing method | |
| JP6208785B2 (en) | Program, game control method, and information processing apparatus | |
| JP2019136358A (en) | Game system and program | |
| US11847714B2 (en) | Information processing device, information processing method, and information processing program | |
| JP6872401B2 (en) | Game system and programs | |
| US20170239570A1 (en) | Information storage medium, server, and game device | |
| JP5942031B1 (en) | Program, game control method, and information processing apparatus | |
| JP6737836B2 (en) | Program, information processing apparatus, and control method | |
| CN101336122B (en) | Game machine, game machine control method | |
| JP7507442B2 (en) | PROGRAM, INFORMATION PROCESSING APPARATUS, AND CONTROL METHOD | |
| JP5977878B1 (en) | Program, game control method, and information processing apparatus | |
| JP6807732B2 (en) | Programs, game control methods, and information processing equipment | |
| JP7001767B2 (en) | Programs, information processing devices, and control methods | |
| JP7239670B2 (en) | Program, information processing device, and control method | |
| JP6960214B2 (en) | Programs, game control methods, and information processing equipment | |
| JP7849798B2 (en) | Information processing device, information processing method, and program | |
| JP6030258B1 (en) | Program, game control method, and information processing apparatus | |
| JP7325758B2 (en) | Information processing device, information processing method, information processing program | |
| JP2010117900A (en) | Program, information storage medium, polygon model creation device, and polygon model creation method | |
| JP2025044068A (en) | PROGRAM, INFORMATION PROCESSING APPARATUS AND INFORMATION PROCESSING METHOD | |
| JP6069571B1 (en) | Program, game control method, and information processing apparatus | |
| JP2022091906A (en) | Programs, game control methods, and information processing equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20180613 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180613 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190419 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190514 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190716 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20191203 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200114 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200316 |
|
| 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: 20200616 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200716 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6737836 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 |
|
| S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |