CN-121988036-A - Virtual object control method, device, electronic equipment and computer program product
Abstract
The method comprises the steps of controlling and updating a first quantity corresponding to a first virtual object in response to the preset condition being met, and controlling a second virtual object of the first target quantity and the first virtual object of the first quantity to execute target game behaviors in response to skill releasing operation on the controlled virtual object. By the method provided by the embodiment, the skill effect in the game can be dynamically changed according to the performance of the player in the game process, the variability of the skill effect is realized, the interactive experience of the player is improved, the strategic performance and the participation sense of the game are increased, and meanwhile, the game playing method and the visual performance are enriched and the interestingness and the playability of the game are improved by dynamically generating the virtual objects and enabling the number of the virtual objects to be variable.
Inventors
- SHI YIFAN
- LIU TAO
- WANG XIYU
Assignees
- 网易(杭州)网络有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20260204
Claims (16)
- 1. A virtual object control method, characterized in that a graphic user interface is provided through a terminal, the graphic user interface displaying a virtual scene and a controlled virtual object located in the virtual scene, the method comprising: in response to a preset condition being met, controlling to update a first number corresponding to the first virtual object; and controlling a first target number of second virtual objects and the first number of first virtual objects to execute target game actions in response to a skill release operation for the controlled virtual objects.
- 2. The method of claim 1, wherein the step of controlling updating the first number corresponding to the first virtual object in response to the preset condition being satisfied comprises: and in response to the controlled virtual object executing the preset game action to the target object, controlling to update the first quantity corresponding to the first virtual object.
- 3. The method according to claim 1, further comprising at least one of the steps of: When the controlled virtual object and an interaction area generated in a virtual scene are detected to generate interaction behaviors meeting preset interaction conditions, controlling to generate a specified number of first virtual objects and controlling the specified number of first virtual objects to execute target game behaviors; When the controlled virtual object and the interaction area generated in the virtual scene are detected to generate interaction behaviors meeting preset interaction conditions, the first quantity corresponding to the first virtual object is controlled to be updated according to the specified quantity.
- 4. A method according to claim 3, wherein the specified number is at least one of: A first preset number; and the second target number is the same as the preset upper limit number.
- 5. The method of claim 1, wherein the first target number comprises at least one of: A base number; The base number and the third target number are determined according to the preset upper limit number and the current value of the first number; Basic quantity and preset additional quantity A base number and a third target number and said preset additional number.
- 6. The method of claim 3, wherein the step of detecting that the controlled virtual object interacts with an interaction region generated in a virtual scene that meets a preset interaction condition comprises at least one of: detecting that the controlled virtual object collides with an interaction area generated in a virtual scene; And detecting that the duration of the controlled virtual object in the range corresponding to the interaction area generated in the virtual scene meets the preset duration, and keeping the controlled virtual object in the range corresponding to the interaction area.
- 7. The method according to claim 1, wherein the method further comprises: controlling the controlled virtual object to enter a target state in response to the skill release operation for the controlled virtual object; In the target state, in response to receiving a target operation, additionally generating a corresponding number of third virtual objects based on the received operation times of the target operation and controlling the third virtual objects to execute target game behaviors.
- 8. The method of claim 7, wherein a duration of the target state is determined based on a current quantity value of the first number at the time of the skill-release operation.
- 9. The method according to any one of claims 1 to 8, further comprising: And responding to the successful execution of the target game behavior by the target virtual object, and controlling the target virtual prop assembled by the controlled virtual object to execute a preset game behavior, wherein the target virtual object comprises at least one of a first virtual object, a second virtual object and a third virtual object.
- 10. The method of claim 9, wherein the target play object is configured with a preset amount of consumed resources and/or cooling time, the method further comprising: Under the condition that the target virtual prop assembled by the controlled virtual object is controlled to execute the preset game behavior in response to the target virtual object successfully executing the target game behavior, the consumed resources of the target game prop are not consumed and/or the cooling duration is not activated; And responding to a trigger instruction which is input through an input device and aims at the target virtual prop, controlling the target virtual prop assembled by the controlled virtual object to execute a preset game behavior, and consuming the consumed resources and/or activating the cooling time.
- 11. The method of claims 1-8, wherein the executing the target game action comprises at least one of: Executing an attack behavior according to the first attack parameter; And executing the attack behavior according to a second attack parameter, wherein the moving speed parameter in the second attack parameter is larger than the moving speed in the first attack parameter, and/or the damage value in the second attack parameter is higher than the damage value in the first attack parameter.
- 12. The method of claim 7, wherein the injury value of the third virtual object that is additionally generated in the enhanced state when the target game action is performed is lower than the injury value of the first virtual object and the second virtual object when the target game action is performed.
- 13. A virtual object control apparatus, comprising: and the updating module is configured to control updating of the first quantity corresponding to the first virtual object in response to the preset condition.
- 14. And a skill module configured to control a first target number of second virtual objects and the first number of first virtual objects to perform a target game action in response to a skill release operation for the controlled virtual objects.
- 15. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program, characterized in that the processor, when executing the computer program, implements the method of any of claims 1 to 12.
- 16. A computer program product having a computer program stored thereon, which, when executed by a processor, implements the method of any of claims 1 to 12.
Description
Virtual object control method, device, electronic equipment and computer program product Technical Field The present disclosure relates to the field of game technologies, and in particular, to a virtual object control method, apparatus, electronic device, and computer program product. Background Players can typically handle characters or vehicles to fight against hostile units, acquire combat unification and boost capacity. In the related art, a character or a vehicle in a game can attack an adversary only by a skill releasing a fixed effect, the skill often has a fixed attack value and effect, a player can only use the skill at a specific time point, and the skill effect does not change substantially with the performance in the fight process. This results in cumbersome user operations, repeated execution of similar operational steps, single gameplay, lack of variability and novelty, while occupying large amounts of device memory space and server resources due to the large amount of static resources that need to be loaded to achieve various fixed effects. Disclosure of Invention The invention aims to provide a virtual object control method, a virtual object control device, electronic equipment and a storage medium, so as to solve the problem that in a game, a skill effect is statically fixed, so that interaction experience is single. In a first aspect, the present disclosure provides a virtual object control method, in which a graphical user interface is provided through a terminal, the graphical user interface displaying a virtual scene and a controlled virtual object located in the virtual scene, the method including controlling to update a first number corresponding to a first virtual object in response to a preset condition being satisfied, and controlling a second virtual object of the first target number and the first virtual object of the first number to execute a target game behavior in response to a skill release operation for the controlled virtual object. In a second aspect, the present disclosure provides a virtual object control apparatus including an update module configured to control updating a first number corresponding to a first virtual object in response to a preset condition being satisfied, and a skill module configured to control a first target number of second virtual objects and the first number of first virtual objects to perform a target game behavior in response to a skill release operation for a controlled virtual object. In a third aspect, the present disclosure provides an electronic device comprising a memory and a processor, the memory having stored thereon a computer program, the processor when executing the computer program implementing to perform the steps of the virtual object control method as described in any one of the preceding claims. In a fourth aspect, the present disclosure provides a computer program product having a computer program stored thereon, which when executed by a processor is implemented to perform the steps in the virtual object control method as set forth in any of the preceding claims. The method provided by the embodiment of the invention enables the skill effect in the game to dynamically change according to the performance of a player in the game process, realizes the variability of the skill effect, improves the interactive experience of the player, increases the strategic and participation sense of the game, and simultaneously enriches the game playing method and visual performance and improves the interestingness and playability of the game by dynamically generating the virtual objects and enabling the number of the virtual objects to be variable. Drawings FIG. 1 shows a schematic diagram of a system architecture in an embodiment of the present disclosure; FIG. 2 illustrates a flow chart of a method of virtual object control in an embodiment of the present disclosure; FIG. 3 shows a schematic diagram of a virtual object control device in an embodiment of the disclosure; Fig. 4 shows a schematic diagram of an electronic device in an embodiment of the disclosure. Detailed Description Exemplary embodiments of the present disclosure will be described more fully hereinafter with reference to the accompanying drawings. The drawings are schematic illustrations of the present disclosure and are not necessarily drawn to scale. Some of the block diagrams shown in the figures may be functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, or in hardware modules or integrated circuits, or in networks, processors or microcontrollers. Embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein. The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to g