CN109126127B - Game control method, dual-screen mobile terminal and computer-readable storage medium - Google Patents
Game control method, dual-screen mobile terminal and computer-readable storage medium Download PDFInfo
- Publication number
- CN109126127B CN109126127B CN201810830162.6A CN201810830162A CN109126127B CN 109126127 B CN109126127 B CN 109126127B CN 201810830162 A CN201810830162 A CN 201810830162A CN 109126127 B CN109126127 B CN 109126127B
- Authority
- CN
- China
- Prior art keywords
- display screen
- touch
- game control
- area
- game
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/6045—Methods for processing data by generating or executing the game program for mapping control signals received from the input arrangement into game commands
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a game control method, which is applied to a double-screen mobile terminal comprising a first display screen and a second display screen, and comprises the following steps: when the first display screen is a game interface, dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively; detecting whether a middle touch area and a peripheral touch area of the first display screen and a middle touch area in the second display screen are subjected to touch operation in real time; when the touch operation is detected to occur in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen, the touch operation is recorded as a first touch operation, the type and the occurrence area of the first touch operation are detected, a corresponding first game control instruction is determined, and then the corresponding game control operation is executed on the first display screen. The invention also discloses a double-screen mobile terminal and a computer readable storage medium. The invention can realize the control of game operation through double screens, and improve the game experience of users.
Description
Technical Field
The present invention relates to the field of dual-screen mobile terminal technologies, and in particular, to a game control method, a dual-screen mobile terminal, and a computer-readable storage medium.
Background
In modern society, mobile phones have become an indispensable object for people, and mobile phone games have become the first choice for people to play and enjoy. In recent years, the dual-screen smart phone is also slowly popularized, so that better game experience is brought to people, but when the game is played on the dual-screen smart phone, the operation of a user is still only performed on one display screen. When a user performs a character operation game, the game time is usually long, and the user generally uses the thumb to continuously perform the operation according to the holding posture, so that fatigue is generated by clicking the screen for a long time, and the game experience of the user is influenced. Therefore, how to reduce the fatigue of the user by using the advantage of the dual-screen and improve the game experience of the user is an urgent problem to be solved.
The above is only for the purpose of assisting understanding of the technical solution of the present invention, and does not represent an admission that the above is the prior art.
Disclosure of Invention
The invention mainly aims to provide a game control method, a double-screen mobile terminal and a computer readable storage medium, and aims to realize the purpose of controlling game operation through double screens and improving the game experience of a user.
In order to achieve the above object, the present invention provides a game control method applied to a dual-screen mobile terminal, where the dual-screen mobile terminal includes a first display screen and a second display screen, and the game control method includes:
when the first display screen is a game interface, the first display screen and the second display screen are divided into a middle touch area and a peripheral touch area respectively;
detecting a middle touch area and a peripheral touch area of the first display screen in real time, and detecting whether touch operation occurs in the middle touch area in the second display screen;
when the touch operation is detected to occur in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen, recording as a first touch operation, and detecting the type and the occurrence area of the first touch operation;
and determining a corresponding first game control instruction according to the type and the occurrence area of the first touch operation, and executing the corresponding game control operation on the first display screen according to the first game control instruction.
Optionally, the game control method further includes:
after a game starts, acquiring touch frequency of touch operation in a peripheral touch area of the first display screen within preset time, and calculating to obtain corresponding initial touch frequency;
acquiring the touch control times of touch control operation in the peripheral touch control area of the first display screen in the last preset time period every other preset time, and calculating to obtain the corresponding current touch control frequency;
detecting whether the difference value between the initial touch frequency and the current touch frequency is larger than a preset threshold value or not;
if the difference value is larger than a preset threshold value, starting a touch function of the peripheral touch area of the second display screen, and generating corresponding prompt information to prompt a user to perform touch operation through the peripheral touch area of the second display screen.
Optionally, the game control method further includes:
detecting whether touch operation occurs in a middle touch area and a peripheral touch area of the first display screen and the second display screen in real time;
when the touch operation is detected to occur in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen and/or the peripheral touch area of the second display screen, recording as a second touch operation, and detecting the type and the occurrence area of the second touch operation;
and determining a corresponding second game control instruction according to the type and the generation area of the second touch operation, and executing corresponding game control operation on the first display screen according to the second game control instruction.
Optionally, the step of executing a corresponding game control operation on the first display screen according to the first game control instruction includes:
when the first game control instruction comprises one game, controlling a game operation object in the first display screen to execute corresponding game control operation according to the first game control instruction;
when the first game control instruction comprises a plurality of first game control instructions, the game operation objects in the first display screen are controlled to simultaneously execute a plurality of corresponding game control operations according to the plurality of first game control instructions.
Optionally, the type of the first touch operation includes a click operation and a slide operation, the generation area includes a direction control area and a skill control area, the step of determining a corresponding first game control instruction according to the type of the first touch operation and the generation area, and executing the corresponding game control operation on the first display screen according to the first game control instruction includes:
if the type of the first touch operation is a sliding operation and the generation area is a direction control area, the corresponding first game control instruction is a movement control instruction;
and controlling the game operation object to perform corresponding movement operation according to the movement direction in the movement control instruction, wherein the movement direction is a sliding direction corresponding to the first touch operation.
Optionally, the step of determining a corresponding first game control instruction according to the type and the occurrence area of the first touch operation, and executing a corresponding game control operation on the first display screen according to the first game control instruction further includes:
if the type of the first touch operation is click operation and the generation area is a skill control area, the corresponding first game control instruction is a skill control instruction;
and controlling the game operation object to release the corresponding skill according to the skill category in the skill control instruction, wherein the skill category is determined according to the position coordinate of the first touch operation.
Optionally, before the step of dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area, the method further includes:
detecting whether a game double-screen control function is started or not;
if the game double-screen control function is started, executing the following steps: dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively;
if the game double-screen control function is not started, detecting whether touch operation occurs in the first display screen in real time;
and if the touch operation is detected to occur in the first display screen, recording as a third touch operation, determining a corresponding third game control instruction according to the third touch operation, and executing the corresponding game control operation on the first display screen according to the third game control instruction.
Optionally, the game control method further includes:
and when receiving a game double-screen control function starting instruction triggered by a user, starting the game double-screen control function.
In addition, in order to achieve the above object, the present invention further provides a dual-screen mobile terminal, where the dual-screen mobile terminal includes a first display screen and a second display screen, and further includes a memory, a processor, and a game control program stored in the memory and capable of running on the processor, and when the game control program is executed by the processor, the steps of the game control method are implemented.
Further, to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a game control program which, when executed by a processor, realizes the steps of the game control method as described above.
The invention provides a game control method, a double-screen mobile terminal and a computer readable storage medium, wherein the method is applied to the double-screen mobile terminal, the double-screen mobile terminal comprises a first display screen and a second display screen, the method is applied to the double-screen mobile terminal, the double-screen mobile terminal comprises the first display screen and the second display screen, when the first display screen of the double-screen mobile terminal is a game interface, the first display screen and the second display screen are respectively divided into a middle touch area and a peripheral touch area, then the middle touch area and the peripheral touch area of the first display screen and the middle touch area in the second display screen are detected in real time, whether touch operation occurs in the middle touch area of the first display screen, and when the touch operation occurs in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen, recording as a first touch operation, detecting the type and the generation area of the first touch operation, finally determining a corresponding first game control instruction according to the type and the generation area of the first touch operation, and executing the corresponding game control operation on the first display screen according to the first game control instruction. Through the mode, the touch control operation triggered by the user based on the two display screens can be received simultaneously, the dual-screen control game operation is realized, the user can operate on the two screens through a plurality of fingers according to the terminal holding mode, the utilization rate of the fingers held behind the screens by the user can be improved, the finger fatigue caused by long-time use of thumbs for game operation by the user in the prior art can be avoided, the interestingness of the user in the game process can be enhanced, and the game experience of the user is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a game control method according to the present invention;
FIG. 3 is a schematic diagram of a display interface of a first display screen and a second display screen in an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a game control method according to a second embodiment of the present invention.
The objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Terminals (also called dual-screen mobile terminals) may be implemented in various forms. For example, the terminal described in the present invention may include mobile terminals such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and fixed terminals such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention, where the mobile terminal 100 may include: RF (Radio Frequency) unit 101, Wi-Fi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following specifically describes the components of the mobile terminal with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 102, and provides wireless broadband Internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is for receiving an audio or video signal. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the Wi-Fi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of the phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing gestures of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometers and taps), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, the description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of a user on the touch panel 1071 or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory) thereon or nearby and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. Further, memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
As shown in fig. 1, the memory 109, which is a computer-readable storage medium, may include therein an operating system, a network communication module, a user interface module, and a game control program, and the processor 110 may be configured to call the game control program stored in the memory 109 and perform the following steps:
when the first display screen is a game interface, dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively;
detecting a middle touch area and a peripheral touch area of the first display screen in real time, and detecting whether touch operation occurs in the middle touch area in the second display screen;
when detecting that touch operation occurs in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen, recording as first touch operation, and detecting the type and the occurrence area of the first touch operation;
and determining a corresponding first game control instruction according to the type and the occurrence area of the first touch operation, and executing the corresponding game control operation on the first display screen according to the first game control instruction.
Further, the processor 110 may be configured to call the game control program stored in the memory 109, and further perform the following steps:
after a game starts, acquiring touch control times of touch control operation in a peripheral touch control area of the first display screen within preset time, and calculating to obtain a corresponding initial touch control frequency;
acquiring the touch control times of touch control operation in the peripheral touch control area of the first display screen in the last preset time period every other preset time, and calculating to obtain the corresponding current touch control frequency;
detecting whether a difference value between the initial touch frequency and the current touch frequency is greater than a preset threshold value;
if the difference value is larger than a preset threshold value, starting touch functions of the peripheral touch area of the second display screen, and generating corresponding prompt information to prompt a user to perform touch operation through the peripheral touch area of the second display screen.
Further, the processor 110 may be configured to call the game control program stored in the memory 109, and further perform the following steps:
detecting whether touch operation occurs in a middle touch area and a peripheral touch area of the first display screen and the second display screen in real time;
when the touch operation is detected to occur in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen and/or the peripheral touch area of the second display screen, recording as a second touch operation, and detecting the type and the occurrence area of the second touch operation;
and determining a corresponding second game control instruction according to the type and the generation area of the second touch operation, and executing the corresponding game control operation on the first display screen according to the second game control instruction.
Further, the processor 110 may be configured to call the game control program stored in the memory 109, and further perform the following steps:
when the first game control instruction comprises one game control instruction, controlling a game operation object in the first display screen to execute corresponding game control operation according to the first game control instruction;
when the first game control instruction comprises a plurality of first game control instructions, the game operation objects in the first display screen are controlled to simultaneously execute a plurality of corresponding game control operations according to the plurality of first game control instructions.
Further, the types of the first touch operation include a click operation and a slide operation, the occurrence area includes a direction control area and a skill control area, and the processor 110 may be configured to invoke a game control program stored in the memory 109, and further perform the following steps:
if the type of the first touch operation is a sliding operation and the occurrence area is a direction control area, the corresponding first game control instruction is a movement control instruction;
and controlling the game operation object to perform corresponding movement operation according to the movement direction in the movement control instruction, wherein the movement direction is a sliding direction corresponding to the first touch operation.
Further, the processor 110 may be configured to call the game control program stored in the memory 109, and further perform the following steps:
if the type of the first touch operation is click operation and the generation area is a skill control area, the corresponding first game control instruction is a skill control instruction;
and controlling the game operation object to release the corresponding skill according to the skill category in the skill control instruction, wherein the skill category is determined according to the position coordinate of the first touch operation.
Further, the processor 110 may be configured to call the game control program stored in the memory 109, and further perform the following steps:
detecting whether a game double-screen control function is started or not;
if the game double-screen control function is started, executing the following steps: dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively;
if the game double-screen control function is not started, detecting whether touch operation occurs in the first display screen in real time;
and if the touch operation is detected to occur in the first display screen, recording as a third touch operation, determining a corresponding third game control instruction according to the third touch operation, and executing the corresponding game control operation on the first display screen according to the third game control instruction.
Further, the processor 110 may be configured to call the game control program stored in the memory 109, and further perform the following steps:
and when a game double-screen control function starting instruction triggered by a user is received, starting the game double-screen control function.
Based on the hardware structure of the double-screen mobile terminal, the game control method provided by the invention is provided with various embodiments.
The invention provides a game control method.
Referring to fig. 2, fig. 2 is a flow chart illustrating a game control method according to a first embodiment of the present invention.
In this embodiment, the game control method is applied to a dual-screen mobile terminal including a first display screen and a second display screen, and the method includes:
step S10, when the first display screen is a game interface, dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively;
in this embodiment, before step S10, the method may further include the steps of:
and when a game double-screen control function starting instruction triggered by a user is received, starting the game double-screen control function.
In this embodiment, the game control method is applied to a dual-screen mobile terminal, which includes but is not limited to a dual-screen smart phone, a dual-screen tablet computer, and the like, and includes a first display screen and a second display screen. And when a game double-screen control function starting instruction triggered by a user is received, starting the game double-screen control function. The triggering mode of the game double-screen control function starting instruction can be as follows: and clicking a game double-screen control function option in the starting game setting.
When the first display screen of the dual-screen mobile terminal is a game interface, the first display screen and the second display screen are divided into a middle touch area and a peripheral touch area respectively. As shown in fig. 4, the middle touch area of the first display screen is referred to as an area M, the peripheral touch areas are referred to as an area a, an area B, an area C and an area D, respectively, the middle touch area of the second display screen is referred to as an area MM, and the peripheral touch areas are referred to as an area AA, an area BB, an area CC and an area DD, respectively. Of course, in the specific embodiment, the actual dividing manner may also be set according to the actual situation, and is not limited to the dividing manner in fig. 4. In addition, in a specific embodiment, the first display screen may be divided into a middle touch area and a peripheral touch area when the first display screen is a game interface, or when any display screen is a game interface.
Step S20, detecting the middle touch area and the peripheral touch area of the first display screen in real time, and whether the middle touch area in the second display screen has touch operation or not;
in the game process, a thumb is continuously moved between a peripheral touch area and a middle touch area due to game operation requirements, fatigue is easily caused, in order to delay the fatigue and improve game experience of a user, after a game double-screen control function is started, a touch function of the middle touch area of a second display screen can be started firstly, so that the user can perform touch operation on the middle touch area of the second display screen through other fingers, the terminal receives touch operation triggered by the user based on two display screens at the same time, and particularly, the double-screen mobile terminal detects the middle touch area and the peripheral touch area of the first display screen in real time and detects whether touch operation occurs in the middle touch area of the second display screen or not.
Step S30, when detecting that a touch operation occurs in the middle touch area of the first display screen and/or the peripheral touch areas of the first display screen and/or the middle touch area of the second display screen, recording as a first touch operation, and detecting the type and the occurrence area of the first touch operation;
when the touch operation is detected to occur in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen, recording as the first touch operation, and detecting the type and the occurrence area of the first touch operation.
Step S40, determining a corresponding first game control instruction according to the type and the occurrence area of the first touch operation, and executing a corresponding game control operation on the first display screen according to the first game control instruction.
And then, determining a corresponding first game control instruction according to the type and the generation area of the first touch operation, and executing the corresponding game control operation on the first display screen according to the first game control instruction. Since the user may trigger only one instruction or several instructions simultaneously during the game, that is, the first game control instruction may include one or more instructions, the step "executing the corresponding game control operation on the first display screen according to the first game control instruction" may include:
step a, when the first game control instruction comprises one, controlling a game operation object in the first display screen to execute corresponding game control operation according to the first game control instruction;
and b, when the first game control commands comprise a plurality of first game control commands, controlling the game operation objects in the first display screen to simultaneously execute a plurality of corresponding game control operations according to the plurality of first game control commands.
When the first game control instruction comprises one game, controlling a game operation object in the first display screen to execute corresponding game control operation according to the first game control instruction; when the first game control instruction comprises a plurality of first game control instructions, controlling the game operation objects in the first display screen to simultaneously execute a plurality of corresponding game control operations according to the plurality of first game control instructions, for example, the first game control instruction comprises a movement control instruction and a skill control instruction, and when the user simultaneously triggers the movement control instruction and the skill control instruction, controlling the game operation objects in the first display screen to correspondingly move and release corresponding skills.
Wherein, the type of the first touch operation includes a click operation and a slide operation, the occurrence area includes a direction control area and a skill control area, and step S40 may further include:
step c, if the type of the first touch operation is a sliding operation and the generation area is a direction control area, the corresponding first game control instruction is a movement control instruction;
and d, controlling the game operation object to perform corresponding movement operation according to the movement direction in the movement control instruction, wherein the movement direction is a sliding direction corresponding to the first touch operation.
In this embodiment, the types of the first touch operations include a click operation and a slide operation, and the occurrence area includes a direction control area and a skill control area. When a first touch operation is detected, detecting the type and the occurrence area of the first touch operation; if the type of the first touch operation is a sliding operation and the generation area is a direction control area, the corresponding first game control instruction is a movement control instruction, and then a game operation object is controlled to perform a corresponding movement operation according to a movement direction in the movement control instruction, wherein the movement direction can be a sliding direction corresponding to the first touch operation.
Step S40 may further include:
step e, if the type of the first touch operation is click operation and the generation area is a skill control area, the corresponding first game control instruction is a skill control instruction;
and f, controlling the game operation object to release the corresponding skill according to the skill type in the skill control instruction, wherein the skill type is determined according to the position coordinate of the first touch operation.
In this embodiment, if the type of the first touch operation is a click operation, and the occurrence area is a skill control area, the corresponding first game control instruction is a skill control instruction, and then the game operation object is controlled to release the corresponding skill according to a skill type in the skill control instruction, where the skill type is determined according to the position coordinate of the first touch operation, for example, an icon of a certain skill is correspondingly arranged at a certain position in the skill control area in the first display screen, when the user clicks the icon, the touch operation may be triggered, and the corresponding game control instruction is the skill control instruction.
It should be noted that, in the above two step refinements, only two operation instructions are listed, and the specific type and occurrence area of the touch operation and the instruction type corresponding to the combination of the two operation instructions can be set according to the actual situation, and can be set to the corresponding mapping relationship.
The invention provides a game control method, which is applied to a double-screen mobile terminal, wherein the double-screen mobile terminal comprises a first display screen and a second display screen, when the first display screen of the double-screen mobile terminal is a game interface, the first display screen and the second display screen are respectively divided into a middle touch area and a peripheral touch area, then the middle touch area and the peripheral touch area of the first display screen and whether touch operation occurs in the middle touch area in the second display screen are detected in real time, when the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen are detected, the touch operation is recorded as a first touch operation, the type and the occurrence area of the first touch operation are detected, finally, a corresponding first game control instruction is determined according to the type and the occurrence area of the first touch operation, and executing corresponding game control operation on the first display screen according to the first game control instruction. Through the mode, the touch control operation triggered by the user based on the two display screens can be received simultaneously, the dual-screen control game operation is realized, the user can operate on the two screens through a plurality of fingers according to the terminal holding mode, the utilization rate of the fingers held behind the screens by the user can be improved, the finger fatigue caused by long-time use of thumbs for game operation by the user in the prior art can be avoided, the interestingness of the user in the game process can be enhanced, and the game experience of the user is improved.
Further, referring to fig. 4, fig. 4 is a schematic flow chart of a game control method according to a second embodiment of the present invention. Based on the first embodiment shown in fig. 2 described above, after step S40, the game control method may further include:
step S50, after a game starts, acquiring touch frequency of touch operation in a peripheral touch area of the first display screen within preset time, and calculating to obtain a corresponding initial touch frequency;
step S60, acquiring the touch frequency of touch operation in the peripheral touch area of the first display screen in the last preset time period every other preset time, and calculating to obtain the corresponding current touch frequency;
because some games are long in time, when a user uses a thumb to click the touch screen for a long time in the game process, fatigue is inevitably generated, and therefore, when the touch frequency of the user is found to be low, the touch function of the peripheral touch area of the second display screen can be started, so that the user can perform touch operation in the peripheral touch area of the second display screen through other fingers, the touch operation of the thumb of the first display screen is compensated and replaced, the fatigue of the user is delayed, and the game experience of the user is improved.
In this embodiment, after a game starts, acquiring touch times of touch operations occurring in a peripheral touch area of a first display screen within a preset time, and calculating to obtain a corresponding initial touch frequency, where the initial touch frequency is the touch times/the preset time; and then acquiring the touch frequency of touch operation in the peripheral touch area of the first display screen in the last preset time period every other preset time, and calculating to obtain the corresponding current touch frequency. It should be noted that, in a specific embodiment, the preset time in every preset time may also be inconsistent with the preset time corresponding to the initial touch frequency.
Step S70, detecting whether a difference between the initial touch frequency and the current touch frequency is greater than a preset threshold;
step S80, if the difference is greater than a preset threshold, starting a touch function of the peripheral touch area of the second display screen, and generating corresponding prompt information to prompt a user to perform a touch operation through the peripheral touch area of the second display screen.
And then, detecting whether the difference value between the initial touch frequency and the current touch frequency is greater than a preset threshold value, if so, indicating that the user generates fatigue feeling or is about to generate fatigue feeling because the user mainly uses a thumb for operation all the time, and at the moment, starting touch functions of the peripheral touch area of the second display screen and generating corresponding prompt information to prompt the user to perform touch operation through the peripheral touch area of the second display screen. The prompting mode can be voice prompting or text prompting. It should be noted that, in a specific embodiment, it may also be determined whether the user is already tired or is about to be tired by the following means: 1) acquiring touch times of touch operation in a peripheral touch area of the first display screen in a last preset time period every other preset time, calculating to obtain a corresponding current touch frequency, detecting whether the current touch frequency is greater than a preset fatigue frequency, and if so, judging that a user generates fatigue or is about to generate fatigue; 2) testing the normal operating frequency of a user in advance, storing the normal operating frequency, detecting whether the current touch frequency is smaller than the normal operating frequency, and if so, judging that the user has fatigue or is about to generate fatigue; 3) the method comprises the steps of testing the normal operating frequency of a user in advance, storing the normal operating frequency, detecting whether the difference value between the normal operating frequency and the current touch frequency is larger than a preset difference value, and if so, judging that the user generates fatigue or is about to generate fatigue.
Step S90, detecting whether touch operation occurs in the middle touch area and the peripheral touch area of the first display screen and the second display screen in real time;
step S100, when detecting that touch operation occurs in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen and/or the peripheral touch area of the second display screen, recording as second touch operation, and detecting the type and the occurrence area of the second touch operation;
step S110, determining a corresponding second game control instruction according to the type and the occurrence area of the second touch operation, and executing a corresponding game control operation on the first display screen according to the second game control instruction.
Then, the double-screen mobile terminal detects whether touch operation occurs in the middle touch area and the peripheral touch area of the first display screen and the second display screen in real time; when detecting that the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen and/or the peripheral touch area of the second display screen generate touch operation, recording the touch operation as second touch operation, and detecting the type and the generation area of the second touch operation; and finally, determining a corresponding second game control instruction according to the type and the occurrence area of the second touch operation, and executing the corresponding game control operation on the first display screen according to the second game control instruction. When one second game control instruction is included, controlling a game operation object in the first display screen to execute corresponding game control operation according to the second game control instruction; when the second game control instruction comprises a plurality of second game control instructions, the game operation objects in the first display screen are controlled to simultaneously execute a plurality of corresponding game control operations according to the plurality of second game control instructions. The type of the second touch operation may also include a click operation and a slide operation, and the occurrence area of the second touch operation may include a direction control area and a skill control area, similarly to the first embodiment. When a second touch operation is detected, detecting the type and the occurrence area of the second touch operation; if the type of the second touch operation is a sliding operation and the occurrence area is a direction control area, the corresponding second game control instruction is a movement control instruction, and then a game operation object is controlled to perform a corresponding movement operation according to a movement direction in the movement control instruction, where the movement direction may be a sliding direction corresponding to the second touch operation. And if the type of the second touch operation is click operation and the occurrence area is a skill control area, the corresponding second game control instruction is a skill control instruction, and then a game operation object is controlled to release the corresponding skill according to the skill type in the skill control instruction, wherein the skill type is determined according to the position coordinate of the second touch operation. Of course, in the above embodiments, only two operation instructions are listed, and the types and the occurrence areas of the specific touch operations, and the types of the instructions corresponding to the combination of the two operation instructions can be set according to the actual situation.
Further, based on the embodiments shown in fig. 2 and fig. 4, before the step of "dividing the first display screen and the second display screen into the middle touch area and the peripheral touch area respectively", the game control method may further include:
step A, detecting whether a game double-screen control function is started or not;
if the game double-screen control function is started, executing the following steps: dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively;
b, if the game double-screen control function is not started, detecting whether touch operation occurs in the first display screen in real time;
and step C, if the touch operation is detected to occur in the first display screen and is recorded as a third touch operation, determining a corresponding third game control instruction according to the third touch operation, and executing the corresponding game control operation on the first display screen according to the third game control instruction.
In this embodiment, when the first display screen is a game interface, it may be first detected whether the game dual-screen control function is turned on, and if the game dual-screen control function is turned on, the following steps are executed: and dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively. Then, the subsequent steps are executed, which have been described in the embodiments of the game control method and will not be described herein again.
If the game double-screen control function is not started, detecting whether touch operation occurs in the first display screen in real time, if so, recording as third touch operation, then determining a corresponding third game control instruction according to the touch operation, and executing corresponding game operation, such as moving operation and releasing skill, on the first display screen according to the third game control instruction. Certainly, in a specific embodiment, when the game dual-screen control function is not turned on, the first display screen may also be divided into a middle touch area and a peripheral touch area, a corresponding third game control instruction is determined according to the type and the occurrence area of the touch operation, and a corresponding game operation is executed on the first display screen according to the third game control instruction.
The invention also provides a computer readable storage medium.
The computer-readable storage medium of the present invention stores a game control program, which when executed by a processor implements the steps of the game control method according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the game control method described above, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (9)
1. A game control method is characterized in that the method is applied to a double-screen mobile terminal, the double-screen mobile terminal comprises a first display screen and a second display screen, and the game control method comprises the following steps:
when the first display screen is a game interface, the first display screen and the second display screen are divided into a middle touch area and a peripheral touch area respectively;
detecting a middle touch area and a peripheral touch area of the first display screen in real time, and detecting whether touch operation occurs in the middle touch area in the second display screen;
when detecting that touch operation occurs in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen, recording as first touch operation, and detecting the type and the occurrence area of the first touch operation;
determining a corresponding first game control instruction according to the type and the occurrence area of the first touch operation, and executing the corresponding game control operation on the first display screen according to the first game control instruction;
the game control method further includes:
after a game starts, acquiring touch control times of touch control operation in a peripheral touch control area of the first display screen within preset time, and calculating to obtain a corresponding initial touch control frequency;
acquiring touch control times of touch control operation in the peripheral touch control area of the first display screen in the last preset time period every other preset time, and calculating to obtain corresponding current touch control frequency;
detecting whether a difference value between the initial touch frequency and the current touch frequency is greater than a preset threshold value;
if the difference value is larger than a preset threshold value, starting a touch function of the peripheral touch area of the second display screen, and generating corresponding prompt information to prompt a user to perform touch operation through the peripheral touch area of the second display screen.
2. The game control method according to claim 1, wherein the game control method further comprises:
detecting whether touch operation occurs in a middle touch area and a peripheral touch area of the first display screen and the second display screen in real time;
when detecting that touch operation occurs in the middle touch area of the first display screen and/or the peripheral touch area of the first display screen and/or the middle touch area of the second display screen and/or the peripheral touch area of the second display screen, recording as second touch operation, and detecting the type and the occurrence area of the second touch operation;
and determining a corresponding second game control instruction according to the type and the generation area of the second touch operation, and executing the corresponding game control operation on the first display screen according to the second game control instruction.
3. The game control method of claim 1, wherein the step of performing a corresponding game control operation on the first display screen according to the first game control instruction comprises:
when the first game control instruction comprises one game control instruction, controlling a game operation object in the first display screen to execute corresponding game control operation according to the first game control instruction;
and when the first game control instruction comprises a plurality of first game control instructions, controlling the game operation objects in the first display screen to simultaneously execute a plurality of corresponding game control operations according to the plurality of first game control instructions.
4. The game control method according to claim 3, wherein the type of the first touch operation includes a click operation and a slide operation, the occurrence area includes a direction control area and a skill control area, and the step of determining a corresponding first game control instruction according to the type of the first touch operation and the occurrence area and executing the corresponding game control operation on the first display screen according to the first game control instruction comprises:
if the type of the first touch operation is a sliding operation and the occurrence area is a direction control area, the corresponding first game control instruction is a movement control instruction;
and controlling the game operation object to perform corresponding movement operation according to the movement direction in the movement control instruction, wherein the movement direction is a sliding direction corresponding to the first touch operation.
5. The game control method according to claim 4, wherein the step of determining a corresponding first game control command according to the type and the occurrence area of the first touch operation and executing the corresponding game control operation on the first display screen according to the first game control command further comprises:
if the type of the first touch operation is click operation and the generation area is a skill control area, the corresponding first game control instruction is a skill control instruction;
and controlling the game operation object to release the corresponding skill according to the skill category in the skill control instruction, wherein the skill category is determined according to the position coordinate of the first touch operation.
6. The game control method according to claim 1, wherein the step of dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area, respectively, further comprises:
detecting whether a game double-screen control function is started or not;
if the game double-screen control function is started, executing the following steps: dividing the first display screen and the second display screen into a middle touch area and a peripheral touch area respectively;
if the game double-screen control function is not started, detecting whether touch operation occurs in the first display screen in real time;
if the touch operation is detected to occur in the first display screen, recording as a third touch operation, determining a corresponding third game control instruction according to the third touch operation, and executing the corresponding game control operation on the first display screen according to the third game control instruction.
7. The game control method according to claim 1, characterized in that the game control method further comprises:
and when receiving a game double-screen control function starting instruction triggered by a user, starting the game double-screen control function.
8. A dual-screen mobile terminal, characterized in that the dual-screen mobile terminal comprises a first display screen and a second display screen, and further comprises a memory, a processor and a game control program stored on the memory and executable on the processor, the game control program, when executed by the processor, implementing the steps of the game control method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that a game control program is stored thereon, which, when executed by a processor, implements the steps of the game control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810830162.6A CN109126127B (en) | 2018-07-25 | 2018-07-25 | Game control method, dual-screen mobile terminal and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810830162.6A CN109126127B (en) | 2018-07-25 | 2018-07-25 | Game control method, dual-screen mobile terminal and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109126127A CN109126127A (en) | 2019-01-04 |
CN109126127B true CN109126127B (en) | 2022-07-26 |
Family
ID=64799071
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810830162.6A Active CN109126127B (en) | 2018-07-25 | 2018-07-25 | Game control method, dual-screen mobile terminal and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109126127B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110038297A (en) * | 2019-04-12 | 2019-07-23 | 网易(杭州)网络有限公司 | Game operation method and device, storage medium and the electronic equipment of mobile terminal |
CN110368683B (en) * | 2019-07-24 | 2022-12-02 | Oppo(重庆)智能科技有限公司 | Game control method and device and computer readable storage medium |
CN113138693B (en) * | 2021-04-13 | 2023-04-07 | Oppo广东移动通信有限公司 | Operation identification method and device, electronic equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102086715B1 (en) * | 2012-11-01 | 2020-03-09 | 삼성전자주식회사 | Control Method for outputting a display screen based on a flexible display unit and electronic device |
CN105338182A (en) * | 2015-10-23 | 2016-02-17 | 李彦辰 | Control method and control device for second touch control display screen of double-screen mobile phone |
CN106610778A (en) * | 2015-10-23 | 2017-05-03 | 青岛海信移动通信技术股份有限公司 | Double-screen mobile terminal and control method therefor |
CN108182028A (en) * | 2017-12-27 | 2018-06-19 | 努比亚技术有限公司 | A kind of control method, terminal and computer readable storage medium |
CN108043020A (en) * | 2017-12-29 | 2018-05-18 | 努比亚技术有限公司 | Game gestural control method, dual-screen mobile terminal and computer readable storage medium |
-
2018
- 2018-07-25 CN CN201810830162.6A patent/CN109126127B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109126127A (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107734175B (en) | Notification message prompting method and mobile terminal | |
CN108491133B (en) | Application program control method and terminal | |
CN110062105B (en) | Interface display method and terminal equipment | |
CN108227996B (en) | Display control method and mobile terminal | |
CN109032486B (en) | Display control method and terminal equipment | |
US20220004357A1 (en) | Audio signal outputting method and terminal device | |
US20210352040A1 (en) | Message sending method and terminal device | |
CN108509141B (en) | Control generation method and mobile terminal | |
CN109710349B (en) | Screen capturing method and mobile terminal | |
CN107613095B (en) | Incoming call processing method and mobile terminal | |
CN107765941B (en) | Icon display method, terminal and computer readable storage medium | |
CN108958593B (en) | Method for determining communication object and mobile terminal | |
CN109407948B (en) | Interface display method and mobile terminal | |
CN108055392B (en) | Display area adjusting method, mobile terminal and computer readable storage medium | |
CN110971510A (en) | Message processing method and electronic equipment | |
US12028476B2 (en) | Conversation creating method and terminal device | |
CN110012151B (en) | Information display method and terminal equipment | |
CN109710130B (en) | Display method and terminal | |
CN109847348B (en) | Operation interface control method, mobile terminal and storage medium | |
CN109002245B (en) | Application interface operation method and mobile terminal | |
CN108920040B (en) | Application icon sorting method and mobile terminal | |
CN111142679A (en) | Display processing method and electronic equipment | |
CN109126127B (en) | Game control method, dual-screen mobile terminal and computer-readable storage medium | |
CN108270928B (en) | Voice recognition method and mobile terminal | |
CN110769303A (en) | Playing control method and device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |