JP5781563B2 - Movement control device, movement control method, and program - Google Patents
Movement control device, movement control method, and program Download PDFInfo
- Publication number
- JP5781563B2 JP5781563B2 JP2013121326A JP2013121326A JP5781563B2 JP 5781563 B2 JP5781563 B2 JP 5781563B2 JP 2013121326 A JP2013121326 A JP 2013121326A JP 2013121326 A JP2013121326 A JP 2013121326A JP 5781563 B2 JP5781563 B2 JP 5781563B2
- Authority
- JP
- Japan
- Prior art keywords
- instruction
- display screen
- virtual space
- moving object
- specifying
- 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
- 238000000034 method Methods 0.000 title claims description 29
- 238000002347 injection Methods 0.000 claims description 72
- 239000007924 injection Substances 0.000 claims description 72
- 238000001514 detection method Methods 0.000 claims description 10
- 230000008859 change Effects 0.000 description 25
- 230000008569 process Effects 0.000 description 17
- 238000013500 data storage Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 4
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000007423 decrease Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000005452 bending Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000001846 repelling effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本発明は、移動制御装置、移動制御方法、及びプログラムに関する。 The present invention relates to a movement control device, a movement control method, and a program.
従来から、表示画面又は仮想空間内で移動対象(例えば、弾丸やボール等)を移動させる移動制御装置が知られている。例えば、特許文献1には、ユーザが操作するキャラクタの位置に基づいて弾丸の射出位置を決定し、かつ、ユーザがコントローラを向けた方向に基づいて弾丸の射出方向を決定する移動制御装置が記載されている。 2. Description of the Related Art Conventionally, a movement control device that moves a movement target (for example, a bullet or a ball) in a display screen or a virtual space is known. For example, Patent Document 1 describes a movement control device that determines a bullet injection position based on the position of a character operated by a user, and determines a bullet injection direction based on a direction in which the user points the controller. Has been.
しかしながら、特許文献1の技術では、ユーザが弾丸の射出位置及び射出方向の両方を変えるためには、キャラクタの位置を変化させつつ、コントローラの向きを変えなければならなかった。この場合、ユーザは、2つの操作を同時に行わなければならず、ある程度の操作スキルが要求されるため、初心者にとって敷居の高いゲームとなっていた。 However, in the technique of Patent Document 1, in order for the user to change both the bullet injection position and the injection direction, it is necessary to change the orientation of the controller while changing the character position. In this case, the user must perform two operations at the same time, and a certain level of operation skill is required.
本発明は上記課題に鑑みてなされたものであって、その目的は、移動対象を移動させる際のユーザの操作を簡単にした移動制御装置、移動制御方法、及びプログラムを提供することにある。 The present invention has been made in view of the above problems, and an object thereof is to provide a movement control device, a movement control method, and a program that simplify a user's operation when moving a movement target.
上記課題を解決するために、本発明に係る移動制御装置(10)は、表示画面又は仮想空間内で移動対象を移動させる移動制御装置(10)であって、ユーザの指示を取得する指示取得手段(52)と、前記指示取得手段(52)によって取得された指示に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する特定手段(54)と、前記表示画面又は前記仮想空間内に設定される基準位置を取得する基準位置取得手段(56)と、前記特定手段(54)によって特定された放出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該放出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置を決定し、前記特定手段(54)によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と、前記基準位置取得手段(56)によって取得された基準位置と、に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置と前記移動対象が放たれる方向とを決定する決定手段(58)と、前記特定手段(54)によって特定された放出指示位置が前記所定領域内にある場合、前記決定手段(58)によって決定された位置から所定方向に前記移動対象を移動させ、前記特定手段(54)によって特定された放出指示位置が前記所定領域外にある場合、前記決定手段(58)によって決定された位置から、前記決定手段(58)によって決定された方向に、前記移動対象を移動させる移動制御手段(60)と、を含むことを特徴とする。 In order to solve the above-described problem, a movement control device (10) according to the present invention is a movement control device (10) that moves a movement target in a display screen or a virtual space, and acquires an instruction for acquiring a user instruction. A means (52), a specifying means (54) for specifying a release instruction position of the movement target in the display screen or the virtual space based on the instruction acquired by the instruction acquisition means (52), and the display Reference position acquisition means (56) for acquiring a reference position set in the screen or the virtual space, and the discharge instruction position specified by the specification means (54) are within a predetermined area of the display screen or the virtual space. If there is, the position where the moving object is released is determined on the display screen or the virtual space based on the release instruction position, and the release specified by the specifying means (54) is determined. When the designated position is outside the predetermined area, the movement target is released on the display screen or the virtual space based on the release designated position and the reference position acquired by the reference position acquisition means (56). A determining means (58) for determining a position to be leaned and a direction in which the moving object is released, and when the discharge instruction position specified by the specifying means (54) is within the predetermined area, the determining means (58 The position determined by the determination means (58) when the movement target is moved in a predetermined direction from the position determined by), and the release instruction position specified by the specification means (54) is outside the predetermined area. And a movement control means (60) for moving the moving object in the direction determined by the determination means (58).
本発明に係る移動制御方法は、表示画面又は仮想空間内で移動対象を移動させる移動制御方法であって、ユーザの指示を取得する指示取得ステップ(52)と、前記指示取得ステップ(52)によって取得された指示に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する特定ステップ(54)と、前記表示画面又は前記仮想空間内に設定される基準位置を取得する基準位置取得ステップ(56)と、前記特定ステップ(54)によって特定された放出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該放出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置を決定し、前記特定ステップ(54)によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と、前記基準位置取得ステップ(56)によって取得された基準位置と、に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置と前記移動対象が放たれる方向とを決定する決定ステップ(58)と、前記特定ステップ(54)によって特定された放出指示位置が前記所定領域内にある場合、前記決定ステップ(58)によって決定された位置から所定方向に前記移動対象を移動させ、前記特定ステップ(54)によって特定された放出指示位置が前記所定領域外にある場合、前記決定ステップ(58)によって決定された位置から、前記決定ステップ(58)によって決定された方向に、前記移動対象を移動させる移動制御ステップ(60)と、を含むことを特徴とする。 The movement control method according to the present invention is a movement control method for moving a movement target in a display screen or a virtual space, and includes an instruction acquisition step (52) for acquiring a user instruction, and the instruction acquisition step (52). Based on the acquired instruction, a specifying step (54) for specifying a release instruction position of the movement target in the display screen or the virtual space, and a reference position set in the display screen or the virtual space are acquired. When the release instruction position specified by the reference position acquisition step (56) and the specifying step (54) is within a predetermined area of the display screen or the virtual space, the display screen is based on the release instruction position. Alternatively, a position where the moving object is released in the virtual space is determined, and the release instruction position specified by the specifying step (54) is the position. When it is outside the area, based on the release instruction position and the reference position acquired by the reference position acquisition step (56), the position where the moving object is released in the display screen or the virtual space, and A determination step (58) for determining a direction in which the moving object is released, and a release instruction position specified by the specification step (54) is determined by the determination step (58) when it is within the predetermined area. When the movement target is moved in a predetermined direction from the position, and the release instruction position specified by the specifying step (54) is outside the predetermined area, the determining step is started from the position determined by the determining step (58). A movement control step (60) for moving the moving object in the direction determined by (58).
本発明に係るプログラムは、表示画面又は仮想空間内で移動対象を移動させるコンピュータを、ユーザの指示を取得する指示取得手段(52)、前記指示取得手段(52)によって取得された指示に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する特定手段(54)、前記表示画面又は前記仮想空間内に設定される基準位置を取得する基準位置取得手段(56)、前記特定手段(54)によって特定された放出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該放出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置を決定し、前記特定手段(54)によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と、前記基準位置取得手段(56)によって取得された基準位置と、に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置と前記移動対象が放たれる方向とを決定する決定手段(58)、前記特定手段(54)によって特定された放出指示位置が前記所定領域内にある場合、前記決定手段(58)によって決定された位置から所定方向に前記移動対象を移動させ、前記特定手段(54)によって特定された放出指示位置が前記所定領域外にある場合、前記決定手段(58)によって決定された位置から、前記決定手段(58)によって決定された方向に、前記移動対象を移動させる移動制御手段(60)、として機能させることを特徴とする。 The program according to the present invention is based on the instruction acquired by the instruction acquisition means (52), the instruction acquisition means (52), and the instruction acquisition means (52) for acquiring the user's instruction for the computer that moves the movement target in the display screen or virtual space. , A specifying unit (54) for specifying a release instruction position of the moving object in the display screen or the virtual space, a reference position acquiring unit (56) for acquiring a reference position set in the display screen or the virtual space When the release instruction position specified by the specifying means (54) is within a predetermined area of the display screen or the virtual space, the movement target is displayed on the display screen or the virtual space based on the release instruction position. If the release instruction position specified by the specifying means (54) is outside the predetermined area, the release instruction position is determined. Determination of determining a position where the moving object is released and a direction where the moving object is released on the display screen or the virtual space based on the reference position acquired by the reference position acquisition means (56) Means (58), when the release instruction position specified by the specifying means (54) is within the predetermined area, the moving object is moved in a predetermined direction from the position determined by the determining means (58), and When the release instruction position specified by the specifying means (54) is outside the predetermined area, the moving object is moved in the direction determined by the determining means (58) from the position determined by the determining means (58). It is characterized by functioning as a movement control means (60) for moving.
また、本発明に係る情報記憶媒体は、上記プログラムを記録したコンピュータ読み取り可能な情報記憶媒体である。 An information storage medium according to the present invention is a computer-readable information storage medium recording the above program.
本発明によれば、移動対象を移動させる際のユーザの操作を簡単にすることができる。 ADVANTAGE OF THE INVENTION According to this invention, a user's operation at the time of moving a moving object can be simplified.
また、本発明の一態様では、前記指示取得手段(52)は、前記表示画面又は前記仮想空間内の第1の方向を指示する第1の指示と、前記第1の方向とは異なる第2の方向を指示する第2の指示と、を取得し、前記基準位置取得手段(56)は、前記指示取得手段(52)によって取得された前記第1の指示に基づいて、前記基準位置を取得し、前記特定手段(54)は、前記第1の指示が行われた後に行われた前記第2の指示に基づいて、前記放出指示位置を特定する、ことを特徴とする。当該態様によれば、ユーザが2つの方向を指示するという比較的簡易な操作により、基準位置の取得及び放出指示位置の特定を行うことができ、ユーザの操作を簡単にすることができる。 In the aspect of the invention, the instruction acquisition unit (52) may include a first instruction that instructs a first direction in the display screen or the virtual space, and a second instruction that is different from the first direction. The reference position acquisition means (56) acquires the reference position based on the first instruction acquired by the instruction acquisition means (52). The specifying means (54) specifies the release instruction position based on the second instruction performed after the first instruction is performed. According to this aspect, the reference position can be acquired and the discharge instruction position can be specified by a relatively simple operation in which the user indicates two directions, and the user's operation can be simplified.
また、本発明の一態様では、前記基準位置取得手段(56)は、前記第2の指示が行われた後に前記第1の指示が行われた場合に、当該行われた第1の指示と、当該行われた第2の指示と、に基づいて、前記基準位置を取得し、前記特定手段(54)は、前記第2の指示が行われた後に前記第1の指示が行われ、かつ、その後に再度前記第2の指示が行われた場合に、当該行われた再度の第2の指示に基づいて、前記放出指示位置を特定する、ことを特徴とする。当該態様によれば、比較的簡易な操作によりユーザの操作を簡単にしつつ、基準位置の指定を詳細に行うことができる。 Further, in one aspect of the present invention, the reference position acquisition unit (56) is configured to display the first instruction made when the first instruction is made after the second instruction is made. The reference position is acquired based on the second instruction made, and the specifying means (54) performs the first instruction after the second instruction is performed, and Then, when the second instruction is performed again thereafter, the release instruction position is specified based on the second instruction that has been performed again. According to this aspect, it is possible to specify the reference position in detail while simplifying the user's operation with a relatively simple operation.
また、本発明の一態様では、前記基準位置取得手段(56)は、前記第1の指示に基づいて定まる前記表示画面又は前記仮想空間内の位置と、前記移動対象に関連付けられた位置と、のずれが基準以上になった場合の前記第1の指示に基づいて、前記基準位置を取得し、前記特定手段(54)は、前記ずれが基準以上になった場合の前記第1の指示の後に行われた前記第2の指示に基づいて、前記放出指示位置を特定する、ことを特徴とする。当該態様によれば、基準位置を取得するための指示に遊びを持たせることができるので、誤操作により基準位置が取得されてしまうことを防止することができる。 In one aspect of the present invention, the reference position acquisition unit (56) includes a position in the display screen or the virtual space determined based on the first instruction, a position associated with the movement target, The reference position is acquired based on the first instruction when the deviation exceeds a reference, and the specifying means (54) determines the first instruction when the deviation exceeds the reference. The release instruction position is specified based on the second instruction performed later. According to this aspect, play can be given to the instruction for acquiring the reference position, so that it is possible to prevent the reference position from being acquired by an erroneous operation.
また、本発明の一態様では、前記基準位置取得手段(56)は、前記第1の指示に基づいて定まる前記表示画面又は前記仮想空間内の位置が前記所定方向にずれた位置を、前記基準位置として取得する、ことを特徴とする。当該態様によれば、基準位置を取得するための指示を、より直感的な操作にすることができるので、ユーザの操作を更に簡単にすることができる。 In one aspect of the present invention, the reference position acquisition means (56) determines the position where the position in the display screen or the virtual space determined based on the first instruction is shifted in the predetermined direction as the reference direction. It is acquired as a position. According to this aspect, since the instruction for acquiring the reference position can be a more intuitive operation, the user's operation can be further simplified.
また、本発明の一態様では、前記指示取得手段(52)によって取得される前記第1の指示は、前記所定方向とのなす角度が基準角度以上となる方向の指示である、ことを特徴とする。当該態様によれば、基準位置を取得するためのユーザの指示を、より直感的なものにすることができるので、ユーザの操作を更に簡単にすることができる。 In one aspect of the present invention, the first instruction acquired by the instruction acquisition unit (52) is an instruction of a direction in which an angle with the predetermined direction is a reference angle or more. To do. According to this aspect, the user's instruction for acquiring the reference position can be made more intuitive, so that the user's operation can be further simplified.
また、本発明の一態様では、前記決定手段(58)は、前記特定手段(54)によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と前記基準位置とに基づいて、前記所定方向を変化させることによって、前記移動対象が放たれる方向を決定する、ことを特徴とする。当該態様によれば、移動対象が放たれる方向をユーザが変化させやすくなる。 In one aspect of the present invention, when the release instruction position specified by the specifying means (54) is outside the predetermined area, the determining means (58) is based on the discharge instruction position and the reference position. The direction in which the moving object is released is determined by changing the predetermined direction. According to this aspect, the user can easily change the direction in which the moving object is released.
また、本発明の一態様では、前記移動制御手段(60)は、前記特定手段(54)によって特定された放出指示位置と、前記表示画面又は前記仮想空間における前記移動対象の現在位置と、のずれに基づいて、前記移動対象の軌道及び前記移動対象の回転の少なくとも一方を制御する、ことを特徴とする。当該態様によれば、比較的簡易な操作により、移動対象の軌道や回転が変化するので、ユーザの操作を簡単にすることができる。 Moreover, in one aspect of the present invention, the movement control means (60) includes: a discharge instruction position specified by the specification means (54); and a current position of the movement target in the display screen or the virtual space. Based on the deviation, at least one of the trajectory of the moving object and the rotation of the moving object is controlled. According to this aspect, since the trajectory and rotation of the movement target are changed by a relatively simple operation, the user's operation can be simplified.
また、本発明の一態様では、前記移動制御手段(60)は、前記特定手段(54)によって特定された放出指示位置に基づいて、前記移動対象の速度を制御する、ことを特徴とする。当該態様によれば、比較的簡易な操作により、移動対象の速度が変化するので、ユーザの操作を簡単にすることができる。 In one aspect of the present invention, the movement control means (60) controls the speed of the movement target based on the release instruction position specified by the specification means (54). According to this aspect, since the speed of the movement target is changed by a relatively simple operation, the user's operation can be simplified.
また、本発明の一態様では、前記移動対象は、前記表示画面又は前記仮想空間において射出されるものであり、前記特定手段(54)は、前記移動対象の射出指示位置を特定し、前記決定手段(58)は、前記特定手段(54)によって特定された射出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該射出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が射出される位置を決定し、前記特定手段(54)によって特定された射出指示位置が前記所定領域外にある場合、当該放出指示位置と前記基準位置とに基づいて、前記表示画面又は前記仮想空間において前記移動対象が射出される位置と前記移動対象が射出される方向とを決定し、前記移動制御手段(60)は、前記特定手段(54)によって特定された射出指示位置が前記所定領域内にある場合、前記決定手段(58)によって決定された位置から所定方向に前記移動対象を射出させ、前記特定手段(54)によって特定された射出指示位置が前記所定領域外にある場合、前記決定手段(58)によって決定された位置から、前記決定手段(58)によって決定された方向に、前記移動対象を射出させる、ことを特徴とする。当該態様によれば、移動対象を射出させる際のユーザの操作を簡単にすることができる。 In the aspect of the invention, the moving object is ejected on the display screen or the virtual space, and the specifying unit (54) specifies an injection instruction position of the moving object, and determines the determination. When the injection instruction position specified by the specifying means (54) is within a predetermined area of the display screen or the virtual space, the means (58) is configured to display the display screen or the virtual space based on the injection instruction position. The position at which the moving object is ejected is determined, and when the ejection instruction position specified by the specifying means (54) is outside the predetermined area, the display is based on the discharge instruction position and the reference position. A position at which the moving object is ejected on the screen or the virtual space and a direction in which the moving object is ejected are determined, and the movement control means (60) is configured to determine the specifying means (54). Therefore, when the specified injection instruction position is within the predetermined region, the moving object is injected in a predetermined direction from the position determined by the determining means (58), and the injection instruction specified by the specifying means (54) When the position is outside the predetermined area, the moving object is ejected from the position determined by the determining means (58) in the direction determined by the determining means (58). According to the said aspect, a user's operation at the time of injecting a moving object can be simplified.
また、本発明の一態様では、前記指示取得手段(52)は、タッチパネルからの検出信号を取得し、前記特定手段(54)は、前記指示取得手段(52)によって取得された前記タッチパネルからの検出信号に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する、ことを特徴とする。当該態様によれば、タッチパネルを用いて移動対象を移動させる際のユーザの操作を簡単にすることができる。 In one aspect of the present invention, the instruction acquisition unit (52) acquires a detection signal from the touch panel, and the specifying unit (54) receives the detection signal from the touch panel acquired by the instruction acquisition unit (52). Based on a detection signal, a release instruction position of the moving object in the display screen or the virtual space is specified. According to the said aspect, a user's operation at the time of moving a moving object using a touch panel can be simplified.
なお、上記では、本発明の理解を容易にするため図面に記載の符号を括弧書きで記載しているが、これにより本発明に係る移動制御装置等が図示の態様に限定されるものではない。 In addition, in the above, although the code | symbol described in drawing is described in parenthesis in order to make an understanding of this invention easy, the movement control apparatus etc. which concern on this invention by this are not limited to the aspect of illustration. .
以下、本発明の実施形態の例について図面に基づき詳細に説明する。本発明に係る移動制御装置(コンピュータ)は、例えば、携帯端末(スマートフォン等の携帯電話機、及び、タブレット型コンピュータ等の携帯情報端末を含む)、ゲーム装置、及びパーソナルコンピュータ等により実現される。本実施形態では、移動制御装置が、携帯端末を用いて実現される場合を説明する。 Hereinafter, examples of embodiments of the present invention will be described in detail with reference to the drawings. The movement control device (computer) according to the present invention is realized by, for example, a mobile terminal (including a mobile phone such as a smartphone and a mobile information terminal such as a tablet computer), a game device, a personal computer, and the like. This embodiment demonstrates the case where a movement control apparatus is implement | achieved using a portable terminal.
[1.携帯端末のハードウェア構成]
図1は、携帯端末の外観の一例を示す図である。また、図2は、携帯端末のハードウェア構成の一例を示す図である。図1及び図2に示すように、携帯端末10は、制御部11、記憶部12、通信部13、操作部14、タッチパネル15、及び表示部16を含む。
[1. Hardware configuration of mobile terminal]
FIG. 1 is a diagram illustrating an example of the appearance of a mobile terminal. FIG. 2 is a diagram illustrating an example of a hardware configuration of the mobile terminal. As illustrated in FIGS. 1 and 2, the
制御部11は、例えば、一又は複数のマイクロプロセッサを含む。制御部11は、記憶部12に記憶されたオペレーティングシステム又はその他のプログラムに従って、処理を実行する。
The
記憶部12は、メインメモリと不揮発性メモリとを含む。不揮発性メモリには、制御部11によって実行されるプログラムが記憶される。例えば、このプログラムは、インターネット等の通信ネットワークを介してサーバ装置からダウンロードされて不揮発性メモリに格納される。または、このプログラムは、メモリカード等のコンピュータ読み取り可能な情報記憶媒体から複写されて不揮発性メモリに格納される。メインメモリには、不揮発性メモリから読み出されるプログラムや、制御部11が処理を実行する場合に必要なデータが書き込まれる。
The
通信部13は、データ通信を行うためのものである。例えば、通信部13は、制御部11からの指示に従ってデータ通信を実行する。
The
操作部14は、例えば、ボタン、スティック(レバー)、又はキーボード等を含み、ユーザが操作を行うために用いられる。
The
タッチパネル15は、一般的なタッチパネルであり、ユーザによって接触された位置を検出する。タッチパネル15は、ユーザによって接触された複数の位置を検出できるようになっている。タッチパネル15としては、例えば、静電容量方式のタッチパネルが用いられる。静電容量方式のタッチパネルでは、タッチパネルの表面がユーザによって接触された場合に生じる電荷の変化に基づいて、ユーザによって接触された位置が検出される。ユーザによって接触された位置は、例えば、図1に示すような、タッチパネル15の左上頂点を原点Oとし、かつ、右方向及び下方向をそれぞれXs軸正方向及びYs軸正方向とするXs−Ys座標系の座標値によって表される。
The
タッチパネル15は、ユーザによって接触された位置に応じた情報をオペレーティングシステムに供給する。オペレーティングシステムは、タッチパネル15から供給される情報に基づいて、ユーザによって接触されている位置を取得する。例えば、ユーザによって複数の位置が接触されている場合、オペレーティングシステムはそれら複数の接触位置を取得し、それら複数の接触位置を示す接触位置データを記憶部12に記憶させる。オペレーティングシステムによって記憶部12に記憶された接触位置データはオペレーティングシステム以外のプログラムによって参照される。
The
なお、タッチパネル15は、後述の表示部16の上に重ねて設けられる。このため、ユーザはタッチパネル15の表面を触ることによって、表示部16に表示される画面内の位置を指定することができる。なお、ユーザは自らの指(手)をタッチパネル15の表面に接触させるようにしてもよいし、ユーザが指(手)以外の部位をタッチパネル15の表面に接触させるようにしてもよい。他にも例えば、ユーザが把持する物体(タッチペン等)をタッチパネル15の表面に接触させるようにしてもよい。
The
表示部16は、例えば、液晶パネルである。表示部16は、制御部11からの指示に従って画面を表示する。
The
なお、携帯端末10は光ディスクドライブ又はメモリカードスロットを含むようにしてもよい。光ディスクドライブは、光ディスク(情報記憶媒体)に記録されたプログラムやデータを読み出すためのものである。メモリカードスロットは、メモリカード(情報記憶媒体)に記憶されたプログラムやデータを読み出すためのものである。プログラムやデータは、光ディスク又はメモリカードを介して携帯端末10に供給され、記憶部12(不揮発性メモリ)に記憶されるようにしてもよい。また、情報記憶媒体に記憶されているものとして説明するプログラムやデータは、通信部13を介してネットワークから取得されるようにしてもよい。
The
[2.携帯端末において実行されるゲーム]
携帯端末10は、記憶部12から読み出したプログラムを実行することによって、表示画面又は仮想空間内で移動対象を移動させるゲームを実行する。本実施形態では、ユーザが、ゲーム画面内で移動対象(例えば、ボール)を移動させ、当該移動対象を接触対象(例えば、ブロック)に接触させることを目指すゲームを例に挙げて説明する。
[2. Game executed on portable terminal]
The
図3は、ゲーム画面の一例を示す図である。図3に示すように、ゲーム画面20には、ゲーム画面20内で移動するボール22、ボール22を射出するための射出器であるパドル24、パドル24とゲーム画面20の端部(枠)とをつなぐワイヤ26、及びボール22を接触させる接触対象であるブロック28が表示される。なお、ここでは、ワイヤ26は、弾性を有しており、パドル24の位置に応じて伸縮する。また、パドル24とゲーム画面20の端部とをつなぐ媒体がワイヤ26である場合を説明するが、この媒体は、パドル24の位置に応じて伸縮するものであればよく、他にもロープ等であってもよい。
FIG. 3 is a diagram illustrating an example of the game screen. As shown in FIG. 3, the
図3に示す状態では、ボール22は、パドル24に接着している。ユーザが何も操作をしない状態では、ワイヤ26は水平方向に伸び、このワイヤ26のほぼ中央にパドル24が配置されている。また、パドル24の射出面(ボール22が接着している接着面)は、上方向(ブロック28が配置されている方)を向いている。
In the state shown in FIG. 3, the
図4及び図5は、パドル24を動かしたときの説明図である。図4に示すように、ユーザが例えば指でパドル24をタッチして、そのまま指を左右方向にスライドすると、パドル24も左右方向に移動する。本実施形態では、ユーザがパドル24をタッチした位置(即ち、現在の接触位置)のことを放出指示位置32ともいう。ユーザがパドル24をタッチしたまま指を左右方向にスライドすることで、ボール22の射出位置を調整できるようにしている。なお、ボール22を射出する際、必ずしも、このスライド操作は行われなくてもよい。
4 and 5 are explanatory diagrams when the
また、ユーザが指でパドル24をタッチしたままその指を下方向にスライドすると、パドル24も下方向に移動する。パドル24が下方向に移動することにより、ワイヤ26が伸縮する。この場合、パドル24の現在位置に応じて、ワイヤ26が伸びる。即ち、パドル24が下がるほど、ワイヤ26が伸びる。
Further, when the user slides the finger downward while touching the
ワイヤ26を伸ばした状態で、ユーザがパドル24から指を離すと、ワイヤ26が元の長さに戻ろうとする力によって、パドル24がワイヤ26に引っ張られて上方向(Ys軸の負方向)に移動する。そして、パドル24が所定の位置まで移動すると、パドル24からボール22が離れるようになっている。パドル24から離れたボール22は、そのままの速度でワイヤ26の初期位置よりも上方向に移動する。例えば、ボール22がパドル24に接着したまま、ワイヤ26が水平方向を向く位置までパドル24が移動すると、ボール22がパドル24から離れて上方向に射出される。なお、ワイヤ26が水平方向を向く位置まで移動したパドル24は、その位置で停止する。
When the user removes his / her finger from the
一方、図5に示すように、ユーザが、パドル24を左右及び下方向に移動させた後、指でパドル24をタッチしたまま、再び左右にスライドさせると、パドル24の向きが変化する。このようにパドル24の向きが変化することにより、ボール22の射出位置及び射出方向が変化する。即ち、比較的簡易な操作でボール22の射出位置及び射出方向の両方を変化させることができるようにしている。
On the other hand, as shown in FIG. 5, when the user moves the
例えば、パドル24を下方向に移動させた状態から、ユーザがパドル24を左方向にある程度スライドさせると、射出位置が右方向に移動しつつ、射出方向が右回りに回転する。この場合、ユーザがパドル24を左に移動させるほど、右回りの回転角度が大きくなる。一方、パドル24を下方向に移動させた状態から、ユーザがパドルを右方向にある程度スライドさせると、射出位置が左方向に移動しつつ、射出方向が左回りに回転する。この場合、ユーザがパドル24を右に移動させるほど、左回りの回転角度が大きくなる。その後、ユーザがパドル24から指を離すと、上記変化した射出位置から、上記変化した射出方向に向けて、ボール22が射出される。
For example, when the user slides the
射出されたボール22は、ゲーム画面20内を移動する。そして、ボール22がブロック28に接触すると、ボール22と接触したブロック28がゲーム画面20から消去される。ゲーム画面20に表示されている全てのブロック28が消去されると、ゲームクリアとなる。そのためユーザは、全てのブロック28を消去することを目指す。ボール22は、ブロック28やゲーム画面20の端部に接触すると、所定条件のもとではね返る。
The ejected
ブロック28やゲーム画面20の端部ではね返えり戻ってきたボール22にパドル24を接触させると、ボール22がパドル24の射出面上で停止する。ユーザは、パドル24を移動させて、はね返ってきたボール22を受け止めることを目指す。この場合、ユーザは、パドル24をタッチして左右方向に指をスライドすることで、パドル24を左右方向に移動させる。ユーザがボール22をパドル24で受け止めることができた場合は、ボール22はパドル24に接着する。なお、パドル24に接着したボール22は、上記と同様の操作をユーザが行うことにより、再び射出させることができる。
When the
一方、ユーザがボール22をパドル24で受け止めることができず、ボール22が図3に示す失敗領域30に侵入した場合、そのボール22は消滅する。なお、ボール22が消滅すると、ユーザが保有するボール22の数が減少する。失敗領域30は、ゲーム画面20のうち、ワイヤ26が水平方向となる線分よりも下側の領域である。ボール22が消滅した場合であっても、ユーザは、自分が保有するボール22を用いることにより、再びパドル24からボール22を射出することができる。ただし、ユーザが保有するボール22の数が0の状態で、ボール22が失敗領域30に侵入すると、ゲームオーバーとなる。
On the other hand, when the user cannot receive the
このように、本実施形態の携帯端末10は、ボール22の射出位置を変化させて射出方向は所定方向のまま変化させないようにしたり、ボール22の射出位置及び射出方向の両方を変化させたりすることができる構成になっている。以降、この構成について、詳細に説明する。
As described above, the
[3.ゲーム装置において実現される機能]
図6は、携帯端末10の機能ブロック図である。図6に示すように、携帯端末10は、記憶部12に記憶されたゲームプログラムを実行することによって、ゲームデータ記憶部50、指示取得部52、特定部54、基準位置取得部56、決定部58、及び移動制御部60を実現する。ゲームデータ記憶部50は、例えば、記憶部12を主として実現され、他の各機能は、制御部11を主として実現される。
[3. Functions realized in game device]
FIG. 6 is a functional block diagram of the
[3−1.ゲームデータ記憶部]
ゲームデータ記憶部50は、ゲームを実行するために必要なデータを記憶する。ここでは、実行中のゲームの状況を示すゲーム状況データについて説明する。ゲーム状況データは、ボール22の現在の状態(例えば、位置、移動方向、及び速度等)、パドル24の現在の状態(例えば、位置、大きさ、及び向き等)、各ブロック28の現在の状態(例えば、各ブロック28の位置、種類、及び、各ブロック28が消去済みか否かを示す情報等)、ユーザの現在のスコア、及びユーザが保有するボール22の数が格納される。ゲーム状況データは、ゲームの進行に応じて更新される。
[3-1. Game data storage unit]
The game
なお、ゲームデータ記憶部50に記憶されるデータは、上記の例に限られない。ゲームデータ記憶部50は、ボール22を移動させるために必要な各種データを記憶するようにすればよい。例えば、ゲームデータ記憶部50は、ボール22の移動アルゴリズム(例えば、跳ね返りアルゴリズムを含む)や、ユーザの過去のゲームプレイに関するデータが記憶されていてもよい。他にも例えば、複数のゲームステージが用意されている場合、ゲームデータ記憶部50は、各ステージにおけるブロック28の初期配置を示すデータが記憶されていてもよい。
The data stored in the game
[3−2.指示取得部]
指示取得部52は、ユーザの指示を取得する。指示取得部52は、検出手段(例えば、操作部14又はタッチパネル15)からの検出信号を取得することで、ユーザの指示を取得する。ここでは、指示取得部52は、ユーザにより接触されたタッチパネル15上の接触位置を取得することで、ユーザの指示を取得する。
[3-2. Instruction acquisition unit]
The
本実施形態では、指示取得部52は、ユーザによる方向指示を取得する。例えば、指示取得部52は、表示画面(例えば、ゲーム画面20)又は仮想空間内の第1の方向(例えば、水平方向)を指示する第1の指示と、第1の方向とは異なる第2の方向を指示する第2の指示(例えば、垂直方向)と、を取得する。
In the present embodiment, the
第1の指示は、所定方向V0(例えば、上方向)とのなす角度が基準角度(例えば、135度)以上となる方向(例えば、下方向)を指示するためのものである。この所定方向V0は、ボール22に関連付けられた基本移動方向であり、例えば、パドル24からブロック28が配置された領域に向けた方向(ボール22の射出元から接触対象に向けた方向)である。本実施形態では、この所定方向V0が上方向であり、第1の指示が、下方向を指示するための操作である場合を説明する。即ち、ここでは、ユーザがタッチパネル15をタッチしたままゲーム画面20の下方向に指をスライドさせる操作(下方向の方向指示)が、第1の指示に相当する。
The first instruction is for indicating a direction (for example, the downward direction) in which the angle formed with the predetermined direction V 0 (for example, the upward direction) is equal to or greater than the reference angle (for example, 135 degrees). The predetermined direction V 0 is a basic movement direction associated with the
また、本実施形態では、第2の指示は、ゲーム画面20の水平方向(左右方向)を指示するための操作である。第2の指示は、第1の指示が示す方向とのなす角度が所定範囲(例えば、45度以上135度未満)となる方向を指示するためのものといえる。即ち、ここでは、ユーザがタッチパネル15をタッチしたまま指を左右方向にスライドさせる操作(水平方向の方向指示)が、第2の指示に相当する。
In the present embodiment, the second instruction is an operation for instructing the horizontal direction (left-right direction) of the
[3−3.特定部]
特定部54は、指示取得部52によって取得された指示(例えば、指示取得部52によって取得されたタッチパネルからの検出信号)に基づいて、表示画面(例えば、ゲーム画面20)又は仮想空間内における移動対象(例えば、ボール22)の放出指示位置32(射出指示位置)を特定する。ここでは、ユーザがパドル24をタッチした位置(又は、ユーザがタッチパネル15のタッチを解除する直前の位置)が、放出指示位置32に相当する場合を説明する。
[3-3. Specific part]
Based on the instruction acquired by the instruction acquisition unit 52 (for example, the detection signal from the touch panel acquired by the instruction acquisition unit 52), the specifying
本実施形態では、特定部54は、第2の指示(例えば、左右方向のスライド操作)が行われた後に第1の指示(例えば、下方向のスライド操作)が行われ、かつ、その後に再度第2の指示が行われた場合に、当該行われた再度の第2の指示に基づいて、放出指示位置32を特定する。即ち、ここでは、当該再度の左右方向のスライド操作に基づいて定まる位置が、放出指示位置32である。
In the present embodiment, the specifying
ここでは、特定部54は、第1の指示に基づいて定まる表示画面(例えば、ゲーム画面20)内又は仮想空間内の位置と、移動対象(例えば、ボール22)に関連付けられた位置と、のずれが基準以上になった場合の第1の指示(例えば、下方向のスライド操作)の後に行われた第2の指示(例えば、左右方向のスライド操作)に基づいて、放出指示位置32を特定する。
Here, the specifying
第1の指示に基づいて定まる位置は、ユーザにより接触されたタッチパネル15上の接触位置であり、パドル24が引き下げられた位置ともいえる。ボール22に関連付けられた位置とは、ボール22の基本位置であり、ワイヤ26が水平になる線分上の位置である。本実施形態では、当該線分から所定距離以内の領域(以降、遊び領域という。)内にタッチパネル15の接触位置が含まれるか否かが判定される場合を説明する。
The position determined based on the first instruction is a contact position on the
図7は、遊び領域36を示す図である。図7に示すように、ワイヤ26が水平になる位置から、下方向に距離d1までの領域が、遊び領域36となる。例えば、ユーザがパドル24をタッチして左右方向にスライドさせる際に、誤って下方向に少しスライドしてしまった場合、この下方向のスライド操作が、パドル24を引き下げる操作として検知されてしまう可能性がある。このため、本実施形態では、遊び領域36を設けることにより、ユーザが下方向に少しだけスライドしてしまったとしても、この下方向のスライドをパドル24の引き下げ操作として検知しないようにすることができる。ユーザにより接触されたタッチパネル15上の接触位置が遊び領域36内に含まれる状態が、ずれが基準未満の状態に相当する。即ち、ユーザにより接触されたタッチパネル15上の接触位置が遊び領域36内に含まれない状態が、ずれが基準以上の状態に相当する。
FIG. 7 is a view showing the
なお、先述のように、最初の左右方向のスライド操作は、必ずしも行われなくてもよい。この場合、特定部54は、第1の指示(例えば、下方向のスライド操作)の後に行われた第2の指示(例えば、左右方向のスライド操作)に基づいて、放出指示位置32を特定する。更に、先述のように、下方向のスライド操作の後の再度の左右方向のスライド操作も、必ずしも行われなくてもよい。この場合、特定部54は、第1の指示(例えば、下方向のスライド操作)に基づいて、放出指示位置32を特定する。
As described above, the first slide operation in the left-right direction is not necessarily performed. In this case, the specifying
[3−4.基準位置取得部]
基準位置取得部56は、表示画面(例えば、ゲーム画面20)又は仮想空間内に設定される基準位置34を取得する。本実施形態では、基準位置34が、ユーザの指示に基づいて定まる位置である場合を説明するが、基準位置34は、予め定められた位置であってもよい。
[3-4. Reference position acquisition unit]
The reference
本実施形態では、基準位置取得部56は、指示取得部52によって取得された第1の指示(例えば、下方向のスライド操作)に基づいて、基準位置34を取得する。例えば、基準位置取得部56は、第1の指示(例えば、下方向のスライド操作)に基づいて定まる表示画面(例えば、ゲーム画面20)又は仮想空間内の位置が所定方向V0にずれた位置を、基準位置34として取得する。例えば、基準位置34は、ユーザがパドル24を引き切った位置を、所定方向V0に所定距離だけ移動させた位置である。なお、この所定距離は、固定値であってもよいし、可変値であってもよい。
In the present embodiment, the reference
本実施形態では、基準位置取得部56は、第2の指示(例えば、左右方向のスライド操作)が行われた後に第1の指示(例えば、下方向のスライド操作)が行われた場合に、当該行われた第1の指示と、当該行われた第2の指示と、に基づいて、基準位置34を取得する。即ち、ユーザがパドル24をタッチしたまま左右方向にスライドして、下方向にスライドした後の接触位置(放出指示位置32)を、所定方向V0に所定距離だけ移動させた位置が、基準位置34となる。
In the present embodiment, the reference
本実施形態では、基準位置取得部56は、第1の指示(例えば、下方向のスライド操作)に基づいて定まる表示画面(例えば、ゲーム画面20)又は仮想空間内の位置と、移動対象に関連付けられた位置と、のずれが基準以上になった場合の第1の指示に基づいて、基準位置34を取得する。即ち、基準位置取得部56は、ユーザにより接触されたタッチパネル15上の接触位置(放出指示位置32)が遊び領域36の外に出た場合の接触位置に基づいて、基準位置34を取得する。
In the present embodiment, the reference
[3−5.決定部]
決定部58は、特定部54によって特定された放出指示位置32が表示画面(例えば、ゲーム画面20)又は仮想空間の所定領域内にある場合、当該放出指示位置32(射出指示位置)に基づいて、表示画面又は仮想空間において移動対象(例えば、ボール22)が放たれる位置(射出位置)を決定する。射出位置は、ボール22がパドル24から離れる位置である。
[3-5. Decision part]
When the
図8は、決定部58の処理内容を説明するための図である。図8に示す所定領域38は、ユーザにより下げられたパドル24の引き下げ位置40に基づいて定まる領域である。引き下げ位置40は、ユーザがパドル24をタッチしたまま下方向にスライドした場合の接触位置であり、例えば、その後にタッチが解除される直前、又は、その後の左右方向のスライドが開始される直前の接触位置である。
FIG. 8 is a diagram for explaining the processing content of the
例えば、図8に示すように、所定領域38は、引き下げ位置40から水平方向の距離が所定距離d2以内となる領域である。この所定距離d2は、固定値であってもよいし、可変値であってもよい。決定部58は、放出指示位置32が所定領域38内にある場合、ボール22が放たれる方向は所定方向V0から変化させない。例えば、ユーザがボール22を所定方向V0に射出したいと思っても、パドル24を下方向にスライドさせる際に、誤って左右方向に少しスライドしてしまうことがある。この場合、所定領域38を設けなければ、この左右方向のスライドによってパドル24が傾いてしまい、ボール22を所定方向V0に射出することができない可能性がある。このため、本実施形態では、放出指示位置32が所定領域38内にある場合に、ボール22の射出方向を所定方向V0のままにすることで、左右方向に少しだけスライドしてしまったとしても、この左右方向のスライドによりボール22の射出方向を変化させないようにすることができる。
For example, as shown in FIG. 8, the
また、決定部58は、特定部54によって特定された放出指示位置32が所定領域38外にある場合、当該放出指示位置32(射出指示位置)と、基準位置取得部56によって取得された基準位置34と、に基づいて、表示画面(例えば、ゲーム画面20)又は仮想空間において移動対象が放たれる位置(射出位置)と移動対象が放たれる方向(射出方向)とを決定する。
In addition, when the
図9は、放出指示位置32が所定領域38外にある場合のボール22の射出位置及び射出方向の決定方法を説明するための図である。図9に示すように、ここでは、決定部58は、放出指示位置32と基準位置34とに基づいて、所定方向V0を変化させることによって、移動対象が放たれる方向(以降、射出方向V1という。)を決定する。
FIG. 9 is a diagram for explaining a method for determining the injection position and the injection direction of the
決定部58は、放出指示位置32と基準位置34との位置関係に基づいて、所定方向V0を変化(回転)させる。例えば、決定部58は、放出指示位置32が基準位置34から離れるほど、所定方向V0からの変化量を大きくすることによって、射出方向V1を決定する。図9に示す例では、放出指示位置32から基準位置34に向けた方向となるように、射出方向V1が決定される。また、決定部58は、現在の放出指示位置32及び現在の射出方向V1に基づいて、射出位置を決定する。例えば、決定部58は、放出指示位置32から射出方向V1に向けた直線と、ワイヤ26の水平方向と、の交点を射出位置として決定する。
The
[3−6.移動制御部]
移動制御部60は、特定部54によって特定された放出指示位置32が所定領域38内にある場合、決定部58によって決定された位置から所定方向V0に移動対象(例えば、ボール22)を移動(例えば、射出)させる。一方、移動制御部60は、特定部54によって特定された放出指示位置32が所定領域38外にある場合、決定部58によって決定された位置(例えば、射出位置)から、決定部58によって決定された方向(例えば、射出方向V1)に、移動対象(例えば、ボール22)を移動(例えば、射出)させる。
[3-6. Movement control unit]
なお、パドル24からボール22が射出された後は、移動制御部60は、所与の移動アルゴリズムに基づいてボール22を移動させる。例えば、移動制御部60は、ボール22の現在の移動方向に基づいて、ボール22を移動させる。なお、移動制御部60は、ボール22の移動方向を変化させてもよい。また、ボール22の回転方向及び回転数がゲーム状況データに含まれる場合には、移動制御部60は、ボール22の回転方向及び回転数に基づいて、ボール22の移動方向を変化させるようにしてもよい。ボール22がブロック28やゲーム画面20の端部に接触した場合には、移動制御部60は、所与のはね返りアルゴリズムに基づいて、ボール22をはね返らせる。
In addition, after the
[4.ゲーム装置において実行される処理]
図10及び図11は、携帯端末10が実行する処理を示すフロー図である。制御部11は、ゲームの開始指示が行われた場合に、記憶部12に記憶されたプログラムに従って、図10及び図11に示す処理を実行する。
[4. Processing executed in game device]
10 and 11 are flowcharts showing processing executed by the
まず、図10に示すように、制御部11は、ゲームを開始し、表示部16にゲーム画面20を表示させる(S1)。S1においては、制御部11は、ブロック28を予め定められた位置に配置し、ボール22をパドル24上に接着させる。
First, as shown in FIG. 10, the
制御部11は、タッチパネル15からの検出信号に基づいて、ユーザがパドル24をタッチしたか否かを判定する(S2)。S2においては、制御部11は、ユーザによるタッチパネル15上の接触位置が、パドル24の表示位置に対応する領域内に含まれるか否かを判定する。
The
ユーザがパドル24をタッチしたと判定された場合(S2;Y)、制御部11は、ユーザによる接触位置に基づいてパドル24を移動させる(S3)。S3においては、制御部11は、ユーザによる接触位置の変化方向にパドル24を移動させる。例えば、ユーザによる接触位置の変化方向が水平方向であれば、制御部11は、パドル24を水平方向に移動させ、ユーザによる接触位置の変化方向が下方向であれば、制御部11は、パドル24を下方向に移動させる。以降、パドル24へのタッチが解除されるまで、制御部11は、ユーザによる接触位置の変化に基づいて、パドル24を移動させる。
When it is determined that the user has touched the paddle 24 (S2; Y), the
制御部11は、パドル24が遊び領域36を超えたか否かを判定する(S4)。S4においては、制御部11は、パドル24の現在位置(即ち、ユーザによるタッチパネル15上の接触位置)と、ワイヤ26の水平方向と、の距離が所定距離d1以上になったか否かを判定する。
The
パドル24が遊び領域36を超えたと判定された場合(S4;Y)、制御部11は、ユーザの接触位置の変化方向が水平方向であるか否かを判定する(S5)。接触位置の変化方向が水平方向でないと判定された場合(S5;N)、制御部11は、パドル24へのタッチが解除されたか否かを判定する(S6)。
When it is determined that the
パドル24へのタッチが解除されたと判定された場合(S6;Y)、制御部11は、現在の接触位置(即ち、放出指示位置32)に基づいて、ボール22の射出位置を決定する(S7)。S7においては、制御部11は、パドル24へのタッチが解除される直前の接触位置(放出指示位置32)から所定方向V0に向けた直線と、ワイヤ26の水平方向と、が交わる位置を、ボール22の射出位置として決定する。
When it is determined that the touch on the
制御部11は、S7で決定した射出位置から、上方向に向けてボール22を射出させ(S8)、後述するS14の処理に移行する。S8においては、制御部11は、ボール22を接着させたままパドル24を上方向に移動させる。そして、制御部11は、パドル24がワイヤ26の水平方向の位置(即ち、S7において決定された射出位置)まで移動した場合に、パドル24からボール22を上方向に射出させる。
The
一方、接触位置の変化方向が水平方向であると判定された場合(S5;Y)、制御部11は、ゲーム画面20に基準位置34及び所定領域38を設定する(S9)。S9においては、制御部11は、パドル24の引き下げ位置40(即ち、接触位置の変化方向が水平方向となる直前の放出指示位置32)に基づいて、基準位置34及び所定領域38をゲーム画面20に設定する。
On the other hand, when it is determined that the change direction of the contact position is the horizontal direction (S5; Y), the
より具体的には、S9においては、制御部11は、パドル24の引き下げ位置40を、所定方向V0に所定距離だけずらした位置を、基準位置34として設定する。更に、制御部11は、パドル24の引き下げ位置40から水平方向の距離が所定距離d2となる所定領域38を設定する。これら基準位置34及び所定領域38を示す情報は、記憶部12に一時的に格納される。
More specifically, in S <b> 9, the
制御部11は、現在の接触位置が所定領域38内であるか否かを判定する(S10)。現在の接触位置が所定領域38内であると判定された場合(S10;Y)、S6の処理に戻る。この場合、後述するS11の処理が行われないので、ボール22の射出方向V1が、所定方向V0のまま変化しないことになる。その後、S6における判定結果が肯定であり、ユーザがパドル24のタッチを解除した場合は、S7の処理に移行する。なお、S6における判定結果が否定であり、S5の処理が実行されて判定結果が肯定だった場合には、S9の処理をスキップして、S10の処理に移行する。
The
一方、現在の接触位置が所定領域38外であると判定された場合(S10;N)、制御部11は、ユーザの接触位置(即ち、放出指示位置32)と、基準位置34と、の位置関係に基づいて、射出位置及び射出方向V1を決定する(S11)。S11においては、制御部11は、ユーザの接触位置(放出指示位置32)から基準位置34に向けた方向になるように、射出方向V1を決定する。制御部11は、ユーザの接触位置(放出指示位置32)から射出方向V1に向けた直線と、ワイヤ26の水平方向と、が交わる位置を、射出位置として決定する。なお、制御部11は、上記決定した射出位置及び射出方向V1に基づいて、パドル24の位置及び向きを変化させて、これら射出位置及び射出方向を、ゲーム画面20においてユーザに案内する。
On the other hand, when it is determined that the current contact position is outside the predetermined region 38 (S10; N), the
制御部11は、パドル24へのタッチが解除されたか否かを判定する(S12)。パドル24へのタッチが解除されたと判定された場合(S12;Y)、制御部11は、S11で決定した射出位置から、S11で決定した射出方向V1に、ボール22を射出させる(S13)。
The
図11に移り、制御部11は、ボール22とブロック28とが接触したか否かを判定する(S14)。S14においては、制御部11は、ボール22とブロック28との当たり判定を行う。ボール22とブロック28とが接触したと判定された場合(S14;Y)、制御部11は、ボール22と接触したブロック28をゲーム画面20から消去する(S15)。
Turning to FIG. 11, the
制御部11は、ボール22のはね返り処理を行う(S16)。S16においては、制御部11は、接触直前のボール22の移動方向に基づいて、ボール22の移動方向を変化させる。例えば、制御部11は、接触直前のボール22の移動方向を、はね返りアルゴリズムが示す数式に代入することによって、接触後のボール22の移動方向を決定する。
The
一方、ボール22とブロック28とが接触したと判定されない場合(S14;N)、制御部11は、ボール22とゲーム画面20の端部とが接触したか否かを判定する(S17)。S17においては、制御部11は、ボール22の現在の位置が、ゲーム画面20の端部に対応する位置に到達したか否かを判定する。
On the other hand, when it is not determined that the
ボール22とゲーム画面20の端部とが接触したと判定された場合(S17;Y)、S16の処理に移行し、制御部11は、ボール22のはね返り処理を実行する。一方、ボール22とゲーム画面20の端部とが接触したと判定されない場合(S17;N)、制御部11は、タッチパネル15からの検出信号に基づいて、パドル24を移動させる(S18)。
When it is determined that the
制御部11は、ボール22とパドル24とが接触したか否かを判定する(S19)。S19においては、制御部11は、ボール22とパドル24との当たり判定を行う。ボール22とパドル24とが接触したと判定された場合(S19;Y)、制御部11は、ボール22をパドル24に接着させ(S20)、S2の処理に戻る。この場合、ボール22が停止し、ユーザは、上記の操作を行って、パドル24からボール22を射出する。
The
一方、ボール22とパドル24とが接触したと判定されない場合(S19;N)、制御部11は、ボール22が失敗領域30に侵入したか否かを判定する(S21)。ボール22が失敗領域30に侵入したと判定されない場合(S21;N)、制御部11は、ボール22を移動させ(S22)、S14の処理に戻る。
On the other hand, when it is not determined that the
一方、ボール22が失敗領域に侵入したと判定された場合(S21;Y)、制御部11は、ゲーム画面20において、ユーザが失敗したこと通知する(S23)。制御部11は、ユーザが保有するボール22の数が0であるか否かを判定する(S24)。
On the other hand, when it is determined that the
ユーザが保有するボール22の数が0でないと判定された場合(S24;N)、制御部11は、ユーザが保有するボール22の数を減少させ(S25)、S2の処理に戻る。この場合、ユーザは、再び、パドル24をタッチしてスライドさせつつ、パドル24からボール22を射出する。
When it is determined that the number of
一方、ユーザが保有するボール22の数が0であると判定された場合(S24;Y)、制御部11は、表示部16にゲームオーバー画面を表示させ(S26)、本処理は終了する。なお、この場合、ユーザが所与の操作(例えば、課金するための操作)を行うことにより、ユーザが保有するボール22の数を増加させて、S2の処理に戻るようにしてもよい。
On the other hand, when it is determined that the number of
以上説明した携帯端末10によれば、放出指示位置32が所定領域38内にある場合は、射出方向V1は所定方向V0のまま変化させずに、射出位置のみが決定され、放出指示位置32が所定領域38外にある場合は、射出位置及び射出方向V1の両方を変化させることができるので、ユーザは、比較的簡易な操作でボール22の射出位置や射出方向V1の指定をすることができ、ボール22を移動(射出)させる際の操作を簡単にすることができる。
According to the
また、上記のように、水平方向と下方向の指示という比較的簡易な指示(一連の流れで行うことができる指示)により、基準位置34の取得及び放出指示位置32の特定を行うことができるので、より効果的に、ユーザの操作を簡単にすることができる。
Further, as described above, the
また、ユーザが水平方向と下方向の指示という比較的簡易な指示により、基準位置34を指定することができるので、基準位置34を指定する際のユーザの操作を簡単にしつつ、基準位置34の指定を詳細に行うことができる。
Further, since the user can designate the
また、放出指示位置32が遊び領域36を超えた場合に基準位置34を取得するため、基準位置34を取得するために行う指示にある程度の幅(遊び)を持たせることができるので、誤操作により、ユーザが意図しない基準位置34が取得されてしまうことを防止することができる。
In addition, since the
また、ユーザがパドル24をタッチしたまま下方向にスライドした場合に、パドル24の引き下げ位置40を所定方向V0にずらした位置を基準位置34とすることにより、基準位置34を取得するための指示を、より直感的な操作にすることができる。
Also, when the user slides downward while touching the
また、パドル24を引き下げる操作をすることで、ユーザが基準位置34を指定することになるので、基準位置34を簡単に取得することができる。
In addition, since the user designates the
また、放出指示位置32が所定領域38外にある場合に、ユーザによる水平方向のスライド操作に応じて、所定方向V0が変化することで射出方向V1が決定されるため、ボール22が放たれる方向をユーザが変化させやすくなる。
Also, if the
また、タッチパネル15を用いて放出指示位置32や基準位置34を指定することができるので、一般的なコントローラ等を用いて放出指示位置32や基準位置34を指定する場合よりも、タッチパネル15を用いた方が、ユーザはより直感的な操作で放出指示位置32や基準位置34の指定をすることができる。
Further, since the
[5.変形例]
なお、本発明は、以上に説明した実施の形態に限定されるものではない。本発明の趣旨を逸脱しない範囲で、適宜変更可能である。
[5. Modified example]
The present invention is not limited to the embodiment described above. Modifications can be made as appropriate without departing from the spirit of the present invention.
(1)例えば、ユーザにより指示された放出指示位置32と、ボール22の現在位置と、の位置関係に基づいて、パドル24からボール22が射出された後のボール22の軌道やボールの回転が変化するようにしてもよい。
(1) For example, the trajectory of the
変形例(1)の移動制御部60は、特定部54によって特定された放出指示位置32と、表示画面(例えば、ゲーム画面20)又は仮想空間における移動対象(例えば、ボール22)の現在位置と、のずれ(距離)に基づいて、移動対象の軌道及び移動対象の回転の少なくとも一方を制御する。
The
例えば、移動制御部60は、放出指示位置32とボール22の現在位置とのずれが大きいほど、ボール22の移動方向の変化が大きくなる(即ち、ボール22の曲がりが大きくなる)ように、ボール22の軌道を制御する。また例えば、移動制御部60は、放出指示位置32とボール22の現在位置とのずれが大きいほど、ボール22の回転数が大きくなるように、ボール22の回転を制御する。なお、ボール22の回転数が大きくなるほど、ボール22の移動方向の変化が大きくなる。
For example, the
変形例(1)によれば、比較的簡易な操作により、ボール22の軌道や回転を変化させることができるので、ボール22の軌道や回転を制御する際のユーザの操作を簡単にすることができる。
According to the modification (1), since the trajectory and rotation of the
(2)また例えば、ユーザがパドル24のタッチを解除する直前の接触位置(即ち、放出指示位置32)に応じて、ボール22の移動速度が変化するようにしてもよい。
(2) Further, for example, the moving speed of the
変形例(2)の移動制御部60は、特定部54によって特定された放出指示位置32に基づいて、移動対象(例えば、ボール22)の速度を制御する。例えば、移動制御部60は、タッチが解除される直前の放出指示位置32と、ワイヤ26の水平方向の線分と、の距離(即ち、ユーザによる下方向のスライド距離)が大きくなるほど、ボール22の速度を大きくする。
The
変形例(2)によれば、比較的簡易な操作により、ボール22の速度が変化するので、ボール22の速度を制御する際のユーザの操作を簡単にすることができる。
According to the modified example (2), the speed of the
(3)また例えば、携帯端末10において実行されるゲームは、上記の例に限られない。例えば、下記のような機能が実現されるようにしてもよい。
(3) For example, the game executed in the
(3−1)例えば、ユーザがパドル24からボール22を射出するまでの制限時間が設けられているようにしてもよい。この場合、ゲーム状況データには、制限時間を示す情報が格納される。例えば、ボール22がパドル24に接着した場合に計時が開始され、所与の制限時間以内にボール22を射出しなければ、ボール22の残り数が減少するようにしてもよい。
(3-1) For example, a time limit until the user ejects the
この場合、制御部11は、残り制限時間をゲーム画面20において案内するようにしてもよい。例えば、制御部11は、所与の案内画像(例えば、爆弾を表す画像等)をワイヤ26上に表示させ、残り制限時間に基づいて、当該案内画像を移動させる。具体的には、制御部11は、案内画像とパドル24の端部との距離が、残り制限時間に対応するように、案内画像をパドル24の端部に近づけるようにしてもよい。この場合、制御部11は、2つの案内画像のそれぞれを、パドル24の両側に表示させ、パドル24の両端に近づけるようにしてもよい。このようにすることで、より視覚的に、制限時間を案内することができる。
In this case, the
(3−2)また例えば、実施形態では、一つのボール22を射出する場合を説明したが、ボール22は、複数であってもよい。この場合、複数のボール22がパドル24に接着していてもよい。ユーザは、上記説明した操作を行うことにより、これら複数のボール22の射出位置及び射出方向を同時に指定することができる。
(3-2) Further, for example, in the embodiment, the case where one
(3−3)また例えば、ボール22の勢い(強さ)を示す情報がゲーム状況データに格納されるようにしてもよい。制御部11は、放出指示位置32に基づいて、ボール22の勢いを示す情報を取得する。例えば、制御部11は、パドル24の引き下げ位置40に基づいて、ボール22の勢いを示す情報を決定する。なお、ボール22の速度を示す情報が、ボールの勢いを示す情報として用いられるようにしてもよい。
(3-3) For example, information indicating the momentum (strength) of the
制御部11は、ボール22とブロック28とが接触した際に、ボール22をはね返らせずに、ブロック28を貫通するように、ボール22を移動させる。更に、制御部11は、ボール22の勢いに基づいて、貫通可能なブロック28の数を変化させるようにしてもよい。
When the
この場合、ユーザがパドル24を下方向に引き下げた際に、制御部11は、現在の放出指示位置32により定まるボール22の勢いで貫通可能なブロック28の表示態様を変化させることで、ボール22の勢いをユーザに案内するようにしてもよい。ブロック28の表示態様を変化させるとは、通常の場合からブロック28の表示を変えることであり、例えば、ブロック28の透明度を変えること、色を変化させること、ブロック28に所与のエフェクト(例えば、点滅や伸縮等)を施すことである。このようにすることで、ユーザは、現在のボール22の勢いで貫通可能なブロック28を視覚的に把握することができる。
In this case, when the user pulls down the
(3−4)また例えば、ユーザがパドル24を引き下げる際の接触位置の軌跡に応じて、ボールの軌道及び回転の少なくとも一方が変化するようにしてもよい。この場合、接触位置の軌跡と、ボールの軌道及び回転の少なくとも一方と、の関連付けを示すデータがゲームデータ記憶部50に記憶されているものとする。制御部11は、接触位置の変化に基づいて軌跡を特定し、当該特定された軌跡に関連付けられた軌道及び回転の少なくとも一方に基づいて、ボール22の移動を制御する。例えば、制御部11は、ユーザが接触位置を回転させながらパドル24を引き下げた場合は、当該回転の方向に対応する方向にボール22が曲がったり回転したりするように、ボール22の移動を制御する。
(3-4) Further, for example, at least one of the trajectory and rotation of the ball may be changed according to the trajectory of the contact position when the user pulls down the
(3−5)また例えば、制御部11は、ユーザがパドル24のタッチを解除したタイミングと、繰り返し訪れる基準タイミングと、のずれ(時間間隔)に応じて、ボール22の射出が成功するか否かを決定するようにしてもよい。射出が成功するとは、決定部58が決定したとおりにボール22を射出することであり、射出が失敗するとは、決定部58が決定したとおりにボール22を射出せず、例えば、ランダムに定まる射出位置及び射出方向に基づいてボール22を射出することである。例えば、上記ずれが基準未満である場合は、成功となり、上記ずれが基準以上である場合は、失敗となる。
(3-5) Further, for example, the
この場合、制御部11は、基準タイミングをゲーム画面20上で案内するようにしてもよい。例えば、制御部11は、所与の案内画像をワイヤ26上に表示させ、基準タイミングが到来するまでの時間に基づいて、当該案内画像を移動させる。具体的には、制御部11は、案内画像とパドル24の端部との距離が、基準タイミングが到来するまでの時間に対応するように、案内画像をパドル24の端部に近づけるようにしてもよい。このようにすることで、ユーザは、視覚的に基準タイミングを把握することができる。
In this case, the
(3−6)また例えば、複数種類のボール22が用意されており、ユーザが使用するボール22の種類により、パドル24から射出された場合の移動のしかたが異なっていてもよい。例えば、制御部11は、特定種類のボール22を、放出指示位置32から射出方向V1に所定距離離れた目標位置に対し、射出位置からジャンプさせるようにしてもよい。更に、ゲーム画面20にアイテムや敵キャラクタが配置される場合、これらアイテムを得るための種類のボール22や、敵キャラクタを倒すための種類のボール22があってもよい。この場合、制御部11は、ゲームの進行に応じて、ボール22の種類を変化させるようにしてもよい。
(3-6) Further, for example, a plurality of types of
(4)また例えば、上記においては、ユーザの指示により放出指示位置32が特定される場合を説明したが、放出指示位置32は、ユーザの指示によって移動したパドル24の位置に基づいて特定されるようにしてもよい。即ち、特定部54は、ユーザの指示によって移動したパドル24の現在位置に基づいて、放出指示位置32を特定するようにしてもよい。
(4) Further, for example, in the above description, the case where the
また例えば、ユーザがパドル24を離すと、パドル24がワイヤの水平方向を向く位置まで戻る場合を説明したが、パドル24は、ワイヤ26の水平方向を向く位置よりも上側にが移動してもよい。この場合、ボール22がパドル24から射出された後において、ワイヤ26の水平方向を向く位置を基準として、パドル24が上下に振動しながら、水平方向を向く位置に戻るようにしてもよい。
Further, for example, when the user releases the
また例えば、ボール22とパドル24が接触した場合に、ボール22がパドル24に接着する場合を説明したが、ボール22は、パドル24に接着せずに、はね返るようにしてもよい。即ち、ボール22がパドル24に向けて戻りパドル24と接触した場合、移動制御部60は、接触直前のボール22の移動方向に基づいて定まる方向に、ボール22をはね返らせるようにしてもよい。
For example, when the
また例えば、上記においては、ゲーム画面20内でボール22が移動する場合について説明したが、ゲーム空間内でボール22を移動させるようにしてもよい。ゲーム空間は、2次元であってもよいし、3次元であってもよい。この場合、ゲーム画面20には、ゲーム空間内に設定される所与の視点から、ボール22が配置されたゲーム空間を見た様子が表示される。更に、放出指示位置32や基準位置34は、ゲーム空間内の位置となる。同様に、射出位置及び射出方向V1は、ゲーム空間内の位置や方向となる。ゲーム空間においてボール22を射出して移動させる方法自体は、実施形態で説明した方法と同様である。
For example, in the above description, the case where the
また例えば、上記においては、ユーザがゲーム画面20上の位置を指し示すための手段としてタッチパネル15が用いられる場合を説明したが、当該手段としては、公知の種々のポインティングデバイスが適用可能である。例えば、赤外線センサが内蔵されたコントローラにより、ゲーム画面20上の位置が指し示されるようにしてもよい。更に、ユーザが指示を行うのは、ポインティングデバイスに限られない。他にも例えば、ユーザが方向指示をするためのコントローラが用いられるようにしてもよい。
Further, for example, in the above description, the case where the
また例えば、本発明に係る移動制御は、上記のようなゲーム以外のゲームを実行するゲーム装置にも適用することができる。例えば、シューティングゲーム、スポーツゲーム、ロールプレイングゲーム、及びアクションゲーム等にも適用することができる。更に、ゲームを実行する移動制御装置以外にも、本発明に係る移動制御を適用することができる。表示画面又は仮想空間内で移動対象を移動させる移動制御装置に、本発明に係る移動制御を適用すればよい。例えば、現実世界における移動対象の移動をシミュレーションする装置にも、本発明を適用することができる。また、移動対象はボールに限られず、表示画面又は仮想空間内を移動する物体であればよい。 Further, for example, the movement control according to the present invention can be applied to a game device that executes a game other than the above-described game. For example, it can be applied to a shooting game, a sports game, a role playing game, an action game, and the like. Furthermore, the movement control according to the present invention can be applied in addition to a movement control device that executes a game. The movement control according to the present invention may be applied to a movement control device that moves a movement target in a display screen or a virtual space. For example, the present invention can be applied to an apparatus that simulates the movement of a moving object in the real world. Further, the movement target is not limited to the ball, and may be any object that moves in the display screen or the virtual space.
10 携帯端末、11 制御部、12 記憶部、13 通信部、14 操作部、15 タッチパネル、16 表示部、20 ゲーム画面、22 ボール、24 パドル、26 ワイヤ、28 ブロック、30 失敗領域、32 放出指示位置、34 基準位置、36 遊び領域、38 所定領域、40 引き下げ位置、50 ゲームデータ記憶部、52 指示取得部、54 特定部、56 基準位置取得部、58 決定部、60 移動制御部。 10 mobile terminals, 11 control units, 12 storage units, 13 communication units, 14 operation units, 15 touch panels, 16 display units, 20 game screens, 22 balls, 24 paddles, 26 wires, 28 blocks, 30 failure areas, 32 release instructions Position, 34 Reference position, 36 Play area, 38 Predetermined area, 40 Pull-down position, 50 Game data storage section, 52 Instruction acquisition section, 54 Identification section, 56 Reference position acquisition section, 58 Determination section, 60 Movement control section.
Claims (13)
ユーザの指示を取得する指示取得手段と、
前記指示取得手段によって取得された指示に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する特定手段と、
前記表示画面又は前記仮想空間内に設定される基準位置を取得する基準位置取得手段と、
前記特定手段によって特定された放出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該放出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置を決定し、前記特定手段によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と、前記基準位置取得手段によって取得された基準位置と、に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置と前記移動対象が放たれる方向とを決定する決定手段と、
前記特定手段によって特定された放出指示位置が前記所定領域内にある場合、前記決定手段によって決定された位置から所定方向に前記移動対象を移動させ、前記特定手段によって特定された放出指示位置が前記所定領域外にある場合、前記決定手段によって決定された位置から、前記決定手段によって決定された方向に、前記移動対象を移動させる移動制御手段と、
を含むことを特徴とする移動制御装置。 A movement control device for moving a moving object in a display screen or virtual space,
Instruction acquisition means for acquiring a user instruction;
Based on the instruction acquired by the instruction acquisition means, a specifying means for specifying the release instruction position of the movement target in the display screen or the virtual space;
Reference position acquisition means for acquiring a reference position set in the display screen or the virtual space;
A position where the movement target is released on the display screen or the virtual space based on the discharge instruction position when the release instruction position specified by the specifying means is within a predetermined area of the display screen or the virtual space; And when the release instruction position specified by the specifying means is outside the predetermined region, the display screen or the display screen or the reference position acquired by the reference position acquisition means based on the release instruction position and the reference position acquired by the reference position acquisition means Determining means for determining a position in which the moving object is released and a direction in which the moving object is released in the virtual space;
When the release instruction position specified by the specifying means is within the predetermined area, the movement target is moved in a predetermined direction from the position determined by the determining means, and the release instruction position specified by the specifying means is A movement control means for moving the moving object in a direction determined by the determination means from a position determined by the determination means when outside the predetermined area;
The movement control apparatus characterized by including.
前記表示画面又は前記仮想空間内の第1の方向を指示する第1の指示と、前記第1の方向とは異なる第2の方向を指示する第2の指示と、を取得し、
前記基準位置取得手段は、
前記指示取得手段によって取得された前記第1の指示に基づいて、前記基準位置を取得し、
前記特定手段は、
前記第1の指示が行われた後に行われた前記第2の指示に基づいて、前記放出指示位置を特定する、
ことを特徴とする請求項1に記載の移動制御装置。 The instruction acquisition means includes
Obtaining a first instruction indicating a first direction in the display screen or the virtual space, and a second instruction indicating a second direction different from the first direction;
The reference position acquisition means includes
Acquiring the reference position based on the first instruction acquired by the instruction acquisition means;
The specifying means is:
Identifying the release instruction position based on the second instruction performed after the first instruction is performed;
The movement control apparatus according to claim 1.
前記第2の指示が行われた後に前記第1の指示が行われた場合に、当該行われた第1の指示と、当該行われた第2の指示と、に基づいて、前記基準位置を取得し、
前記特定手段は、
前記第2の指示が行われた後に前記第1の指示が行われ、かつ、その後に再度前記第2の指示が行われた場合に、当該行われた再度の第2の指示に基づいて、前記放出指示位置を特定する、
ことを特徴とする請求項2に記載の移動制御装置。 The reference position acquisition means includes
When the first instruction is performed after the second instruction is performed, the reference position is determined based on the first instruction performed and the second instruction performed. Acquired,
The specifying means is:
When the first instruction is performed after the second instruction is performed, and the second instruction is performed again thereafter, based on the second instruction performed again, Specifying the release instruction position;
The movement control apparatus according to claim 2.
前記第1の指示に基づいて定まる前記表示画面又は前記仮想空間内の位置と、前記移動対象に関連付けられた位置と、のずれが基準以上になった場合の前記第1の指示に基づいて、前記基準位置を取得し、
前記特定手段は、
前記ずれが基準以上になった場合の前記第1の指示の後に行われた前記第2の指示に基づいて、前記放出指示位置を特定する、
ことを特徴とする請求項2又は3に記載の移動制御装置。 The reference position acquisition means includes
Based on the first instruction when the difference between the position in the display screen or the virtual space determined based on the first instruction and the position associated with the movement target is greater than or equal to a reference, Obtaining the reference position;
The specifying means is:
Identifying the release instruction position based on the second instruction performed after the first instruction when the deviation is greater than or equal to a reference;
The movement control device according to claim 2 or 3, wherein
前記第1の指示に基づいて定まる前記表示画面又は前記仮想空間内の位置が前記所定方向にずれた位置を、前記基準位置として取得する、
ことを特徴とする請求項2〜4の何れか一項に記載の移動制御装置。 The reference position acquisition means includes
Acquiring the position where the position in the display screen or the virtual space determined based on the first instruction is shifted in the predetermined direction as the reference position;
The movement control device according to any one of claims 2 to 4, wherein
ことを特徴とする請求項2〜5の何れか一項に記載の移動制御装置。 The first instruction acquired by the instruction acquisition unit is an instruction of a direction in which an angle formed with the predetermined direction is a reference angle or more.
The movement control device according to any one of claims 2 to 5, wherein
前記特定手段によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と前記基準位置とに基づいて、前記所定方向を変化させることによって、前記移動対象が放たれる方向を決定する、
ことを特徴とする請求項1〜6の何れか一項に記載の移動制御装置。 The determining means includes
When the discharge instruction position specified by the specifying means is outside the predetermined area, the direction in which the moving object is released is changed by changing the predetermined direction based on the discharge instruction position and the reference position. decide,
The movement control device according to any one of claims 1 to 6, wherein
前記特定手段によって特定された放出指示位置と、前記表示画面又は前記仮想空間における前記移動対象の現在位置と、のずれに基づいて、前記移動対象の軌道及び前記移動対象の回転の少なくとも一方を制御する、
ことを特徴とする請求項1〜7の何れか一項に記載の移動制御装置。 The movement control means includes
Control of at least one of the trajectory of the moving object and the rotation of the moving object based on a deviation between the discharge instruction position specified by the specifying means and the current position of the moving object in the display screen or the virtual space. To
The movement control device according to any one of claims 1 to 7, wherein
前記特定手段によって特定された放出指示位置に基づいて、前記移動対象の速度を制御する、
ことを特徴とする請求項1〜8の何れか一項に記載の移動制御装置。 The movement control means includes
Controlling the speed of the moving object based on the release instruction position specified by the specifying means;
The movement control device according to any one of claims 1 to 8, wherein
前記特定手段は、前記移動対象の射出指示位置を特定し、
前記決定手段は、
前記特定手段によって特定された射出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該射出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が射出される位置を決定し、前記特定手段によって特定された射出指示位置が前記所定領域外にある場合、当該放出指示位置と前記基準位置とに基づいて、前記表示画面又は前記仮想空間において前記移動対象が射出される位置と前記移動対象が射出される方向とを決定し、
前記移動制御手段は、
前記特定手段によって特定された射出指示位置が前記所定領域内にある場合、前記決定手段によって決定された位置から所定方向に前記移動対象を射出させ、前記特定手段によって特定された射出指示位置が前記所定領域外にある場合、前記決定手段によって決定された位置から、前記決定手段によって決定された方向に、前記移動対象を射出させる、
ことを特徴とする請求項1〜9の何れか一項に記載の移動制御装置。 The moving object is ejected in the display screen or the virtual space,
The specifying means specifies an injection instruction position of the moving object;
The determining means includes
A position where the movement target is ejected on the display screen or the virtual space based on the ejection instruction position when the injection instruction position specified by the specifying means is within a predetermined area of the display screen or the virtual space; And when the injection instruction position specified by the specifying means is outside the predetermined area, the moving object is injected on the display screen or the virtual space based on the discharge instruction position and the reference position. And a direction in which the moving object is ejected,
The movement control means includes
When the injection instruction position specified by the specifying means is within the predetermined area, the moving object is injected in a predetermined direction from the position determined by the determining means, and the injection instruction position specified by the specifying means is If outside the predetermined area, the moving object is ejected from the position determined by the determining means in the direction determined by the determining means;
The movement control device according to any one of claims 1 to 9, wherein
前記特定手段は、
前記指示取得手段によって取得された前記タッチパネルからの検出信号に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する、
ことを特徴とする請求項1〜10の何れか一項に記載の移動制御装置。 The instruction acquisition means acquires a detection signal from the touch panel,
The specifying means is:
Based on the detection signal from the touch panel acquired by the instruction acquisition means, the release instruction position of the movement target in the display screen or the virtual space is specified,
The movement control device according to any one of claims 1 to 10, wherein
ユーザの指示を取得する指示取得ステップと、
前記指示取得ステップによって取得された指示に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する特定ステップと、
前記表示画面又は前記仮想空間内に設定される基準位置を取得する基準位置取得ステップと、
前記特定ステップによって特定された放出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該放出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置を決定し、前記特定ステップによって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と、前記基準位置取得ステップによって取得された基準位置と、に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置と前記移動対象が放たれる方向とを決定する決定ステップと、
前記特定ステップによって特定された放出指示位置が前記所定領域内にある場合、前記決定ステップによって決定された位置から所定方向に前記移動対象を移動させ、前記特定ステップによって特定された放出指示位置が前記所定領域外にある場合、前記決定ステップによって決定された位置から、前記決定ステップによって決定された方向に、前記移動対象を移動させる移動制御ステップと、
を含むことを特徴とする移動制御方法。 A movement control method for moving a moving object in a display screen or a virtual space,
An instruction acquisition step for acquiring a user instruction;
Based on the instruction acquired by the instruction acquisition step, a specifying step of specifying a release instruction position of the movement target in the display screen or the virtual space;
A reference position acquisition step of acquiring a reference position set in the display screen or the virtual space;
A position where the movement target is released on the display screen or the virtual space based on the release instruction position when the release instruction position specified by the specifying step is within a predetermined area of the display screen or the virtual space; And when the release instruction position specified by the specifying step is outside the predetermined region, the display screen or the display screen or the reference position acquired by the reference position acquisition step A determination step of determining a position where the moving object is released and a direction where the moving object is released in the virtual space;
When the release instruction position specified by the specifying step is within the predetermined area, the moving object is moved in a predetermined direction from the position determined by the determining step, and the release instruction position specified by the specifying step is A movement control step of moving the object to be moved in a direction determined by the determination step from a position determined by the determination step when outside the predetermined area;
The movement control method characterized by including.
ユーザの指示を取得する指示取得手段、
前記指示取得手段によって取得された指示に基づいて、前記表示画面又は前記仮想空間内における前記移動対象の放出指示位置を特定する特定手段、
前記表示画面又は前記仮想空間内に設定される基準位置を取得する基準位置取得手段、
前記特定手段によって特定された放出指示位置が前記表示画面又は前記仮想空間の所定領域内にある場合、当該放出指示位置に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置を決定し、前記特定手段によって特定された放出指示位置が前記所定領域外にある場合、当該放出指示位置と、前記基準位置取得手段によって取得された基準位置と、に基づいて、前記表示画面又は前記仮想空間において前記移動対象が放たれる位置と前記移動対象が放たれる方向とを決定する決定手段、
前記特定手段によって特定された放出指示位置が前記所定領域内にある場合、前記決定手段によって決定された位置から所定方向に前記移動対象を移動させ、前記特定手段によって特定された放出指示位置が前記所定領域外にある場合、前記決定手段によって決定された位置から、前記決定手段によって決定された方向に、前記移動対象を移動させる移動制御手段、
として機能させることを特徴とするプログラム。 A computer that moves a moving object in the display screen or virtual space,
Instruction acquisition means for acquiring user instructions;
A specifying unit that specifies a release instruction position of the moving object in the display screen or the virtual space based on the instruction acquired by the instruction acquiring unit;
Reference position acquisition means for acquiring a reference position set in the display screen or the virtual space;
A position where the movement target is released on the display screen or the virtual space based on the discharge instruction position when the release instruction position specified by the specifying means is within a predetermined area of the display screen or the virtual space; And when the release instruction position specified by the specifying means is outside the predetermined region, the display screen or the display screen or the reference position acquired by the reference position acquisition means based on the release instruction position and the reference position acquired by the reference position acquisition means Determining means for determining a position where the moving object is released and a direction where the moving object is released in the virtual space;
When the release instruction position specified by the specifying means is within the predetermined area, the movement target is moved in a predetermined direction from the position determined by the determining means, and the release instruction position specified by the specifying means is A movement control means for moving the object to be moved in a direction determined by the determination means from a position determined by the determination means when outside the predetermined area;
A program characterized by functioning as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013121326A JP5781563B2 (en) | 2013-06-07 | 2013-06-07 | Movement control device, movement control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013121326A JP5781563B2 (en) | 2013-06-07 | 2013-06-07 | Movement control device, movement control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014238741A JP2014238741A (en) | 2014-12-18 |
JP5781563B2 true JP5781563B2 (en) | 2015-09-24 |
Family
ID=52135844
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013121326A Active JP5781563B2 (en) | 2013-06-07 | 2013-06-07 | Movement control device, movement control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5781563B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6921192B2 (en) * | 2017-05-22 | 2021-08-18 | 任天堂株式会社 | Game programs, information processing devices, information processing systems, and game processing methods |
JP6916449B2 (en) * | 2019-02-26 | 2021-08-11 | 株式会社ミクシィ | Information processing equipment, computer programs |
CN115624754A (en) * | 2022-09-13 | 2023-01-20 | 网易(杭州)网络有限公司 | Interaction control method and device for releasing skills and electronic equipment |
-
2013
- 2013-06-07 JP JP2013121326A patent/JP5781563B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014238741A (en) | 2014-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109982756B (en) | Information processing program, information processing method, and information processing apparatus | |
US9089769B2 (en) | Game device, computer-readable recording medium, and game control method | |
EP1656975B1 (en) | Character motion along a path drawn on a touch screen | |
KR101156324B1 (en) | Game device, computer-readable recording medium having game control program stored thereon and game control method | |
JP5639830B2 (en) | GAME DEVICE, GAME PROGRAM, GAME SYSTEM, AND GAME CONTROL METHOD | |
KR102229285B1 (en) | Game control device, game system and computer-readable recording medium | |
KR102158182B1 (en) | Game control device, game system and computer-readable recording medium | |
JP2006150062A (en) | Game device and game program | |
JP4857145B2 (en) | Program and information processing device | |
JP6217000B2 (en) | GAME DEVICE AND PROGRAM | |
KR102495380B1 (en) | Apparatus and method for controlling a user interface of a computing device | |
JP5238640B2 (en) | GAME DEVICE, GAME CONTROL PROGRAM, AND GAME CONTROL METHOD | |
US9072968B2 (en) | Game device, game control method, and game control program for controlling game on the basis of a position input received via touch panel | |
JP5781563B2 (en) | Movement control device, movement control method, and program | |
JP6626613B2 (en) | Game program | |
KR101539666B1 (en) | Golf simulation method through mobile terminal, recording medium recording program or application according to the same and mobile terminal for executing golf simulation | |
JP5918285B2 (en) | Movement control apparatus and program | |
JP2007050180A (en) | Game device | |
JP6530186B2 (en) | Game program | |
JP6672401B2 (en) | Game program, method, and information processing device | |
JP6195254B2 (en) | GAME DEVICE AND INPUT DEVICE | |
JP6293999B2 (en) | GAME SYSTEM, GAME PROGRAM, GAME PROCESSING CONTROL METHOD, AND GAME DEVICE | |
JP5993513B1 (en) | Baseball game program, game program, and computer | |
JP6404077B2 (en) | Game program | |
JP6206781B2 (en) | Movement control apparatus and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140918 |
|
TRDD | Decision of grant or rejection written | ||
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150630 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150707 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150715 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5781563 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 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |