CN109117076A - Game unit chooses method and storage medium, computer equipment - Google Patents

Game unit chooses method and storage medium, computer equipment Download PDF

Info

Publication number
CN109117076A
CN109117076A CN201810973937.5A CN201810973937A CN109117076A CN 109117076 A CN109117076 A CN 109117076A CN 201810973937 A CN201810973937 A CN 201810973937A CN 109117076 A CN109117076 A CN 109117076A
Authority
CN
China
Prior art keywords
game
current game
state
interface
arm
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.)
Granted
Application number
CN201810973937.5A
Other languages
Chinese (zh)
Other versions
CN109117076B (en
Inventor
周浩
何帆
袁志捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Wangyu Entertainment Network Technology Co Ltd
Original Assignee
Guangzhou Wangyu Entertainment Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Wangyu Entertainment Network Technology Co Ltd filed Critical Guangzhou Wangyu Entertainment Network Technology Co Ltd
Priority to CN201810973937.5A priority Critical patent/CN109117076B/en
Publication of CN109117076A publication Critical patent/CN109117076A/en
Application granted granted Critical
Publication of CN109117076B publication Critical patent/CN109117076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing 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
    • A63F13/426Processing 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 involving on-screen location information, e.g. screen coordinates of an area at which the player is aiming with a light gun
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/10Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
    • A63F2300/1068Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad
    • A63F2300/1075Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals being specially adapted to detect the point of contact of the player on a surface, e.g. floor mat, touch pad using a touch screen
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/60Methods for processing data by generating or executing the game program
    • A63F2300/6045Methods 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)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention provides a kind of game unit and chooses method and storage medium, computer equipment, which comprises identifies the game state of current game interface;Determine that the current game interface receives gesture operation;The regional scope that the gesture operation is selected in the current game interface is determined according to the game state;The game unit in the current game interface is chosen according to the regional scope.The game unit chooses method, the range of choice of gesture operation can be determined according to the ongoing current game state of game, and choose corresponding game unit, to provide the convenient and fast manual operation that can choose game unit according to game state for game user, meet the demand that game unit is precisely chosen in complicated game environment.

Description

