CN113941152A - Virtual object control method and device, electronic equipment and storage medium - Google Patents

Virtual object control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113941152A
CN113941152A CN202111397170.4A CN202111397170A CN113941152A CN 113941152 A CN113941152 A CN 113941152A CN 202111397170 A CN202111397170 A CN 202111397170A CN 113941152 A CN113941152 A CN 113941152A
Authority
CN
China
Prior art keywords
virtual
grouping
control
target
user interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111397170.4A
Other languages
Chinese (zh)
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202111397170.4A priority Critical patent/CN113941152A/en
Publication of CN113941152A publication Critical patent/CN113941152A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • 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/55Controlling game characters or game objects based on the game progress
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a virtual object control method, a virtual object control device, electronic equipment and a storage medium, and relates to the technical field of games. The method can display a graphical user interface through the terminal device, wherein the graphical user interface displays a game picture, the game picture at least comprises a plurality of virtual objects operated and controlled by a player, and the method can comprise the following steps: responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to grouped virtual teams in the graphical user interface, wherein each virtual team comprises at least one virtual object; and responding to a second control operation of at least one target grouping control in the grouping controls, and determining the virtual group corresponding to the target grouping control as a target virtual group, so that a virtual object corresponding to the target virtual group can be quickly selected as a target virtual object, the selection efficiency and the selection accuracy of the virtual object can be improved, and the user interaction experience is improved.

Description

