JP2016218774A - program - Google Patents

program Download PDF

Info

Publication number
JP2016218774A
JP2016218774A JP2015103485A JP2015103485A JP2016218774A JP 2016218774 A JP2016218774 A JP 2016218774A JP 2015103485 A JP2015103485 A JP 2015103485A JP 2015103485 A JP2015103485 A JP 2015103485A JP 2016218774 A JP2016218774 A JP 2016218774A
Authority
JP
Japan
Prior art keywords
input
axis
player
touch panel
program
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.)
Pending
Application number
JP2015103485A
Other languages
Japanese (ja)
Inventor
遼 根岸
Ryo NEGISHI
遼 根岸
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.)
Colopl Inc
Original Assignee
Colopl Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Colopl Inc filed Critical Colopl Inc
Priority to JP2015103485A priority Critical patent/JP2016218774A/en
Publication of JP2016218774A publication Critical patent/JP2016218774A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a program for giving an intuitive operation feeling to a player.SOLUTION: A program is executed by use of a terminal device with a touch panel, and is configured to control a first object in a virtual space to be moved by a player operating the touch panel. The terminal functions as: a display unit which displays a first part including the virtual space and the fist object, a second part for controlling the first object, and a second object which changes in a display state in accordance with a control state of the first object, on the touch panel; and a detection unit for detecting an input position where a player touches the second part. The first object is controlled on the basis of a distance between the input position and a reference position included in the second part.SELECTED DRAWING: Figure 4B

Description

本発明はプログラムに関し、特に仮想空間においてプレイヤ操作による移動体の移動を制御するためのユーザインターフェースを備えたゲームプログラムに関する。   The present invention relates to a program, and more particularly to a game program provided with a user interface for controlling movement of a moving body by a player operation in a virtual space.

I
特許文献1には、スマートフォン等のタッチパネルを備える端末装置を利用して実行されるレーシングゲーム用のプログタムが開示されている。このプログラムは、インターネットを介してサーバからダウンロードすることによって端末装置で実行可能であり、タッチパネルに表示される所定の操作キーを操作することによって仮想空間内のレーシングカーの移動方向や速度が制御される。特許文献2にも、タッチパネルに対するプレイヤの接触操作によって移動体の移動方向や速度が制御される技術が開示されている
I
Patent Document 1 discloses a racing game program executed using a terminal device including a touch panel such as a smartphone. This program can be executed by a terminal device by downloading from a server via the Internet, and the moving direction and speed of the racing car in the virtual space are controlled by operating predetermined operation keys displayed on the touch panel. The Patent Document 2 also discloses a technique in which the moving direction and speed of a moving body are controlled by a player's touch operation on the touch panel.

特許第5390433号公報Japanese Patent No. 5390433 特許第4636845号公報Japanese Patent No. 4636845

仮想空間におけるゲームオブジェクトを操作することによって進行するゲームにおいては、プレイヤに直感的な操作感を提供することが重要である。特許文献1,2のレーシングゲームでは、移動体の制御をプレイヤが直感的に把握可能にする点において、改良の余地がある。   In a game that progresses by operating a game object in a virtual space, it is important to provide the player with an intuitive operational feeling. In the racing games of Patent Documents 1 and 2, there is room for improvement in that the player can intuitively grasp the control of the moving body.

本発明は、プレイヤに直感的な操作感を提供できるプログラムを提供することを目的とする。   An object of this invention is to provide the program which can provide an intuitive operation feeling to a player.

本発明の一側面に係るプログラムは、タッチパネルを備える端末装置を利用して実行され、プレイヤのタッチパネルに対する操作によって仮想空間内の第1オブジェクトを移動させるように制御するプログラムであって、端末を、タッチパネルに、仮想空間および第1オブジェクトを含む第1部分と、第1オブジェクトを制御するための第2部分と、第1オブジェクトの制御状態に応じて表示状態が変化する第2オブジェクトと、を表示させる表示部と、第2部分に対してプレイヤの接触が入力される入力位置を検知する検知部と、として機能させ、第1オブジェクトは、第2部分に含まれる基準位置と入力位置との間の距離に基づいて制御される。   A program according to an aspect of the present invention is a program that is executed using a terminal device that includes a touch panel and controls the first object in the virtual space to be moved by an operation on the touch panel of the player, On the touch panel, a first part including the virtual space and the first object, a second part for controlling the first object, and a second object whose display state changes according to the control state of the first object are displayed. And a detection unit that detects an input position where a player's contact is input to the second part, and the first object is between the reference position and the input position included in the second part. It is controlled based on the distance.

本発明の他の一側面に係るプログラムは、タッチパネルを備える端末装置を利用して実行され、プレイヤの前記タッチパネルに対する操作によって仮想空間内の第1オブジェクトを移動させるように制御するプログラムであって、端末を、タッチパネルに、仮想空間および第1オブジェクトを含む第1部分と、第1オブジェクトを制御するための第2部分と、第2オブジェクトと、を表示させる表示部と、第2部分に対してプレイヤの接触が入力される入力位置を検知する検知部と、として機能させ、第1オブジェクトは、第2部分に含まれる基準位置と前記入力位置との間の距離に基づいて制御され、第2オブジェクトは当該距離に応じて表示状態が変化する。   A program according to another aspect of the present invention is a program that is executed using a terminal device including a touch panel, and that controls to move a first object in a virtual space by an operation on the touch panel by a player, A display unit for displaying a terminal on a touch panel, a first part including a virtual space and a first object, a second part for controlling the first object, and a second object, and the second part The first object is controlled based on the distance between the reference position included in the second portion and the input position, and is configured to function as a detection unit that detects an input position to which the player's contact is input. The display state of the object changes according to the distance.

本発明によれば、プレイヤに直感的な操作感を提供できるプログラムを提供できる。   ADVANTAGE OF THE INVENTION According to this invention, the program which can provide an intuitive operation feeling to a player can be provided.

本発明の第1の実施の形態によるゲームプログラムが実行される携帯端末の外観図である。It is an external view of the portable terminal with which the game program by the 1st Embodiment of this invention is performed. 図1の携帯端末の構成を模式的に示すブロック図である。It is a block diagram which shows typically the structure of the portable terminal of FIG. 図1の携帯端末の機能を示すブロック図である。It is a block diagram which shows the function of the portable terminal of FIG. 第1実施形態のプログラムにより実行されるユーザインターフェースの一例である。It is an example of the user interface performed by the program of 1st Embodiment. 第1実施形態のプログラムにより実行されるユーザインターフェースの一例である。It is an example of the user interface performed by the program of 1st Embodiment. 第1実施形態のプログラムにより実行されるユーザインターフェースの一例である。It is an example of the user interface performed by the program of 1st Embodiment. 第1実施形態のプログラムにより実行されるユーザインターフェースの一例である。It is an example of the user interface performed by the program of 1st Embodiment. 第1実施形態のプログラムにより実行されるユーザインターフェースの一例である。It is an example of the user interface performed by the program of 1st Embodiment. 本発明の実施形態に係るプログラムにより実行されるユーザインターフェースの他の一例である。It is another example of the user interface performed by the program which concerns on embodiment of this invention. 本発明の実施形態に係るプログラムにより実行されるユーザインターフェースの他の一例である。It is another example of the user interface performed by the program which concerns on embodiment of this invention. 本発明の実施形態に係るプログラムにより実行されるユーザインターフェースの他の一例である。It is another example of the user interface performed by the program which concerns on embodiment of this invention. 本発明の実施形態に係るプログラムにより実行されるユーザインターフェースの他の一例である。It is another example of the user interface performed by the program which concerns on embodiment of this invention. 本発明の実施形態に係るプログラムにより実行されるユーザインターフェースの他の一例である。It is another example of the user interface performed by the program which concerns on embodiment of this invention.

[本発明の実施形態の説明]
最初に、本発明の実施形態の内容を列記して説明する。本発明の一実施形態によるプログラムは、以下のような構成を備える。
(項目1)
タッチパネルを備える端末装置を利用して実行され、プレイヤの前記タッチパネルに対する操作によって仮想空間内の第1オブジェクトを移動させるように制御するプログラムであって、
前記端末を、
前記タッチパネルに、前記仮想空間および前記第1オブジェクトを含む第1部分と、前記第1オブジェクトを制御するための第2部分と、前記第1オブジェクトの制御状態に応じて表示状態が変化する第2オブジェクトと、を表示させる表示部と、
前記第2部分に対してプレイヤの接触が入力される入力位置を検知する検知部と、として機能させ、
前記第1オブジェクトは、前記第2部分に含まれる基準位置と前記入力位置との間の距離に基づいて制御される、プログラム。
本項目のプログラムによれば、仮想空間内で移動する第1オブジェクトの制御状態に応じて第2オブジェクトの表示状態が変化するので、プレイヤは操作対象である第1オブジェクトの制御状態を視覚的に把握することができる。従って、プレイヤに直感的な操作感を提供できる。
(項目2)
前記第2オブジェクトの外縁は前記入力位置を含む、項目1のプログラム。
本項目のプログラムによれば、プレイヤのタッチパネルにおける接触位置に追随して第2オブジェクトの表示状態が制御されるので、プレイヤは第2オブジェクトの表示状態を直感的に操作できる。従って、第1オブジェクトの制御状態をより直感的に把握することができる。
(項目3)
前記距離が大きくなると、前記第2オブジェクトの外縁に囲まれた領域の面積が大きくなる、項目1または2のプログラム。
本項目のプログラムによれば、第1オブジェクトの制御量の大小を、第2オブジェクトの占める面積の大小によって把握できる。従って、プレイヤは第1オブジェクトの制御状態を視覚的に容易に把握することができる。
(項目4)
前記入力位置は、第1軸に沿った第1入力座標と、前記第1軸に交差する第2軸に沿った第2入力座標を含み前記基準位置は、前記第1軸に沿った第1基準座標と、前記第2軸に沿った第2基準座標を含み、前記第1入力座標と前記第1基準座標の差に基づいて、前記第1オブジェクトが前記仮想空間内を移動する方向が制御される、項目1〜3のいずれかのプログラム。
本項目のプログラムによれば、プレイヤはタッチパネルの第2部分に対して、第1軸に沿った接触操作を行うことにより、第1オブジェクトの移動方向を制御できる。従って、プレイヤに直感的な操作感を提供できる。
(項目5)
前記入力位置は、第1軸に沿った第1入力座標と、前記第1軸に交差する第2軸に沿った第2入力座標を含み前記基準位置は、前記第1軸に沿った第1基準座標と、前記第2軸に沿った第2基準座標を含み、前記第2入力座標と前記第2基準座標の差に基づいて、前記第1オブジェクトが前記仮想空間内を移動する速度が制御される、項目1〜4のいずれかのプログラム。
本項目のプログラムによれば、プレイヤはタッチパネルの第2部分に対して、第1軸と異なる第2軸に沿った接触操作を行うことにより、第1オブジェクトの速度を制御できる。従って、プレイヤに直感的な操作感を提供できる。
(項目6)
前記入力位置と前記基準位置の間の最短距離の大きさに基づいて、前記第1オブジェクトが前記仮想空間内を移動する速度が制御される、項目1〜4のいずれかのプログラム。
本項目のプログラムによれば、プレイヤはタッチパネルに対し、基準位置に対する入力位置を調整することにより、第1オブジェクトの速度を制御できる。従って、プレイヤに直感的な操作感を提供できる。
(項目7)
前記第2オブジェクトは、前記基準位置を中心とし、前記入力位置を通る円または楕円の少なくとも一部である、項目6のプログラム。
本項目のプログラムによれば、プレイヤは第1オブジェクトの移動速度を円または楕円の一部として構成される第2オブジェクトの面積によって視覚的に把握できる。従って、プレイヤは第1オブジェクトの制御状態を視覚的に容易に把握することができる。
(項目8)
前記入力位置は、第1軸に沿った第1入力座標と、前記第1軸に交差する第2軸に沿った第2入力座標を含み前記基準位置は、前記第1軸に沿った第1基準座標と、前記第2軸に沿った第2基準座標を含み、前記第2入力座標の符号が正の場合には、前記第1オブジェクトが前記仮想空間内を移動する速度が大きくなるように制御され、前記第2入力座標の符号が負の場合には、前記第1オブジェクトが前記仮想空間内を移動する速度が小さくなるように制御される、項目1〜7のプログラム。
本項目のプログラムによれば、プレイヤは入力座標の正負符号を調整することによって、第1オブジェクトの移動速度の加速および減速を制御することができる。従って、プレイヤに直感的な操作感を提供できる。
(項目9)
前記基準位置は予め設定された所定位置である、項目1〜8のプログラム。
本項目のプログラムによれば、プレイヤに直感的な操作感を提供できる。
(項目10)
プレイヤの前記タッチパネルに対するスライド操作が行われたかを判定する判定部をさらに備え、
前記判定部により第1接触点から第2接触点までの前記スライド操作が判定された場合に、
前記第1接触点が前記基準位置として定義され、前記第2接触点が前記入力位置として定義される、項目1〜9のプログラム。
本項目のプログラムによれば、プレイヤはタッチパネルの第2部分における任意の位置を基準位置として設定でき、当該任意の基準位置を起点としたスライド操作によって第1オブジェクトの移動を制御できる。従って、プレイヤに直感的な操作感を提供できる。
(項目11)
プレイヤの前記タッチパネルに対するスライド操作が行われたかを判定する判定部をさらに備え、
前記スライド操作の速度に基づいて、前記第1オブジェクトの加速度が制御される、項目1〜10のプログラム。
本項目のプログラムによれば、スライド操作の速度に応じて、第1オブジェクトを急加速、または、急減速させるように制御することが可能になる。従って、プレイヤに直感的な操作感を提供できる。
(項目12)
タッチパネルを備える端末装置を利用して実行され、プレイヤの前記タッチパネルに対する操作によって仮想空間内の第1オブジェクトを移動させるように制御するプログラムであって、
前記端末を、前記タッチパネルに、前記仮想空間および前記第1オブジェクトを含む第1部分と、前記第1オブジェクトを制御するための第2部分と、第2オブジェクトと、を表示させる表示部と、前記第2部分に対してプレイヤの接触が入力される入力位置を検知する検知部と、として機能させ、
前記第1オブジェクトは、前記第2部分に含まれる基準位置と前記入力位置との間の距離に基づいて制御され、前記第2オブジェクトは前記距離に応じて表示状態が変化する、プログラム。
本項目のプログラムによれば、基準位置と入力位置の距離に応じて第2オブジェクトの表示状態が変化するので、プレイヤは操作対象である第1オブジェクトの制御状態を視覚的に把握することができる。従って、プレイヤに直感的な操作感を提供できる。
[Description of Embodiment of the Present Invention]
First, the contents of the embodiment of the present invention will be listed and described. A program according to an embodiment of the present invention has the following configuration.
(Item 1)
A program that is executed using a terminal device that includes a touch panel and that controls to move a first object in a virtual space by an operation on the touch panel by a player,
The terminal
On the touch panel, a first part including the virtual space and the first object, a second part for controlling the first object, and a second state in which a display state changes according to a control state of the first object. A display unit for displaying an object;
A detection unit that detects an input position where a player's contact is input to the second part;
The first object is a program controlled based on a distance between a reference position included in the second part and the input position.
According to the program of this item, since the display state of the second object changes according to the control state of the first object moving in the virtual space, the player visually indicates the control state of the first object that is the operation target. I can grasp it. Therefore, an intuitive operation feeling can be provided to the player.
(Item 2)
The program according to item 1, wherein an outer edge of the second object includes the input position.
According to the program of this item, the display state of the second object is controlled following the contact position on the touch panel of the player, so that the player can intuitively operate the display state of the second object. Therefore, the control state of the first object can be grasped more intuitively.
(Item 3)
The program according to item 1 or 2, wherein as the distance increases, an area of an area surrounded by an outer edge of the second object increases.
According to the program of this item, the size of the control amount of the first object can be grasped by the size of the area occupied by the second object. Therefore, the player can easily grasp the control state of the first object visually.
(Item 4)
The input position includes a first input coordinate along a first axis and a second input coordinate along a second axis that intersects the first axis, and the reference position is a first axis along the first axis. A reference coordinate and a second reference coordinate along the second axis are included, and a direction in which the first object moves in the virtual space is controlled based on a difference between the first input coordinate and the first reference coordinate. The program according to any one of items 1 to 3.
According to the program of this item, the player can control the moving direction of the first object by performing a contact operation along the first axis on the second portion of the touch panel. Therefore, an intuitive operation feeling can be provided to the player.
(Item 5)
The input position includes a first input coordinate along a first axis and a second input coordinate along a second axis that intersects the first axis, and the reference position is a first axis along the first axis. Including a reference coordinate and a second reference coordinate along the second axis, a speed at which the first object moves in the virtual space is controlled based on a difference between the second input coordinate and the second reference coordinate. The program according to any one of items 1 to 4.
According to the program of this item, the player can control the speed of the first object by performing a contact operation along a second axis different from the first axis on the second portion of the touch panel. Therefore, an intuitive operation feeling can be provided to the player.
(Item 6)
The program according to any one of items 1 to 4, wherein a speed at which the first object moves in the virtual space is controlled based on a size of a shortest distance between the input position and the reference position.
According to the program of this item, the player can control the speed of the first object by adjusting the input position with respect to the reference position with respect to the touch panel. Therefore, an intuitive operation feeling can be provided to the player.
(Item 7)
The program according to item 6, wherein the second object is at least a part of a circle or an ellipse centered on the reference position and passing through the input position.
According to the program of this item, the player can visually grasp the moving speed of the first object by the area of the second object configured as a part of a circle or an ellipse. Therefore, the player can easily grasp the control state of the first object visually.
(Item 8)
The input position includes a first input coordinate along a first axis and a second input coordinate along a second axis that intersects the first axis, and the reference position is a first axis along the first axis. When the reference coordinates and the second reference coordinates along the second axis are included and the sign of the second input coordinates is positive, the moving speed of the first object in the virtual space is increased. The program according to items 1 to 7, wherein the program is controlled such that when the sign of the second input coordinate is negative, the speed at which the first object moves in the virtual space is reduced.
According to the program of this item, the player can control acceleration and deceleration of the moving speed of the first object by adjusting the sign of the input coordinates. Therefore, an intuitive operation feeling can be provided to the player.
(Item 9)
The program according to items 1 to 8, wherein the reference position is a predetermined position set in advance.
According to the program of this item, an intuitive operational feeling can be provided to the player.
(Item 10)
A determination unit for determining whether a slide operation on the touch panel of the player has been performed;
When the slide operation from the first contact point to the second contact point is determined by the determination unit,
The program according to items 1 to 9, wherein the first contact point is defined as the reference position and the second contact point is defined as the input position.
According to the program of this item, the player can set an arbitrary position in the second part of the touch panel as a reference position, and can control the movement of the first object by a slide operation starting from the arbitrary reference position. Therefore, an intuitive operation feeling can be provided to the player.
(Item 11)
A determination unit for determining whether a slide operation on the touch panel of the player has been performed;
The program according to items 1 to 10, wherein an acceleration of the first object is controlled based on a speed of the slide operation.
According to the program of this item, it is possible to control the first object so as to rapidly accelerate or decelerate according to the speed of the slide operation. Therefore, an intuitive operation feeling can be provided to the player.
(Item 12)
A program that is executed using a terminal device that includes a touch panel and that controls to move a first object in a virtual space by an operation on the touch panel by a player,
A display unit for displaying the terminal on the touch panel, a first part including the virtual space and the first object, a second part for controlling the first object, and a second object; And a detection unit that detects an input position where a player's contact is input to the second part,
The first object is controlled based on a distance between a reference position included in the second part and the input position, and the display state of the second object changes according to the distance.
According to the program of this item, since the display state of the second object changes according to the distance between the reference position and the input position, the player can visually grasp the control state of the first object that is the operation target. . Therefore, an intuitive operation feeling can be provided to the player.

[本発明の実施形態の詳細]
本発明の実施形態に係るプログラムの具体例を、以下に図面を参照しつつ説明する。なお、本発明はこれらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内でのすべての変更が含まれることが意図される。以下の説明では、図面の説明において同一の要素には同一の符号を付し、重複する説明を省略する。
[Details of the embodiment of the present invention]
A specific example of the program according to the embodiment of the present invention will be described below with reference to the drawings. In addition, this invention is not limited to these illustrations, is shown by the claim, and intends that all the changes within the meaning and range equivalent to the claim are included. In the following description, the same reference numerals are given to the same elements in the description of the drawings, and redundant descriptions are omitted.

本発明の実施形態によるプログラムは、タッチパネルを備える端末で実行されるゲームプログラムの一部を構成するユーザインターフェースプログラムである。当該ゲームは、プレイヤによるタッチパネルに対する接触操作に応じて、仮想空間内における移動体(レーシングカー、飛行機、自転車、人間、動物、等)の移動が制御され、ゲームが進行する。以下の説明では、レーシングゲームにおけるレーシングカーの操作を例示する。本実施形態のプログラムを適用可能なゲームはこれに限定されず、競馬や競輪といったその他のレーシングゲームやシューティングゲーム、アクションRPG、陸上競技ゲーム等、移動体を制御することをゲーム進行の一要素としているゲーム全般に適用可能である。   The program according to the embodiment of the present invention is a user interface program that constitutes a part of a game program executed on a terminal having a touch panel. In the game, the movement of the moving body (racing car, airplane, bicycle, human, animal, etc.) in the virtual space is controlled according to the touch operation on the touch panel by the player, and the game progresses. In the following description, the operation of the racing car in the racing game is exemplified. The game to which the program of the present embodiment can be applied is not limited to this, and other moving games such as horse racing and bicycle racing, shooting games, action RPGs, athletics games, and the like are controlled as moving elements as an element of the game progress. Applicable to all games.

図1は、端末の一例としてのスマートフォン1を示す。スマートフォン1は、タッチパネル2を備えており、プレイヤは当該タッチパネル2を介して仮想空間内のゲームオブジェクトを操作することができる。なお、本実施形態のプログラムが実行される端末は、PDA、タブレット型コンピュータ等の、如何なるタッチパネルを備える端末であっても良い。   FIG. 1 shows a smartphone 1 as an example of a terminal. The smartphone 1 includes a touch panel 2, and the player can operate a game object in the virtual space via the touch panel 2. Note that the terminal on which the program of the present embodiment is executed may be a terminal having any touch panel such as a PDA or a tablet computer.

図2は、スマートフォン1の構成を模式的に示す。スマートフォン1は、互いにバス接続された制御部3、記憶部4、送受信部6、表示部7及び入力部(検知部)8を備えている。制御部3はCPU等で構成される。記憶部4は主記憶41と補助記憶42を含む。主記憶41は例えばDRAMなどで構成されており、補助記憶42は例えばHDDなどで構成されている。補助記憶5には、本実施形態のプログラムを含んで構成されるユーザインターフェースプログラムおよびゲームプログラムが格納されている。当該プログラムは、主記憶41上に展開されCPU3によって実行される。なお、主記憶41上には、CPU3が当該プログラムに従って動作している間に生成したデータやCPU3によって利用されるデータも一時的に格納される。送受信部6はCPU3の制御によりスマートフォン1とネットワークとの接続を確立する。入力部8は、プレイヤのタッチパル2に対する操作を検知して、端末に対して何らかの操作(主に、タッチ操作、スライド動作、スワイプ操作、及びタップ操作等の物理的接触操作)があったことを検知する。   FIG. 2 schematically shows the configuration of the smartphone 1. The smartphone 1 includes a control unit 3, a storage unit 4, a transmission / reception unit 6, a display unit 7, and an input unit (detection unit) 8 that are connected to each other via a bus. The control unit 3 includes a CPU and the like. The storage unit 4 includes a main memory 41 and an auxiliary memory 42. The main memory 41 is composed of, for example, a DRAM, and the auxiliary memory 42 is composed of, for example, an HDD. The auxiliary memory 5 stores a user interface program and a game program that include the program of the present embodiment. The program is expanded on the main memory 41 and executed by the CPU 3. Note that on the main memory 41, data generated while the CPU 3 operates in accordance with the program and data used by the CPU 3 are also temporarily stored. The transmission / reception unit 6 establishes a connection between the smartphone 1 and the network under the control of the CPU 3. The input unit 8 detects the player's operation on the touch pal 2 and confirms that there has been some operation on the terminal (mainly physical contact operations such as touch operation, slide operation, swipe operation, and tap operation). Detect.

図3は、スマートフォン1の機能を示すブロック図である。タッチパネル2は、入力部8に相当するタッチセンシング部310と、表示部6に相当する液晶表示部320を含む。タッチパネル2は、制御部330が生成した所定の画像を表示し、プレイヤの当該画像に対するタッチ操作(タッチセンシング部310に対する物理的接触操作等)を受け付ける。そして、記憶部340に記憶された種々のデータ、および、制御部330の制御に基づいて、当該タッチ操作に対応する画像を液晶表示部320に表示する。 FIG. 3 is a block diagram illustrating functions of the smartphone 1. The touch panel 2 includes a touch sensing unit 310 corresponding to the input unit 8 and a liquid crystal display unit 320 corresponding to the display unit 6. The touch panel 2 displays a predetermined image generated by the control unit 330, and accepts a touch operation (such as a physical contact operation on the touch sensing unit 310) on the image by the player. Then, based on various data stored in the storage unit 340 and the control of the control unit 330, an image corresponding to the touch operation is displayed on the liquid crystal display unit 320.

タッチセンシング部310はプレイヤによるタッチ操作に応じた操作信号を制御部330へ出力する。プレイヤのタッチ操作は、プレイヤの指によりなされても良いし、スタイラス等でも良い。タッチセンシング部310は、例えば、静電容量タイプのものを採用することができるが、これに限定されない。制御部330は、タッチセンシング部310からの操作信号を検出すると、所定のゲームオブジェクトへの操作指示として判断する。そして、当該操作指示に応じた画像を表示信号として液晶表示部320へ送信する。液晶表示部320は、表示信号に応じた画像を表示する。 The touch sensing unit 310 outputs an operation signal corresponding to the touch operation by the player to the control unit 330. The player's touch operation may be performed by the player's finger, a stylus, or the like. The touch sensing unit 310 can employ, for example, a capacitance type, but is not limited thereto. When the control unit 330 detects an operation signal from the touch sensing unit 310, the control unit 330 determines as an operation instruction to a predetermined game object. Then, an image corresponding to the operation instruction is transmitted as a display signal to the liquid crystal display unit 320. The liquid crystal display unit 320 displays an image corresponding to the display signal.

制御部330は、プレイヤのタッチパル2に対する操作を判定する判定部331と、記憶部340内のデータを更新する更新部335と、ゲーム演算等を行う演算部337と、ゲームオブジェクト等の画像を生成する画像生成部336と、を含む。 The control unit 330 generates an image of a determination unit 331 that determines the player's operation on the touch pal 2, an update unit 335 that updates data in the storage unit 340, a calculation unit 337 that performs game calculation, and the like, and game objects and the like. An image generation unit 336.

判定部331は接触判定部332と、スライド操作判定部333と、非接触判定部334を含む。判定部331は、接触判定部332と非接触判定部334により、現在の状態がプレイヤによる接触操作が入力されているか否かを判定する。なお、初期状態では非接触状態である。そして、接触状態にあると判定された場合には、スライド操作判定部333により、当該接触状態が維持された状態で接触位置が移動されたか否かを検出し、スライド操作があったかどうかがさらに判定される。 The determination unit 331 includes a contact determination unit 332, a slide operation determination unit 333, and a non-contact determination unit 334. The determination unit 331 determines whether a contact operation by the player is input based on the current state by the contact determination unit 332 and the non-contact determination unit 334. The initial state is a non-contact state. If it is determined that the contact state is present, the slide operation determination unit 333 detects whether or not the contact position has been moved while the contact state is maintained, and further determines whether or not a slide operation has been performed. Is done.

記憶部340には、前述の本実施形態のプログラム341や、プレイヤがタッチパネルに対して現在接触している位置に応じた現在値データ342や、ゲームオブジェクト(後述の移動体M)に対する操作方向や操作量(操作速度)を示す操作データ343が記憶されている。 The storage unit 340 stores the above-described program 341 of the present embodiment, current value data 342 corresponding to the position at which the player is currently in contact with the touch panel, the operation direction with respect to the game object (moving body M described later), Operation data 343 indicating the operation amount (operation speed) is stored.

判定部331においてプレイヤによる接触操作が入力されたと判定された場合には、更新部335はタッチセンシング部310における検出結果に基づいて記憶部340に記憶されているデータを更新する。具体的には、プレイヤによる操作が非接触状態から接触状態へ移行し、現在値データ342が現在接触している位置に応じたデータに更新される。また、後述するように、タッチパネル2に対してスライド動作が入力された場合には、現在値データ342が当該スライド動作による移動先の接触位置に応じたデータに更新される。そして、当該接触位置に応じたゲームオブジェクトの制御状態に相当するように、操作データ343が更新される。 When the determination unit 331 determines that the contact operation by the player has been input, the update unit 335 updates the data stored in the storage unit 340 based on the detection result in the touch sensing unit 310. Specifically, the operation by the player shifts from the non-contact state to the contact state, and the current value data 342 is updated to data corresponding to the current contact position. As will be described later, when a slide operation is input to the touch panel 2, the current value data 342 is updated to data corresponding to the contact position of the movement destination by the slide operation. Then, the operation data 343 is updated so as to correspond to the control state of the game object corresponding to the contact position.

画像生成部336は、現在値データ342や操作データ343に基づいて、液晶表示部320に表示されるゲームオブジェクト等の画像を生成する。表示されるゲームオブジェクト画像は、後述するゲーム画像Gが含まれる。これにより、プレイヤのタッチ操作による操作信号が、液晶表示部320に表示される画像の表示状態と関連付けられる。 The image generation unit 336 generates an image such as a game object displayed on the liquid crystal display unit 320 based on the current value data 342 and the operation data 343. The displayed game object image includes a game image G described later. Thereby, the operation signal by the touch operation of the player is associated with the display state of the image displayed on the liquid crystal display unit 320.

演算部337は、記憶部340に記憶された各種データに基づいてゲーム演算を行い、ゲームを進行させる。更新部335によって記憶部に記憶されたデータが更新された場合には、当該更新後のデータを用いたゲーム演算結果に基づいて対応するゲームオブジェクトの画像が生成され、当該画像が液晶表示部302に表示される。 The calculation unit 337 performs a game calculation based on various data stored in the storage unit 340 and advances the game. When the data stored in the storage unit is updated by the update unit 335, a corresponding game object image is generated based on the game calculation result using the updated data, and the image is displayed on the liquid crystal display unit 302. Is displayed.

以下、図4乃至図7を参照して、本実施形態によるユーザインターフェースの構成について説明する。   Hereinafter, the configuration of the user interface according to the present embodiment will be described with reference to FIGS. 4 to 7.

図4A〜Eは、タッチパネル2に表示されるゲーム画像Gを示す。図4Aは、プレイヤによるタッチ操作が入力される前の状態を示す。図4B〜Eは、プレイヤによるタッチ操作が入力された後の状態を示す。   4A to 4E show game images G displayed on the touch panel 2. FIG. 4A shows a state before the touch operation by the player is input. 4B to 4E show states after the touch operation by the player is input.

図4A〜Eに示すように、液晶表示部320に表示されるゲーム画像Gは第1部分P1と第2部分P2を含む。第1部分P1は仮想空間Sと、操作対象である移動体M(第1オブジェクト)が表示される。第2部分P2は移動体Mを制御するための領域であり、表示キーK(第2オブジェクト)が表示される。   As shown in FIGS. 4A to E, the game image G displayed on the liquid crystal display unit 320 includes a first part P1 and a second part P2. The first part P1 displays a virtual space S and a moving body M (first object) that is an operation target. The second portion P2 is an area for controlling the moving body M, and a display key K (second object) is displayed.

第2部分P2に対してプレイヤのタッチ操作が入力されると、当該タッチ操作に応じて移動体Mが仮想空間S内を移動するように制御される。本実施形態では、移動体Mはレーシングカーであり、仮想空間SはレースコースCを含む。プレイヤは移動体MがレースコースC内を移動する速度及び方向を制御することにより、タイムや順位を競う。   When a player's touch operation is input to the second portion P2, the moving body M is controlled to move in the virtual space S in accordance with the touch operation. In the present embodiment, the moving body M is a racing car, and the virtual space S includes a race course C. The player competes for time and ranking by controlling the speed and direction in which the moving body M moves in the race course C.

図4Aに示すように、第2部分P2は基準位置Oを含む。図4Bに示すように、プレイヤの接触が第2部分P2に入力されると、入力位置O1検知される。第2部分P2は互いに直行して交差するX軸(第1軸)及びY軸(第2軸)に沿った座標情報を有しており、基準位置OはX軸に沿った第1基準座標X0と、Y軸に沿った第2基準座標Y0を有する。また、入力位置O1はX軸に沿った第1入力座標X1と、Y軸に沿った第2入力座標Y1を有し、現在値データ342として記憶部340に記憶される。本実施形態では、基準位置O1が原点座標(0,0)として予め設定され、記憶部340に記憶されている。   As shown in FIG. 4A, the second portion P2 includes a reference position O. As shown in FIG. 4B, when the player's contact is input to the second portion P2, the input position O1 is detected. The second portion P2 has coordinate information along the X axis (first axis) and the Y axis (second axis) that intersect perpendicularly with each other, and the reference position O is the first reference coordinate along the X axis. X0 and a second reference coordinate Y0 along the Y axis. The input position O1 has a first input coordinate X1 along the X axis and a second input coordinate Y1 along the Y axis, and is stored in the storage unit 340 as current value data 342. In the present embodiment, the reference position O1 is preset as the origin coordinates (0, 0) and stored in the storage unit 340.

移動体Mは、基準位置Oと入力位置O1との間の距離に基づいて制御される。当該距離は演算部337で算出され、操作データ343として記憶部340に記憶される。具体的には、第1入力座標X1と第1基準座標X0の差に基づいて、移動体Mが仮想空間S内を左右に移動する方向(角度)が制御される。また、第2入力座標Y1と第2基準座標Y0の差に基づいて、移動体Mが仮想空間S内を直進する速度が制御される。これにより、対応するゲームオブジェクト画像が画像生成部336によって生成され、当該画像が液晶表示部320に表示される。 The moving body M is controlled based on the distance between the reference position O and the input position O1. The distance is calculated by the calculation unit 337 and stored as operation data 343 in the storage unit 340. Specifically, the direction (angle) in which the moving body M moves left and right in the virtual space S is controlled based on the difference between the first input coordinates X1 and the first reference coordinates X0. Further, the speed at which the moving body M travels straight in the virtual space S is controlled based on the difference between the second input coordinate Y1 and the second reference coordinate Y0. As a result, a corresponding game object image is generated by the image generation unit 336, and the image is displayed on the liquid crystal display unit 320.

図4Bに示す入力位置O1は座標(0,y1)を有する。従って、第1軸に沿った基準位置Oと入力位置O1との間の距離は0であるから、移動体Mの左右の移動方向は制御されず、直進する。一方、第2軸に沿った基準位置Oと入力位置O1との間の距離はy1であるから、移動体Mは当該距離y1に応じた速度(例えば、距離y1に任意のパラメータを乗じた値を、速度パラメータとする)で直進する。 The input position O1 shown in FIG. 4B has coordinates (0, y1). Accordingly, since the distance between the reference position O and the input position O1 along the first axis is 0, the left and right moving directions of the moving body M are not controlled and the vehicle moves straight. On the other hand, since the distance between the reference position O and the input position O1 along the second axis is y1, the moving body M is a speed corresponding to the distance y1 (for example, a value obtained by multiplying the distance y1 by an arbitrary parameter). To go straight on).

第2部分P2に入力位置O1が入力されると、第2部分P2に表示キーKが表示される。本実施形態では、表示キーKは基準位置Oを中心とし、入力位置O1を通る円形の一部であり、当該円形の上半分が半円状に表示される。このように、表示キーKの外縁が入力位置O1を含むように制御することにより、表示キーKは、基準位置Oと入力位置O1との間の距離に基づいて、その表示状態が制御される。従って、表示キーKは、移動体Mの制御状態に応じて表示状態が変化する。具体的には、基準位置Oと入力位置O1との間の距離が大きくなると、表示キーKの外縁に囲まれた領域の面積が大きくなる。   When the input position O1 is input to the second part P2, the display key K is displayed on the second part P2. In the present embodiment, the display key K is a part of a circle passing through the input position O1 with the reference position O as the center, and the upper half of the circle is displayed in a semicircle. Thus, by controlling the outer edge of the display key K to include the input position O1, the display state of the display key K is controlled based on the distance between the reference position O and the input position O1. . Therefore, the display state of the display key K changes according to the control state of the moving body M. Specifically, as the distance between the reference position O and the input position O1 increases, the area of the region surrounded by the outer edge of the display key K increases.

プレイヤが入力位置O1にタッチ操作を入力している状態に連続して、入力位置O2にスライド操作した後の状態を図4Cに示す。入力位置O2は座標(0,y2)を有する。従って、第1軸に沿った基準位置Oと入力位置O2との間の距離は0であるから、移動体Mの左右の移動方向は制御されず、直進する。一方、第2軸に沿った基準位置Oと入力位置O2との間の距離はy2であるから、移動体Mは当該距離y2に応じた速度(例えば、距離y2に任意のパラメータを乗じた値を、速度パラメータとする)で直進する。 FIG. 4C shows a state after the player performs a slide operation to the input position O2 continuously after the player inputs a touch operation to the input position O1. The input position O2 has coordinates (0, y2). Accordingly, since the distance between the reference position O and the input position O2 along the first axis is 0, the left and right moving directions of the moving body M are not controlled and the vehicle moves straight. On the other hand, since the distance between the reference position O and the input position O2 along the second axis is y2, the moving body M is a speed corresponding to the distance y2 (for example, a value obtained by multiplying the distance y2 by an arbitrary parameter). To go straight on).

