CN109621410A - A kind of game control method, terminal and computer readable storage medium - Google Patents
A kind of game control method, terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN109621410A CN109621410A CN201811635730.3A CN201811635730A CN109621410A CN 109621410 A CN109621410 A CN 109621410A CN 201811635730 A CN201811635730 A CN 201811635730A CN 109621410 A CN109621410 A CN 109621410A
- Authority
- CN
- China
- Prior art keywords
- game
- touch
- application
- game application
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/20—Input arrangements for video game devices
- A63F13/21—Input arrangements for video game devices characterised by their sensors, purposes or types
- A63F13/218—Input arrangements for video game devices characterised by their sensors, purposes or types using pressure sensors, e.g. generating a signal proportional to the pressure applied by the player
-
- 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/80—Special adaptations for executing a specific game genre or game mode
- A63F13/837—Shooting of targets
Abstract
The invention discloses a kind of game control method, terminal and computer readable storage mediums, include the terminal of game Touch Zone applied to side, and this method includes judging whether current application is game application, obtain the type of the game application;The touch-control in the game Touch Zone is received, the touch-control is parsed and obtains pressure parameter;Operating list corresponding with the type of the game application is retrieved, obtains operation corresponding with the pressure parameter, and respond the operation.The invention also discloses a kind of terminal and computer readable storage mediums, and by implementing above scheme, the use of side game Touch Zone expands the opereating specification of user, and is not limited to screen operator, improves the game experiencing of user.
Description
Technical field
The present invention relates to field of mobile terminals, can more specifically to a kind of game control method, terminal and computer
Read storage medium.
Background technique
With the fast development of social horizontal raising and mobile terminal technology, nowadays more and more mobile phone games are rich
The rich recreation of people, as intelligent mobile terminal is more more and more universal, the market of mobile phone games becomes more wide.And mesh
The operation of preceding user still is limited to screen operator, and thumb is only utilized, and the side area of mobile phone is idle, cannot utilize well
Get up, user expects more excellent game experiencing.
Summary of the invention
The technical problem to be solved in the present invention is that existing user operation during game carries out is confined to screen operator,
The problem of to influence user's game experiencing, for the technical problem, providing a kind of game control method, terminal and computer can
Read storage medium.
In order to solve the above technical problems, the present invention provides a kind of game control method, it include game touch-control applied to side
The terminal in area, game control method include:
Judge whether current application is game application, obtains the type of the game application;
The touch-control in the game Touch Zone is received, the touch-control is parsed and obtains pressure parameter;
Operating list corresponding with the type of the game application is retrieved, operation corresponding with the pressure parameter is obtained,
And respond the operation.
Optionally, judge whether current application is game application, obtains the title of the game application, comprising:
The terminal is detected in the application attribute of storehouse top layer;
If the application attribute is game, the type of the game application is obtained.
Optionally, it parses the touch-control and obtains pressure parameter, the pressure parameter includes: pressure value and/or pressure time
And/or pressure number.
Optionally, operating list corresponding with the type of the game application is retrieved, is obtained corresponding with the pressure parameter
Operation, and the step of responding the operation includes:
If the game application is sports class game application, the first operating list, the first operating list packet are retrieved
Include the moving operation and skill operation of the sports class game application;
Moving operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the moving operation;
Skill operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the skill operation.
Optionally, operating list corresponding with the type of the game application is retrieved, is obtained corresponding with the pressure parameter
Operation, and the step of responding the operation includes:
If the game application is shooting game application, the second operating list, the second operating list packet are retrieved
Include the moving operation and firing operation of the shooting game application;
Moving operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the moving operation;
Firing operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the firing operation.
Optionally, the game control method includes:
The game Touch Zone includes the first Touch Zone and the second Touch Zone.
Optionally, the game control method includes:
User is received to the customized of the operating list.
Optionally, before receiving the touch-control of the game Touch Zone the step of, further includes:
Detect whether the terminal is in transverse screen state;
If the terminal is in transverse screen state, the touch-control of the game Touch Zone is received.
Further, the present invention also provides a kind of terminal, terminal side face includes game Touch Zone, further include processor,
Memory and communication bus;
Communication bus is for realizing the connection communication between processor and memory;
Processor is for executing one or more program stored in memory, to realize game control as described above
The step of method.
Further, the present invention also provides a kind of computer readable storage medium, computer-readable recording medium storages
There is one or more program, one or more program can be executed by one or more processor, as described above to realize
Game control method the step of.
Beneficial effect
The invention discloses a kind of game control method, terminal and computer readable storage mediums, include applied to side
The terminal of game Touch Zone, this method include judging whether current application is game application, obtain the type of the game application;
The touch-control in the game Touch Zone is received, the touch-control is parsed and obtains pressure parameter;The type of retrieval and the game application
Corresponding operating list obtains operation corresponding with the pressure parameter, and responds the operation.The invention also discloses one kind
Terminal and computer readable storage medium, by implementing above scheme, the use of side game Touch Zone expands the behaviour of user
Make range, and be not limited to screen operator, improves the game experiencing of user.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the schematic diagram of game Touch Zone provided in an embodiment of the present invention;
Fig. 4 is game control method basic flow chart provided in an embodiment of the present invention;
Fig. 5 is the display interface in characterization direction after touch-control provided in an embodiment of the present invention;
Fig. 6 is the game control method basic flow chart that further embodiment of this invention provides;
Fig. 7 is the structural schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi 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, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System ofMobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection
Family equipment) (the land Evolved UMTS Terrestrial RadioAccess Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (MobilityManagement Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
It is confined to screen operator in order to solve existing user operation during game carries out, to influence user's game body
The problem of testing present embodiments provides a kind of game control method, includes the terminal of game Touch Zone, such as Fig. 3 applied to side
Shown, terminal side is provided with game Touch Zone 301, user under scene of game, the game Touch Zone 301 had both gripping and
The effect of touch-control, i.e. user can realize corresponding game operation by the game Touch Zone.As shown in figure 4, Fig. 4 is the present embodiment
The game Touch Zone of offer controls basic flow chart, and game Touch Zone control includes:
S401, judge whether current application is game application, obtain the type of the game application.
Specifically, judging whether current application is game application, comprising:
The terminal is detected in the application attribute of storehouse top layer;In the present embodiment, system first divides game application
Class establishes the list of a game application, when user opens some in application, system reading is currently operating at Activity stack top
Apply packet name, confirmation Activity stack top application whether in game application list, if illustrating that current application is
Game application.The list of the game application is the list of system initial default.The list of the game application can also by user into
Edlin, the list of selection addition game to the game application.
It is understood that in the present embodiment, after determining that current application is game application, obtaining the game and answering
Type, the type of the game application include but is not limited to race class game application (such as " king's honor "), shooting
Game application (such as " seeking survival danger spot ") etc..
Application of the system by reader Activity stack top, the available type to the game application, further
Get the specific name of the game application.
S402, reception parse the touch-control and obtain pressure parameter in the touch-control of the game Touch Zone.
In the present embodiment, the game Touch Zone is set to the side of the terminal.According to the difference of type of play,
Game operation corresponding to game touch-control is also different.Optionally, the game Touch Zone includes the first Touch Zone and the second touch-control
Area.Pressure sensor is laid below the game Touch Zone.It is received by the pressure sensor in the game Touch Zone
Touch-control.
It parses the touch-control and obtains pressure parameter, the pressure parameter includes: pressure value and/or pressure time and/or pressure
Power number.Touch-control of the user in the game Touch Zone is touched including touching, again, is continuously touched, single is touched etc., and the present embodiment is simultaneously
The touch-control is not limited to.Pressure parameter corresponding with the touch-control, such as touching, touching corresponding pressure parameter again is pressure value:
When the pressure value that the touching received parses be more than or equal to a certain pressure preset threshold, then determine the touch-control
Attach most importance to touching, in the present embodiment, which can be with systemic presupposition or user's sets itself.Continuous touching, single
Touching corresponding pressure parameter is pressure number.In addition, single, which touches corresponding pressure parameter, can also be pressure time: example
Such as, if the time of single touching is more than sometime preset threshold, correspond to the first operation, otherwise correspond to the second operation, this when
Between preset threshold can also be by the touching of multi collect user with systemic presupposition or user's sets itself, the time preset threshold
Operation is touched, so that intelligence computation obtains the time preset threshold for meeting user's habit.
S403, retrieval operating list corresponding with the type of the game application, obtain corresponding with the pressure parameter
Operation, and respond the operation.
According to the difference of type of play, game operation corresponding to game touch-control is also different, thus the present embodiment according to
Operating list corresponding to different types of game application is also different.Such as: if the game application is sports class game application,
The first operating list is then retrieved, first operating list includes moving operation and the technical ability behaviour of the sports class game application
Make;Moving operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the moving operation;Acquisition and institute
The corresponding skill operation of pressure parameter is stated, the game application is controlled and responds the skill operation.If the game application is to penetrate
Class game application is hit, then retrieves the second operating list, second operating list includes the movement of the shooting game application
Operation and firing operation;Moving operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the movement
Operation;Skill operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the firing operation.
Wherein preset pressure parameter-game operation list corresponding relationship can be one-to-one relationship, can also be also more
To one relationship, as shown in table 1, table 1 is a kind of preset pressure parameter-game operation list provided in this embodiment.
Table 1
In other embodiments, the preset pressure parameter-game operation list corresponding relationship is many-to-one pass
System.For operating single H5 trivial games, such as wechat is very fiery jumps, operation " jump " split out there are two dimension:
Direction and dynamics.Under this embodiment, the pressure parameter may be configured as pressure value and pressure time, when the pressure value
More than preset threshold, when the pressure time characterizes the operation direction that user wishes to carry out, the operation of " jump " described in execution.
Specifically, characterizing the display interface in direction after touch-control provided in this embodiment as shown in Figure 5, there are one 360 ° in display interface
The direction that circle characterization user wishes to carry out, when user has just touched the game Touch Zone, pointer indicates 0 ° in the circle,
Longer when the time that user touches the game Touch Zone, the angle for justifying interior pointer characterization is bigger.In order to avoid accidentally touch, when with
The game Touch Zone is touched at family, and the touching time is long immediately, reaches the angle that user wants, and the pressure value does not reach pre-
If threshold value, the game is also not responding to the operation " jumped ".
In other embodiments, the game Touch Zone includes the first Touch Zone and the second Touch Zone.First touching
It controls area and second Touch Zone and receives touch-control, parse the touch-control and obtain pressure parameter.According to the type of the game application,
Operating list corresponding to first Touch Zone and second Touch Zone can be same or different.For example, for operation
Single H5 trivial games, if first Touch Zone operating list corresponding with second Touch Zone is identical, the pressure ginseng
Number is pressure value and pressure time, and corresponding a certain operation, then user inputs touch-control a Touch Zone.If first touching
Controlling area, corresponding operating list is different with second Touch Zone, it is assumed that and the pressure parameter of the first Touch Zone is pressure value, second
The pressure parameter of Touch Zone is pressure time, and the two corresponds to a certain operation jointly, then user needs in two Touch Zone input touchings
Control.User can carry out setting operating list corresponding to first Touch Zone and second Touch Zone according to itself habit
It is no identical.For sports class game application or shooting game application, first Touch Zone and second Touch Zone pair
The operating list answered is generally different.
Optionally, the game control method further include: receive user to the customized of the operating list.User can needle
To different game, customized different actions menu.Such as user, when carrying out eating chicken game, transverse screen operation is touched to first
It controls area (assuming that Touch Zone of terminal left end), it is moving operation that user, which can define operation, when according to the size or pressure of pressure value
Between, the subdivision of behavior can be continued, when touching (when pressure value is less than preset threshold), game executes the behaviour of " walking "
Make, corresponding game role walking;When touching again (when pressure value is less than preset threshold), game executes the operation of " sprinting ", corresponding
Game role sprints;To the second Touch Zone (assuming that Touch Zone on the right side of terminal), user is positioned as firing operation, according to pressure value
Size or pressure time, the subdivision of behavior can be continued, such as when touching when preset threshold (pressure value be less than), trip
Play executes the operation of " fixed fire ", corresponding game role fixed fire;When touching again (when pressure value is less than preset threshold), game is executed
The operation of " continuous fire ", corresponding game role continuous fire.In setting menu, swum for the mobile phone of existing market mainstream
Play, user can be with the actions menu of customized left and right sides pressure sensitivity, to meet the use habit of user.
When user carries out other game, the game Touch Zone can load the behaviour that other users have defined before
Make menu, i.e., different game there can be different operation mappings, and the difference and pressure for carrying out game according to user are not
Together, the calling operated automatically.
A kind of game control method is present embodiments provided, includes the terminal of game Touch Zone, this method applied to side
Including judging whether current application is game application, the type of the game application is obtained;It receives in the game Touch Zone
Touch-control parses the touch-control and obtains pressure parameter;Retrieve operating list corresponding with the type of the game application, acquisition and institute
The corresponding operation of pressure parameter is stated, and responds the operation.The invention also discloses a kind of terminal and computer-readable storage mediums
Matter, by implementing above scheme, the use of side game Touch Zone expands the opereating specification of user, and is not limited to screen
Operation, improves the game experiencing of user.
Second embodiment
The present embodiment provides a kind of game control methods, as shown in fig. 6, the game control provided for further embodiment of this invention
Method basic flow chart processed.The game control method is applied to the terminal that terminal side is provided with Touch Zone, the game controlling party
Method includes:
S601, judge whether current application is game application, obtain the type of the game application.
In the present embodiment, system is currently operating at the application packet name of Activity stack top by reading, and confirmation is currently answered
With whether being game application, and the type of the game application is obtained, the type of the game application includes but is not limited to race
Class game application (such as " king's honor "), shooting game application (such as " seeking survival danger spot ") etc..
Whether S602, the detection terminal are in transverse screen state;
In the present embodiment, before the step of receiving the touch-control of the game Touch Zone, it is by code detection terminal
It is no to rotate to be transverse screen state, terminal can also be detected by acceleration transducer or gravity sensor in use
Location status, the present embodiment do not limit the mode for detecting the terminal horizontal/vertical screen state, the detection terminal horizontal/vertical screen state
Mode also belong to the prior art, the present embodiment does not repeat them here.
If S603, the terminal are in transverse screen state, the touch-control of the game Touch Zone is received, the touch-control is parsed and obtains
To pressure parameter;
When confirming that the terminal is in transverse screen state, the touch-control of the game Touch Zone is received.Otherwise, the terminal
The touch-control of game Touch Zone is frozen, is not responding to the touch-control.In this way, preventing to some extent user because of accidentally touching game touching
The problem of controlling area and false triggering game operation.
The game Touch Zone is set to the side of the terminal.According to the difference of type of play, game touch-control institute is right
The game operation answered is also different.Optionally, the game Touch Zone includes the first Touch Zone and the second Touch Zone.The game touching
Control lays pressure sensor below area.The touch-control in the game Touch Zone is received by the pressure sensor.
It parses the touch-control and obtains pressure parameter, the pressure parameter includes: pressure value and/or pressure time and/or pressure
Power number.Touch-control of the user in the game Touch Zone is touched including touching, again, is continuously touched, single is touched etc., and the present embodiment is simultaneously
The touch-control is not limited to.Pressure parameter corresponding with the touch-control, such as touching, touching corresponding pressure parameter again is pressure value:
When the pressure value that the touching received parses be more than or equal to a certain pressure preset threshold, then determine the touch-control
Attach most importance to touching, in the present embodiment, which can be with systemic presupposition or user's sets itself.Continuous touching, single
Touching corresponding pressure parameter is pressure number.In addition, single, which touches corresponding pressure parameter, can also be pressure time: example
Such as, if the time of single touching is more than sometime preset threshold, correspond to the first operation, otherwise correspond to the second operation, this when
Between preset threshold can also be by the touching of multi collect user with systemic presupposition or user's sets itself, the time preset threshold
Operation is touched, so that intelligence computation obtains the time preset threshold for meeting user's habit.
S604, retrieval operating list corresponding with the type of the game application, obtain corresponding with the pressure parameter
Operation, and respond the operation.
According to the difference of type of play, game operation corresponding to game touch-control is also different, thus the present embodiment according to
Operating list corresponding to different types of game application is also different.Operation corresponding with the pressure parameter is obtained, and is responded
The operation.Wherein preset pressure parameter-game operation list corresponding relationship can be one-to-one relationship, can also be also more
To one relationship.
In other embodiments, the game Touch Zone includes the first Touch Zone and the second Touch Zone.First touching
It controls area and second Touch Zone and receives touch-control, parse the touch-control and obtain pressure parameter.According to the type of the game application,
Operating list corresponding to first Touch Zone and second Touch Zone can be same or different.
Optionally, the game control method further include: receive user to the customized of the operating list.User can needle
To different game, customized different actions menu.Such as user, when carrying out eating chicken game, transverse screen operation is touched to first
It controls area (assuming that Touch Zone of terminal left end), it is moving operation that user, which can define operation, when according to the size or pressure of pressure value
Between, the subdivision of behavior can be continued, when touching (when pressure value is less than preset threshold), game executes the behaviour of " walking "
Make, corresponding game role walking;When touching again (when pressure value is less than preset threshold), game executes the operation of " sprinting ", corresponding
Game role sprints;To the second Touch Zone (assuming that Touch Zone on the right side of terminal), user is positioned as firing operation, according to pressure value
Size or pressure time, the subdivision of behavior can be continued, such as when touching when preset threshold (pressure value be less than), trip
Play executes the operation of " fixed fire ", corresponding game role fixed fire;When touching again (when pressure value is less than preset threshold), game is executed
The operation of " continuous fire ", corresponding game role continuous fire.In setting menu, swum for the mobile phone of existing market mainstream
Play, user can be with the actions menu of customized left and right sides pressure sensitivity, to meet the use habit of user.
A kind of game control method is present embodiments provided, judges whether current application is game application, obtains the trip
The type of play application;It detects whether the terminal is in transverse screen state, if the terminal is in transverse screen state, receives in the trip
The touch-control of play Touch Zone, parses the touch-control and obtains pressure parameter;Retrieve action column corresponding with the type of the game application
Table obtains operation corresponding with the pressure parameter, and responds the operation.By detecting the horizontal/vertical screen state of terminal, work as institute
It states terminal and is in transverse screen state, the game Touch Zone just receives touch-control, is otherwise not responding to the touch-control.Prevent to a certain extent
Stop user and the problem of false triggering game operation, improves the game experiencing of user due to accidentally touching game Touch Zone.
3rd embodiment
Embodiment improves a kind of terminal, which includes the game Touch Zone for realizing game operation.Such as
Shown in Fig. 7, which further includes processor 701, memory 702 and communication bus 703, in which:
Communication bus 703 is for realizing the connection communication between processor 701 and memory 702;
Processor 701 is for executing one or more program stored in memory 702, to realize following steps:
Judge whether current application is game application, obtains the type of the game application;
The touch-control in the game Touch Zone is received, the touch-control is parsed and obtains pressure parameter;
Operating list corresponding with the type of the game application is retrieved, operation corresponding with the pressure parameter is obtained,
And respond the operation.
In the present embodiment, judge whether current application is game application, obtains the title of the game application, comprising:
The terminal is detected in the application attribute of storehouse top layer;
If the application attribute is game, the type of the game application is obtained.
In the present embodiment, it parses the touch-control and obtains pressure parameter, the pressure parameter includes: pressure value and/or pressure
The power time.
Optionally, operating list corresponding with the type of the game application is retrieved, is obtained corresponding with the pressure parameter
Operation, and the step of responding the operation includes:
If the game application is sports class game application, the first operating list, the first operating list packet are retrieved
Include the moving operation and skill operation of the sports class game application;Obtain moving operation corresponding with the pressure parameter, control
It makes the game application and responds the moving operation;Skill operation corresponding with the pressure parameter is obtained, the game is controlled
Using the response skill operation.
Optionally, operating list corresponding with the type of the game application is retrieved, is obtained corresponding with the pressure parameter
Operation, and if the step of responding the operation include: the game application is shooting game application, the second operation of retrieval
List, second operating list include the moving operation and firing operation of the shooting game application;It obtains and the pressure
The corresponding moving operation of force parameter controls the game application and responds the moving operation;It obtains corresponding with the pressure parameter
Skill operation, control the game application and respond the firing operation.
Optionally, the game Touch Zone includes the first Touch Zone and the second Touch Zone.
Optionally, user is received to the customized of the operating list.
In the present embodiment, processor 701 is before the step of receiving in the touch-control of the game Touch Zone, further includes:
Detect whether the terminal is in transverse screen state;If the terminal is in transverse screen state, the game touching is received
Control the touch-control in area.
It is worth noting that, not fully expounding first embodiment, second in the present embodiment in fact in order not to burden explanation
Apply all examples in example, it is understood that, all examples in first embodiment, second embodiment are suitable for this implementation
Example.
The present embodiment also provides a kind of computer readable storage medium, computer-readable recording medium storage have one or
Multiple programs, one or more program can be executed by one or more processor, to realize above-mentioned first embodiment, second
Each step of game operation method in embodiment.
The present embodiment includes the end of game Touch Zone for a kind of terminal and computer readable storage medium, applied to side
End, for realizing the game control method in above-described embodiment, this method includes judging whether current application is game application, is obtained
Take the type of the game application;The touch-control in the game Touch Zone is received, the touch-control is parsed and obtains pressure parameter;Retrieval
Operating list corresponding with the type of the game application obtains operation corresponding with the pressure parameter, and responds the behaviour
Make.By implementing above scheme, the use of side game Touch Zone expands the opereating specification of user, and is not limited to screen
Operation, improves the game experiencing of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.
Claims (10)
1. a kind of game control method, which is characterized in that it include the terminal of game Touch Zone applied to side, the game control
Method includes:
Judge whether current application is game application, obtains the type of the game application;
The touch-control in the game Touch Zone is received, the touch-control is parsed and obtains pressure parameter;
Operating list corresponding with the type of the game application is retrieved, obtains operation corresponding with the pressure parameter, and ring
Answer the operation.
2. game control method as described in claim 1, which is characterized in that judge whether current application is game application, is obtained
Take the title of the game application, comprising:
The terminal is detected in the application attribute of storehouse top layer;
If the application attribute is game, the type of the game application is obtained.
3. game control method as described in claim 1, which is characterized in that it parses the touch-control and obtains pressure parameter, it is described
Pressure parameter includes: pressure value and/or pressure time and/or pressure number.
4. game control method as claimed in claim 3, which is characterized in that retrieval is corresponding with the type of the game application
Operating list obtains operation corresponding with the pressure parameter, and the step of responding the operation includes:
If the game application is sports class game application, the first operating list is retrieved, first operating list includes institute
State the moving operation and skill operation of sports class game application;
Moving operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the moving operation;
Skill operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the skill operation.
5. game control method as claimed in claim 3, which is characterized in that retrieval is corresponding with the type of the game application
Operating list obtains operation corresponding with the pressure parameter, and the step of responding the operation includes:
If the game application is shooting game application, the second operating list is retrieved, second operating list includes institute
State the moving operation and firing operation of shooting game application;
Moving operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the moving operation;
Firing operation corresponding with the pressure parameter is obtained, the game application is controlled and responds the firing operation.
6. game control method as described in claim 4 or 5 characterized by comprising
The game Touch Zone includes the first Touch Zone and the second Touch Zone.
7. game control method as described in claim 1, which is characterized in that further include:
User is received to the customized of the operating list.
8. game control method as described in claim 1, which is characterized in that receive the step in the touch-control of the game Touch Zone
Before rapid, further includes:
Detect whether the terminal is in transverse screen state;
If the terminal is in transverse screen state, the touch-control of the game Touch Zone is received.
9. a kind of terminal, which is characterized in that the terminal side face includes game Touch Zone, and the terminal further includes processor, deposits
Reservoir and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 8
The step of game control method described in one.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or
Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 8
Any one of described in game control method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811635730.3A CN109621410A (en) | 2018-12-29 | 2018-12-29 | A kind of game control method, terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811635730.3A CN109621410A (en) | 2018-12-29 | 2018-12-29 | A kind of game control method, terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109621410A true CN109621410A (en) | 2019-04-16 |
Family
ID=66054605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811635730.3A Pending CN109621410A (en) | 2018-12-29 | 2018-12-29 | A kind of game control method, terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109621410A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112076466A (en) * | 2020-09-16 | 2020-12-15 | 努比亚技术有限公司 | Game data control method, mobile terminal and computer-readable storage medium |
CN113633965A (en) * | 2021-08-26 | 2021-11-12 | Oppo广东移动通信有限公司 | Touch screen adjusting method, communication device, electronic device and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204883488U (en) * | 2015-07-17 | 2015-12-16 | 瑞声声学科技(深圳)有限公司 | Portable terminal |
CN105511673A (en) * | 2015-12-02 | 2016-04-20 | 网易(杭州)网络有限公司 | Touch screen response method and device and game operation method and device |
CN105511782A (en) * | 2015-11-30 | 2016-04-20 | 网易(杭州)网络有限公司 | Game instruction processing method and device |
CN105556423A (en) * | 2013-06-11 | 2016-05-04 | 意美森公司 | Systems and methods for pressure-based haptic effects |
CN107335218A (en) * | 2017-07-07 | 2017-11-10 | 网易(杭州)网络有限公司 | Scene of game moving method and device, storage medium, processor and terminal |
CN108829328A (en) * | 2018-05-11 | 2018-11-16 | 努比亚技术有限公司 | A kind of game operation method, terminal and computer readable storage medium |
CN109011561A (en) * | 2018-05-30 | 2018-12-18 | 努比亚技术有限公司 | The quick control method of game, mobile terminal and computer readable storage medium |
-
2018
- 2018-12-29 CN CN201811635730.3A patent/CN109621410A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105556423A (en) * | 2013-06-11 | 2016-05-04 | 意美森公司 | Systems and methods for pressure-based haptic effects |
CN204883488U (en) * | 2015-07-17 | 2015-12-16 | 瑞声声学科技(深圳)有限公司 | Portable terminal |
CN105511782A (en) * | 2015-11-30 | 2016-04-20 | 网易(杭州)网络有限公司 | Game instruction processing method and device |
CN105511673A (en) * | 2015-12-02 | 2016-04-20 | 网易(杭州)网络有限公司 | Touch screen response method and device and game operation method and device |
CN107335218A (en) * | 2017-07-07 | 2017-11-10 | 网易(杭州)网络有限公司 | Scene of game moving method and device, storage medium, processor and terminal |
CN108829328A (en) * | 2018-05-11 | 2018-11-16 | 努比亚技术有限公司 | A kind of game operation method, terminal and computer readable storage medium |
CN109011561A (en) * | 2018-05-30 | 2018-12-18 | 努比亚技术有限公司 | The quick control method of game, mobile terminal and computer readable storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112076466A (en) * | 2020-09-16 | 2020-12-15 | 努比亚技术有限公司 | Game data control method, mobile terminal and computer-readable storage medium |
CN113633965A (en) * | 2021-08-26 | 2021-11-12 | Oppo广东移动通信有限公司 | Touch screen adjusting method, communication device, electronic device and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107562336A (en) | A kind of method, equipment and computer-readable recording medium for controlling suspension ball | |
CN109407957A (en) | Screen touch control method, terminal and computer readable storage medium | |
CN107517321A (en) | Terminal pattern switching method, mobile terminal and computer-readable recording medium | |
CN110531919A (en) | A kind of fingerprint touch-control mapping control method, terminal and computer readable storage medium | |
CN109005574A (en) | Cell selecting method, mobile terminal and computer readable storage medium | |
CN110007816A (en) | A kind of display area determines method, terminal and computer readable storage medium | |
CN110300435A (en) | A kind of communication pattern switching method, terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN107229410A (en) | Interactive operation method, mobile terminal and computer-readable recording medium | |
CN109739630A (en) | Game switching method, mobile terminal and computer readable storage medium | |
CN108771861A (en) | A kind of game control method, mobile terminal and computer readable storage medium | |
CN109005288A (en) | Call processing method, double-sided screen terminal and computer readable storage medium | |
CN108829302A (en) | A kind of interaction regulation method, equipment and computer readable storage medium | |
CN108156325A (en) | A kind of double-sided screen Incoming-call control method, equipment and computer readable storage medium | |
CN108712558A (en) | Incoming call reminding method, mobile terminal and the readable storage medium storing program for executing of mobile terminal | |
CN110052023A (en) | Game control method, mobile terminal and computer readable storage medium | |
CN110347306A (en) | A kind of multi-screen display method, terminal and computer readable storage medium | |
CN110052024A (en) | Method of adjustment, adjustment device, mobile terminal and the storage medium of game vibration | |
CN109739346A (en) | A kind of key simulating method, double screen terminal and computer readable storage medium | |
CN108881542A (en) | Mobile terminal call method, mobile terminal and computer readable storage medium | |
CN109621410A (en) | A kind of game control method, terminal and computer readable storage medium | |
CN108228301A (en) | The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface | |
CN108322595A (en) | A kind of control method, terminal and computer readable storage medium | |
CN109865280A (en) | A kind of game touch-control key control method, terminal and computer readable storage medium | |
CN110175052A (en) | A kind of method, apparatus and computer readable storage medium of file opening |
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 |