Virtual object control method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to a method and an apparatus for controlling a virtual object, an electronic device, and a storage medium.
Background
With the rapid development of networks, various network games, such as action games, strategy games, fighting games, shooting games, role playing games, racing games, card games, etc., have emerged. Among them, a Real-Time Strategy Game (RTS) is one of Strategy games, and is characterized in that a Game is played instantly.
In the conventional instant strategy game, a player needs to control a plurality of troops, and generally selects the troops by clicking in a game scene to perform unified control.
However, due to the influence of the game display interface, the selection efficiency is often low in the selection process.
Disclosure of Invention
In view of the above-mentioned shortcomings in the prior art, an object of the present application is to provide a method, an apparatus, an electronic device and a storage medium for controlling a virtual object, by which the control efficiency of the virtual object can be improved.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, the present invention provides a virtual object control method, in which a terminal device displays a graphical user interface, a game screen is displayed on the graphical user interface, and the game screen at least includes a plurality of virtual objects manipulated by a player, the method including:
responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to grouped virtual teams in the graphical user interface, wherein each virtual team comprises at least one virtual object;
and responding to a second control operation of at least one target grouping control in the grouping controls, and determining that the virtual group corresponding to the target grouping control is a target virtual group.
In an optional implementation manner, in response to the first control operation, grouping the plurality of virtual objects according to a preset grouping algorithm, and displaying a grouping control corresponding to each grouped virtual team in the graphical user interface includes:
and responding to a first control operation, grouping the virtual objects according to the distance between the virtual objects and a preset distance threshold, and displaying grouping controls corresponding to the grouped virtual teams in the graphical user interface.
In an alternative embodiment, the first control operation comprises: and triggering operation of a preset control in the graphical user interface, and/or triggering operation of at least two virtual objects in the plurality of virtual objects.
In an optional embodiment, the displaying, in the graphical user interface, a grouping control corresponding to each grouped virtual team includes: and displaying grouping controls corresponding to the grouped virtual groups at a preset position of the graphical user interface and/or in or around a small map window.
In an optional implementation manner, the grouping a plurality of virtual objects according to a distance between the virtual objects and a preset distance threshold, and displaying a grouping control corresponding to each grouped virtual team in the graphical user interface includes:
according to the distance between the virtual objects and a preset distance threshold value, initially grouping the virtual objects, and displaying grouping controls corresponding to the initially grouped virtual groups in the graphical user interface;
responding to the updating operation of the preset distance threshold, and displaying the updated preset distance threshold in the graphical user interface;
and regrouping the initially grouped virtual teams according to the updated preset distance threshold, and displaying grouping controls corresponding to the regrouped virtual teams in the graphical user interface.
In an optional implementation manner, before grouping the plurality of virtual objects according to the distance between the virtual objects and a preset distance threshold, and displaying the grouping control corresponding to each grouped virtual team in the graphical user interface, the method further includes:
responding to a first control operation, and displaying a preset editing interface in the graphical user interface;
responding to the editing operation of the initial distance threshold value in the preset editing interface, and displaying the preset distance threshold value in the preset editing interface.
In an alternative embodiment, the distance between the virtual objects is the distance between the distribution boundaries or centers of the virtual objects.
In an alternative embodiment, the method further comprises:
and responding to a third control operation of at least one target grouping control in the grouping controls, regrouping the target virtual groups corresponding to the at least one target grouping control, and displaying the grouping controls corresponding to the regrouped virtual groups in the graphical user interface.
In an optional embodiment, each of the grouping controls includes a grouping editing control corresponding to each virtual object in a corresponding virtual team, and the method further includes:
and responding to the editing operation of at least one target grouping editing control in the grouping editing controls, regrouping the target virtual objects corresponding to the editing operation, and displaying the regrouped grouping controls corresponding to the virtual groups in the graphical user interface.
In an alternative embodiment, the method further comprises:
and responding to a fourth control operation of at least one target grouping control in the grouping controls, and controlling a target virtual group corresponding to the at least one target grouping control to execute a preset action.
In an optional embodiment, the controlling, in response to a fourth control operation on at least one target grouping control in the grouping controls, a target virtual grouping queue corresponding to the at least one target grouping control to perform a preset action includes:
and in response to a fourth control operation on at least one target grouping control in the grouping controls, controlling the target virtual team to move from the current game scene position to the game scene position indicated by the fourth control operation.
In an optional embodiment, each of the grouping controls includes a grouping editing control corresponding to each virtual object in a corresponding virtual group, an arrangement order of the grouping controls corresponding to each virtual group is determined according to position information of each virtual group in the minimap window, and/or an arrangement order of the grouping editing controls corresponding to each virtual object is determined according to position information of each virtual object in the minimap window.
In an alternative embodiment, each of the virtual teams and/or grouping controls is identified in a different display.
In a second aspect, the present invention provides a virtual object control apparatus for displaying a graphical user interface through a terminal device, the graphical user interface displaying a game screen, the game screen at least including a plurality of virtual objects manipulated by a player, the apparatus comprising:
the grouping module is used for responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to the grouped virtual groups in the graphical user interface, wherein each virtual group comprises at least one virtual object;
and the response module is used for responding to a second control operation of at least one target grouping control in the grouping controls and determining that the virtual group corresponding to the target grouping control is a target virtual group.
In an optional implementation manner, the grouping module is specifically configured to, in response to the first control operation, group the plurality of virtual objects according to a distance between the virtual objects and a preset distance threshold, and display a grouping control corresponding to each grouped virtual team in the graphical user interface.
In an alternative embodiment, the first control operation comprises: and triggering operation of a preset control in the graphical user interface, and/or triggering operation of at least two virtual objects in the plurality of virtual objects.
In an optional embodiment, the displaying, in the graphical user interface, a grouping control corresponding to each grouped virtual team includes: and displaying grouping controls corresponding to the grouped virtual groups at a preset position of the graphical user interface and/or in or around a small map window.
In an optional implementation manner, the grouping module is specifically configured to perform initial grouping on the plurality of virtual objects according to a distance between the virtual objects and a preset distance threshold, and display a grouping control corresponding to each initially grouped virtual team in the graphical user interface;
responding to the updating operation of the preset distance threshold, and displaying the updated preset distance threshold in the graphical user interface;
and regrouping the initially grouped virtual teams according to the updated preset distance threshold, and displaying grouping controls corresponding to the regrouped virtual teams in the graphical user interface.
In an optional embodiment, the grouping module is further configured to display a preset editing interface in the graphical user interface in response to a first control operation;
responding to the editing operation of the initial distance threshold value in the preset editing interface, and displaying the preset distance threshold value in the preset editing interface.
In an alternative embodiment, the distance between the virtual objects is the distance between the distribution boundaries or centers of the virtual objects.
In an optional embodiment, the response module is further configured to, in response to a third control operation on at least one target grouping control in the grouping controls, regroup target virtual teams corresponding to the at least one target grouping control, and display grouping controls corresponding to the regrouped virtual teams in the graphical user interface.
In an optional implementation manner, each of the grouping controls includes a grouping editing control corresponding to each virtual object in a corresponding virtual group, and the response module is further configured to, in response to an editing operation on at least one target grouping editing control in the grouping editing controls, regroup the target virtual objects corresponding to the editing operation, and display the regrouped grouping controls corresponding to each virtual group in the graphical user interface.
In an optional embodiment, the response module is further configured to, in response to a fourth control operation on at least one target grouping control in the grouping controls, control a target virtual team corresponding to the at least one target grouping control to perform a preset action.
In an optional embodiment, the response module is specifically configured to, in response to a fourth control operation on at least one target grouping control in the grouping controls, control the target virtual grouping queue to move from the current game scene position to the game scene position indicated by the fourth control operation.
In an optional embodiment, each of the grouping controls includes a grouping editing control corresponding to each virtual object in a corresponding virtual group, an arrangement order of the grouping controls corresponding to each virtual group is determined according to position information of each virtual group in the minimap window, and/or an arrangement order of the grouping editing controls corresponding to each virtual object is determined according to position information of each virtual object in the minimap window.
In an alternative embodiment, each of the virtual teams and/or grouping controls is identified in a different display.
In a third aspect, the present invention provides an electronic device comprising: the virtual object control method comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to execute the steps of the virtual object control method according to any one of the preceding embodiments.
In a fourth aspect, the present invention provides a computer-readable storage medium, having stored thereon a computer program, which, when executed by a processor, performs the steps of the virtual object control method according to any one of the preceding embodiments.
The beneficial effect of this application is:
in a method, an apparatus, an electronic device, and a storage medium for controlling virtual objects provided in an embodiment of the present application, the method may display a graphical user interface through a terminal device, where the graphical user interface displays a game screen, and the game screen at least includes a plurality of virtual objects manipulated by a player, where the method may include: responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to grouped virtual teams in the graphical user interface, wherein each virtual team comprises at least one virtual object; and responding to a second control operation of at least one target grouping control in the grouping controls, and determining the virtual group corresponding to the target grouping control as a target virtual group, so that a plurality of virtual objects corresponding to the target virtual group can be quickly selected, the selection efficiency of the virtual objects can be improved, and the user interaction experience can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is an architecture diagram of a cloud interaction system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a virtual object control method according to an embodiment of the present application;
FIG. 3 is a schematic view of a game interface provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another virtual object control method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another virtual object control method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another virtual object control method according to an embodiment of the present application;
FIG. 7 is a schematic view of another game interface provided by embodiments of the present application;
FIG. 8 is a schematic view of another game interface provided by an embodiment of the present application;
fig. 9 is a schematic flowchart of another virtual object control method according to an embodiment of the present application;
FIG. 10 is a schematic view of another game interface provided by embodiments of the present application;
FIG. 11 is a schematic illustration of yet another game interface provided by an embodiment of the present application;
fig. 12 is a schematic flowchart of another virtual object control method according to an embodiment of the present application;
fig. 13 is a schematic functional block diagram of a virtual object control apparatus according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the conventional Strategy Game (RTS), a player needs to control a plurality of troops, and generally, during control, the player often performs unified control by sequentially clicking and frame-selecting a plurality of troops near a position in a scene. In addition to the RTS game, other types of games in which there is a functional need to control a plurality of virtual objects for game operations have similar problems.
In view of this, the embodiment of the present application provides a virtual object control method, and by applying the method, the selection efficiency and the selection accuracy of a virtual object can be improved, and the interaction experience of a player can be improved.
The virtual object control method in one embodiment of the present application may be executed on a terminal device or a server. The terminal device may be a local terminal device. When the virtual object control method is run on a server, the virtual object control method may be implemented and executed based on a cloud interactive system, wherein the cloud interactive system may include the server and a client device.
Fig. 1 is an architecture diagram of a cloud interaction system provided in an embodiment of the present application, and referring to fig. 1, the system may include: a client device 10 and a server 20, wherein the client device 10 may be connected to the server 20 via a network 30.
In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the transmission method of the game role are completed on the cloud game server, and the client device 10 is used for receiving and sending data and presenting the game picture, for example, the client device 10 may be a display device with a data transmission function near the user side, such as a mobile terminal, a television, a computer, a palmtop computer, and the like; however, the terminal device performing the information processing is a cloud game server in the cloud. When a game is played, a player operates the client device 10 to transmit an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as a game screen and the like are encoded and compressed, the data are returned to the client device 10 through a network, and finally, the data are decoded by the client device 10 and the game screen is output.
In an alternative embodiment, the terminal device may be a local terminal device. Taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through an electronic device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.
Fig. 2 is a flowchart illustrating a method for controlling a virtual object according to an embodiment of the present application, where the method may display a graphical user interface through a terminal device, where the graphical user interface may display a game screen, and the game screen at least includes a plurality of virtual objects manipulated by a player, and the method may include:
s101, responding to a first control operation, grouping a plurality of virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to the grouped virtual teams in a graphical user interface, wherein each virtual team comprises at least one virtual object.
The player can act on a preset area of the graphical user interface through a touch manner such as clicking, long-time pressing, repeated pressing, sliding and dragging on the basis of the touch screen, or act on a preset control in the graphical user interface to generate a first control operation, in response to the first control operation, a plurality of virtual objects controlled by the player can be grouped according to a preset grouping algorithm, after the grouping, grouping controls corresponding to grouped virtual teams can be displayed in the graphical user interface, and the number of the displayed grouping controls can be the same as the number of the virtual teams.
Optionally, each virtual team may include one or more virtual objects according to a setting of a preset grouping algorithm, which is not limited herein.
It should be noted that, when grouping the plurality of virtual objects according to the preset grouping algorithm, only the plurality of virtual objects displayed in the current game screen may be grouped, that is, local grouping is implemented, or all virtual objects manipulated by the player may be grouped, that is, global grouping is implemented. Alternatively, the virtual objects manipulated by the player may include, but are not limited to: virtual characters, virtual troops, virtual vehicles (e.g., virtual tanks, virtual airships, virtual airplanes, etc.), virtual props (e.g., cards, virtual ammunition, etc.), etc., which are not limited herein and may be different according to actual application scenarios.
S102, responding to a second control operation of at least one target grouping control in the grouping controls, and determining that a virtual group corresponding to the target grouping control is a target virtual group.
In order to facilitate the player to quickly select each virtual team, optionally, each grouping control may be configured to determine, in response to the second control operation, that the virtual team corresponding to the second control operation is the target virtual team, that is, the player may quickly select the target virtual team through each grouping control, so as to improve the selection efficiency of the player. Optionally, the second control operation may be generated by acting on at least one target grouping control in the grouping controls through a touch manner such as clicking, long-pressing, re-pressing, sliding, and dragging on the touch screen, and the generation manner of the second control operation is not limited in this application. In summary, compared with the existing mode of selecting a plurality of virtual objects by frame selection and clicking for a plurality of times, by applying the method of the embodiment of the application, the virtual object corresponding to the target virtual team can be quickly selected as the target virtual object, and the control efficiency and the control accuracy of the virtual object are improved.
To sum up, an embodiment of the present application provides a method for controlling virtual objects, where a graphical user interface may be displayed on a terminal device, where the graphical user interface displays a game screen, and the game screen at least includes a plurality of virtual objects manipulated by a player, and the method may include: responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to grouped virtual teams in the graphical user interface, wherein each virtual team comprises at least one virtual object; and responding to a second control operation of at least one target grouping control in the grouping controls, and determining the virtual group corresponding to the target grouping control as a target virtual group, so that a virtual object corresponding to the target virtual group can be quickly selected as a target virtual object, the selection efficiency and the selection accuracy of the virtual object can be improved, and the user interaction experience is improved.
Optionally, the first control operation may include: the method comprises the following steps of triggering operation of a preset control in a graphical user interface, and/or triggering operation of at least two virtual objects in a plurality of virtual objects.
In some embodiments, based on the above description, the preset control in the graphical user interface may be a dedicated team control, or may be a control including other functions (for example, a minimap control, where touching the control may call up a minimap, or may be simultaneously regarded as a first control operation), and optionally, the preset control may be suspended on the graphical user interface; or, the method can be set in a preset area of the graphical user interface, so as not to obstruct the view of the game of the player, for example, areas such as the upper left corner and the lower right corner; or, the setting may be hidden, and in the game interaction process, the player may act on a preset area (e.g., an upper right corner, a lower left corner, and a center position) of the graphical user interface through a preset touch operation (e.g., long press, heavy press, and multi-click) to trigger the team control to be displayed in the graphical user interface for the player to operate, where the setting mode of the team control is not limited in this application. Optionally, based on a team control in the graphical user interface, the player may act on the team control through a touch operation such as clicking, long-pressing, re-pressing, sliding, dragging, and the like based on the touch screen to generate the first control operation.
In some embodiments, the player may also perform continuous clicking, circling, frame selection, and other touch manners on the at least two virtual objects based on the touch screen to generate the first control operation. The first control operation may be different according to an actual application scenario, and the present application does not limit the specific representation manner of the first control operation.
Optionally, displaying, in the graphical user interface, a grouping control corresponding to each grouped virtual team includes: and displaying grouping controls corresponding to the grouped virtual groups at a preset position of the graphical user interface and/or in or around a small map window.
In some embodiments, the grouping control displayed on the graphical user interface may be set at a preset position of the graphical user interface, for example, suspended at a left edge position, a right edge position, and the like of the graphical user interface, which are not limited herein, and may be flexibly set according to an actual application scenario and a use habit of a user; still alternatively, each grouping control may be displayed in the minimap window, and optionally, for example, may be displayed at an inner edge position and an outer edge position of the minimap window, specifically, may be a left inner edge position and a right outer edge position in the minimap window, and the like, which are not limited herein, and may be flexibly set according to an actual application scenario.
Fig. 3 is a schematic view of a game interface according to an embodiment of the present disclosure. Optionally, the grouping the plurality of virtual objects according to a preset grouping algorithm in response to the first control operation, and displaying the grouping control corresponding to each grouped virtual group in the graphical user interface includes:
and responding to the first control operation, grouping the plurality of virtual objects according to the distance between the virtual objects and a preset distance threshold, and displaying the grouped grouping controls corresponding to the virtual groups in the graphical user interface.
In some embodiments, in response to the first control operation, the plurality of virtual objects may be grouped according to the distance between the virtual objects and a preset distance threshold, optionally, for each grouped virtual team, the distance between the virtual objects belonging to the same virtual team should be smaller than the preset distance threshold, and optionally, the preset distance threshold may be denoted as n. By applying the embodiment of the application, the players can conveniently and quickly select all virtual objects of a certain virtual team according to the intelligent grouping of the virtual objects.
Illustratively, referring to fig. 3, a gamer nickname is 123A, the virtual characters with the same number belong to the same virtual troops, in order to make the virtual object control method provided by the present application applicable to the control of the virtual troops, wherein it is noted that one virtual troop corresponds to one virtual object, as can be seen from fig. 3, the game screen includes a plurality of virtual objects manipulated by the gamer, that is, includes a plurality of virtual troops manipulated by the gamer, wherein a first virtual troop S1 includes a virtual character with a number of 1, a second virtual troop S2 includes a virtual character with a number of 2, a third virtual troop S3 includes a virtual character with a number of 3, and a fourth virtual troop S4 includes a virtual character with a number of 4, referring to the virtual character control method described above, optionally, the gamer can act on the team control 103 of the graphical user interface by a touch manner such as clicking, long pressing, sliding, dragging, etc. based on the touch screen to generate a first control operation, in response to the first control operation, the plurality of virtual objects may be grouped according to the distance between the virtual objects (i.e., the virtual teams) and a preset distance threshold, and as shown in fig. 3, the four virtual teams may be divided into two groups, wherein the first, second, and fourth virtual teams belong to the first group of virtual teams, the third virtual team belongs to the second group of virtual teams, and the distance between any two virtual teams (S1 and S2, S2 and S4, S1 and S4) in the first group of virtual teams should be less than the preset distance threshold. For the second group of virtual teams, as can be seen from fig. 3, the distances between the third virtual team S3 in the second group of virtual teams and any other virtual teams are far, that is, the distances between the third virtual team S3 and any other virtual teams are larger than the preset distance threshold, so that the third virtual team S3 alone serves as a virtual team. With reference to fig. 3, after grouping, a first grouping control 101 corresponding to a first group of virtual teams and a second grouping control 102 corresponding to a second group of virtual teams after grouping may be displayed in the upper right corner of the graphical user interface.
Of course, it should be noted that the specific display mode is not limited thereto, and may be different according to the actual application scenario.
Fig. 4 is a schematic flowchart of another virtual object control method according to an embodiment of the present application. Optionally, as shown in fig. 4, the grouping the plurality of virtual objects according to the distance between the virtual objects and the preset distance threshold, and displaying the grouped grouping control corresponding to each virtual team in the graphical user interface includes:
s201, according to the distance between the virtual objects and a preset distance threshold, initially grouping the virtual objects, and displaying grouping controls corresponding to the initially grouped virtual groups in a graphical user interface.
S202, responding to the updating operation of the preset distance threshold, and displaying the updated preset distance threshold in the graphical user interface.
Optionally, the preset distance threshold may be a default distance threshold, when grouping the plurality of virtual objects, the plurality of virtual objects may be initially grouped according to the distance between the virtual objects and the preset distance threshold, and after grouping, the grouping control corresponding to each initially grouped virtual group may be displayed in the graphical user interface.
It is understood that, since the number of initially grouped virtual teams may be far from the expected number of players, for example, the number of initially grouped virtual teams is much larger than or much smaller than the expected number of players, in this case, in order to facilitate the players to adjust the virtual teams, optionally, a preset area (for example, an upper left area, a center area, a lower right area) of the graphical user interface may be acted on by a touch manner such as clicking, long-pressing, re-pressing, sliding, dragging based on the touch display screen, or, in response to the touch operation, any virtual team may display a preset editing interface, which may include a preset distance threshold, and in some embodiments, the preset distance threshold may be updated by clicking, long-pressing, re-pressing, sliding, dragging, or the like based on the touch display screen, in response to the update operation on the preset distance threshold, in order to facilitate that the player can intuitively know the updated preset distance threshold, optionally, the updated preset distance threshold may be displayed in a graphical user interface; the updated preset distance threshold may be greater than or less than the preset distance threshold before updating, which is not limited herein.
And S203, regrouping the initially grouped virtual teams according to the updated preset distance threshold, and displaying grouping controls corresponding to the regrouped virtual teams in a graphical user interface.
Further, according to the updated preset distance threshold, each initially grouped virtual team can be regrouped, and the grouping control corresponding to each regrouped virtual team is displayed in the graphical user interface.
Fig. 5 is a schematic flowchart of another virtual object control method according to an embodiment of the present application. Optionally, as shown in fig. 5, before grouping the plurality of virtual objects according to the distance between the virtual objects and the preset distance threshold, and displaying the grouped grouping controls corresponding to the virtual teams in the graphical user interface, the method further includes:
and S301, responding to the first control operation, and displaying a preset editing interface in the graphical user interface.
S302, responding to the editing operation of the initial distance threshold value in the preset editing interface, and displaying the preset distance threshold value in the preset editing interface.
In some embodiments, in response to the first control operation, a preset editing interface may be displayed in the graphical user interface, the preset editing interface may edit the initial distance threshold based on the touch screen, and in response to the editing operation, the preset distance threshold may be displayed in the preset editing interface.
Alternatively, the value of the initial distance threshold may be 0, or may be another default value, and the unit of the initial distance threshold may be determined according to the distance measurement unit in the game screen, which is not limited herein.
Optionally, the distance between the virtual objects is a distance between distribution boundaries or centers of the virtual objects.
In some scenarios, each virtual object may also correspond to one virtual troop, and it may be understood that, in this case, one virtual troop may include multiple virtual roles, multiple virtual devices, and the like, at this time, a distribution boundary or a center of each virtual object may be obtained, and a distance of each virtual object is calculated according to the distance of the distribution boundary or the center of each virtual object, so that multiple virtual troops may be grouped.
Fig. 6 is a schematic flowchart of another virtual object control method according to an embodiment of the present application. Optionally, as shown in fig. 6, the method further includes:
s401, responding to a third control operation of at least one target grouping control in the grouping controls, regrouping the target virtual groups corresponding to the at least one target grouping control, and displaying the regrouped grouping controls corresponding to the virtual groups in the graphical user interface.
In some embodiments, in order to facilitate the user to regroup the grouped virtual teams, optionally, the user may act on at least one target grouping control in the grouping control by a touch manner such as clicking, long-pressing, re-pressing, sliding, dragging, and the like based on the touch screen to generate a third control operation, and in response to the third control operation, the target virtual teams corresponding to the at least one target grouping control may be regrouped, so that the regrouped virtual teams may better conform to the control habit of the user, and the interaction experience of the user is improved.
Optionally, if the target grouping control includes one, after the target grouping control is regrouped, the virtual objects corresponding to the target grouping control may be subdivided into multiple groups; if the target grouping control includes a plurality of target grouping controls, after the target grouping controls are grouped again, the virtual objects corresponding to the plurality of target grouping controls may be integrated, for example, integrated into one group, or the virtual objects corresponding to the plurality of target grouping controls may be grouped again according to a first grouping algorithm, and optionally, the first grouping algorithm may be configured to be divided according to types of virtual weapons held by the virtual objects. For example, virtual objects of the same type in the virtual objects corresponding to the multiple target grouping controls may be divided into a group according to the first grouping algorithm. Of course, the specific division manner is not limited thereto, and can be flexibly set according to the actual application scenario.
Optionally, the third control operation may be a continuous touch operation subsequent to the second control operation, for example, the second control operation may be a click operation, and the third control operation may be a slide operation subsequent to the click operation, or the second control operation may be a long-press operation, and the third control operation may be a drag operation subsequent to the long-press operation, and the like.
Fig. 7 is a schematic view of another game interface provided in the embodiment of the present application, and fig. 8 is a schematic view of another game interface provided in the embodiment of the present application. Based on the above embodiment and further explained with reference to fig. 7, the first grouping control 101 corresponding to the first group of virtual teams and the second grouping control 102 corresponding to the second group of virtual teams may be displayed at the outer edge below the minimap window SA, and of course, the specific display manner is not limited thereto.
Based on the foregoing embodiment and further described with reference to fig. 8, optionally, if the player considers that the grouping result shown in fig. 7 does not meet the requirement, optionally, the player may generate a third control operation (for example, may be generated by a dragging operation) on the second grouping control 102 through a touch operation such as clicking, long-pressing, re-pressing, sliding, dragging and the like based on the touch screen, and in response to the third control operation, may regroup the target virtual teams corresponding to the second grouping control 102, optionally, as shown in fig. 8, after the regrouping, the virtual teams corresponding to the first grouping control 101 and the virtual teams corresponding to the second grouping control 102 may be integrated together to generate the virtual teams corresponding to the third grouping control 104, and of course, the specific control manner is not limited thereto.
Fig. 9 is a schematic flowchart of another virtual object control method according to an embodiment of the present application. Optionally, each grouping control includes a grouping editing control corresponding to each virtual object in a corresponding virtual team, and referring to fig. 9, the method further includes:
s501, in response to the editing operation of at least one target grouping editing control in the grouping editing controls, regrouping the target virtual objects corresponding to the editing operation, and displaying the regrouped grouping controls corresponding to the virtual groups in the graphical user interface.
In some embodiments, if the number of virtual objects manipulated by the player is small, for example, less than a preset threshold, in this case, in order to facilitate the player to regroup the grouped virtual teams, so that the regrouped virtual teams meet the player grouping expectation, optionally, each grouping control may include a grouping editing control corresponding to each virtual object in the corresponding virtual team, and then the grouped virtual teams may be regrouped according to the grouping editing control corresponding to each virtual object. When regrouping, the regrouping operation can be performed on at least one target grouping editing control in the grouping editing controls through sliding, dragging and the like based on the touch screen to generate an editing operation for the at least one target grouping editing control, and in response to the editing operation, the target virtual object corresponding to the editing operation can be regrouped, optionally, the target virtual object can be deleted from the virtual group to which the target virtual object belongs through the editing operation, or the target virtual object can be attributed to other virtual groups through the editing operation.
Fig. 10 is a schematic view of another game interface provided in the embodiment of the present application, and fig. 11 is a schematic view of another game interface provided in the embodiment of the present application. Based on the above embodiment and further explained with reference to fig. 10, the first grouping control 101 may include a first grouping edit control 111 corresponding to the first virtual army, a second grouping edit control 121 corresponding to the second virtual army, and a fourth grouping edit control 141 corresponding to the fourth virtual army, and the second grouping control 102 may include a third grouping edit control 132 corresponding to the third virtual army.
Optionally, if the player considers that the grouping result shown in fig. 7 does not satisfy the requirement, the player may optionally act on the second grouping editing control 121 in the plurality of grouping editing controls through an editing operation such as clicking, long-pressing, re-pressing, sliding, dragging (for example, dragging the second grouping editing control 121 to a position where the third grouping editing control 132 is located) based on the touch screen, in response to the editing operation, the virtual objects corresponding to the editing operation may be regrouped, and after the regrouping, as shown in fig. 11, the second virtual troop corresponding to the second grouping editing control 121 and the third virtual troop corresponding to the third grouping editing control 132 may be integrated to obtain the fourth grouping control 105 and the fifth grouping control 106. Of course, the specific editing process is not limited thereto.
Fig. 12 is a schematic flowchart of another virtual object control method provided in the embodiment of the present application, and optionally, referring to fig. 12, the method further includes:
s601, responding to a fourth control operation on at least one target grouping control in the grouping controls, and controlling a target virtual grouping corresponding to the at least one target grouping control to execute a preset action.
Based on the above description, it can be understood that, after the target virtual team is determined, the player may need to perform unified control on the target virtual team, in this case, the player may act on at least one target grouping control in the grouping controls through a touch manner such as clicking, long-pressing, re-pressing, sliding, dragging and the like based on the touch screen, and in response to the fourth control operation, the target virtual team corresponding to one target grouping control may be controlled to execute a preset action.
Optionally, the preset action may be, but is not limited to: attack, retreat, set, etc., are not limited herein and may vary depending on the actual game scenario. Optionally, the fourth control operation may also be a continuous touch operation subsequent to the second control operation, for example, the second control operation may be a single-click operation, and the fourth control operation may be a sliding operation subsequent to the single-click operation, or the second control operation may be a long-press operation, and the fourth control operation may be a double-click operation subsequent to the long-press operation, and the like.
Optionally, the above controlling, in response to a fourth control operation on at least one target grouping control in the grouping controls, a target virtual team corresponding to the at least one target grouping control to execute a preset action includes:
and in response to a fourth control operation on at least one target grouping control in the grouping controls, controlling the target virtual team to move from the current game scene position to the game scene position indicated by the fourth control operation.
In some embodiments, if the grouped control corresponding to each virtual team after grouping is displayed in or around the minimap window, optionally, at least one target grouped control may be dragged to a target position in the minimap by a dragging manner based on the touch screen to generate a fourth control operation for the at least one target grouped control, and in response to the fourth control operation, the target virtual team may be controlled to move from the current game scene position to a game scene position indicated by the fourth control operation, that is, a game scene position in the game scene corresponding to the target position in the minimap, for example, any position point in the game scene.
Of course, it should be noted that the fourth control operation may be other touch control manners according to an actual application scenario, and the application is not limited herein. For example, the at least one target grouping control may be dragged to a target position in the game scene by a dragging manner based on the touch screen to generate a fourth control operation for the at least one target grouping control.
Optionally, the arrangement order of the grouping controls corresponding to the virtual teams is determined according to the position information of the virtual teams in the small map window, and/or the arrangement order of the grouping editing controls corresponding to the virtual objects is determined according to the position information of the virtual objects in the small map window.
When the grouping control corresponding to each grouped virtual group is displayed, the arrangement sequence of each grouping control on the graphical user interface can be determined according to the position information of each virtual group in the small map window. Optionally, the arrangement order of the grouped controls on the graphical user interface may be determined according to the position information of the virtual teams from top to bottom and from left to right in the small map window. Optionally, when each virtual team includes a plurality of virtual objects, the position information of each virtual team in the small map window may be determined according to the central positions of the plurality of virtual objects. The position information of the virtual object in the small map window is actually the position information of the virtual object in the game scene.
Referring to fig. 10, the first grouping control 101 includes a first grouping edit control 111 corresponding to the first virtual army, a second grouping edit control 121 corresponding to the second virtual army, and a fourth grouping edit control 141 corresponding to the fourth virtual army, and the second grouping control 102 includes a third grouping edit control 132 corresponding to the third virtual army. The first grouping control 101 is arranged in an order corresponding to the position of the first virtual team (consisting of the first virtual team, the second virtual team, and the fourth virtual team) in the small map window SA, i.e., arranged first on the left; the arrangement of the first group editing control 111, the second group editing control 121, and the fourth group editing control 141 also corresponds to the positions of the first virtual army, the second virtual army, and the fourth virtual army in the small map window SA, that is, the first group editing control, the second group editing control, and the fourth group editing control are arranged sequentially from left to right. Similarly, the second grouping control 102 is arranged in an order corresponding to the position of the second virtual team (only the third virtual team) in the minimap window SA, i.e., second from the left (or first from the right). The above arrangement order is arranged according to the horizontal coordinates of the virtual objects in the minimap, but it is needless to say that the arrangement order may be arranged according to the vertical coordinates of the virtual objects in the minimap.
In some embodiments, in order to facilitate a player to quickly determine a virtual team to which each virtual object belongs, each grouping control may optionally include an identifier corresponding to each virtual object, and the identifier corresponding to each virtual object may include, but is not limited to, an icon, a number, a nickname, and the like, as long as each virtual object can be distinguished. When each grouping control comprises the identifier corresponding to each virtual object, the arrangement sequence of the identifier corresponding to each virtual object in the grouping control can be determined by the position information of each virtual object in the small map window.
Illustratively, referring to fig. 11 above, if the fourth grouping control 105 and the fifth grouping control 106 correspond to different virtual teams, respectively, then the virtual objects in the virtual teams can be identified in different display manners, and furthermore, taking the fifth grouping control 106 as an example for illustration, the display style of the fifth grouping control 106 may be different from the display style of the fourth grouping control 105, and furthermore, it can be seen that, in the game screen, the dress of the virtual objects belonging to the virtual team to which the fifth group control 106 corresponds remains the same, and the fifth group control 106 may comprise an identification corresponding to each virtual object, wherein, the corresponding mark of the second virtual army is the number 2, the corresponding mark of the third virtual army is the number 3, and the arrangement sequence of the corresponding identifiers of the virtual troops in the grouping control is determined according to the position information of the virtual troops in the small map window SA.
In some embodiments, each grouping control includes a grouping editing control corresponding to each virtual object in a corresponding virtual group, optionally, when the grouping editing control corresponding to each virtual object is displayed, the arrangement order of the grouping editing controls may be determined according to the position information of each virtual object in the small map window, and the specific determination manner may refer to the determination manner of the grouping control corresponding to each virtual group, which is not described herein again.
Optionally, if each virtual object corresponds to one virtual army, the arrangement order of the group editing controls corresponding to each virtual object may be determined according to the position information of the center of each virtual army in the minimap window.
Optionally, the virtual teams are identified in different display manners, and/or the control is grouped.
In some embodiments, in order to facilitate the player to quickly determine the grouping control corresponding to each virtual team, the virtual teams may be identified in different display manners, for example, the virtual teams may be displayed in a color, text, icon, and/or the like in a differentiated manner, and/or the grouping control may be used for the player to quickly distinguish.
Fig. 13 is a functional module schematic diagram of a virtual object control apparatus according to an embodiment of the present application, where the virtual object control apparatus may display a graphical user interface through a terminal device, where the graphical user interface displays a game screen, and the game screen at least includes a plurality of virtual objects manipulated by a player, and basic principles and generated technical effects of the apparatus are the same as those of the corresponding method embodiment, and for brief description, reference may be made to corresponding contents in the method embodiment for a part not mentioned in this embodiment. As shown in fig. 13, the virtual object control apparatus includes:
a grouping module 110, configured to, in response to a first control operation, group a plurality of virtual objects according to a preset grouping algorithm, and display, in the graphical user interface, grouping controls corresponding to grouped virtual teams, where each virtual team includes at least one virtual object;
a response module 120, configured to determine, in response to a second control operation on at least one target grouping control in the grouping controls, that a virtual team corresponding to the target grouping control is a target virtual team.
In an optional embodiment, the grouping module 110 is specifically configured to, in response to the first control operation, group the plurality of virtual objects according to a distance between the virtual objects and a preset distance threshold, and display a grouping control corresponding to each grouped virtual team in the graphical user interface.
In an alternative embodiment, the first control operation comprises: and triggering operation of a preset control in the graphical user interface, and/or triggering operation of at least two virtual objects in the plurality of virtual objects.
In an optional embodiment, the displaying, in the graphical user interface, a grouping control corresponding to each grouped virtual team includes: and displaying grouping controls corresponding to the grouped virtual groups at a preset position of the graphical user interface and/or in or around a small map window.
In an optional embodiment, the grouping module 110 is specifically configured to perform initial grouping on a plurality of virtual objects according to a distance between the virtual objects and a preset distance threshold, and display a grouping control corresponding to each initially grouped virtual team in the graphical user interface;
responding to the updating operation of the preset distance threshold, and displaying the updated preset distance threshold in the graphical user interface;
and regrouping the initially grouped virtual teams according to the updated preset distance threshold, and displaying grouping controls corresponding to the regrouped virtual teams in the graphical user interface.
In an optional embodiment, the grouping module 110 is further configured to display a preset editing interface in the graphical user interface in response to a first control operation;
responding to the editing operation of the initial distance threshold value in the preset editing interface, and displaying the preset distance threshold value in the preset editing interface.
In an alternative embodiment, the distance between the virtual objects is the distance between the distribution boundaries or centers of the virtual objects.
In an optional embodiment, the response module 120 is further configured to, in response to a third control operation on at least one target grouping control in the grouping controls, regroup target virtual teams corresponding to the at least one target grouping control, and display grouping controls corresponding to the regrouped virtual teams in the graphical user interface.
In an optional implementation manner, each of the grouping controls includes a grouping editing control corresponding to each virtual object in a corresponding virtual group, and the response module 120 is further configured to, in response to an editing operation on at least one target grouping editing control in the grouping editing controls, regroup the target virtual objects corresponding to the editing operation, and display the regrouped grouping controls corresponding to each virtual group in the graphical user interface.
In an optional embodiment, the response module 120 is further configured to, in response to a fourth control operation on at least one target grouping control in the grouping controls, control a target virtual team corresponding to the at least one target grouping control to perform a preset action.
In an optional embodiment, the responding module 120 is specifically configured to, in response to a fourth control operation on at least one target grouping control in the grouping controls, control the target virtual grouping queue to move from the current game scene position to the game scene position indicated by the fourth control operation.
In an optional embodiment, each of the grouping controls includes a grouping editing control corresponding to each virtual object in a corresponding virtual group, an arrangement order of the grouping controls corresponding to each virtual group is determined according to position information of each virtual group in the minimap window, and/or an arrangement order of the grouping editing controls corresponding to each virtual object is determined according to position information of each virtual object in the minimap window.
In an alternative embodiment, each of the virtual teams and/or grouping controls is identified in a different display.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application. Referring to fig. 14, the electronic device may include: a processor 210, a storage medium 220, and a bus 230, wherein the storage medium 220 stores machine-readable instructions executable by the processor 210, and when the electronic device is operated, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. A virtual object control method for displaying a graphical user interface through a terminal device, the graphical user interface displaying a game screen, the game screen at least including a plurality of virtual objects manipulated by a player, the method comprising:
responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to grouped virtual teams in the graphical user interface, wherein each virtual team comprises at least one virtual object;
and responding to a second control operation of at least one target grouping control in the grouping controls, and determining that the virtual group corresponding to the target grouping control is a target virtual group.
2. The method according to claim 1, wherein the grouping a plurality of the virtual objects according to a preset grouping algorithm in response to the first control operation, and displaying grouping controls corresponding to the grouped virtual teams in the graphical user interface comprises:
and responding to a first control operation, grouping the virtual objects according to the distance between the virtual objects and a preset distance threshold, and displaying grouping controls corresponding to the grouped virtual teams in the graphical user interface.
3. The method of claim 1, wherein the first control operation comprises: and triggering operation of a preset control in the graphical user interface, and/or triggering operation of at least two virtual objects in the plurality of virtual objects.
4. The method of claim 1, wherein displaying grouping controls corresponding to the grouped virtual teams in the graphical user interface comprises: and displaying grouping controls corresponding to the grouped virtual groups at a preset position of the graphical user interface and/or in or around a small map window.
5. The method according to claim 2, wherein the grouping the plurality of virtual objects according to the distance between the virtual objects and a preset distance threshold, and displaying the grouping control corresponding to each grouped virtual team in the graphical user interface comprises:
according to the distance between the virtual objects and a preset distance threshold value, initially grouping the virtual objects, and displaying grouping controls corresponding to the initially grouped virtual groups in the graphical user interface;
responding to the updating operation of the preset distance threshold, and displaying the updated preset distance threshold in the graphical user interface;
and regrouping the initially grouped virtual teams according to the updated preset distance threshold, and displaying grouping controls corresponding to the regrouped virtual teams in the graphical user interface.
6. The method according to claim 2, wherein before grouping the plurality of virtual objects according to the distance between the virtual objects and a preset distance threshold and displaying the grouping control corresponding to each grouped virtual team in the graphical user interface, the method further comprises:
responding to a first control operation, and displaying a preset editing interface in the graphical user interface;
responding to the editing operation of the initial distance threshold value in the preset editing interface, and displaying the preset distance threshold value in the preset editing interface.
7. The method of claim 2, wherein the distance between the virtual objects is a distance between distribution boundaries or centers of the virtual objects.
8. The method of claim 1, further comprising:
and responding to a third control operation of at least one target grouping control in the grouping controls, regrouping the target virtual groups corresponding to the at least one target grouping control, and displaying the grouping controls corresponding to the regrouped virtual groups in the graphical user interface.
9. The method of claim 1, wherein each of the grouped controls includes a grouped editing control corresponding to each of the virtual objects in the corresponding virtual team, the method further comprising:
and responding to the editing operation of at least one target grouping editing control in the grouping editing controls, regrouping the target virtual objects corresponding to the editing operation, and displaying the regrouped grouping controls corresponding to the virtual groups in the graphical user interface.
10. The method of claim 1, further comprising:
and responding to a fourth control operation of at least one target grouping control in the grouping controls, and controlling a target virtual group corresponding to the at least one target grouping control to execute a preset action.
11. The method according to claim 10, wherein the controlling, in response to a fourth control operation on at least one target grouping control in the grouping controls, a target virtual grouping queue corresponding to the at least one target grouping control to perform a preset action includes:
and in response to a fourth control operation on at least one target grouping control in the grouping controls, controlling the target virtual team to move from the current game scene position to the game scene position indicated by the fourth control operation.
12. The method according to claim 1, wherein each of the grouping controls includes a grouping editing control corresponding to each of the virtual objects in a corresponding virtual team, an arrangement order of the grouping controls corresponding to each of the virtual teams is determined according to the position information of each of the virtual teams in the minimap window, and/or an arrangement order of the grouping editing controls corresponding to each of the virtual objects is determined according to the position information of each of the virtual objects in the minimap window.
13. The method of any one of claims 1-12, wherein each of the virtual teams and/or grouping controls is identified in a different display.
14. A virtual object control apparatus that displays, via a terminal device, a graphical user interface on which a game screen including at least a plurality of virtual objects manipulated by a player is displayed, the apparatus comprising:
the grouping module is used for responding to a first control operation, grouping the virtual objects according to a preset grouping algorithm, and displaying grouping controls corresponding to the grouped virtual groups in the graphical user interface, wherein each virtual group comprises at least one virtual object;
and the response module is used for responding to a second control operation of at least one target grouping control in the grouping controls and determining that the virtual group corresponding to the target grouping control is a target virtual group.
15. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the virtual object control method according to any one of claims 1 to 13.
16. A computer-readable storage medium, having stored thereon a computer program for performing, when executed by a processor, the steps of the virtual object control method according to any one of claims 1 to 13.
CN202111397170.4A 2021-11-23 2021-11-23 Virtual object control method and device, electronic equipment and storage medium Pending CN113941152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111397170.4A CN113941152A (en) 2021-11-23 2021-11-23 Virtual object control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111397170.4A CN113941152A (en) 2021-11-23 2021-11-23 Virtual object control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113941152A true CN113941152A (en) 2022-01-18

