The present invention relates to a mobile terminal, a control method for mobile terminal, and a program that are used for a game.
In recent years, mobile terminals such as smart phones and tablets have been spread. In these mobile terminals, it is possible to download games or the like. Furthermore, various kinds of mobile game terminals have been spread. Therefore, persons enjoying games not only indoors but also in a visiting place are increasing.
However, the conventional mobile terminal is premised on manipulation with both hands. For example, in a state in which the mobile terminal is oriented laterally, a cross key is manipulated with a left hand and a depression button is manipulated with a right hand. In a case where one hand is full in a train, for example, to have a bag or hold on to a strap, it is impossible to enjoy a game in some cases.
The present invention has been made to cope with the above-described circumstances. An object of the present invention is to provide a mobile terminal, a control method for mobile terminal, and a program making it possible to enjoy a game even in a situation in which one hand cannot be used.
In order to achieve the above-described object, according to the present invention, a mobile terminal is used in a game, and the mobile terminal includes a detection unit configured to detect an orientation of the mobile terminal, and a control unit configured to change over a manipulation mode of the game depending upon the orientation of the mobile terminal detected by the detection unit.
According to the present invention, a detection unit configured to detect an orientation of a mobile terminal and a control unit configured to change over a manipulation mode of a game depending upon the orientation of the mobile terminal detected by the detection unit, as described heretofore. Even in a situation in which only one hand can be used, therefore, it is possible to enjoy a game, resulting in improved convenience to the user.
Hereafter, embodiments of the present invention will be described in detail with reference to the drawings.
In the mobile terminal 100, a display device 120 and a manipulation button 130 are provided in a casing 110 taking a longitudinally long rectangular shape as illustrated in
The transmission/reception unit 102 inverse-codes a signal (hereafter referred to as data) received by the antenna 101, as occasion demands and then outputs a result to the control unit 103. Furthermore, the transmission/reception unit 102 encodes data input from the control unit 103, as occasion demands and then transmits a result via the antenna 101.
The control unit 103 is a processor such as a CPU (Central Processing Unit). The control unit 103 controls the entire mobile terminal 100 in response to an instruction signal input from the manipulation button 130 and the display device 120. Furthermore, the control unit 103 stores data received by the transmission/reception unit 102 via the antenna 101, into the storage unit 104. In addition, in a case where data received by the transmission/reception unit 102 via the antenna 101 is voice data, the control unit 103 outputs the voice to the speaker 106. Changeover of the manipulation mode of the mobile terminal 100 conducted by the control unit 103 will be described later.
The storage unit 104 is a rewritable storage device, such as, for example, an SSD (Solid State Drive) or an HDD (Hard Disk Drive). The storage unit 104 executes data storage or data reading in response to an instruction from the control unit 103. Furthermore, a program required for operation of the mobile terminal 100 and preinstalled or downloaded game programs are stored in the storage unit 104. Furthermore, manipulation modes (first and second manipulation modes) of the mobile terminal 100 are stored in the storage unit 104.
The first manipulation mode is a mode for causing a game to be manipulated automatically or semi-automatically (hereafter automatically and semi-automatically is referred to collectively as “automatically”). The first manipulation mode is a mode used in a case where one hand is full in a train, for example, to have a bag or hold on to a strap. In a case where the mobile terminal 100 is longitudinally oriented, the mobile terminal 100 is set to the first manipulation mode.
In the first manipulation mode, the user can specify a location on the display device 120 by touching (tapping) the display device 120 and play a game by conducting a manipulation of flicking the display device 120. For example, in a case where an RPG (Role Playing Game) is played, a first character in the game moves as far as a location specified by the user, and performs an action automatically depending upon a situation. Specifically, in a case where there is a second character in the location specified by the user, the first character starts conversation or a battle with the second character automatically. Even after the battle is started, the battle is continued automatically. In addition, in a case where there is an item (including a hidden item) in the specified location, the item is acquired automatically. Furthermore, in a case where the display device 120 is flicked, a viewpoint of a game (orientation of a camera in a virtual space) is changed.
A second manipulation mode is a mode for causing a game to be manipulated manually. The second manipulation mode is a mode used in a case where both hands can be used. In a case where the mobile terminal 100 is laterally oriented, the mobile terminal 100 is set to the second manipulation mode.
In the second manipulation mode, the user can manipulate a manipulation key displayed on the display device 120 with both hands and play a game. For example, in a case where an RPG is played, the user can move a character in the game by operating the cross key or the like with a left hand, and can cause the character to execute an action depending upon a viewpoint of the game (orientation of a camera in a virtual space) and a situation with a right hand. For example, in a case where an enemy character is displayed, the user moves the character to a location of the enemy character with the left hand, and conducts manipulation such as conversation or start of a battle while changing a viewpoint of the game with the right hand.
The detection unit 105 is, for example, an acceleration sensor or a gyroscope. The detection unit 105 measures to what a degree the mobile terminal 100 is inclined from the vertical direction or the horizontal direction, on the basis of a displacement of a physical quantity (an acceleration or an angular velocity) at the time when the mobile terminal 100 moves. The detection unit 105 detects the orientation of the mobile terminal 100 on the basis of the measured inclination and outputs the orientation to the control unit 103. It is also possible that the detection unit 105 measures only the inclination and the control unit 103 detects the orientation of the mobile terminal 100 on the basis of the inclination measured by the detection unit 105.
The speaker 106 converts an input signal to a voice and outputs the voice. The microphone 107 converts input sound (including a voice) to an electric signal and outputs the electric signal.
The image pickup unit 108 is a solid state image sensor such as, for example, a COMS (Complementary Metal-Oxide Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor. The image pickup unit 108 converts incident light to an electric signal and outputs the electric signal.
The power supply 109 supplies power to electronic parts housed in the casing 110 (such as, for example, the transmission/reception unit 102, the control unit 103, the storage unit 104, the detection unit 105, the speaker 106, the microphone 107, and the image pickup unit 108).
The detection unit 105 detects whether the mobile terminal 100 is longitudinally oriented or laterally oriented on the basis of an inclination of the mobile terminal 100 (step S101). The control unit 103 changes over between the first manipulation mode and the second manipulation mode depending upon the orientation of the mobile terminal 100 detected by the detection unit 105 (step S102).
Specifically, in a case where the detected orientation of the mobile terminal 100 is longitudinal orientation (the state illustrated in
Then, the control unit 103 determines whether the operation of the mobile terminal 100 has finished (step S103). Unless the operation of the mobile terminal 100 has finished (No in step S103), the control unit 103 returns to the operation in step S101. In a case where the operation of the mobile terminal 100 has finished (Yes in step S103), the control unit 103 finishes the operation.
As described heretofore, the mobile terminal 100 according to the present embodiment detects the orientation of the mobile terminal 100. In the case where the detected orientation of the mobile terminal 100 is longitudinal orientation, the mobile terminal 100 changes over the mode to the first manipulation mode in which the game is caused to manipulated automatically or semi-automatically. In the case where the detected orientation of the mobile terminal 100 is lateral orientation, the mobile terminal 100 changes over the mode to the second manipulation mode in which the game is caused to be manipulated manually. Even in a situation in which one hand cannot be used, therefore, it is possible to enjoy a game, resulting in improved convenience to the user.
The mobile terminal 100 described in the above-described embodiment may have a configuration in which a manipulation button is provided to make the function of the detection unit 105 effective. This manipulation button may be provided on the casing 110 in the mobile terminal 100, or may be displayed on the display device 120.
In the different embodiment, the control unit 103 conducts changeover between the first manipulation mode and the second manipulation mode only in a case where the orientation of the mobile terminal 100 is changed while pushing the above-described manipulation button, i.e., in a state in which manipulation that makes the function of the detection unit 105 effective is accepted.
The detection unit 105 detects whether the mobile terminal 100 is longitudinally oriented or laterally oriented on the basis of inclination of the mobile terminal 100 (step S201). Then, the control unit 103 determines whether a change of the orientation of the mobile terminal 100 is detected in a state in which the manipulation that makes the function of the detection unit 105 is accepted (step S202).
In a case of a state in which the manipulation that makes the function of the detection unit 105 effective is accepted (Yes in step S202), the control unit 103 conducts changeover between the first manipulation mode and the second manipulation mode depending upon the orientation of the mobile terminal 100 detected by the detection unit 105 (step S203). In a case of a state in which the manipulation that makes the function of the detection unit 105 effective is not accepted (No in step S202), the control unit 103 returns to the operation in step S201 without conducting changeover between the first manipulation mode and the second manipulation mode.
Then, the control unit 103 determines whether the operation of the mobile terminal 100 has finished (step S204). Unless the operation of the mobile terminal 100 has finished (No in step S204), the control unit 103 returns to the operation in step S201. In a case where the operation of the mobile terminal 100 has finished (Yes in step S204), the control unit 103 finishes the operation.
As described heretofore, the different embodiment has a configuration in which a manipulation button that makes the function of the detection unit 105 effective is provided. Therefore, the manipulation mode of the mobile terminal 100 can be changed over only in a case where changeover is needed. For example, when the user enjoys a game while lying, the mobile terminal 100 might become longitudinally oriented although manipulation with both hands is possible. In this case, it is possible to prevent the manipulation mode of the mobile terminal 100 from being changed over against the user's will. As a result, convenience to the user is further improved.
Number | Date | Country | Kind |
---|---|---|---|
2014-012983 | Jan 2014 | JP | national |
This is a Continuation of U.S. application Ser. No. 14/894,387 filed Nov. 27, 2015, which is a National Phase of International Application No. PCT/JP2014/070824 filed Aug. 7, 2014. The disclosure of the prior application is hereby incorporated by reference herein in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 14894387 | Nov 2015 | US |
Child | 15430925 | US |