Game unit chooses method and storage medium, computer equipment
Technical field
The present invention relates to game technical fields, specifically, the present invention relates to a kind of game units to choose method and storage Medium, computer equipment.
Background technique
With the development of mobile terminal technology, the especially fast development of mobile phone touch technology, more and more mobile phones are thrown Traditional button operation mode is abandoned, the mode manipulated using touch screen.For example, clicking screen chooses target object, long-pressing screen is multiple Text processed, and click redirected link etc..Simple contact action can realize a series of operational requirements of user.
In recent years, with the demand of Game Market, mobile phone games type emerges one after another.Game user is complete by contact action At a series of Mission Objective.But the contact action of user is relatively easy, how to be completed by simple contact action complicated Mission Objective, such as how by simple contact action complete game process middle reaches programme position choose, be mobile phone games fortune Battalion quotient must solve the problems, such as in Game Setting.It is to pass through the identification to user gesture that tradition, which chooses the mode of game unit, Choose corresponding game unit.However, this mode can not meet complicated game demand.
Summary of the invention
The present invention proposes that a kind of game unit chooses method and storage medium, computer equipment, in game operation process In provided for game user and meet the game unit of scene of game demand and choose method.
The present invention provides following scheme:
A kind of game unit chooses method, comprising: identifies the game state of current game interface;Determine the going game Interface receives gesture operation;Determine the gesture operation in the area that the current game interface selects according to the game state Domain range;The game unit in the current game interface is chosen according to the regional scope.
The gesture operation includes the first single-click operation in one of the embodiments,;The determination going game Interface receives gesture operation, comprising: confirms that the first game unit recipient in the current game interface is single to described first Hit operation;The regional scope for determining that the gesture operation is selected in the current game interface according to the game state, The game unit in the current game interface is chosen according to the regional scope, comprising: institute is determined according to the game state The regional scope that the first single-click operation selects is stated as the first game unit, chooses the first game unit.
The gesture operation includes two transfer point trigger actions in one of the embodiments,;The game state packet Include the state of war and the non-state of war;Determine that the gesture operation is selected in the current game interface according to the game state Regional scope, the game unit in the current game interface is chosen according to the regional scope, comprising: if the game shape State is the state of war, generates the first rectangular area range according to the motion track of described two transfer point trigger actions, chooses institute State all second game units being under battle condition within the scope of the first rectangular area;If the game state is non-war shape State generates the second rectangular area range according to the motion track of described two transfer point trigger actions, chooses second rectangle All third game units in regional scope.
It is described in one of the embodiments, that the first square is generated according to the motion track of described two transfer point trigger actions Shape regional scope, comprising: obtain the distance of described two transfer points;Using the distance of described two transfer points as first square The diagonal line of rectangle in shape regional scope generates first rectangular area range;And/or obtain described two transfer points Distance;Using the distance of described two transfer points as the diagonal line of rectangle in the range of second rectangular area, described the is generated Two rectangular area ranges.
The gesture operation includes the second single-click operation in one of the embodiments,;The game state includes war State and the non-state of war;The determination current game interface receives gesture operation, comprising: determines the going game Second single-click operation is received with screen button in interface;It is described to determine the gesture operation in institute according to the game state The regional scope for stating current game interface selection, the game list in the current game interface is chosen according to the regional scope Position, comprising: if the game state is the state of war, determine that the regional scope that second single-click operation selects is entire described Current game interface chooses all arm of the services units being under battle condition in the entire current game interface;If the game State is the non-state of war, determines the regional scope that second single-click operation selects for the entire current game interface, choosing In arm of the services unit all in the entire current game interface.
It is described in one of the embodiments, to choose all soldiers being under battle condition in the entire current game interface After kind unit, further includes: determine that any arm of the services model receives in all arm of the services units being under battle condition chosen To double click operation;All arm of the services units being under battle condition in the entire current game interface are chosen described in cancellation;It chooses In the current game interface, with any same kind of all arm of the services models of arm of the services model;And/or it described chooses In the entire current game interface after all arm of the services units, further includes: determine any in all arm of the services units chosen Arm of the services model receives double click operation;Arm of the services unit all in the entire current game interface is chosen described in cancellation;It chooses In the current game interface, with any same kind of all arm of the services models of arm of the services model.
The gesture operation includes third single-click operation in one of the embodiments,;The determination going game Interface receives gesture operation, comprising: confirms and button is selected to receive the third single-click operation in the current game interface entirely; The regional scope for determining that the gesture operation is selected in the current game interface according to the game state, according to described Regional scope chooses the game unit in the current game interface, comprising: determines the region of the third single-click operation selection Range is entire current game interface, chooses the game list for belonging to active user's account in the entire current game interface region Position.
The game unit of active user's account includes the soldier of active user's account in one of the embodiments, Kind unit;It is described to choose the game unit for belonging to active user's account in the entire current game interface region, comprising: to choose All arm of the services units for belonging to active user's account in the current game interface.
A kind of storage medium, is stored thereon with computer program;The computer program is suitable for being loaded and being held by processor Game unit described in any of the above-described embodiment of row chooses method.
A kind of computer equipment comprising: one or more processors;Memory;One or more application program, wherein One or more of application programs are stored in the memory and are configured as being held by one or more of processors Row, one or more of application programs are configured to carry out the game unit side of choosing according to any of the above-described embodiment Method.
Game unit provided by the above embodiment chooses method, the game state of system identification current game interface, at this When current game interface receives gesture operation, determine the gesture operation in current game interface according to current game state The regional scope of corresponding selection, to choose corresponding game unit according to the regional scope.Therefore, the game unit side of choosing Method can determine the range of choice of gesture operation according to the ongoing current game state of game, and choose corresponding game unit, To provide the convenient and fast manual operation that can choose game unit according to game state for game user, meet complicated game The demand of game unit is precisely chosen in environment.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is that a kind of game unit provided by the invention chooses the method flow diagram in an embodiment of method;
Fig. 2 is that a kind of game unit provided by the invention chooses the method flow diagram in another embodiment of method;
Fig. 3 is that a kind of game unit provided by the invention chooses the method flow diagram in the another embodiment of method;
Fig. 4 is that a kind of game unit provided by the invention chooses the method flow diagram in the another embodiment of method;
Fig. 5 is that a kind of game unit provided by the invention chooses the method flow diagram in the another embodiment of method;
Fig. 6 is the structural schematic diagram in an a kind of embodiment of computer equipment provided by the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form, " first " used herein, " second " are only used for distinguishing same technology special Sign, is not limited the sequence of the technical characteristic and quantity etc..It is to be further understood that in specification of the invention The wording " comprising " used refers to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that depositing Or add other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
The present invention provides a kind of game unit and chooses method.In one embodiment, as shown in Figure 1, the game unit is chosen Method the following steps are included:
S100 identifies the game state of current game interface.
Every money game includes multiple game states.Such as shooting type game, for broad aspect, it may include war shape State and the non-state of war.Further, the state of war may also comprise multiple and different campaign states, such as defensive state, into Attack type state, back type state etc..The non-state of war may also comprise multiple and different non-campaign states.For example it produces soldier's state, build Make building state, repair building state etc..Each game state can be identified according to scene of game.Ring in game Border, building, machinery, stage property and person model etc. constitute scene of game.Different scene of game can identify different game State.
In the present embodiment, server detects the game state of the current game interface of game, to judge to identify Current game state out.In a particular embodiment, server can by detect current game interface scene of game with Identify current game state.For example, may recognize that current there are a large amount of scene of fighting in the scene of game that server detects Game state is the state of war.When detecting the scene of a large amount of construction of buildings, it may recognize that current game state is war Preceding state etc..
S200 determines that the current game interface receives gesture operation.
Game described in the present embodiment is the game of mobile terminal of touch screen type, can be mobile phone games, plate game etc.. The game of mobile terminal of touch screen type can receive and identify game user in the gesture operation of terminal interface.
The gesture operation of game user can be any region for clicking or double-clicking current game interface, can also be long-pressing The a certain region of the current game interface can also trigger the operation of current game interface with various motion tracks.System detection And confirm that the current game interface of game receives the gesture operation of user.
S300 determines the region model that the gesture operation is selected in the current game interface according to the game state It encloses.
In the present embodiment, identical gesture operation under different game states, determine according to gesture operation by system Current game interface in the regional scope that selects it is different.Likewise, different gesture operations is in identical game state System is not also identical according to the selected regional scope that different gesture operations are determined.Therefore, system gets the hand of user After gesture operation, the region model which selects in current game interface is determined according to the game state of going game It encloses.
For example, current game state is the non-state of war, the gesture operation of system detection to user is in going game Interface upper drawing circle circle, it is determined that the gesture operation is it is confirmed that all arm of the services regional scopes within the scope of circle.If current trip Play state is the state of war, and the gesture operation of system detection to user is in current game interface upper drawing circle circle, it is determined that the hand Gesture operates all arm of the services regional scopes in war mode it is confirmed that within the scope of circle.
S400 chooses the game unit in the current game interface according to the regional scope.
In the present embodiment, it after system determines the regional scope that user gesture operates selection, chooses in the regional scope Game unit in current game interface.Wherein, game unit can be arm of the services model in game, be also possible to building in game Object model is built, can also be other model of place etc. in game.
Game unit provided by the above embodiment chooses method, the game state of system identification current game interface, at this When current game interface receives gesture operation, determine the gesture operation in current game interface according to current game state The regional scope of corresponding selection, to choose corresponding game unit according to the regional scope.Therefore, the game unit side of choosing Method can determine the range of choice of gesture operation according to the ongoing current game state of game, and choose corresponding game unit, To provide the convenient and fast manual operation that can choose game unit according to game state for game user, meet complicated game The demand of game unit is precisely chosen in environment.
Gesture operation includes the first single-click operation in one of the embodiments,.
Step S200, comprising:
S210 confirms the first game unit recipient in the current game interface to first single-click operation.
At this point, step S300 includes:
S310 determines the regional scope that first single-click operation selects for first game according to the game state Unit.
Step S400 includes:
S410 chooses the first game unit.
In this embodiment, regardless of what stage the game state of going game is in, when the trip in current game interface When programme position receives the first single-click operation of user, system chooses the game unit.It can be, for different game shapes State, after system chooses the game unit, the operational order sent to the game unit is different.For example, in the state of war, When belonging to the arm of the services of user account in current game interface and receiving the first single-click operation of user, system chooses the arm of the services, and The operational order of attack is sent to the arm of the services.When the arm of the services receives the operational order of attack, corresponding attack operation is executed.If In the non-state of war, then after system chooses the arm of the services, any operational order will not be sent to the arm of the services simultaneously.The arm of the services only has When receiving the other operational order of system, the operation that just performs the next step.
The gesture operation includes two transfer point trigger actions in one of the embodiments,.Wherein, two transfer points Operation of setting out refers to that two region points of current game interface are respectively received the trigger action of user, and the two areas Domain point is removable.System can detect the motion track of the two region points.The game state includes the state of war and non-war State.System determines the game unit that gesture operation is chosen according to the game state of going game respectively:
If the game state is the state of war, step S300, comprising:
S320 generates the first rectangular area range according to the motion track of described two transfer point trigger actions.
Step S400 at this time, comprising:
S420 chooses all second game units being under battle condition within the scope of first rectangular area.
If the game state is the non-state of war, step S300, comprising:
S330 generates the second rectangular area range according to the motion track of described two transfer point trigger actions.
S430 chooses all third game units within the scope of second rectangular area.
In this embodiment, after system receives two transfer point trigger actions, according to the motion track of two transfer points Generate rectangular area range.If the game state of going game is the state of war, system is chosen in rectangular area in fight All game units of state.If the game state of going game is the non-state of war, system, which is chosen in rectangular area, to be owned Game unit.In a specific embodiment, if the game state of going game is the state of war, system chooses rectangle region Belong to all arm of the services of user account being under battle condition in domain.If the game state of going game is the non-state of war, System, which is chosen, belongs to other model of place such as all arm of the services and building of user account in rectangular area.
It is described raw according to the motion track of described two transfer point trigger actions in an embodiment of the embodiment At the first rectangular area range, comprising: obtain the distance of described two transfer points;Using the distance of described two transfer points as institute The diagonal line of rectangle in the first rectangular area range is stated, first rectangular area range is generated;And/or it obtains described two The distance of transfer point;It is raw using the distance of described two transfer points as the diagonal line of rectangle in the range of second rectangular area At second rectangular area range.
In this embodiment, system generates the mode of rectangular area range according to two transfer point trigger actions are as follows: is System obtains the distance value of two transfer points, generates the rectangle for the distance value as the diagonal line of rectangle in the range of rectangular area Regional scope.Game user can adjust the size of rectangular area by mobile two transfer points.In specific operating process, User's two fingers touch screen, freely scale, and system generates corresponding rectangular area according to the moving distance of user's two fingers contact point. When user looses one's grip, i.e., user's two fingers no longer touch screen, the rectangular area generated is determined, system is i.e. according to going game Game state chooses the game unit in rectangular area.
In one embodiment, the gesture operation includes the second single-click operation.The game state include the state of war and The non-state of war.As shown in figure 4, step S200, comprising:
S220 is determined in the current game interface and is received second single-click operation with screen button;
If the game state is the state of war:
Step S300, comprising:
S340 determines the regional scope that second single-click operation selects for the entire current game interface.
Step S400, comprising:
S440 chooses all arm of the services units being under battle condition in the entire current game interface.
If the game state is the non-state of war:
Step S300, comprising:
S350 determines the regional scope that second single-click operation selects for the entire current game interface.
Step S400, comprising:
S450 chooses arm of the services unit all in the entire current game interface.
In this embodiment, system is provided in interface with screen button.For different game states, with screen button After receiving user click operation, the game unit within the scope of selected areas is different.If the game state of going game is war State is striven, then after receiving user click operation with screen button, system is chosen in entire current game interface and is under battle condition All arm of the services units.If the game state of going game is the non-state of war, user click operation is received with button is shielded Afterwards, arm of the services unit all in the entire current game interface is chosen.
In an embodiment of the embodiment, described choose in the entire current game interface is under battle condition All arm of the services units after, further includes: determine any arm of the services in all arm of the services units being under battle condition chosen Model receives double click operation;All arm of the services lists being under battle condition in the entire current game interface are chosen described in cancellation Position;It chooses in the current game interface, with any same kind of all arm of the services models of arm of the services model;And/or
It is described choose arm of the services unit all in the entire current game interface after, further includes: determine the institute chosen There is any arm of the services model in arm of the services unit to receive double click operation;It chooses in the entire current game interface and owns described in cancellation Arm of the services unit;It chooses in the current game interface, with any same kind of all arm of the services models of arm of the services model.
In this embodiment, after system clicks full frame button to choose target arm of the services unit, if the target soldier chosen Any arm of the services model receives double click operation in kind unit, then system cancels the target arm of the services in the regional scope of last time chosen Unit, further choose in the target arm of the services unit with any same type of all arm of the services of arm of the services model.
In one embodiment, the gesture operation includes third single-click operation.As shown in figure 5, step S200, comprising:
S230 confirms and button is selected to receive the third single-click operation in the current game interface entirely.
Step S300, comprising:
S360 determines the regional scope that the third single-click operation selects for entire current game interface.
Step S400, comprising:
S460 chooses the game unit for belonging to active user's account in the entire current game interface region.
In this embodiment, system is arranged on interface selects button entirely.When selecting button to receive clicking for user entirely When operation, system chooses the game unit for belonging to active user's account all in current game interface.Wherein, active user The game unit of account includes the arm of the services unit of active user's account, building unit and various game article units Deng.
In one embodiment, step S460, comprising: choose and all in the current game interface belong to the current use The arm of the services unit of family account.
In this embodiment, game user need to choose all soldiers for belonging to one's own side in the game state of going game When kind unit, it need to only click in interface and select button entirely, all arm of the services units can be chosen.In addition, system can also be When detecting that any arm of the services receives double-click or single-click operation in all arm of the services units, cancel the full selection operation of last time, into one Step chooses all arm of the services similar with any arm of the services in current game interface.
The present invention also provides a kind of storage mediums.Computer program is stored on the storage medium;The computer program When being executed by processor, realize that game unit described in any of the above-described embodiment chooses method.The storage medium can be storage Device.For example, built-in storage or external memory, or including both built-in storage and external memory.Built-in storage may include only It reads memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), fast Flash memory or random access memory.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Institute of the invention is public The storage medium opened includes but is not limited to the memory of these types.Memory disclosed in this invention is only used as example rather than makees To limit.
The present invention also provides a kind of computer equipments.A kind of computer equipment includes: one or more processors;Storage Device;One or more application program.Wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, one or more of application programs are configured to carry out any of the above-described embodiment The game unit chooses method.
Fig. 6 is the structural schematic diagram of the computer equipment in one embodiment of the invention.Computer equipment described in the present embodiment It can be server, personal computer and the network equipment.As shown in fig. 6, equipment include processor 603, it is memory 605, defeated Enter the devices such as unit 607 and display unit 609.It will be understood by those skilled in the art that the device structure device shown in Fig. 6 is simultaneously The restriction to all devices is not constituted, may include than illustrating more or fewer components, or the certain components of combination.Memory 605 can be used for storing application program 601 and each functional module, and processor 603 runs the application program for being stored in memory 605 601, it is managed thereby executing the various function application of equipment and data area.Memory can be built-in storage or external memory, Or including both built-in storage and external memory.Built-in storage may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random storage Device.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, tape etc..Memory disclosed in this invention includes but unlimited In the memory of these types.Memory disclosed in this invention is only used as example rather than as restriction.
Input unit 607 is used to receive the input of signal, and receives the keyword of user's input.Input unit 607 can Including touch panel and other input equipments.Touch panel collects the touch operation of user on it or nearby and (for example uses Family uses the operations of any suitable object or attachment on touch panel or near touch panel such as finger, stylus), and root According to the corresponding attachment device of preset driven by program;Other input equipments can include but is not limited to physical keyboard, function One of key (such as broadcasting control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.Display unit 609 can be used for showing the information of user's input or be supplied to the information of user and the various menus of computer equipment.Display is single The forms such as liquid crystal display, Organic Light Emitting Diode can be used in member 609.Processor 603 is the control centre of computer equipment, benefit With the various pieces of various interfaces and the entire computer of connection, by running or executing the software being stored in memory 603 Program and/or module, and the data being stored in memory are called, it performs various functions and manages data with region.
In one embodiment, equipment includes one or more processors 603, and one or more memories 605, and one A or multiple application programs 601.Wherein one or more of application programs 601 are stored in memory 605 and are configured To be executed by one or more of processors 603, one or more of application programs 601 are configured to carry out the above implementation Game unit described in example chooses method.
In addition, each functional unit in each embodiment of the present invention can integrate in a region reason module, it can also To be that each unit physically exists alone, can also be integrated in two or more units in a module.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module If in the form of software function module realize and when sold or used as an independent product, also can store one calculating In machine read/write memory medium.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, which can store in a computer-readable storage medium In matter, storage medium may include memory, disk or CD etc..
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.
It should be understood that each functional unit in various embodiments of the present invention can be integrated in a region reason module, It can also be physically existed alone, can also be integrated in two or more units in a module with each unit.It is above-mentioned integrated Module both can take the form of hardware realization, can also be realized in the form of software function module.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of game unit chooses method characterized by comprising
Identify the game state of current game interface;
Determine that the current game interface receives gesture operation;
The regional scope that the gesture operation is selected in the current game interface is determined according to the game state;
The game unit in the current game interface is chosen according to the regional scope.
2. the method according to claim 1, wherein the gesture operation includes the first single-click operation;It is described true The fixed current game interface receives gesture operation, comprising: confirms that the first game unit in the current game interface connects Receive first single-click operation;
The regional scope for determining that the gesture operation is selected in the current game interface according to the game state, according to The regional scope chooses the game unit in the current game interface, comprising:
Determine that the regional scope that first single-click operation selects for the first game unit, is chosen according to the game state The first game unit.
3. the method according to claim 1, wherein the gesture operation includes two transfer point trigger actions; The game state includes the state of war and the non-state of war;
The regional scope that the gesture operation is selected in the current game interface is determined according to the game state, according to described Regional scope chooses the game unit in the current game interface, comprising:
If the game state is the state of war, the first rectangle is generated according to the motion track of described two transfer point trigger actions Regional scope chooses all second game units being under battle condition within the scope of first rectangular area;
If the game state is the non-state of war, the second square is generated according to the motion track of described two transfer point trigger actions Shape regional scope chooses all third game units within the scope of second rectangular area.
4. according to the method described in claim 3, it is characterized in that, the movement according to described two transfer point trigger actions Track generates the first rectangular area range, comprising:
Obtain the distance of described two transfer points;
Using the distance of described two transfer points as the diagonal line of rectangle in the range of first rectangular area, described first is generated Rectangular area range;And/or
Obtain the distance of described two transfer points;
Using the distance of described two transfer points as the diagonal line of rectangle in the range of second rectangular area, described second is generated Rectangular area range.
5. the method according to claim 1, wherein the gesture operation includes the second single-click operation;The trip Play state includes the state of war and the non-state of war;
The determination current game interface receives gesture operation, comprising: determine in the current game interface with screen by Button receives second single-click operation;
The regional scope for determining that the gesture operation is selected in the current game interface according to the game state, according to The regional scope chooses the game unit in the current game interface, comprising:
If the game state is the state of war, determine that the regional scope that second single-click operation selects is entire described current Interface chooses all arm of the services units being under battle condition in the entire current game interface;
If the game state is the non-state of war, determine that the regional scope that second single-click operation selects is worked as to be entirely described Preceding interface chooses arm of the services unit all in the entire current game interface.
6. according to the method described in claim 5, it is characterized in that, described choose in the entire current game interface in war After all arm of the services units of bucket-shaped state, further includes:
Determine that any arm of the services model receives double click operation in all arm of the services units being under battle condition chosen;
All arm of the services units being under battle condition in the entire current game interface are chosen described in cancellation;
It chooses in the current game interface, with any same kind of all arm of the services models of arm of the services model;And/or
It is described choose arm of the services unit all in the entire current game interface after, further includes:
Determine that any arm of the services model receives double click operation in all arm of the services units chosen;
Arm of the services unit all in the entire current game interface is chosen described in cancellation;
It chooses in the current game interface, with any same kind of all arm of the services models of arm of the services model.
7. the method according to claim 1, wherein the gesture operation includes third single-click operation;It is described true The fixed current game interface receives gesture operation, comprising: confirms in the current game interface and button is selected to receive institute entirely State third single-click operation;
The regional scope for determining that the gesture operation is selected in the current game interface according to the game state, according to The regional scope chooses the game unit in the current game interface, comprising:
Determine that the regional scope that the third single-click operation selects for entire current game interface, chooses the entire going game Belong to the game unit of active user's account in interface zone.
8. the method according to the description of claim 7 is characterized in that the game unit of active user's account includes described works as The arm of the services unit of preceding user account;It is described to choose the game for belonging to active user's account in the entire current game interface region Unit, comprising:
Choose all arm of the services units for belonging to active user's account in the current game interface.
9. a kind of storage medium, which is characterized in that be stored thereon with computer program;The computer program is suitable for by processor Game unit described in any one of loading and execute the claims 1 to 8 chooses method.
10. a kind of computer equipment, characterized in that it comprises:
One or more processors;
Memory;
One or more application program, wherein one or more of application programs are stored in the memory and are configured To be executed by one or more of processors, one or more of application programs are configured to carry out according to claim 1 Method is chosen to 8 described in any item game units.
CN201810973937.5A 2018-08-24 2018-08-24 Game unit selection method, storage medium and computer equipment Active CN109117076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810973937.5A CN109117076B (en) 2018-08-24 2018-08-24 Game unit selection method, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810973937.5A CN109117076B (en) 2018-08-24 2018-08-24 Game unit selection method, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN109117076A true CN109117076A (en) 2019-01-01
CN109117076B CN109117076B (en) 2020-10-16

Family

ID=64860983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810973937.5A Active CN109117076B (en) 2018-08-24 2018-08-24 Game unit selection method, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN109117076B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105582674A (en) * 2015-12-25 2016-05-18 网易(杭州)网络有限公司 Game target selecting method and device
CN107491261A (en) * 2017-07-21 2017-12-19 广州瑞汇网络科技有限公司 The touch-control game control method and device of a kind of optional control model
CN107967116A (en) * 2015-06-16 2018-04-27 深圳市腾讯计算机系统有限公司 The method and apparatus of lock onto target, computer equipment in scene of game
CN108043025A (en) * 2017-12-29 2018-05-18 江苏名通信息科技有限公司 A kind of man-machine interaction method for online game
CN108159696A (en) * 2017-12-19 2018-06-15 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107967116A (en) * 2015-06-16 2018-04-27 深圳市腾讯计算机系统有限公司 The method and apparatus of lock onto target, computer equipment in scene of game
CN105582674A (en) * 2015-12-25 2016-05-18 网易(杭州)网络有限公司 Game target selecting method and device
CN107491261A (en) * 2017-07-21 2017-12-19 广州瑞汇网络科技有限公司 The touch-control game control method and device of a kind of optional control model
CN108159696A (en) * 2017-12-19 2018-06-15 网易(杭州)网络有限公司 Information processing method, device, electronic equipment and storage medium
CN108043025A (en) * 2017-12-29 2018-05-18 江苏名通信息科技有限公司 A kind of man-machine interaction method for online game