Family

ID=79338663

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111397170.4A Pending CN113941152A (en) 2021-11-23 2021-11-23 Virtual object control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113941152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879885A (en) * 2022-04-18 2022-08-09 上海星阑信息科技有限公司 Virtual object grouping control method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114879885A (en) * 2022-04-18 2022-08-09 上海星阑信息科技有限公司 Virtual object grouping control method, device, equipment and storage medium
CN114879885B (en) * 2022-04-18 2024-03-22 上海星阑信息科技有限公司 Virtual object grouping control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
EP3939681A1 (en) Virtual object control method and apparatus, device, and storage medium
CN105335064B (en) A kind of information processing method and terminal
CN105159687B (en) A kind of information processing method, terminal and computer-readable storage medium
WO2016202005A1 (en) Method and terminal for locking target in game scene
JP7387758B2 (en) Interface display method, device, terminal, storage medium and computer program
WO2022247592A1 (en) Virtual prop switching method and apparatus, terminal, and storage medium
US20220122310A1 (en) Method and apparatus for processing avatar usage data, device, and storage medium
CN113350793B (en) Interface element setting method and device, electronic equipment and storage medium
US20230330537A1 (en) Virtual object control method and apparatus, terminal and storage medium
CN110801629B (en) Method, device, terminal and medium for displaying virtual object life value prompt graph
WO2023138192A1 (en) Method for controlling virtual object to pick up virtual prop, and terminal and storage medium
CN113262476B (en) Position adjusting method and device of operation control, terminal and storage medium
US20220032188A1 (en) Method for selecting virtual objects, apparatus, terminal and storage medium
CN110665225A (en) Control method and device in game
CN113318428A (en) Game display control method, non-volatile storage medium, and electronic device
CN106984044B (en) Method and equipment for starting preset process
CN113941152A (en) Virtual object control method and device, electronic equipment and storage medium
CN111841000A (en) Method, device, equipment and storage medium for controlling display of game virtual character
CN111151004A (en) Game unit deployment method and device, electronic equipment and storage medium
CN114870393A (en) Skill release method and device, computer equipment and storage medium
CN113018861B (en) Virtual character display method and device, computer equipment and storage medium
CN113509723B (en) Interaction method and device for fight game, computer storage medium and electronic equipment
EP3984608A1 (en) Method and apparatus for controlling virtual object, and terminal and storage medium
WO2024060924A1 (en) Interaction processing method and apparatus for virtual scene, and electronic device and storage medium
CN117861210A (en) Information processing method and device in game, electronic equipment and readable 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