CN109718538A - The frame choosing method of virtual objects and device, electronic equipment, storage medium in game - Google Patents
The frame choosing method of virtual objects and device, electronic equipment, storage medium in game Download PDFInfo
- Publication number
- CN109718538A CN109718538A CN201910088236.8A CN201910088236A CN109718538A CN 109718538 A CN109718538 A CN 109718538A CN 201910088236 A CN201910088236 A CN 201910088236A CN 109718538 A CN109718538 A CN 109718538A
- Authority
- CN
- China
- Prior art keywords
- scene
- touch control
- game
- updated
- control operation
- 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
Links
Abstract
The embodiment of the invention provides the frame choosing method of virtual objects in game and device, electronic equipment, storage mediums, the described method includes: the first touch-control medium of detection acts on the first touch control operation of the graphic user interface and the second touch-control medium acts on the second touch control operation of the graphic user interface;According to first touch control operation and second touch control operation, a frame favored area is determined in the scene of game;According to the frame favored area, the virtual objects for meeting preset condition are chosen.Through the embodiment of the present invention, progress touch screen frame choosing in gaming is realized, the accuracy of touch screen frame choosing is improved, avoids the maloperation in game.
Description
Technical field
The present invention relates to field of network game, frame choosing method and device, electronics more particularly to virtual objects in game
Equipment, storage medium.
Background technique
It in online game, deposits and needs to control multiple virtual objects in some scenarios, such as multiple technical ability objects of attack, then
It needs to carry out frame choosing to multiple virtual objects simultaneously.
In the game of the end PC, game player, which can use mouse long-pressing and pull, carries out frame choosing, but this mode is for moving
The game of moved end is difficult to be applicable in, and in the game of mobile terminal, can only be pulled out by way of double-click and select frame, due to mobile terminal
Screen is small, be easy to cause maloperation, causes frame to select not accurate enough.
Summary of the invention
In view of the above problems, the present invention is proposed in order to provide overcoming the above problem or at least being partially solved above-mentioned ask
The frame choosing method of virtual objects and device, electronic equipment, storage medium in the game of topic, comprising:
The frame choosing method of virtual objects in a kind of game, by executed on the processor of mobile terminal software application and
Rendering obtains graphic user interface on the touch control display of the mobile terminal, includes at least partly in the graphic user interface
Scene of game, and include an at least virtual objects, which comprises
Detect the first touch control operation and the effect of the second touch-control medium that the first touch-control medium acts on the touch control display
In the second touch control operation of the touch control display;
According to first touch control operation and second touch control operation, a frame constituency is determined in the scene of game
Domain;
According to the frame favored area, the virtual objects for meeting preset condition are chosen.
Optionally, when the second touch-control point of the first touch point of first touch control operation and second touch control operation
It is described according to first touch control operation and second touch control operation when the first predeterminable area of the touch control display,
A frame favored area is determined in the scene of game, comprising:
Obtain first position and described of the first touch point of first touch control operation in the touch control display
The second position of second touch point of two touch control operations in the touch control display;
According to the first position and the second position, a frame favored area is determined in the scene of game.
Optionally, described according to first touch control operation and second touch control operation, in the scene of game really
A fixed frame favored area, comprising:
The first position is updated according to the operation trace of first touch control operation;
The second position is updated according to the operation trace of second touch control operation;
According to the updated first position and the updated second position, the frame favored area is updated.
Optionally, according to the first position and the second position, a frame favored area is determined in the scene of game,
Include:
The first scene location corresponding with first touch point is determined in scene of game according to the first position;
The second scene location corresponding with second touch point is determined in scene of game according to the second position;
According to first scene location and second scene location, a frame constituency is determined in the scene of game
Domain.
Optionally, when the first touch point of first touch control operation is moved to the second preset areas of the touch control display
It is described to determine a frame constituency in the scene of game according to first touch control operation and second touch control operation when domain
Domain, comprising:
Determine that the second scene location, second scene location are described the in scene of game according to the second position
When first touch point of one touch control operation is moved to the second predeterminable area of the graphic user interface, the second position is in institute
State corresponding position in scene of game;
According to the scene of game in the mobile graphic user interface of first touch control operation;
The first touch point of first touch control operation is obtained in the first position of the touch control display;
According to the first scene location determining in the scene of game of the first position after movement;
According to first scene location and second scene location, a frame constituency is determined in the scene of game
Domain.
Optionally, the method also includes:
The scene of game is zoomed in and out, so that all virtual objects chosen are shown in graphical user circle
In face.
Optionally, according to the frame favored area, the virtual objects for meeting preset condition are chosen, comprising:
Judge the overlapping region of any virtual objects Yu the frame favored area;
When the overlapping region meets preset condition, the virtual objects are chosen.
Optionally, described when the overlapping region meets preset condition, choose the virtual objects, comprising:
When the area of the overlapping region is in the first preset range, the virtual objects are chosen.
Optionally, the method also includes:
When triggering the first switching condition, choose the area of the overlapping region described virtual in the second preset range
Object;Wherein, second preset range includes first preset range;
Wherein, first switching condition includes any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and first before update
The abscissa set is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and first before update
The abscissa set is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and first before update
The ordinate set is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and first before update
The ordinate set is greater than the ordinate of the second position before updating.
Optionally, described when the overlapping region meets preset condition, choose the virtual objects, comprising: when described
When the area of overlapping region is in third preset range, the virtual objects are chosen.
Optionally, the method also includes:
When triggering the second switching condition, choose the area of the overlapping region described virtual in the 4th preset range
Object;Wherein, the third preset range includes the 4th preset range;
Wherein, second switching condition includes any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and first before update
The abscissa set is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and first before update
The abscissa set is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and first before update
The ordinate set is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and first before update
The ordinate set is greater than the ordinate of the second position before updating.
The frame screening device of virtual objects in a kind of game, by executed on the processor of mobile terminal software application and
Rendering obtains graphic user interface on the touch control display of the mobile terminal, includes at least partly in the graphic user interface
Scene of game, and include that an at least virtual objects, described device includes:
Touch control operation detection module acts on the first touch-control of the graphic user interface for detecting the first touch-control medium
Operation and the second touch-control medium act on the second touch control operation of the graphic user interface;
Frame favored area determining module is used for according to first touch control operation and second touch control operation, in the trip
A frame favored area is determined in scene of playing;
Virtual objects choose module, for choosing the virtual objects for meeting preset condition according to the frame favored area.
A kind of electronic equipment, including processor, memory and be stored on the memory and can be in the processor
The computer program of upper operation, the computer program are realized virtual right in game as described above when being executed by the processor
The step of frame choosing method of elephant.
A kind of computer readable storage medium stores computer program, the meter on the computer readable storage medium
The step of calculation machine program realizes the frame choosing method of virtual objects in game as described above when being executed by processor.
The embodiment of the present invention has the advantage that
In embodiments of the present invention, the first touch-control for graphic user interface being acted on by detecting the first touch-control medium is grasped
Work and the second touch-control medium act on the second touch control operation of graphic user interface, then according to the first touch control operation and second
Touch control operation determines a frame favored area in scene of game, and then can choose the void for meeting preset condition according to frame favored area
Quasi- object realizes progress touch screen frame choosing in gaming, improves the accuracy of touch screen frame choosing, avoids the mistake behaviour in game
Make.
Detailed description of the invention
It, below will be attached needed in the description of this invention in order to illustrate more clearly of technical solution of the present invention
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the step flow chart of the frame choosing method of virtual objects in a kind of game of one embodiment of the invention offer;
Fig. 2 a is a kind of schematic diagram for graphical user interface that one embodiment of the invention provides;
Fig. 2 b is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 2 c is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 2 d is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 2 e is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 2 f is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 2 g is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 2 h is the schematic diagram for another graphical user interface that one embodiment of the invention provides;
Fig. 3 is the structural block diagram of the frame screening device of virtual objects in a kind of game of one embodiment of the invention offer.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.Obviously, described embodiments are some of the embodiments of the present invention, without
It is whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
Referring to Fig.1, the step of frame choosing method of virtual objects in a kind of game of one embodiment of the invention offer is provided
Flow chart is obtained by executing software application on the processor of mobile terminal and rendering on the touch control display of mobile terminal
Graphic user interface may include at least part of scene of game in the graphic user interface, and include an at least virtual objects,
It can specifically include following steps:
Wherein, virtual objects may include the virtual game role controlled in game by enemy player, also may include
Game developer in some specific scene of game pre-set non-player role (Non-Practicing Character,
NPC)。
Step 101, the first touch-control medium of detection acts on the first touch control operation and the second touch-control of the touch control display
Medium acts on the second touch control operation of the touch control display;
As an example, touch-control medium may include finger, stylus etc., and such as the first touch-control medium can be the food of the right hand
Refer to, the second touch-control medium can be the index finger of left hand.
In the concrete realization, game player can carry out the first touch control operation using the first operation medium, and can use
Second touch-control medium carries out the second touch control operation.
Step 102, according to first touch control operation and second touch control operation, one is determined in the scene of game
Frame favored area;
As an example, frame favored area can be quadrangle, such as Fig. 2 a, or round, such as Fig. 2 b, the present invention is to this
With no restrictions.
After detecting touch control operation, the first touch control operation and the second touch control operation can be determined in scene of game
Corresponding touch point, and then can determine the corresponding frame favored area of touch point.
Specifically, may exist the first predeterminable area and the second predeterminable area in touch control display, the first predeterminable area can
Think non-edge, the second predeterminable area can be fringe region, as the inside 1cm in four edges of touch control display is constituted
Region is fringe region, other are non-edge.
In one embodiment, the first touch point of the first touch control operation and the second touch point of the second touch control operation are located at
When the first predeterminable area of touch control display, then step 102 may include following sub-step:
Sub-step 11 obtains first of the first touch point of first touch control operation in the touch control display
It sets and the second position of the second touch point of second touch control operation in the touch control display;
When the first predeterminable area carries out touch control operation, the first touch point can be directly acquired in touch control display
First position, and the second position of available second touch point in touch control display.
Sub-step 12 determines a frame constituency according to the first position and the second position in the scene of game
Domain.
After determining location information, the scene bit that first position and the second position map in scene of game can be determined
Set, so can in scene of game determination block favored area.
In an embodiment of the present invention, sub-step 12 may include following sub-step:
The first position is updated according to the operation trace of first touch control operation;According to second touch control operation
Operation trace updates the second position;According to the updated first position and the updated second position, update
The frame favored area.
In the concrete realization, touch control operation can be slide, then can update first with the operation trace of slide
Position and the second position, and then updated first position and the updated second position can be used, frame favored area is carried out
It updates.
In an embodiment of the present invention, sub-step 12 may include following sub-step:
The first scene location corresponding with first touch point is determined in scene of game according to the first position;Root
The second scene location corresponding with second touch point is determined in scene of game according to the second position;According to described first
Scene location and second scene location determine a frame favored area in the scene of game.
Since first position and the second position can be the location information of touch control operation touch point on touch control display, then
The first scene location and the second scene location of first position and second position mapping can be determined respectively in scene of game,
And then the frame favored area being made of the first scene location and the second scene location can be determined in scene of game.
For example, when frame favored area is quadrangle, it can be using the first scene location and the second scene location as quadrangle
Two endpoints on diagonal line can be using the first scene location and the second scene location as round when frame favored area is circle
Two endpoints of diameter.
In another embodiment, it is preset when the first touch point of the first touch control operation is moved to the second of touch control display
When region, then step 102 may include following sub-step:
The second scene location is determined in scene of game according to the second position;It is mobile according to first touch control operation
Scene of game in the graphic user interface;The first touch point of first touch control operation is obtained in the touch control display
First position;According to the first scene location determining in the scene of game of the first position after movement;According to described first
Scene location and second scene location determine a frame favored area in the scene of game.
Wherein, the second scene location can be moved to graphic user interface for the first touch point of the first touch control operation the
The second position corresponding position in scene of game when two predeterminable areas.
Since the second touch point is not in the second predeterminable area, then to above in the first predeterminable area it is similar, can be with
According to the second position, in scene of game, the second scene location of second position mapping is determined.
It, then can be to the mobile figure in the corresponding direction of the first touch control operation since the first touch point is in the second predeterminable area
Scene of game in shape user interface, before being mobile such as Fig. 2 c, after being mobile such as Fig. 2 d.
It, can be according to the first touch point in the first position of touch control display, after movement after scene of game is mobile
The first scene location is determined in scene of game, and then can determine the frame choosing that the first scene location and the second scene location are constituted
Region.
In an embodiment of the present invention, this method can also include the following steps:
The scene of game is zoomed in and out, so that all virtual objects chosen are shown in graphical user circle
In face.
In the concrete realization, scene of game can also be zoomed in and out, so can make all virtual objects chosen by
It is gradually shown in graphic user interface, if Fig. 2 e is before scaling, if Fig. 2 f is after scaling.
Step 103, according to the frame favored area, the virtual objects for meeting preset condition are chosen.
After determination block favored area, the virtual objects of preset condition can be chosen.
In an embodiment of the present invention, step 103 may include following sub-step:
Judge the overlapping region of any virtual objects Yu the frame favored area;When the overlapping region meets default item
When part, the virtual objects are chosen.
Since frame favored area has certain range, then the overlapping region of virtual objects Yu frame favored area can be determined, i.e.,
Virtual objects are comprised in the part in frame favored area, when overlapping region meets preset condition, then this can be chosen virtual right
As.
In one embodiment, when the overlapping region meets preset condition, the step of choosing the virtual objects, can
To include following sub-step:
When the area of the overlapping region is in the first preset range, the virtual objects are chosen.
In the concrete realization, the area that overlapping region can be calculated, it is such as virtual when the area is in the first preset range
The 80%-100% of the object gross area then chooses the virtual objects.
For example, in figure 2g, the overlapping area of object C is the 100% of its gross area, that is, it is completely contained in frame favored area
In, the overlapping area of object B is only partially contained in frame favored area less than 80%, the overlapping area of object A is 0, i.e., does not wrap
It is contained in choice box, then can choose object C.
In an embodiment of the present invention, this method can also include following sub-step:
When triggering the first switching condition, choose the area of the overlapping region described virtual in the second preset range
Object.
Wherein, the second preset range may include the first preset range, and such as the first preset range is the virtual objects gross area
80%-100%, the second preset range be the virtual objects gross area 20%-100%.
Before triggering the first switching condition, the area of overlapping region can be chosen virtual right in the first preset range
As virtual objects of the area of overlapping region in the second preset range can be chosen after triggering the first switching condition.
For example, the overlapping area of object C is the 100% of its gross area in Fig. 2 h, that is, it is completely contained in frame favored area
In, the overlapping area of object B is only partially contained in frame favored area less than 80%, the overlapping area of object A is 0, i.e., does not wrap
It is contained in choice box, then can choose object C, object B.
Wherein, the first switching condition may include any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and first before update
The abscissa set is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and first before update
The abscissa set is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and first before update
The ordinate set is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and first before update
The ordinate set is greater than the ordinate of the second position before updating.
In another embodiment, when the overlapping region meets preset condition, the step of choosing the virtual objects
May include following sub-step:
When the area of the overlapping region is in third preset range, the virtual objects are chosen.
In the concrete realization, the area that overlapping region can be calculated, it is such as virtual when the area is in the first preset range
The 10%-100% of the object gross area then chooses the virtual objects.
In an embodiment of the present invention, this method can also include the following steps:
When triggering the second switching condition, choose the area of the overlapping region described virtual in the 4th preset range
Object;
Wherein, the third preset range may include the 4th preset range, if third preset range is that virtual objects are total
The 10%-100% of area, the 4th preset range are the 90%-100% of the virtual objects gross area.
Wherein, the second switching condition may include any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and first before update
The abscissa set is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and first before update
The abscissa set is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and first before update
The ordinate set is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and first before update
The ordinate set is greater than the ordinate of the second position before updating.
In embodiments of the present invention, the first touch-control for graphic user interface being acted on by detecting the first touch-control medium is grasped
Work and the second touch-control medium act on the second touch control operation of graphic user interface, then according to the first touch control operation and second
Touch control operation determines a frame favored area in scene of game, and then can choose the void for meeting preset condition according to frame favored area
Quasi- object realizes progress touch screen frame choosing in gaming, improves the accuracy of touch screen frame choosing, avoids the mistake behaviour in game
Make.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 3, the structure of the frame screening device of virtual objects in a kind of game of one embodiment of the invention offer is shown
Schematic diagram, by executing software application on the processor of mobile terminal and being rendered on the touch control display of the mobile terminal
Graphic user interface is obtained, includes at least part of scene of game in the graphic user interface, and includes at least one virtual right
As described device includes:
Touch control operation detection module 301 acts on the first of the graphic user interface for detecting the first touch-control medium
Touch control operation and the second touch-control medium act on the second touch control operation of the graphic user interface;
Frame favored area determining module 302 is used for according to first touch control operation and second touch control operation, described
A frame favored area is determined in scene of game;
Virtual objects choose module 303, meet the described virtual right of preset condition for choosing according to the frame favored area
As.
In an embodiment of the present invention, when the first touch point of first touch control operation and second touch control operation
When second touch point is located at the first predeterminable area of the touch control display, the frame favored area determining module 302 includes:
Position acquisition submodule, for obtaining the first touch point of first touch control operation in the touch control display
First position and second touch control operation the second position of second touch point in the touch control display;
Position frame selects submodule, is used for according to the first position and the second position, in the scene of game really
A fixed frame favored area.
In an embodiment of the present invention, the frame favored area determining module 302 includes:
First position updates submodule, for updating described first according to the operation trace of first touch control operation
It sets;
The second position updates submodule, for updating the second according to the operation trace of second touch control operation
It sets;
Frame constituency area update submodule, for according to the updated first position and the updated second
It sets, updates the frame favored area.
In an embodiment of the present invention, the frame favored area determining module 302 includes:
First scene location determines submodule, for being determined and described first in scene of game according to the first position
Corresponding first scene location of touch point;
Second scene location determines submodule, for being determined and described second in scene of game according to the second position
Corresponding second scene location of touch point;
Scene location frame selects submodule, is used for according to first scene location and second scene location, described
A frame favored area is determined in scene of game.
In an embodiment of the present invention, when the first touch point of first touch control operation is moved to the touch control display
The second predeterminable area when, the frame favored area determining module 302 includes:
Second mobile context position determination submodule, for determining second in scene of game according to the second position
Scape position, second scene location are that the first touch point of first touch control operation is moved to the graphic user interface
The second position corresponding position in scene of game when the second predeterminable area;
Scene of game mobile submodule, for according to the trip in the mobile graphic user interface of first touch control operation
Play scene;
First movement position acquisition submodule, for obtaining the first touch point of first touch control operation in the touch-control
The first position of display;
First movement scene location determines submodule, for according in the scene of game after movement of the first position really
Fixed first scene location;
Movable frame favored area determines submodule, for according to first scene location and second scene location,
A frame favored area is determined in the scene of game.
In an embodiment of the present invention, described device further include:
Scene of game Zoom module, for being zoomed in and out to the scene of game, so that chooses is all described virtual right
As being shown in the graphic user interface.
In an embodiment of the present invention, virtual objects choose the module 303 to include:
Overlapping region judging submodule, for judging the overlapping region of any virtual objects Yu the frame favored area;
Submodule is chosen in overlapping, for choosing the virtual objects when the overlapping region meets preset condition.
In an embodiment of the present invention, the overlapping chooses the submodule to include:
First preset range selected cell, for choosing when the area of the overlapping region is in the first preset range
The virtual objects.
In an embodiment of the present invention, described device further include:
Second preset range selected cell, for choosing the area of the overlapping region when triggering the first switching condition
The virtual objects in the second preset range;Wherein, second preset range includes first preset range;
Wherein, first switching condition includes any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and first before update
The abscissa set is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and first before update
The abscissa set is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and first before update
The ordinate set is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and first before update
The ordinate set is greater than the ordinate of the second position before updating.
In an embodiment of the present invention, the overlapping chooses the submodule to include:
Third preset range selected cell, for choosing when the area of the overlapping region is in third preset range
The virtual objects.
In an embodiment of the present invention, described device further include:
4th preset range selected cell, for choosing the area of the overlapping region when triggering the second switching condition
The virtual objects in the 4th preset range;Wherein, the third preset range includes the 4th preset range;
Wherein, second switching condition includes any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and first before update
The abscissa set is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and first before update
The abscissa set is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and first before update
The ordinate set is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and first before update
The ordinate set is greater than the ordinate of the second position before updating.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
One embodiment of the invention additionally provides a kind of electronic equipment, may include processor, memory and is stored in storage
On device and the computer program that can run on a processor, realized when computer program is executed by processor empty in game as above
The step of frame choosing method of quasi- object.
One embodiment of the invention additionally provides a kind of computer readable storage medium, stores on computer readable storage medium
Computer program, the step of frame choosing method of virtual objects in game as above is realized when computer program is executed by processor.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to the frame choosing method and device, electronic equipment, storage medium of virtual objects in game provided by the present invention,
It is described in detail, used herein a specific example illustrates the principle and implementation of the invention, the above reality
The explanation for applying example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology of this field
Personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this theory
Bright book content should not be construed as limiting the invention.
Claims (14)
1. the frame choosing method of virtual objects in a kind of game, which is characterized in that soft by being executed on the processor of mobile terminal
Part is applied and rendering obtains graphic user interface on the touch control display of the mobile terminal, is wrapped in the graphic user interface
It containing at least part of scene of game, and include an at least virtual objects, which comprises
Detect that the first touch-control medium acts on the first touch control operation of the touch control display and the second touch-control medium acts on institute
State the second touch control operation of touch control display;
According to first touch control operation and second touch control operation, a frame favored area is determined in the scene of game;
According to the frame favored area, the virtual objects for meeting preset condition are chosen.
2. the method according to claim 1, wherein when the first touch point of first touch control operation and described
It is described according to first touching when second touch point of the second touch control operation is located at the first predeterminable area of the touch control display
Control operation and second touch control operation, determine a frame favored area in the scene of game, comprising:
Obtain first position and second touching of the first touch point of first touch control operation in the touch control display
Control the second position of the second touch point of operation in the touch control display;
According to the first position and the second position, a frame favored area is determined in the scene of game.
3. according to the method described in claim 2, it is characterized in that, described touch according to first touch control operation with described second
Control operation, determines a frame favored area in the scene of game, comprising:
The first position is updated according to the operation trace of first touch control operation;
The second position is updated according to the operation trace of second touch control operation;
According to the updated first position and the updated second position, the frame favored area is updated.
4. the method according to any one of Claims 2 or 3, which is characterized in that according to the first position and described
The second position determines a frame favored area in the scene of game, comprising:
The first scene location corresponding with first touch point is determined in scene of game according to the first position;
The second scene location corresponding with second touch point is determined in scene of game according to the second position;
According to first scene location and second scene location, a frame favored area is determined in the scene of game.
5. according to the method described in claim 2, it is characterized in that, the first touch point when first touch control operation is moved to
When the second predeterminable area of the touch control display, it is described according to first touch control operation and second touch control operation in institute
It states and determines a frame favored area in scene of game, comprising:
Determine that the second scene location, second scene location are first touching in scene of game according to the second position
When first touch point of control operation is moved to the second predeterminable area of the graphic user interface, the second position is in the trip
Corresponding position in scene of playing;
According to the scene of game in the mobile graphic user interface of first touch control operation;
The first touch point of first touch control operation is obtained in the first position of the touch control display;
According to the first scene location determining in the scene of game of the first position after movement;
According to first scene location and second scene location, a frame favored area is determined in the scene of game.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The scene of game is zoomed in and out, so that all virtual objects chosen are shown in the graphic user interface
It is interior.
7. according to the method described in claim 3, it is characterized in that, choosing according to the frame favored area and meeting preset condition
The virtual objects, comprising:
Judge the overlapping region of any virtual objects Yu the frame favored area;
When the overlapping region meets preset condition, the virtual objects are chosen.
8. the method according to the description of claim 7 is characterized in that described when the overlapping region meets preset condition, choosing
Described in virtual objects, comprising:
When the area of the overlapping region is in the first preset range, the virtual objects are chosen.
9. according to the method described in claim 8, it is characterized in that, the method also includes:
When triggering the first switching condition, choose the area of the overlapping region described virtual right in the second preset range
As;Wherein, second preset range includes first preset range;
Wherein, first switching condition includes any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and the first position before updating
Abscissa is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and the first position before updating
Abscissa is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and the first position before updating
Ordinate is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and the first position before updating
Ordinate is greater than the ordinate of the second position before updating.
10. the method according to the description of claim 7 is characterized in that described when the overlapping region meets preset condition, choosing
Described in virtual objects, comprising: when the area of the overlapping region is in third preset range, choose the virtual objects.
11. according to the method described in claim 10, it is characterized in that, the method also includes:
When triggering the second switching condition, choose the area of the overlapping region described virtual right in the 4th preset range
As;Wherein, the third preset range includes the 4th preset range;
Wherein, second switching condition includes any one of following:
The abscissa of updated first position is greater than the abscissa of the updated second position, and the first position before updating
Abscissa is less than the abscissa of the second position before updating;
The abscissa of updated first position is less than the abscissa of the updated second position, and the first position before updating
Abscissa is greater than the abscissa of the second position before updating;
The ordinate of updated first position is greater than the ordinate of the updated second position, and the first position before updating
Ordinate is less than the ordinate of the second position before updating;
The ordinate of updated first position is less than the ordinate of the updated second position, and the first position before updating
Ordinate is greater than the ordinate of the second position before updating.
12. the frame screening device of virtual objects in a kind of game, which is characterized in that soft by being executed on the processor of mobile terminal
Part is applied and rendering obtains graphic user interface on the touch control display of the mobile terminal, is wrapped in the graphic user interface
It containing at least part of scene of game, and include that an at least virtual objects, described device includes:
Touch control operation detection module acts on the first touch-control behaviour of the graphic user interface for detecting the first touch-control medium
Work and the second touch-control medium act on the second touch control operation of the graphic user interface;
Frame favored area determining module is used for according to first touch control operation and second touch control operation, in the sports ground
A frame favored area is determined in scape;
Virtual objects choose module, for choosing the virtual objects for meeting preset condition according to the frame favored area.
13. a kind of electronic equipment, which is characterized in that including processor, memory and be stored on the memory and can be
The computer program run on the processor realizes such as claim 1 when the computer program is executed by the processor
Into game described in any one of 11 the step of the frame choosing method of virtual objects.
14. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence, it is virtual right in the game as described in any one of claims 1 to 11 to realize when the computer program is executed by processor
The step of frame choosing method of elephant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910088236.8A CN109718538B (en) | 2019-01-29 | 2019-01-29 | Method and device for frame selection of virtual object in game, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910088236.8A CN109718538B (en) | 2019-01-29 | 2019-01-29 | Method and device for frame selection of virtual object in game, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109718538A true CN109718538A (en) | 2019-05-07 |
CN109718538B CN109718538B (en) | 2022-05-17 |
Family
ID=66301346
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910088236.8A Active CN109718538B (en) | 2019-01-29 | 2019-01-29 | Method and device for frame selection of virtual object in game, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109718538B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110215687A (en) * | 2019-07-04 | 2019-09-10 | 网易(杭州)网络有限公司 | Game object selection method and device |
CN110215688A (en) * | 2019-07-04 | 2019-09-10 | 网易(杭州)网络有限公司 | The selection control method and device of game object |
CN110237534A (en) * | 2019-07-04 | 2019-09-17 | 网易(杭州)网络有限公司 | Game object selection method and device |
CN110975278A (en) * | 2019-12-18 | 2020-04-10 | 网易(杭州)网络有限公司 | Method and device for simulating touch sense in game, electronic equipment and storage medium |
CN111951348A (en) * | 2019-05-14 | 2020-11-17 | 阿里巴巴集团控股有限公司 | Method and device for determining frame selection area and electronic equipment |
CN113457117A (en) * | 2021-07-08 | 2021-10-01 | 网易(杭州)网络有限公司 | Method and device for selecting virtual units in game, storage medium and electronic equipment |
CN113900570A (en) * | 2021-10-08 | 2022-01-07 | 网易(杭州)网络有限公司 | Game control method, device, equipment and storage medium |
CN113934350A (en) * | 2021-09-08 | 2022-01-14 | 网易(杭州)网络有限公司 | Virtual object selection method and device, electronic equipment and storage medium |
CN114442898A (en) * | 2022-01-29 | 2022-05-06 | 网易(杭州)网络有限公司 | Information processing method and device, electronic equipment and readable medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929524A (en) * | 2012-09-20 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Page content selecting method and device |
CN103853476A (en) * | 2012-12-04 | 2014-06-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105323368A (en) * | 2014-12-10 | 2016-02-10 | 维沃移动通信有限公司 | Batch selection method and mobile terminal thereof |
CN107066167A (en) * | 2016-09-27 | 2017-08-18 | 华为技术有限公司 | A kind of regional selection method, device and graphic user interface |
CN107291344A (en) * | 2016-03-31 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of method of content selection, device and terminal device |
CN108920069A (en) * | 2018-06-13 | 2018-11-30 | 网易(杭州)网络有限公司 | A kind of touch operation method, device, mobile terminal and storage medium |
-
2019
- 2019-01-29 CN CN201910088236.8A patent/CN109718538B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102929524A (en) * | 2012-09-20 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Page content selecting method and device |
CN103853476A (en) * | 2012-12-04 | 2014-06-11 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN105323368A (en) * | 2014-12-10 | 2016-02-10 | 维沃移动通信有限公司 | Batch selection method and mobile terminal thereof |
CN107291344A (en) * | 2016-03-31 | 2017-10-24 | 中兴通讯股份有限公司 | A kind of method of content selection, device and terminal device |
CN107066167A (en) * | 2016-09-27 | 2017-08-18 | 华为技术有限公司 | A kind of regional selection method, device and graphic user interface |
CN108920069A (en) * | 2018-06-13 | 2018-11-30 | 网易(杭州)网络有限公司 | A kind of touch operation method, device, mobile terminal and storage medium |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111951348A (en) * | 2019-05-14 | 2020-11-17 | 阿里巴巴集团控股有限公司 | Method and device for determining frame selection area and electronic equipment |
CN110215687B (en) * | 2019-07-04 | 2023-03-24 | 网易(杭州)网络有限公司 | Game object selection method and device |
CN110215688A (en) * | 2019-07-04 | 2019-09-10 | 网易(杭州)网络有限公司 | The selection control method and device of game object |
CN110237534A (en) * | 2019-07-04 | 2019-09-17 | 网易(杭州)网络有限公司 | Game object selection method and device |
CN110215687A (en) * | 2019-07-04 | 2019-09-10 | 网易(杭州)网络有限公司 | Game object selection method and device |
CN110975278A (en) * | 2019-12-18 | 2020-04-10 | 网易(杭州)网络有限公司 | Method and device for simulating touch sense in game, electronic equipment and storage medium |
CN113457117A (en) * | 2021-07-08 | 2021-10-01 | 网易(杭州)网络有限公司 | Method and device for selecting virtual units in game, storage medium and electronic equipment |
CN113457117B (en) * | 2021-07-08 | 2024-02-06 | 网易(杭州)网络有限公司 | Virtual unit selection method and device in game, storage medium and electronic equipment |
CN113934350A (en) * | 2021-09-08 | 2022-01-14 | 网易(杭州)网络有限公司 | Virtual object selection method and device, electronic equipment and storage medium |
CN113900570A (en) * | 2021-10-08 | 2022-01-07 | 网易(杭州)网络有限公司 | Game control method, device, equipment and storage medium |
CN113900570B (en) * | 2021-10-08 | 2023-06-30 | 网易(杭州)网络有限公司 | Game control method, device, equipment and storage medium |
CN114442898A (en) * | 2022-01-29 | 2022-05-06 | 网易(杭州)网络有限公司 | Information processing method and device, electronic equipment and readable medium |
CN114442898B (en) * | 2022-01-29 | 2023-08-22 | 网易(杭州)网络有限公司 | Information processing method, device, electronic equipment and readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN109718538B (en) | 2022-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109718538A (en) | The frame choosing method of virtual objects and device, electronic equipment, storage medium in game | |
JP5618904B2 (en) | System, method and computer program for interactive filter (system and method for interactive filter) | |
RU2604435C2 (en) | Method and apparatus for controlling touch screen using timeline bar, recording medium with program for same recorded therein, and user terminal having same | |
US20160092080A1 (en) | Touch interface for precise rotation of an object | |
CN107899235B (en) | Information processing method and device, storage medium, electronic equipment | |
CN108196765A (en) | Display control method, electronic equipment and storage medium | |
CN107890673A (en) | Visual display method and device, storage medium, the equipment of compensating sound information | |
CN109107153B (en) | Method and device for releasing game skill, electronic equipment and storage medium | |
CN101384317B (en) | Trace information processing device, trace information processing method | |
CN105302407A (en) | Application icon display method and apparatus | |
CN105607851A (en) | Scene control method and device for touch terminal | |
WO2009032599A2 (en) | Locating content in dual screen video game | |
CN109432775A (en) | A kind of multi-screen display method and device of map | |
CN109663345A (en) | Information processing method and device for 3D game | |
CN109529330A (en) | Method, apparatus and computer readable storage medium are shared in a kind of game | |
KR101949493B1 (en) | Method and system for controlling play of multimeida content | |
CN108595010A (en) | The exchange method and device of dummy object in virtual reality | |
CN104915102B (en) | The exchange method and device of graphical interfaces | |
CN109885247A (en) | Touch control display method, device and the smartwatch of smartwatch | |
CN110427231A (en) | A kind of throwing method and device of stage property, electronic equipment, storage medium | |
CN109343770A (en) | Interaction feedback method, equipment and recording medium | |
CN109753612A (en) | Control method, device, storage medium and the electronic equipment that questionnaire is shown | |
CN105320280A (en) | Information processing method and electronic device | |
CN109529320A (en) | Rotating direction control method and device in a kind of game | |
CN107368236A (en) | The methods of exhibiting and device of title in a kind of message catalog |
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 |