Also Published As

Publication number Publication date
CN109117076B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
ES2617539T3 (en) Graphical user interface for a game system
CN109513208B (en) Object display method and device, storage medium and electronic device
CN110812838B (en) Virtual unit control method and device in game and electronic equipment
CN107728891B (en) System and method for controlling a technical process
CN106998393B (en) Video playing control method, mobile terminal and computer readable storage medium
CN107291317B (en) The selection method and device of target in a kind of virtual scene
CN109011572B (en) Game magic skill processing method, storage medium and computer equipment
CN111388998A (en) Display control method of game virtual weapon control, electronic equipment and storage medium
US12005352B2 (en) Method for facilitating user interactions in gaming environment
WO2022247592A1 (en) Virtual prop switching method and apparatus, terminal, and storage medium
CN111589145B (en) Virtual article display method, device, terminal and storage medium
CN109568938A (en) More resource game touch operation methods, device, storage medium and terminal
CN111773681B (en) Method and device for controlling virtual game roles
CN111841001B (en) Information processing method, device, equipment and storage medium in game
US11123637B2 (en) Method for controlling a game play
CN114733199A (en) Game control method and device
CN110420456A (en) The method and device of selecting object, computer storage medium, electronic equipment
CN110448903A (en) Determination method, apparatus, processor and the terminal of control strategy in game
CN109117076A (en) Game unit chooses method and storage medium, computer equipment
CN114011059A (en) Automatic path finding method, device, equipment and storage medium in game
CN113926186A (en) Method and device for selecting virtual object in game and touch terminal
CN114404944A (en) Method and device for controlling player character, electronic device and storage medium
CN113975798A (en) Interaction control method and device and computer storage medium
CN109173247A (en) Automated game task processing method and storage medium, computer equipment
WO2024152681A1 (en) Interaction method and apparatus based on virtual object, electronic device, and storage medium

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