この場合、表示キーKは基準位置Oを中心とし、入力位置O1を通る円形の一部から、基準位置Oを中心とし、入力位置O2を通る円形の一部に、表示状態が変化する。このように、仮想空間S内で移動する移動体Mの制御状態に応じて表示キーKの表示状態が変化する(移動体Mの速度に応じて、表示キーKの外縁に囲まれた領域の面積が大きくなる)。また、プレイヤのタッチパネルにおける接触位置に追随して表示キーKの表示状態が制御される。これにより、プレイヤは移動体Mの制御状態を視覚的に把握することができ、プレイヤに直感的な操作感を提供できる。 In this case, the display state of the display key K changes from a part of a circle centering on the reference position O and passing through the input position O1 to a part of a circle centering on the reference position O and passing through the input position O2. In this way, the display state of the display key K changes according to the control state of the moving body M that moves in the virtual space S (the area surrounded by the outer edge of the display key K according to the speed of the moving body M). Area increases). Further, the display state of the display key K is controlled following the contact position on the touch panel of the player. Thereby, the player can visually grasp the control state of the moving body M, and can provide an intuitive operational feeling to the player.

プレイヤが入力位置O1にタッチ操作を入力している状態に連続して、入力位置O3にスライド操作した後の状態を図4D,Eに示す。入力位置O3は座標(−x3,y3)を有する。入力位置O3はX座標が負であるから、移動体Mは応じて左に曲がるように制御される。また、第1軸に沿った基準位置Oと入力位置O2との間の距離はx3であるから、移動体Mは当該距離x3に応じた角度で左に曲がるように制御される。一方、第2軸に沿った基準位置Oと入力位置O2との間の距離はy2であるから、移動体Mは当該距離y2に応じた速度(例えば、距離y2に任意のパラメータを乗じた値を、速度パラメータとする)で左に曲がる。このように、移動の方向と速度を同時に制御できるため、「加速しながら左折」「減速しながら右折」といった操作を、指一本で行うことができる。 4D and 4E show a state after the player performs a sliding operation at the input position O3 continuously after the player is inputting a touch operation at the input position O1. The input position O3 has coordinates (−x3, y3). Since the input position O3 has a negative X coordinate, the moving body M is controlled to turn to the left accordingly. Further, since the distance between the reference position O and the input position O2 along the first axis is x3, the moving body M is controlled to turn left at an angle corresponding to the distance x3. On the other hand, since the distance between the reference position O and the input position O2 along the second axis is y2, the moving body M is a speed corresponding to the distance y2 (for example, a value obtained by multiplying the distance y2 by an arbitrary parameter). Turn left). Thus, since the direction and speed of movement can be controlled simultaneously, operations such as “turn left while accelerating” and “turn right while decelerating” can be performed with one finger.

この場合、図4Dに示すように、表示キーKは基準位置Oを中心とし、入力位置O1を通る円形を、入力位置O3を通るように弾性変形させた形状としても良い。この場合、移動体Mが左へ曲がるのに応じて表示キーKも変形し、また、プレイヤのタッチパネルにおける接触位置に追随して表示キーKの表示状態が制御されるから、プレイヤに直感的な操作感を提供できる。 In this case, as shown in FIG. 4D, the display key K may have a shape centered on the reference position O and elastically deformed so as to pass through the input position O3. In this case, the display key K is also deformed as the moving body M turns to the left, and the display state of the display key K is controlled following the contact position on the touch panel of the player. A feeling of operation can be provided.

また、図4Eに示すように、表示キーKは基準位置Oを中心とし、入力位置O1を通る円形の一部のままとしても良い。即ち、X軸方向へのスライド操作に対しては、表示キーKの形状を追随させなくても良い。この場合には、移動体Mの速度のみが表示キーKの形状に反映されるから、プレイヤは移動体Mの速度を視覚的に容易に把握できる。 Further, as shown in FIG. 4E, the display key K may be left as a part of a circle having the reference position O as the center and passing through the input position O1. That is, the shape of the display key K does not have to follow the slide operation in the X-axis direction. In this case, since only the speed of the moving body M is reflected in the shape of the display key K, the player can easily grasp the speed of the moving body M visually.

なお、図5に示すように、入力位置O4と基準位置Oの間の最短距離rの大きさに基づいて、移動体Mが仮想空間S内を移動する速度が制御されても良い。入力位置O4は座標(−x4,y4)を有する。従って、第1軸に沿った基準位置Oと入力位置O4との間の距離はx4であるから、移動体Mは当該距離x4に応じた角度で左に曲がるように制御される。一方、入力位置O4と基準位置Oの間の最短距離rは、√{(−x4)+(y4)}であるから、移動体Mは当該距離rに応じた速度(例えば、距離rに任意のパラメータを乗じた値を、速度パラメータとする)で左へ曲がる。 As shown in FIG. 5, the speed at which the moving body M moves in the virtual space S may be controlled based on the size of the shortest distance r between the input position O4 and the reference position O. The input position O4 has coordinates (−x4, y4). Accordingly, since the distance between the reference position O and the input position O4 along the first axis is x4, the moving body M is controlled to turn left at an angle corresponding to the distance x4. On the other hand, since the shortest distance r between the input position O4 and the reference position O is {square root over ({−x4) 2 + (y4) 2 }), the moving object M moves at a speed (for example, distance r Turn to the left at the speed parameter).

この場合、プレイヤは移動体Mの移動速度を円の面積(半径)によって視覚的に把握できる。また、プレイヤのタッチパネルにおける接触位置に追随して表示キーKの表示状態が制御されるから、プレイヤに直感的な操作感を提供できる。 In this case, the player can visually grasp the moving speed of the moving body M by the area (radius) of the circle. Further, since the display state of the display key K is controlled following the contact position on the touch panel of the player, an intuitive operational feeling can be provided to the player.

また、図6A,Bに示すように、第2入力座標Y2の符号が正の場合には、移動体Mの移動速度が大きくなるように制御し、第2入力座標Y2の符号が負の場合には、移動体Mの移動速度が小さくなるように制御されても良い。この時、表示キーKは基準位置Oを中心とし、入力位置O5,O6を通る円形としても良い。入力位置O5は座標(0,y5)を有し、入力位置O6は座標(0,−y6)を有する。そして、入力位置O5にタッチ操作が入力されている場合には、移動体Mは距離y5に応じた速度で直進する。一方、入力位置O5から入力位置O6にスライド操作されることにより、移動体Mは距離y6に応じた速度で減速しつつ直進する。 Also, as shown in FIGS. 6A and 6B, when the sign of the second input coordinate Y2 is positive, control is performed so that the moving speed of the moving body M increases, and when the sign of the second input coordinate Y2 is negative. Alternatively, the moving speed of the moving body M may be controlled to be small. At this time, the display key K may be circular with the reference position O as the center and passing through the input positions O5 and O6. The input position O5 has coordinates (0, y5), and the input position O6 has coordinates (0, -y6). When a touch operation is input at the input position O5, the moving body M goes straight at a speed corresponding to the distance y5. On the other hand, when the sliding operation is performed from the input position O5 to the input position O6, the moving body M moves straight forward while decelerating at a speed corresponding to the distance y6.

このように、プレイヤは入力座標のY座標の正負符号を調整することによって、移動体Mの移動速度の加速および減速を制御することができる。従って、プレイヤに直感的な操作感を提供できる。 Thus, the player can control acceleration and deceleration of the moving speed of the moving body M by adjusting the sign of the Y coordinate of the input coordinates. Therefore, an intuitive operation feeling can be provided to the player.

また、図7A,Bに示すように、基準位置Oは予め設定された位置でなくてもよく、プレイヤがタッチパネルに対して最初に接触した位置を基準位置O’としても良い。この場合、プレイヤのタッチパネルに対する第1接触点から第2接触点までスライド操作を検出し、当該スライド操作の起点である第1接触点を基準位置O’とし、スライド操作の終点である第2接触点を入力位置O7とすることが好ましい。これにより、プレイヤは第2部分P2の任意の位置を基準位置O’として設定でき、プレイヤの手の大きさによって操作感に差異が生じることを防止できる。従って、プレイヤに直感的な操作感を提供できる。 Further, as shown in FIGS. 7A and 7B, the reference position O may not be a preset position, and the position where the player first touches the touch panel may be set as the reference position O ′. In this case, the slide operation from the first contact point to the second contact point on the touch panel of the player is detected, the first contact point that is the starting point of the slide operation is set as the reference position O ′, and the second contact that is the end point of the slide operation. The point is preferably set as the input position O7. Thereby, the player can set an arbitrary position of the second portion P2 as the reference position O ', and it is possible to prevent a difference in operation feeling depending on the size of the player's hand. Therefore, an intuitive operation feeling can be provided to the player.

さらに、プレイヤのタッチパネルに対するスライド操作を検出し、スライド操作の速度に基づいて、移動体Mの加速度が制御されても良い。この場合、スライド操作の速度に応じて、移動体Mを急加速、または、急減速させるように制御することが可能になる。従って、プレイヤにさらに直感的な操作感を提供できる。   Furthermore, the slide operation on the touch panel of the player may be detected, and the acceleration of the moving body M may be controlled based on the speed of the slide operation. In this case, it is possible to control the moving body M so as to rapidly accelerate or decelerate according to the speed of the slide operation. Therefore, a more intuitive operational feeling can be provided to the player.

上述した実施の形態は、本発明の理解を容易にするための例示に過ぎず、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更、改良することができると共に、本発明にはその均等物が含まれることは言うまでもない。例えば、表示キーKの形状は円形に限られず、楕円形等であっても良い。また、表示部6に表示されるゲーム画像Gは、第1部分P1と第2部分P2が少なくとも一部重複していても良い。従って、第1部分P1内の領域に対するプレイヤのタッチ操作に基づいて入力位置を取得してもよく、また、第1部分P1内に表示キーKの少なくとも一部を表示しても良い。   The above-described embodiments are merely examples for facilitating understanding of the present invention, and are not intended to limit the present invention. The present invention can be changed and improved without departing from the gist thereof, and it is needless to say that the present invention includes equivalents thereof. For example, the shape of the display key K is not limited to a circle, and may be an ellipse or the like. Further, in the game image G displayed on the display unit 6, the first part P1 and the second part P2 may overlap at least partially. Therefore, the input position may be acquired based on the player's touch operation on the area in the first part P1, or at least a part of the display key K may be displayed in the first part P1.

1…スマートフォン、2…タッチパネル、3…CPU、4…記憶部、41…主記憶、42…補助記憶、5…送受信部、6…表示部、7…入力部、310…タッチセンシング部、320…液晶表示部、330…制御部、340…記憶部、G…ゲーム画像、S…仮想空間、C…レースコース、P1…第1部分、P2…第2部分、M…移動体、K…表示キー、O、O‘…基準位置、O1〜O7…入力位置   DESCRIPTION OF SYMBOLS 1 ... Smartphone, 2 ... Touch panel, 3 ... CPU, 4 ... Memory | storage part, 41 ... Main memory, 42 ... Auxiliary memory, 5 ... Transmission / reception part, 6 ... Display part, 7 ... Input part, 310 ... Touch sensing part, 320 ... Liquid crystal display unit, 330 ... control unit, 340 ... storage unit, G ... game image, S ... virtual space, C ... race course, P1 ... first part, P2 ... second part, M ... moving body, K ... display key , O, O '... reference position, O1-O7 ... input position

Claims (12)

タッチパネルを備える端末装置を利用して実行され、プレイヤの前記タッチパネルに対する操作によって仮想空間内の第1オブジェクトを移動させるように制御するプログラムであって、
前記端末を、
前記タッチパネルに、前記仮想空間および前記第1オブジェクトを含む第1部分と、前記第1オブジェクトを制御するための第2部分と、前記第1オブジェクトの制御状態に応じて表示状態が変化する第2オブジェクトと、を表示させる表示部と、
前記第2部分に対してプレイヤの接触が入力される入力位置を検知する検知部と、として機能させ、
前記第1オブジェクトは、前記第2部分に含まれる基準位置と前記入力位置との間の距離に基づいて制御される、プログラム。
A program that is executed using a terminal device that includes a touch panel and that controls to move a first object in a virtual space by an operation on the touch panel by a player,
The terminal
On the touch panel, a first part including the virtual space and the first object, a second part for controlling the first object, and a second state in which a display state changes according to a control state of the first object. A display unit for displaying an object;
A detection unit that detects an input position where a player's contact is input to the second part;
The first object is a program controlled based on a distance between a reference position included in the second part and the input position.
前記第2オブジェクトの外縁は前記入力位置を含む、請求項1のプログラム。 The program according to claim 1, wherein an outer edge of the second object includes the input position. 前記距離が大きくなると、前記第2オブジェクトの外縁に囲まれた領域の面積が大きくなる、請求項1または2のプログラム。 The program according to claim 1 or 2, wherein as the distance increases, an area of an area surrounded by an outer edge of the second object increases. 前記入力位置は、第1軸に沿った第1入力座標と、前記第1軸に交差する第2軸に沿った第2入力座標を含み
前記基準位置は、前記第1軸に沿った第1基準座標と、前記第2軸に沿った第2基準座標を含み、
前記第1入力座標と前記第1基準座標の差に基づいて、前記第1オブジェクトが前記仮想空間内を移動する方向が制御される、請求項1〜3のいずれかのプログラム。
The input position includes a first input coordinate along a first axis and a second input coordinate along a second axis that intersects the first axis, and the reference position is a first axis along the first axis. Including reference coordinates and second reference coordinates along the second axis;
The program according to any one of claims 1 to 3, wherein a direction in which the first object moves in the virtual space is controlled based on a difference between the first input coordinates and the first reference coordinates.
前記入力位置は、第1軸に沿った第1入力座標と、前記第1軸に交差する第2軸に沿った第2入力座標を含み
前記基準位置は、前記第1軸に沿った第1基準座標と、前記第2軸に沿った第2基準座標を含み、
前記第2入力座標と前記第2基準座標の差に基づいて、前記第1オブジェクトが前記仮想空間内を移動する速度が制御される、請求項1〜4のいずれかのプログラム。
The input position includes a first input coordinate along a first axis and a second input coordinate along a second axis that intersects the first axis, and the reference position is a first axis along the first axis. Including reference coordinates and second reference coordinates along the second axis;
The program according to any one of claims 1 to 4, wherein a speed at which the first object moves in the virtual space is controlled based on a difference between the second input coordinates and the second reference coordinates.
前記入力位置と前記基準位置の間の最短距離の大きさに基づいて、前記第1オブジェクトが前記仮想空間内を移動する速度が制御される、請求項1〜4のいずれかのプログラム。 The program according to any one of claims 1 to 4, wherein a speed at which the first object moves in the virtual space is controlled based on a size of a shortest distance between the input position and the reference position. 前記第2オブジェクトは、前記基準位置を中心とし、前記入力位置を通る円または楕円の少なくとも一部である、請求項6のプログラム。 The program according to claim 6, wherein the second object is at least a part of a circle or an ellipse centered on the reference position and passing through the input position. 前記入力位置は、第1軸に沿った第1入力座標と、前記第1軸に交差する第2軸に沿った第2入力座標を含み
前記基準位置は、前記第1軸に沿った第1基準座標と、前記第2軸に沿った第2基準座標を含み、
前記第2入力座標の符号が正の場合には、前記第1オブジェクトが前記仮想空間内を移動する速度が大きくなるように制御され、
前記第2入力座標の符号が負の場合には、前記第1オブジェクトが前記仮想空間内を移動する速度が小さくなるように制御される、請求項1〜7のプログラム。
The input position includes a first input coordinate along a first axis and a second input coordinate along a second axis that intersects the first axis, and the reference position is a first axis along the first axis. Including reference coordinates and second reference coordinates along the second axis;
When the sign of the second input coordinate is positive, the speed at which the first object moves in the virtual space is controlled to be large,
The program according to any one of claims 1 to 7, wherein when the sign of the second input coordinate is negative, the speed at which the first object moves in the virtual space is controlled to be small.
前記基準位置は予め設定された所定位置である、請求項1〜8のプログラム。 The program according to claim 1, wherein the reference position is a predetermined position set in advance. プレイヤの前記タッチパネルに対するスライド操作が行われたかを判定する判定部をさらに備え、
前記判定部により第1接触点から第2接触点までの前記スライド操作が判定された場合に、
前記第1接触点が前記基準位置として定義され、前記第2接触点が前記入力位置として定義される、請求項1〜9のプログラム。
A determination unit for determining whether a slide operation on the touch panel of the player has been performed;
When the slide operation from the first contact point to the second contact point is determined by the determination unit,
The program according to claim 1, wherein the first contact point is defined as the reference position, and the second contact point is defined as the input position.
プレイヤの前記タッチパネルに対するスライド操作が行われたかを判定する判定部をさらに備え、
前記スライド操作の速度に基づいて、前記第1オブジェクトの加速度が制御される、請求項1〜10のプログラム。
A determination unit for determining whether a slide operation on the touch panel of the player has been performed;
The program according to claim 1, wherein an acceleration of the first object is controlled based on a speed of the sliding operation.
タッチパネルを備える端末装置を利用して実行され、プレイヤの前記タッチパネルに対する操作によって仮想空間内の第1オブジェクトを移動させるように制御するプログラムであって、
前記端末を、
前記タッチパネルに、前記仮想空間および前記第1オブジェクトを含む第1部分と、前記第1オブジェクトを制御するための第2部分と、第2オブジェクトと、を表示させる表示部と、
前記第2部分に対してプレイヤの接触が入力される入力位置を検知する検知部と、として機能させ、
前記第1オブジェクトは、前記第2部分に含まれる基準位置と前記入力位置との間の距離に基づいて制御され、前記第2オブジェクトは前記距離に応じて表示状態が変化する、プログラム。

A program that is executed using a terminal device that includes a touch panel and that controls to move a first object in a virtual space by an operation on the touch panel by a player,
The terminal
A display unit for displaying on the touch panel a first part including the virtual space and the first object; a second part for controlling the first object; and a second object;
A detection unit that detects an input position where a player's contact is input to the second part;
The first object is controlled based on a distance between a reference position included in the second part and the input position, and the display state of the second object changes according to the distance.

JP2015103485A 2015-05-21 2015-05-21 program Pending JP2016218774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015103485A JP2016218774A (en) 2015-05-21 2015-05-21 program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015103485A JP2016218774A (en) 2015-05-21 2015-05-21 program

Publications (1)

Publication Number Publication Date
JP2016218774A true JP2016218774A (en) 2016-12-22

Family

ID=57581299

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015103485A Pending JP2016218774A (en) 2015-05-21 2015-05-21 program

Country Status (1)

Country Link
JP (1) JP2016218774A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107899236A (en) * 2017-10-25 2018-04-13 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
JP2019003316A (en) * 2017-06-13 2019-01-10 株式会社モバダイ Operation control program and operation control device for game
JP2019119231A (en) * 2017-12-28 2019-07-22 日産自動車株式会社 Parking control method and parking control apparatus
WO2019211950A1 (en) * 2018-05-02 2019-11-07 任天堂株式会社 Information processing program, information processing device, information processing system, and information processing method
CN110662587A (en) * 2017-05-22 2020-01-07 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
CN110678238A (en) * 2017-05-22 2020-01-10 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
US11045736B2 (en) 2018-05-02 2021-06-29 Nintendo Co., Ltd. Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method
US11103784B2 (en) 2018-05-02 2021-08-31 Nintendo Co., Ltd. Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method
JP2021178196A (en) * 2017-05-22 2021-11-18 任天堂株式会社 Game program, information processing device, information processing system, and game processing method

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021168972A (en) * 2017-05-22 2021-10-28 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
CN110662587B (en) * 2017-05-22 2024-01-23 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
JP7150108B2 (en) 2017-05-22 2022-10-07 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
CN110662587A (en) * 2017-05-22 2020-01-07 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
CN110678238A (en) * 2017-05-22 2020-01-10 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
JP2021178196A (en) * 2017-05-22 2021-11-18 任天堂株式会社 Game program, information processing device, information processing system, and game processing method
JP2019003316A (en) * 2017-06-13 2019-01-10 株式会社モバダイ Operation control program and operation control device for game
JP7028428B2 (en) 2017-06-13 2022-03-02 株式会社モバダイ Game operation control program and operation control device
CN107899236A (en) * 2017-10-25 2018-04-13 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
JP7077615B2 (en) 2017-12-28 2022-05-31 日産自動車株式会社 Parking control method and parking control device
JP2019119231A (en) * 2017-12-28 2019-07-22 日産自動車株式会社 Parking control method and parking control apparatus
US11103784B2 (en) 2018-05-02 2021-08-31 Nintendo Co., Ltd. Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method
US11045736B2 (en) 2018-05-02 2021-06-29 Nintendo Co., Ltd. Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method
JPWO2019211950A1 (en) * 2018-05-02 2020-09-24 任天堂株式会社 Information processing programs, information processing devices, information processing systems, and information processing methods
WO2019211950A1 (en) * 2018-05-02 2019-11-07 任天堂株式会社 Information processing program, information processing device, information processing system, and information processing method
US11484783B2 (en) 2018-05-02 2022-11-01 Nintendo Co., Ltd. Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method
US11673043B2 (en) 2018-05-02 2023-06-13 Nintendo Co., Ltd. Storage medium storing information processing program, information processing apparatus, information processing system, and information processing method

Similar Documents

Publication Publication Date Title
JP2016218774A (en) program
JP5640486B2 (en) Information display device
JP6185123B1 (en) Program, control method, and information processing apparatus
JP6921193B2 (en) Game programs, information processing devices, information processing systems, and game processing methods
JP6004716B2 (en) Information processing apparatus, control method therefor, and computer program
JP6921192B2 (en) Game programs, information processing devices, information processing systems, and game processing methods
JP6097427B1 (en) Game program
JP6206854B2 (en) GAME CONTROL DEVICE AND PROGRAM
JPWO2014147668A1 (en) Video game processing apparatus, video game processing method, and video game processing program
US10095277B2 (en) Electronic apparatus and display control method thereof
CN108553892A (en) virtual object control method, device, storage medium and electronic equipment
JP5676036B1 (en) User interface program and game program including the program
JP6189515B1 (en) GAME METHOD AND GAME PROGRAM
JP6565878B2 (en) Display system
US10101905B1 (en) Proximity-based input device
KR20190110625A (en) Touch input determination device, touch panel input device, touch input determination method, and touch input determination program
WO2015122259A1 (en) Input method and input device
WO2020196560A1 (en) Operation device
JP6641041B2 (en) Display control program, display control method, and display control system
WO2022196222A1 (en) Detection processing device, detection processing method, and information processing system
JP6980748B2 (en) Display control program, display control method, and display control system
JP2014052817A (en) Image display method and image display device
JP7041363B2 (en) Game programs and game systems
JP5934008B2 (en) Input device
JP2018124811A (en) Operation device