Interaction method and device in virtual scene, equipment, medium and program product

By introducing interactive virtual plants and multiple plant elements in the virtual scene, the interaction between virtual objects and virtual plants is enriched, the problem of single interaction mode in the existing technology is solved, and the human-computer interaction efficiency and hardware resources are improved. Utilization.

CN119215412APending Publication Date: 2024-12-31TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310785922.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

In existing virtual scenes, the interaction between virtual objects and virtual plants is single, resulting in low human-computer interaction efficiency and low hardware resource utilization.

Method used

Introduce interactive virtual plants in virtual scenes, enrich the interactive mode by controlling the growth of multiple plant elements in virtual plants and responding to the interaction of virtual objects under different states, including the growth, breaking, explosion and other processes of plant elements. And improve the utilization rate of hardware resources.

Benefits of technology

It improves the interactive diversity and human-computer interaction efficiency between virtual objects and virtual plants, and at the same time improves the hardware resource utilization of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119215412A_ABST
    Figure CN119215412A_ABST
Patent Text Reader

Abstract

The invention provides an interaction method and device in a virtual scene, electronic equipment, a storage medium and a program product. The method comprises the following steps: displaying an interactive virtual plant and a virtual object in the virtual scene; when the virtual plant is in the first stage, the virtual plant is controlled to grow at least one plant element, and the plant element is in the first state; in the process that the plant element is in the first state, in response to an interaction instruction for a target plant element in the at least one plant element, controlling the virtual object to execute an interaction operation for the target plant element; in the interactive operation execution process, the attribute value of the target attribute of the virtual plant is controlled to be reduced. Through the application, the diversity of interaction in the virtual scene and the utilization rate of hardware resources can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet and human-computer interaction technology, and in particular to an interaction method, device, electronic device, computer-readable storage medium and computer program product in a virtual scene. Background Art

[0002] Display technology based on graphics processing hardware has expanded the channels for perceiving the environment and obtaining information, especially multimedia technology for virtual scenes. With the help of human-computer interaction engine technology, it can realize diversified interactions between virtual objects controlled by users or artificial intelligence according to actual application needs. It has various typical application scenarios. For example, in game scenarios, it can simulate the real interaction process between virtual objects.

[0003] In the related art, virtual objects can interact with virtual plants in virtual scenes. The specific interaction method is that the virtual objects attack the virtual plants, and the virtual plants fight back through virtual thorns. The interaction method is single, which makes the human-computer interaction efficiency low and the utilization rate of the hardware processing resources of the electronic equipment low. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for interaction in a virtual scene, which can improve the diversity of interaction in the virtual scene and the utilization rate of hardware resources.

[0005] The technical solution of the embodiment of the present application is implemented as follows:

[0006] The present application provides an interactive method in a virtual scene, including:

[0007] Displaying interactive virtual plants and virtual objects in a virtual scene;

[0008] When the virtual plant is in the first stage, controlling the virtual plant to grow at least one plant element, and the plant element is in a first state;

[0009] In the process that the plant element is in the first state, in response to an interaction instruction for a target plant element among the at least one plant element, controlling the virtual object to perform an interaction operation for the target plant element;

[0010] During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to decrease.

[0011] The embodiment of the present application provides an interactive device in a virtual scene, including:

[0012] A display module, used for displaying interactive virtual plants and virtual objects in a virtual scene;

[0013] A control module, used for controlling the virtual plant to grow at least one plant element when the virtual plant is in the first stage, and the plant element is in a first state;

[0014] a response module, configured to control the virtual object to perform an interaction operation on a target plant element among the at least one plant element in response to an interaction instruction on the target plant element when the plant element is in the first state;

[0015] And, it is used to control the attribute value of the target attribute of the virtual plant to decrease during the execution of the interactive operation.

[0016] In the above solution, the control module is further used to control the virtual plant to grow at least one virtual branch, and to grow at least one plant element on each virtual branch;

[0017] The plant elements include at least one of the following: virtual fruits, virtual flowers and virtual leaves.

[0018] In the above solution, the virtual object belongs to a target team, and the target team includes at least two virtual objects;

[0019] The control module is further used to obtain the level of each virtual object in the target team, and determine the overall strength of the target team based on the level of each virtual object;

[0020] Based on the overall strength of the target team, determining the number of the plant elements that the virtual plant needs to grow;

[0021] Based on the number of the plant elements, at least one plant element is grown on each of the virtual branches.

[0022] In the above solution, the display module is further used to display each of the plant elements in a first display style;

[0023] The first display style is used to indicate that the plant element is in the first state.

[0024] In the above solution, the display module is also used to display the attribute value of the virtual plant;

[0025] and, used for displaying the process of fragmentation of the target plant element and the process of reduction of the attribute value of the virtual plant during the execution of the interactive operation;

[0026] The target plant element corresponds to an attribute value of a target size.

[0027] In the above solution, the control module is further used to control the state of the plant element to switch from the first state to the second state when the state switching condition of the plant element is met;

[0028] The response module is further configured to control the virtual object to perform an interaction operation on a target plant element among the at least one plant element in response to an interaction instruction on the target plant element in the at least one plant element during the process in which the plant element is in the second state;

[0029] During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

[0030] In the above scheme, when the state switching condition is reaching the first duration, the display module is also used to display progress indication information corresponding to the first duration, and the progress indication information is used to indicate the remaining time for the plant element to switch from the first state to the second state.

[0031] In the above solution, the plant elements grow on virtual branches of the virtual plants;

[0032] The control module is further used to display the process of the virtual branches on which the plant elements grow disappearing;

[0033] The display module is further configured to display each of the plant elements in a second display style after each of the virtual branches has completely faded away;

[0034] The control module is further used to control each of the plant elements to be in a suspended state to indicate that the plant element is in the second state.

[0035] In the above solution, the display module is further used to display the falling process of at least one plant element in the suspended state after each plant element is in the suspended state;

[0036] The control module is further used to control the plant element to explode when the plant element falls to the ground, and to control the attribute value of the target attribute of the target virtual object to decrease;

[0037] The target virtual object is a virtual object within the explosion range of the plant element.

[0038] In the above scheme, the display module is also used to display damage range indication information, and the damage range indication information is used to indicate the range of damage caused by the plant element in a suspended state after falling to the ground.

[0039] In the above solution, the display module is further used to display a target special effect at a target part of the virtual plant when the plant element is in the second state;

[0040] The target special effect is used to indicate that the target part is a weak part of the virtual plant.

[0041] In the above solution, the control module is further used to control the virtual plant to switch from the first stage to the second stage when the attribute value of the target attribute of the virtual plant decreases to the attribute value threshold;

[0042] The display module is further used to display a monster summoning special effect in the associated area of ​​the virtual plant when the virtual plant is in the second stage, wherein the monster summoning special effect is used to indicate that a target monster is being summoned;

[0043] During the process of displaying the monster summoning special effect, a plurality of summoned target monsters are displayed around the virtual plant.

[0044] In the above solution, in the first stage, the virtual plant has a first shape;

[0045] The control module is further used to control the virtual plant to switch from the first shape to a second shape, wherein the second shape is used to indicate that the virtual plant is in the second stage;

[0046] The response module is further configured to control the virtual object to perform an interactive operation on the virtual plant in response to an interactive instruction on the virtual plant when the virtual plant is in the second stage;

[0047] During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

[0048] In the above scheme, the first stage includes a first skill release stage and a second skill release stage;

[0049] The control module is further used to control the virtual plant to grow at least one plant element when the virtual plant is in the first skill release stage;

[0050] and, for launching at least two rounds of virtual ground spikes toward the virtual object when the virtual plant is in the second skill release stage;

[0051] The virtual ground spikes grow from the roots of the virtual plants, and the emission interval between two adjacent rounds of the virtual ground spikes is less than a duration threshold.

[0052] In the above solution, before launching at least two rounds of virtual ground spikes toward the virtual object, the display module is also used to display early warning prompt information, and the early warning prompt information is used to prompt to launch the virtual ground spikes when the second time period arrives.

[0053] In the above scheme, before launching at least two rounds of virtual spikes toward the virtual object, the display module is also used to display a target special effect on at least one target part of the virtual plant, and the target special effect is used to indicate that the target part is a weak part of the virtual plant.

[0054] In the above scheme, before the virtual plant grows at least one plant element, the display module is further used to display prop deployment prompt information, and the prop deployment prompt information is used to prompt the deployment of the target virtual prop;

[0055] The response module is further configured to play a deployment animation of the target virtual prop in response to a deployment instruction for the target virtual prop;

[0056] And, when the target virtual prop is deployed, the virtual plant is controlled to be in the first stage.

[0057] The present application also provides an interactive method in a virtual scene, the method comprising:

[0058] Displaying interactive virtual plants and virtual objects in a virtual scene;

[0059] In response to a deployment instruction for a target virtual prop, playing a deployment animation of the target virtual prop;

[0060] When the deployment animation indicates that the target virtual prop is deployed in the virtual scene, controlling the virtual plant to be in the first stage;

[0061] The virtual plant in the first stage can grow plant elements and interact with the virtual object through the plant elements.

[0062] The embodiment of the present application also provides an interactive device in a virtual scene, the device comprising:

[0063] A display module, used for displaying interactive virtual plants and virtual objects in a virtual scene;

[0064] A playing module, configured to play a deployment animation of a target virtual prop in response to a deployment instruction for the target virtual prop;

[0065] A control module, configured to control the virtual plant to be in the first stage when the deployment animation indicates that the target virtual prop has been deployed in the virtual scene;

[0066] The virtual plant in the first stage can grow plant elements and interact with the virtual object through the plant elements.

[0067] The present application also provides an electronic device, including:

[0068] A memory for storing executable instructions;

[0069] The processor is used to implement the interaction method in the virtual scene provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0070] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement an interactive method in a virtual scene provided by an embodiment of the present application.

[0071] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the interaction method in the virtual scene provided by the embodiment of the present application.

[0072] The embodiments of the present application have the following beneficial effects:

[0073] When the virtual plant is in the first stage, the virtual plant will grow at least one plant element in the first state. During the process of the plant element being in the first state, if the virtual object performs an interactive operation on the plant element, the attribute value of the target attribute of the virtual plant can be reduced. In this way, the virtual object and the virtual plant can interact through the plant elements grown by the virtual plant, enriching the interaction mode between the virtual object and the virtual plant, improving the efficiency of human-computer interaction, and also improving the utilization rate of hardware resources of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] Figure 1 is a schematic diagram of the architecture of an interactive system 100 in a virtual scene provided in an embodiment of the present application;

[0075] Figure 2 is a structural diagram of an electronic device 500 for implementing an interactive method in a virtual scene provided in an embodiment of the present application;

[0076] Figure 3 It is a flowchart of an interactive method in a virtual scene provided by an embodiment of the present application;

[0077] Figure 4It is a schematic diagram of an interface in which a nano-tree provided in an embodiment of the present application grows virtual fruits;

[0078] Figure 5 It is a schematic diagram of the fruit of the shooting nano-tree provided in the embodiment of the present application;

[0079] Figure 6 is a schematic diagram of an interface of a virtual fruit in a second state provided by an embodiment of the present application;

[0080] Figure 7 This is a schematic diagram of the explosion range of a virtual fruit provided in an embodiment of the present application;

[0081] Figure 8 is a schematic diagram showing the weak points of the nanotree provided in the embodiment of the present application;

[0082] Fig. 9 It is a schematic diagram of a nano-tree emitting virtual ground spikes provided in an embodiment of the present application;

[0083] Fig.10 It is a schematic diagram of displaying a position mark through a health bar provided in an embodiment of the present application;

[0084] Fig.11 It is a schematic diagram of displaying the early warning prompt information provided by the embodiment of the present application;

[0085] Fig.12 It is a flowchart of an interactive method in a virtual scene provided by an embodiment of the present application;

[0086] Fig.13 It is a schematic diagram of the skill configuration of the nano-tree provided in the embodiment of the present application;

[0087] Fig.14 It is a schematic diagram of the configuration of the virtual fruit generation point provided in the embodiment of the present application;

[0088] Fig.15 is a schematic diagram of the configuration of virtual branches of the nanotree provided in an embodiment of the present application;

[0089] Fig.16 It is a schematic diagram of the damage configuration of the virtual fruit provided in the embodiment of the present application;

[0090] Fig.17 It is a configuration diagram of the ground spike combo skill provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0092] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0093] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0094] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0095] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0096] 1) Shooting games, including first-person shooting games, third-person shooting games, and other games that use virtual hot weapons for long-range attacks, including but not limited to these.

[0097] 2) Third-person perspective: the in-game camera is positioned a certain distance behind the player character, and the character and all combat elements in the surrounding environment can be seen in the screen.

[0098] 3) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0099] 4) A virtual scene is a virtual scene displayed (or provided) when an application is running on a terminal. The virtual scene can be a simulation environment of the real world, a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene can be any one of a two-dimensional virtual scene, a 2.5-dimensional virtual scene, or a three-dimensional virtual scene. The embodiment of the present application does not limit the dimension of the virtual scene. For example, the virtual scene may include the sky, land, ocean, etc., and the land may include environmental elements such as deserts and cities. The user can control the virtual character to move in the virtual scene. In some embodiments, the virtual scene can be a game scene, such as a multiplayer online tactical competitive game (Multiplayer Online Battle Arena, MOBA), a shooting game, an auto chess game, etc.

[0100] The user can control the virtual object to perform activities in the game scene, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking, and throwing. The game scene can be displayed from a first-person perspective (for example, the user plays the role of a virtual object in the game from his own perspective); it can also be displayed from a third-person perspective (for example, the user chases the virtual object in the game to play the game); it can also be displayed from a bird's-eye view, and the above perspectives can be switched at will.

[0101] 5) Virtual objects, images of various people and objects that can interact in a virtual scene, or movable objects in a virtual scene. The movable objects can be virtual characters, virtual animals, cartoon characters, etc. The virtual object can be a virtual image in a virtual scene that represents a user. A virtual scene can include multiple virtual objects, each of which has its own shape and volume in the game scene and occupies a part of the space in the virtual scene.

[0102] For example, the virtual object may be a user character controlled by an operation on the client, an artificial intelligence (AI) trained to fight in a virtual scene, or a non-player character (NPC) set in a virtual scene interaction. The number of virtual objects participating in the interaction in the virtual scene may be preset or dynamically determined according to the number of clients joining the interaction.

[0103] 6) PVE: Player VS Environment, which is a game type in which players fight against NPC monsters and BOSS controlled by programs. In PVE games, players must constantly improve their abilities, equipment, and skills to challenge various difficulties and challenges in the game and ultimately achieve the goals set in the game.

[0104] 7) Virtual plants may be virtual monsters in a virtual scene, which have the form of plants. In some embodiments, players need to defeat the virtual plants before entering the next level. The virtual plants generally require players to spend a certain amount of time in an open world map or complete specific task conditions before they can be found.

[0105] 8) Virtual Ground Spikes, one of the skills of virtual plants, this skill will release a row of spikes from the roots of virtual plants to attack the player.

[0106] 9) Client, also known as the user end, refers to the program corresponding to the server that provides local services to users. Except for some applications that can only run locally, it is generally installed on an ordinary client and needs to cooperate with the server to run, that is, it requires corresponding servers and service programs in the network to provide corresponding services. In this way, specific communication connections need to be established on the client and server sides to ensure the normal operation of the application, such as the game client.

[0107] Based on the above explanations of the nouns and terms involved in the embodiments of the present application, in order to facilitate easier understanding of the interactive method in the virtual scene provided by the embodiments of the present application, the interactive system in the virtual scene provided by the embodiments of the present application is first described. Figure 1 , Figure 1It is a schematic diagram of the architecture of the interactive system 100 in the virtual scene provided by the embodiment of the present application. In order to support an exemplary application, the terminal 400 is connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two, and a wireless or wired link is used to realize data transmission. In practical applications, the computing power of the server 200 is used to complete the virtual scene calculation and output the virtual scene at the terminal 400. Taking the visual perception of the virtual scene as an example, the server 200 calculates the display data related to the virtual scene (such as scene data) and sends it to the terminal 400 through the network 300. The terminal 400 relies on the graphics computing hardware to complete the loading, parsing and rendering of the display data, and relies on the graphics output hardware to output the virtual scene to form a visual perception. For example, a two-dimensional video frame can be presented on the display screen of a smartphone, or a video frame that realizes a three-dimensional display effect can be projected on the lenses of augmented reality / virtual reality glasses; for the perception of the form of the virtual scene, it can be understood that the corresponding hardware output of the terminal device 400 can be used, such as using a microphone to form an auditory perception, using a vibrator to form a tactile perception, and so on. Specifically,

[0108] The terminal 400 is used to send a data acquisition request corresponding to a virtual scene of the virtual scene to the server 200;

[0109] The server 200 is used to return scene data corresponding to the virtual scene to the terminal 400 in response to the data acquisition request sent by the terminal;

[0110] The terminal 400 is further configured to display interactive virtual plants and virtual objects in the virtual scene when receiving scene data corresponding to the virtual scene returned by the server 200;

[0111] The terminal 400 is further used to control the virtual plant to grow at least one plant element when the virtual plant is in the first stage, and the plant element is in the first state;

[0112] and, for controlling the virtual object to perform an interactive operation on a target plant element in response to an interactive instruction on a target plant element among at least one plant element while the plant element is in the first state;

[0113] And, it is used to control the attribute value of the target attribute of the virtual plant to decrease during the execution of the interactive operation.

[0114] As an example, a client of a virtual scene is running on the terminal, such as an online game client (such as a shooting game client), which obtains scene data corresponding to the virtual scene by connecting to a game server (such as server 200), and based on the scene data, displays interactive virtual plants and virtual objects in the virtual scene; when the virtual plant is in the first stage, the virtual plant is controlled to grow at least one plant element, and the plant element is in a first state; when the plant element is in the first state, in response to an interactive instruction for a target plant element among at least one plant element, the virtual object is controlled to perform an interactive operation for the target plant element; during the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to decrease.

[0115] By applying the above-mentioned embodiments of the present application, virtual objects and virtual plants can interact through plant elements grown by virtual plants, thereby enriching the interaction mode between virtual objects and virtual plants, improving the efficiency of human-computer interaction, and also improving the utilization rate of hardware resources of electronic devices.

[0116] In some embodiments, the interactive method in the virtual scene provided by the embodiments of the present application can be implemented by various electronic devices or computer devices, for example, it can be implemented by a terminal alone, it can also be implemented by a server alone, or it can be implemented by a terminal and a server in collaboration. The embodiments of the present application can be applied to various scenarios, including but not limited to video playback, instant messaging, cloud technology, artificial intelligence, smart transportation, assisted driving, games, metaverse, etc.

[0117] In some embodiments, the embodiments of the present application can be implemented with the aid of cloud technology (Cloud Technology), which refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or a local area network to achieve data computing, storage, processing, and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model application, which can form a resource pool and be used on demand, flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources; for example, when the virtual scene is a game scene, the corresponding game is a cloud game, and the images of the virtual scene displayed by the terminal are all rendered by the server.

[0118] As an example, the electronic device for implementing the interactive method in the virtual scene provided in the embodiment of the present application can be various types of terminal devices or servers, wherein the server (e.g., server 200) can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms. The terminal (e.g., terminal 400) can be a smart phone, a tablet computer, a laptop computer, a desktop computer, an intelligent voice interaction device (e.g., an intelligent speaker), a smart home appliance (e.g., a smart TV), a smart watch, a vehicle-mounted terminal, a wearable device, a virtual reality (VR, Virtual Reality) device, etc., but is not limited thereto. The terminal and the server can be directly or indirectly connected by wired or wireless communication, and the embodiment of the present application does not limit this.

[0119] In some embodiments, the terminal or server can implement the interactive method in the virtual scene provided by the embodiment of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP, Application), that is, a program that needs to be installed in the operating system to run; it can also be a small program, that is, a program that can be run only by downloading it to a browser environment; it can also be a small program that can be embedded in any APP. In short, the above-mentioned computer program can be an application, module or plug-in in any form.

[0120] In some embodiments, multiple servers may form a blockchain, and the servers are nodes on the blockchain. Information connections may exist between each node in the blockchain, and information may be transmitted between nodes through the above information connections. Among them, data related to the interactive method in the virtual scene provided in the embodiment of the present application (such as the picture data of the virtual scene, the data of the virtual natural elements, etc.) may be stored on the blockchain.

[0121] The following describes an electronic device for implementing an interactive method in a virtual scene provided by an embodiment of the present application. Figure 2 , Figure 2 : is a schematic diagram of the structure of an electronic device 500 for implementing an interactive method in a virtual scene provided in an embodiment of the present application. The electronic device 500 provided in an embodiment of the present application includes:

[0122] At least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not used in the following examples. Figure 2 Various buses are labeled as bus system 540 .

[0123] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0124] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0125] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.

[0126] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.

[0127] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0128] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0129] A network communication module 552, used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, wireless compatibility certification (WiFi), and Universal Serial Bus (USB, Universal Serial Bus), etc.;

[0130] an information display module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with a user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);

[0131] The input processing module 554 is used to detect user input or interaction from one or more input devices 532 and translate the detected input or interaction.

[0132] In some embodiments, the interactive device in the virtual scene provided in the embodiments of the present application can be implemented in a software manner. Figure 2 An interactive device 555 in a virtual scene stored in a memory 550 is shown, which may be software in the form of a program or plug-in, including the following software modules: a display module 5551, a control module 5552, and a response module 5553. These modules are logical, and therefore may be arbitrarily combined or further split according to the functions implemented. The functions of each module will be described below.

[0133] In other embodiments, the interactive device 555 in the virtual scene provided by the embodiments of the present application can be implemented in hardware. As an example, the interactive device in the virtual scene provided by the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the interactive method in the virtual scene provided by the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.

[0134] Based on the above description of the interactive system and electronic device in the virtual scene of the embodiment of the present application, the interactive method in the virtual scene provided by the embodiment of the present application is described below. In some embodiments, the interactive method in the virtual scene provided by the embodiment of the present application can be implemented by the server or the terminal alone, or by the server and the terminal in collaboration. The following terminal implementation is used as an example to illustrate the interactive method in the virtual scene provided by the embodiment of the present application.

[0135] See also Figure 3 , Figure 3 : is a flow chart of an interactive method in a virtual scene provided in an embodiment of the present application. The interactive method in a virtual scene provided in an embodiment of the present application includes:

[0136] Step 101: The terminal displays interactive virtual plants and virtual objects in a virtual scene.

[0137] In actual applications, a client supporting virtual scenes (such as a game client) is installed on the terminal, and a client with integrated virtual scene functions (such as an instant messaging client, a live broadcast client, an education client, etc.) can also be installed on the terminal. When a user opens the client on the terminal and the terminal runs the client, the user can interact with virtual characters based on the screen of the virtual scene displayed by the client; for example, when the client is a game client, the user can interact with game characters (virtual characters) in the game scene (such as conducting a virtual battle) based on the game screen displayed by the game client.

[0138] In some embodiments, the virtual scene may be a shooting game scene, the virtual object may be a virtual object controlled by a player (user) through a client, and the picture of the virtual scene displayed by the terminal may be a picture displayed from a third-person perspective or a first-person perspective; virtual plants are objects with which virtual objects can interact in the virtual scene, and the virtual objects may be regarded as virtual monsters, such as NPCs in the virtual scene, and the virtual plants are non-player characters. Exemplarily, the virtual plants may be nanocrystallized organisms, specifically, nanocrystallized trees or nanoisomers, hereinafter referred to as nanotrees, which are virtual monsters similar in shape to large trees. In actual applications, the nanocrystallized organisms may also be virtual plants such as virtual vines that can grow fruit.

[0139] In actual applications, virtual objects can interact with the above-mentioned virtual plants through shooting props. For example, virtual objects can use their own shooting props to attack virtual plants, and virtual plants can counterattack virtual objects by summoning monsters or launching virtual ground spikes.

[0140] In some embodiments, a virtual plant may have multiple life stages, for example, the life stages of a virtual plant include a first stage, a second stage, and a third stage; a virtual plant has different performances in different life stages, wherein when the virtual plant is in the third stage, the virtual plant will not actively release skills to a virtual object, but will summon a virtual monster to attack the virtual object only when the virtual object enters the sensing area of ​​the virtual plant; when the virtual plant is in the first stage, the virtual plant will actively release skills to the virtual object to attack the virtual object; when the virtual plant is in the second stage, it will deform itself, and at the same time, the attribute value of the target attribute will not be affected by the attack of the virtual object, that is, in this stage, when the virtual object attacks the virtual plant, the above attribute value will not decrease.

[0141] Here, when the virtual plant is a nano-tree, in practical applications, the first stage may be an active stage, the second stage may be an escape stage, and the third stage may be a suppression stage.

[0142] Step 102: When the virtual plant is in the first stage, the virtual plant is controlled to grow at least one plant element, and the plant element is in a first state.

[0143] In some embodiments, before the virtual plant is in the first stage, the virtual plant is in the third stage. When the virtual plant is activated during the process of being in the third stage, the virtual plant switches from the third stage to the first stage.

[0144] Here, the situation of the virtual plant in the third stage is explained. When the virtual plant is in the third stage, the virtual plant has a sensing area, which can be: a circular area with the virtual plant as the center and the target length as the radius, and the target length can be set according to actual needs, such as 50m; in actual application, the virtual plant detects virtual objects through radar, and when the virtual object enters the sensing area based on the radar scan, the virtual plant performs virtual monster summoning, summoning a wave (at least one) of virtual monsters in the sensing area, so that the summoned virtual monsters attack the virtual objects, and after the virtual monsters are summoned, the terminal displays a clear prompt information, and the clear prompt information is used to prompt the player to clear the virtual monsters in the sensing area by controlling the virtual objects.

[0145] In actual application, when the player controls the virtual object to clear the virtual monster in the sensing area, the terminal displays the prop deployment prompt information, which is used to prompt the deployment of the target virtual prop (such as a drone); in response to the deployment instruction for the target virtual prop, the deployment animation of the target virtual prop is played; when the deployment of the target virtual prop is completed, the control virtual plant is in the first stage. That is, by completing the deployment of the target virtual prop, the virtual plant can be activated and enter the active state.

[0146] In some embodiments, when the virtual plant is in the third stage, the player can activate the virtual plant by actively deploying the target virtual props to switch it to the first stage. Specifically, the terminal responds to the deployment instruction for the target virtual props and plays the deployment animation of the target virtual props; when the deployment animation indicates that the target virtual props are deployed in the virtual scene, the virtual plant is controlled to be in the first stage.

[0147] Here, in actual application, the target virtual props may be drones, which can be used to scan the status of virtual plants in the virtual scene, so that the player object can fully obtain the status and situation of the virtual plants and attack. The terminal responds to the deployment instruction for the target virtual props and deploys (generates) a target number (which can be set according to actual conditions) of target virtual props in the virtual scene.

[0148] The deployment of the target virtual props is described. In actual applications, the terminal can realize the deployment of the target virtual props in the following manner: the terminal displays the above prop deployment prompt information through the deployment control, and when the player performs a trigger operation (such as a click operation, a long press operation, etc.) on the deployment control, the terminal receives the deployment instruction for the target virtual props.

[0149] In some embodiments, the virtual object controlled by the current player object belongs to a target team, which includes at least two virtual objects, that is, multiple player objects form the target team by controlling their corresponding virtual objects. When the terminal plays the deployment animation of the target virtual prop, the deployment progress information of the target virtual prop is displayed on the terminal of each player object in the target team. The deployment progress information is used to prompt the deployment progress of the target virtual prop.

[0150] In actual applications, the deployment progress information can be displayed through a deployment progress bar; the number of players in the target team who deploy the target virtual props is positively correlated with the deployment speed of the target virtual props, that is, compared to only the current player object deploying the target virtual props, when there are two or more player objects in the target team deploying the target virtual props, the deployment speed of the target virtual props will be accelerated.

[0151] In some embodiments, after the terminal displays the prop deployment prompt information, or when the terminal plays the deployment animation of the target virtual prop, if other virtual monsters other than the virtual monsters summoned by the virtual plants enter the sensing area, the terminal will again display the clearing prompt information to clear the virtual monsters in the sensing area.

[0152] In some embodiments, when the virtual plant is in the first stage, the terminal can control the virtual plant to grow at least one plant element in the following manner: the terminal controls the virtual plant to grow at least one virtual branch, and grows at least one plant element on each virtual branch; wherein the plant element includes at least one of the following: virtual fruit, virtual flower and virtual leaf.

[0153] Exemplarily, the virtual plant is a nano tree. When the nano tree is in the first stage, the terminal displays a process in which multiple virtual branches grow from the trunk of the nano tree and the virtual branches slowly extend. When the length of the virtual branches reaches a certain length (virtual branches in different positions can have different lengths), one or more virtual fruits grow on each virtual branch. Here, the growth position of the virtual fruit is matched to the shape of the virtual branch. For example, the virtual fruit can grow on the main branch and each branch of the virtual branch. Of course, the growth point of the virtual fruit can also be set in advance.

[0154] In some embodiments, when the virtual plant is in the first stage, the number of plant elements grown by the virtual plant can be a fixed value, such as 15. In practical applications, the number of plant elements grown by the virtual plant can also be positively correlated with the overall strength of the target team to which the current virtual object belongs. The overall strength of the target team can be determined by: obtaining the level of each virtual object in the target team, and determining the overall strength of the target team (such as the rating level) based on the level of each virtual object; or obtaining the score (points) of each virtual object in the target team, and determining the overall strength of the target team (such as the average score) based on the score of each virtual object. After determining the overall strength of the target team, the number of plant elements that the virtual plant needs to grow can be determined based on the mapping relationship between the overall strength and the number of plant elements.

[0155] Take the virtual plant as a nano-tree and the plant element as a virtual fruit as an example, see Figure 4 , Figure 4 is a schematic diagram of an interface in which a nano-tree provided in an embodiment of the present application grows virtual fruits. Figure 4 In (1), the nanotree is in the third stage. When the nanotree is activated, it enters the first stage. Figure 4 As shown in (2), the trunk of the nano-tree grows multiple virtual branches (as shown in 41), and one or more virtual fruits (as shown in 42) grow on each virtual branch.

[0156] In some embodiments, the plant elements that have just grown out of the virtual plant are in a first state, which may be a weakness manifestation state. Specifically, after the terminal controls the virtual plant to grow out at least one plant element, a first display style is used to display each plant element; wherein the first display style is used to indicate that the corresponding plant element is in the first state.

[0157] Here, in actual application, the first display style may be a color style, and adopting the first display style may be adopting a target color, such as yellow.

[0158] Step 103: When the plant element is in the first state, in response to an interaction instruction for a target plant element among at least one plant element, control the virtual object to perform an interaction operation for the target plant element.

[0159] Step 104: During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to decrease.

[0160] In some embodiments, the above-mentioned interactive instructions can be used to instruct the virtual object to attack the target plant element, such as shooting with a shooting prop; when the plant elements of the virtual plant are in the first state, if the player controls the virtual object to attack the plant element of the virtual plant, the virtual plant will be damaged; for example, when the above-mentioned interactive instruction is a shooting instruction, the terminal displays the process of the virtual object using the shooting prop to shoot the target plant element, and when the shooting is completed or the shooting is successful (that is, the target plant element is hit), the attribute value of the target attribute of the virtual plant decreases; here, the target attribute can be the life attribute of the virtual plant, and accordingly, the attribute value is the life value of the virtual plant; of course, the target attribute is not limited to the life attribute, such as it can also be an energy attribute, and the corresponding attribute value is the energy value of the virtual plant.

[0161] In some embodiments, the terminal can display the attribute value of the virtual plant, and after the virtual object performs an interactive operation on the target plant element, the process of breaking the target plant element is displayed, and the process of reducing the attribute value of the virtual plant is displayed; wherein the target plant element corresponds to the attribute value of the target size. In practical applications, after the virtual plant grows a plant element, the terminal can display the attribute value of the virtual plant (such as displaying the life value of the virtual plant). In practical applications, the attribute value can be displayed in at least one of the following ways: graphic mode, text mode, audio mode, etc.; when the virtual object performs an interactive operation on the plant element, such as performing an attack operation on the plant element, when the attack operation is successful or completed, the attacked plant element will be broken, and the attribute value of the virtual plant will be reduced, and the size of the reduced attribute value depends on the number of attacked plant elements, such as, when the number of attacked plant elements is one, the size of the reduced attribute value is the target size, and when the number of attacked plant elements is two, the size of the reduced attribute value is the target size multiplied by two. In this way, by controlling the virtual object to perform interactive operations (such as attack operations) on the plant elements grown by the virtual plant, damage to the virtual plant is achieved, the attribute value of the target attribute of the virtual plant is reduced, the interaction method between the virtual object and the virtual plant is enriched, and the player's interactive experience is improved while also improving the utilization rate of the hardware processing resources and hardware display resources of the electronic device.

[0162] For example, the virtual plant is a nano-tree, the plant element is a virtual fruit, and the attribute value of the target attribute is the life value of the nano-tree, which can be represented by the blood volume of the nano-tree. For example, the interactive operation is a shooting operation, see Figure 5 , Figure 5 It is a schematic diagram of shooting the fruit of the nano tree provided in an embodiment of the present application. The terminal displays a blood volume indicator bar 51 of the nano tree, which is used to indicate the blood volume of the nano tree. When the player controls the virtual object to perform a shooting operation on the virtual fruit 52, the terminal displays the process of the virtual fruit being crushed, and displays the process of the blood volume decreasing in the blood volume indicator bar of the nano tree.

[0163] In some embodiments, the plant element has more than one state. When the state switching condition of the plant element is met, the terminal controls the state of the plant element to switch from the first state to the second state. When the plant element is in the second state, in response to the interactive instruction for the target plant element among at least one plant element, the terminal controls the virtual object to perform the interactive operation for the target plant element. During the interactive operation, the attribute value of the target attribute of the virtual plant remains unchanged. That is, when the plant element is switched to the second state, the virtual object also performs the interactive operation (such as the attack operation) for the plant element. The interactive operation is an invalid operation relative to the virtual plant and does not change the attribute value of the target attribute of the virtual plant. In this way, since the plant element can exist in two states, and only when the plant element is in the first state, executing the attack operation against the plant element can reduce the attribute value of the virtual plant. When the plant element is in the second state, executing the attack operation against the plant element will not reduce the attribute value of the virtual plant. On the one hand, it can make the player cherish the period when the plant element is in the first state and strengthen the interaction with the virtual plant. On the other hand, the existence of the second state prevents the attribute value of the target attribute of the virtual plant from being reduced to zero within a period of time, thereby extending the interaction time between the virtual object and the virtual plant.

[0164] In actual applications, the state switching condition of the plant element may be that the time when the plant element is in the first state reaches a first time length (which can be set according to actual needs, such as 2 minutes), that is, after the virtual plant grows a plant element in the first state, when the time length of the plant element reaches the first time length, it is determined that the state switching condition of the plant element is met; for example, when the nano tree grows a virtual fruit in a weakness manifestation state (i.e., the first state), after the first time length, it is determined that the state switching condition is met, and the virtual fruit is controlled to become a mature state (i.e., the second state).

[0165] In actual applications, the state switching condition of the plant element may also be that the attribute value of the target attribute of the virtual plant is reduced to a first attribute value. That is, when the virtual object performs an interactive operation (such as an attack operation) on the plant element, causing the attribute value of the virtual plant to be reduced to the first attribute value, it is determined that the state switching condition of the plant element is met. In this way, the virtual plant can be protected and the interaction time between the virtual object and the virtual plant is extended.

[0166] In some embodiments, when the state switching condition is that the duration of the plant element in the first state reaches the first duration, the terminal can also display the progress indication information corresponding to the first duration, and the progress indication information is used to indicate the remaining duration of the plant element switching from the first state to the second state. In this way, the player can clearly understand the remaining time for effective interaction with the plant element, and improve the player's control over the interaction progress and interaction experience. In practical applications, the above progress indication information can be displayed through a progress bar; for example, after the nano tree grows a virtual fruit, when the virtual fruit is in a state of weakness, the terminal can display the maturity progress of the fruit through a progress bar, that is, the remaining time for the fruit to mature from the first duration, so that the player can clearly understand the maturity progress of the fruit.

[0167] In some embodiments, the plant elements of the virtual plant grow on virtual branches of the virtual plant. For example, if the plant elements are virtual flowers or virtual fruits, the terminal can control the state of the plant elements to switch from a first state to a second state in the following manner: the terminal displays the process of the virtual branches on which the plant elements grow disappearing; when the virtual branches disappear, the second display style is used to display the plant elements, and the plant elements are controlled to be in a suspended state to indicate that the plant elements are in the second state.

[0168] Here, in actual application, the second display style may be a color style, and using the second display style may be using a color different from the target color, such as red; the second display style may also be an effect style, such as a flashing effect, a highlight effect, and the like.

[0169] For example, when the plant element is a virtual fruit, see Figure 6 , Figure 6 This is an interface schematic diagram of the virtual fruit in the second state provided by an embodiment of the present application. When the state switching condition of the virtual fruit is met, the virtual branches on which the virtual fruit grows are controlled to fade away, that is, gradually disappear. When each virtual branch has completed fading, a flashing display style (as shown in 61 in the figure) is used to display each virtual fruit, and each virtual fruit is controlled to be in a suspended state (as shown in 61 in the figure) to indicate that the virtual fruit is in the second state.

[0170] In some embodiments, after each plant element is in a suspended state, the plant element will fall, thereby causing damage to the virtual object on the ground. Specifically, the terminal displays the falling process of at least one plant element in a suspended state; when the plant element falls to the ground, the plant element is controlled to explode, and the attribute value of the target attribute of the target virtual object is controlled to decrease; wherein, the target virtual object is a virtual object within the explosion range of the plant element.

[0171] Here, in actual application, after each plant element is suspended in the air, after a certain period of time, each plant element will fall down. Different plant elements have different heights, which makes the falling time of each plant element different. When the plant element falls to the ground, it explodes. If the virtual object controlled by the current player is in the explosion range at this time, the attribute value of the target attribute of the virtual object will decrease. In this way, the virtual plant can counterattack the virtual object, enrich the attack methods of the virtual plant, and improve the interactive experience of the player.

[0172] In some embodiments, since each plant element will explode when it falls to the ground after being suspended in the air, the terminal can further display the damage range indication information of each plant element, which is used to indicate the range of damage caused by the plant element in the suspended state after falling to the ground. In other words, before each plant element falls, the explosion range of each plant element will be prompted to remind the player which places are safe and which places are dangerous. The player needs to hide in a safe place at this time to avoid being hurt by the explosion.

[0173] For example, Figure 7 is a schematic diagram of the explosion range of the virtual fruit provided in the embodiment of the present application, see Figure 7 When the fruit of the nano tree is in a mature state (second state), it starts to flash and hang in the air. Before the fruit falls, the explosion range corresponding to the fruit is displayed on the ground (as shown in 71). The explosion range is the range of influence caused by the explosion of the corresponding fruit after it falls to the ground. When the fruit falls to the ground and explodes, the attribute value (such as health value) of the target attribute of the virtual object within the explosion range of the fruit will decrease. By prompting the player with the explosion range, the player can promptly know the dangerous area generated by each fruit of the nano tree after it falls, and then move to a safe area.

[0174] Because when the plant element is in the second state, when the virtual object performs an interactive operation on the plant element, the attribute value of the virtual plant will not be reduced, and the attribute value of the virtual plant remains unchanged. Therefore, in some embodiments, the weaknesses of the virtual plant can be exposed to the player so that the player can know the parts that can be attacked on the virtual plant. Specifically, when the plant element is in the second state, the terminal displays a target special effect on the target part of the virtual plant, and the target special effect is used to indicate that the target part is a weak part of the virtual plant.

[0175] For example, Figure 8 is a schematic diagram showing the weak points of the nanotree provided in the embodiment of the present application. Figure 8In the figure, part 81 of the nano tree corresponds to the weak part of the nano tree. In actual application, a special effect is displayed at the weak part (as shown in 81) to remind the player that the part of the nano tree is a weak part. Furthermore, when attacking the fruit of the nano tree is ineffective, the health value of the nano tree can be reduced by attacking the weak part of the nano tree.

[0176] In actual applications, virtual plants have multiple skills, different skills correspond to different ways of interacting with virtual objects, and each skill corresponds to a skill release stage. In some embodiments, virtual plants have a first skill and a second skill. Accordingly, the first stage of the virtual plant includes a first skill release stage and a second skill release stage, wherein the first skill release stage may be a stage in which the virtual plant grows virtual fruits and interacts with virtual objects through the virtual fruits, that is, when the virtual plant is in the first skill release stage, the terminal controls the virtual plant to grow at least one plant element; and when the virtual plant is in the second skill release stage, at least two rounds of virtual ground thorns are emitted toward the virtual object; wherein the virtual ground thorns grow from the roots of the virtual plant, and the emission interval between two adjacent rounds of virtual ground thorns is less than or equal to the duration threshold.

[0177] Here, the virtual ground spikes may be virtual spikes that are drilled out of the ground by the roots of virtual plants. After being pricked by the virtual ground spikes, the attribute values ​​(such as health points) of the corresponding virtual objects will be reduced. The above-mentioned duration threshold may be set specifically according to actual needs. In practical applications, the size of the duration threshold may refer to the time taken by the virtual object to avoid the virtual ground spikes by performing a rolling operation. For example, if the team to which the virtual object corresponding to the current player belongs takes an average of 3 seconds to perform a rolling operation to avoid the virtual ground spikes, the interval between two adjacent rounds of virtual ground spikes may be set to 3 seconds. In this way, by continuously launching virtual ground spikes, the possibility of injury to the virtual object is increased, allowing the player to remain vigilant at all times.

[0178] Exemplarily, the nano-tree may have multiple skills, such as ground spike skills (i.e., only one round of ground spikes can be fired), ground spike combo skills (continuous firing of multiple rounds of ground spikes), and virtual fruit skills, wherein the release phase of the virtual fruit skill may correspond to the first skill release phase, and the release phase of the ground spike combo skill may correspond to the second skill release phase. Fig. 9 is a schematic diagram of a nano-tree emitting virtual ground spikes provided in an embodiment of the present application, see Fig. 9 When the Nano Tree releases the Ground Spike Combo skill, it will continuously release multiple rounds (e.g., three rounds) of virtual ground spikes towards the virtual object within a short period of time. Fig. 9 As shown in FIG91 , the virtual ground spike first grows (emits) from the junction of the nano-tree trunk and the ground, and gradually emits toward the virtual object, as shown in FIG91 . Fig. 9 It gradually grows in the direction indicated by the middle arrow.

[0179] In some embodiments, the terminal may further display a position mark of the virtual plant in the virtual scene so that the player can understand the specific position of the virtual plant. In practical applications, when the life value of the virtual plant is displayed in a graphical manner, the position mark may be included in the graphic indicating the life value. Fig.10 For a schematic diagram of displaying a position mark through a health bar provided in an embodiment of the present application, see Fig.10 A position mark 112 of the nano tree is displayed on the health bar 111 of the nano tree. The position mark 112 is used to indicate that the distance between the nano tree and the current virtual object is 18 meters. In this way, the player can clearly know the distance between the nano tree and himself.

[0180] In some embodiments, before launching at least two rounds of virtual spikes toward the virtual object, the player may be prompted. Specifically, the terminal displays a warning prompt message, which is used to prompt the player to launch the virtual spikes when the second time period arrives. In practical applications, the warning prompt message may be displayed in at least one of the following ways: text, audio, animation, and special effects. For example, Fig.11 For a display diagram of the warning prompt information provided in the embodiment of the present application, see Fig.11 Before the nano tree launches the virtual ground spikes, it uses special effect 113 to remind the player that the nano tree is about to launch the virtual ground spikes, so that the player can prepare in advance.

[0181] In some embodiments, before the virtual plant launches the virtual spikes, the weak parts of the virtual plant can also be displayed, such as the terminal displays a target special effect on at least one target part of the virtual plant, and the target special effect is used to indicate that the target part is the weak part of the virtual plant.

[0182] In actual applications, when the virtual plant is in the first stage, the target virtual props deployed by the player will continuously scan the virtual plant, so that the player can grasp the status of the virtual plant in real time.

[0183] In some embodiments, when the virtual plant is in the first stage, if the virtual object interacts with the virtual plant so that the attribute value of the target attribute of the virtual plant is reduced to an attribute value threshold, or the reduction amount of the attribute value of the virtual plant reaches a reduction amount threshold, the virtual plant is controlled to switch from the first stage to the second stage; when the virtual plant is in the second stage, a monster summoning special effect is displayed in an associated area of ​​the virtual plant, and the monster summoning special effect is used to indicate that a target monster is being summoned; when displaying the monster summoning special effect, multiple summoned target monsters are displayed around the virtual plant.

[0184] Exemplarily, when the nano tree is in the second stage, the nano tree releases a monster summoning effect, and multiple target monsters are summoned around the nano tree, such as a nano stone pillar monster. The nano stone pillar monster has specific attack skills, and the attack on the virtual object is achieved through multiple nano stone pillar monsters.

[0185] In actual applications, when the virtual plant is in the second stage, the deployed target virtual prop (such as a drone) disappears, that is, the terminal cancels displaying the target virtual prop (such as a drone).

[0186] In some embodiments, in the first stage, the virtual plant has a first shape. When the virtual plant is in the second stage, the virtual plant is controlled to switch from the first shape to the second shape, and the second shape is used to indicate that the virtual plant is in the second stage. When the virtual plant is in the second stage, in response to an interactive instruction for the virtual plant, the virtual object is controlled to perform an interactive operation on the virtual plant. During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

[0187] Exemplarily, the virtual plant is a nanotree. When the nanotree is in the first stage, the shape of the nanotree is a tree (i.e., the first shape). When the nanotree switches from the first stage to the second stage, the shape of the nanotree switches from a tree to a puddle of mud collapsed to the ground (the second shape). After the shape of the nanotree is switched, it is in an invincible state, that is, when the virtual object performs an attack operation on the nanotree in the second shape, it will not cause damage to the nanotree, that is, the health of the nanotree will not decrease.

[0188] In some embodiments, when the virtual plant is in the second stage, if the virtual object is in the sensing area of ​​the virtual plant and there is no virtual monster in the sensing area, the virtual plant will switch back to the first stage after a certain period of time (such as 1 minute); in the first stage, the virtual plant is again in an attackable state, and when the virtual plant is attacked and the switching condition (such as the reduction in the attribute value of the virtual plant reaches a reduction threshold) is met, it switches to the escape state again, and when the attribute value of the virtual plant is reduced to zero or reduced to the target attribute value, it explodes itself.

[0189] Exemplarily, when the nano tree is in the second stage, if the virtual object is in the induction circle of the nano tree (i.e., a circle with a certain length, such as 50 meters as a radius, centered on the nano tree), and there is no virtual monster in the induction circle, after a certain period of time (such as 1 minute), the nano tree will switch back to the first stage. In the first stage, due to the attack of the virtual object, when the health value of the nano tree is reduced to zero or reduced to the target health value, it will explode.

[0190] In actual application, when the virtual plant is in the second stage, if no virtual object is in the sensing area of ​​the virtual plant, no virtual monster exists in the sensing area, and the number of times the virtual plant summons the target monster has not reached the upper limit, then after the target monster is summoned through the monster summoning special effect instruction, multiple summoned target monsters are summoned again. For example, when the nano tree is in the second stage, if no virtual object is in the sensing circle of the nano tree, no virtual monster exists in the sensing circle, and the number of times the nano tree summons the nano stone pillar monster has not reached the upper limit, the nano stone pillar monster is summoned again.

[0191] In some embodiments, in addition to the first skill and the second skill, the virtual plant may also have a third skill (such as ground spike attack). In the first stage of the virtual plant, the skill released by the virtual plant each time can be randomly selected, but the weights of the first skill, the second skill and the third skill can be set in advance. For example, if the weight of the first skill is set to 0.6, then in the first stage of the virtual plant, the possibility of the virtual plant releasing the first skill is 0.6.

[0192] By using the above-mentioned embodiment of the present application, when the virtual plant is in the first stage, the virtual plant will grow at least one plant element in the first state, and when the plant element is in the first state, if the virtual object performs an interactive operation on the plant element, the attribute value of the target attribute of the virtual plant can be reduced. In this way, the virtual object and the virtual plant can interact through the plant elements grown by the virtual plant, enriching the interaction mode between the virtual object and the virtual plant, improving the efficiency of human-computer interaction, and also improving the utilization rate of the hardware resources of the electronic device.

[0193] The following will take the virtual plant being a nano-tree and the plant element being a virtual fruit as an example to illustrate an exemplary application of the embodiment of the present application in an actual application scenario. Fig.12 A flow chart of the interactive method in a virtual scene provided in the embodiment of the present application is shown in FIG. Fig.12 , the interaction methods in the virtual scene include:

[0194] Step 201: The radar prompts that a target has been found.

[0195] Here, the nano-tree detects virtual objects (targets) through radar. The nano-tree has an induction circle (i.e., a sensing area), which can be a circle with a certain length, such as 50 meters, as the radius, with the nano-tree as the center.

[0196] Step 202: A wave of monsters spawns.

[0197] Here, when a virtual object enters the induction circle based on radar scanning, the Nano Tree performs a virtual monster summoning to swipe out (summon) a wave (a certain number, such as 10) of virtual monsters in the induction circle.

[0198] Step 203: A prompt UI appears to prompt the player to clear the monsters.

[0199] When the nano tree spawns a virtual monster in the induction circle, the terminal displays a clearing prompt message (i.e., a prompt UI) to prompt the player to clear the virtual monster in the induction circle.

[0200] Step 204: A prompt UI appears to prompt the player to deploy a drone for scanning.

[0201] When the virtual monsters in the induction circle are cleared, that is, when the player controls the virtual object to kill all the virtual monsters in the induction circle, the terminal displays the prop deployment prompt information (prompt UI) to prompt the player to deploy the drone (that is, the target virtual prop) for scanning. During this process, when other monsters in the game scene (that is, monsters not summoned by the nano tree) enter the induction circle, the clear prompt information is displayed again to prompt the player to clear the monsters.

[0202] Step 205: The interacting player plays the drone deployment animation, and all players' screens play the deployment progress bar UI.

[0203] In actual applications, players belong to a team that includes two or more members. When a player in the team (such as the current player) triggers a drone deployment command, the player's terminal plays a drone deployment animation to indicate that the drone is being deployed. At the same time, the terminals of other members of the team display a drone deployment progress bar to prompt the player of the drone's deployment progress.

[0204] Here, the deployment command of the drone can be triggered in a variety of ways, such as through a voice command, or by triggering a deployment control (such as clicking, long pressing, etc.) to trigger the deployment command of the drone.

[0205] Step 206: When the drone deployment is completed, the nanotree enters the active phase.

[0206] Here, the active stage corresponds to the first stage mentioned above. When the player completes the deployment of the drone, the nano tree is activated to enter the active stage. The nano tree can have the following three skills: nano fruit skill (first skill), ground spike combo skill (second skill) and ground spike attack skill (third skill). When the nano tree is in the active stage, it will randomly release one or more of the above three skills, that is, the nano tree can release multiple skills, but each release is a random selection of skills. The weights of the above three skills can be set in advance. For example, if the weight of the nano fruit skill is set to 0.6, then in the active stage of the nano tree, the probability of the nano tree releasing the nano fruit skill is 0.6. In the game scene, there can be multiple nano trees, and each nano tree can have at least one of the above three skills.

[0207] Among them, when the nano tree releases the nano fruit skill, multiple virtual branches grow from the trunk of the nano tree, and the virtual branches slowly extend. When the length of the virtual branches reaches a certain length (the virtual branches in different positions can have different lengths), one or more virtual fruits grow on each virtual branch. The virtual fruit just grown by the nano tree is in a weak state. In this state, when the player controls the virtual object to perform an attack operation on the virtual fruit (such as a shooting operation), the attacked virtual fruit will be broken, and the health value (blood volume) of the nano tree will be reduced. This opportunity is an excellent window period for the player's output. You can seize the opportunity to break the fruit and let the nano tree be damaged, but once the window period is missed, the player will face the threat of bombs transformed from these fruits. After the virtual fruit is in the weak point display state for a period of time, the virtual fruit is in a mature state, the virtual branches fade away, and the virtual fruit is in a suspended state. At this time, the virtual fruit will no longer affect the health of the nano tree when it is attacked, that is, the player attacks the virtual fruit, and the health of the nano tree will not decrease. At the same time, the virtual fruit changes from the weak point display state to the flashing explosion state. When it falls and touches a static object, it will cause explosion damage. The virtual fruit will project an explosion range directly below the fall, prompting the player which places are safe and which places are dangerous. The player needs to hide in a safe place at this time to avoid being hurt by the explosion. During the period when the nano tree releases the virtual fruit skill, only the fruit part of the nano tree is a weakness that can be attacked.

[0208] Before the Nano Tree releases the Ground Spike combo skill, the roots of the Nano Tree will send out a ground warning prompt that it is preparing to release the Ground Spikes and expose the weakness of the roots. After several seconds, the Nano Tree releases the Ground Spike combo skill. The Ground Spikes are launched from the roots towards the player. After the first round of Ground Spikes is launched, there is time for the player to roll over, and then the second round is immediately launched to surprise the player. This combo attack can last three times and will always put pressure on the same player, that is, three Ground Spike attacks can be performed on the same player, requiring the player to stay vigilant at all times.

[0209] Fig.13 This is a schematic diagram of the skill configuration of the nanotree provided in the embodiment of the present application, see Fig.13 ,exist Fig.13 In 131, numbers 0, 1 and 2 respectively correspond to a skill, wherein the skill corresponding to number 0 is the ground spike attack skill, the skill corresponding to number 1 is the ground spike combo skill, and the skill corresponding to number 3 is the nano fruit skill.

[0210] Fig.14 This is a schematic diagram of the configuration of the virtual fruit generation point provided in the embodiment of the present application, see Fig.14 ,exist Fig.14 In the figure, 141 is the root point of the nano-tree, and a root point includes multiple virtual fruit generation points, such as Fig.14The middle root point 141 includes a plurality of virtual fruit generation points 142 . When the position of the root point 141 changes, the corresponding plurality of virtual fruit generation points 142 also change.

[0211] Fig.15 is a schematic diagram of the configuration of the virtual branches of the nanotree provided in the embodiment of the present application, see Fig.15 Based on the configuration interface of the virtual branches of the nano-tree, the number, shape and size of the virtual branches can be set respectively. In actual applications, the distribution position of the virtual fruits can match the shape of the branches (virtual branches) of the nano-tree. For example, after the virtual branches of the nano-tree are assembled, the virtual fruits can grow at various joints of the virtual branches.

[0212] In practical applications, the virtual fruit of the nano-tree can be an independent blueprint, and the damage caused by the virtual fruit to the virtual object can be configured independently of the nano-tree itself. Fig.16 is a schematic diagram of the damage configuration of the virtual fruit provided in the embodiment of the present application, such as Fig.16 As shown, the damage configuration of the virtual fruit can be achieved by configuring the explosion damage parameter 162 corresponding to the virtual fruit 161.

[0213] In actual application, the Nano Tree's ground spike combo skill can be configured. Fig.17 : is a schematic diagram of the configuration of the ground spike combo skill provided in the embodiment of the present application, such as Fig.17 As shown, by configuring parameter 171, the number of rounds of virtual ground spikes launched when releasing the ground spike combo skill on the nano tree can be 3 times as shown in 171.

[0214] Step 207: When the reduction in the health value of the nano tree reaches the reduction threshold, it enters the escape phase.

[0215] Here, the escape stage corresponds to the second stage mentioned above. In actual application, when the nano tree is in the active stage, if the fruit is attacked in a weak state, the health value will be reduced. At the same time, the nano tree itself has weaknesses. For example, if there are 3 weaknesses, each weakness will be broken, and the corresponding health value will be reduced. For example, the health value will be reduced by 33% for each weakness broken. When the health value of the nano tree is reduced to the reduction threshold, such as the reduction threshold is 33%, and the health value of the nano tree is reduced by 35%, the nano tree enters the escape stage.

[0216] When the Nanotree is in the escape phase, it deforms and collapses from a tree shape to the ground, becoming invincible. That is, any attack from the player will not reduce the health of the Nanotree at this time, and the drone disappears. At this time, the Nanotree releases the summoning monster special effect and summons a wave of monsters including Nanostone Pillar Monsters around it.

[0217] When the Nano Tree is in the escape stage, when a player (virtual object) is in the induction circle of the Nano Tree and there are no monsters in the induction circle, the Nano Tree will switch from the escape stage to the active stage, and then release skills in the active stage to interact with the virtual object. If the health of the Nano Tree is reduced to zero through the attack of the virtual object, the Nano Tree will explode, and the player will succeed in the interaction, and the task is completed.

[0218] When the Nano Tree is in the escape phase, when there is no player (virtual object) in the Nano Tree's induction circle, there are no monsters in the induction circle, and the Nano Tree has not reached the upper limit of the number of times it summons virtual monsters (such as 3 times), the Nano Tree will re-release the monster summoning special effect and summon another wave of monsters including the Nano Pillar Monster around it.

[0219] By using the embodiment of the present application, when the nano tree is in an active stage, the nano tree will grow at least one virtual fruit in a weakness expression state, and when the virtual fruit is in a weakness expression state, if the virtual object performs an interactive operation on the virtual fruit, the life value of the nano tree can be reduced. In this way, the virtual object and the nano tree can interact through the virtual fruit grown by the nano tree, enriching the interaction mode between the virtual object and the nano tree, improving the efficiency of human-computer interaction, and also improving the utilization rate of the hardware resources of the electronic device.

[0220] The following continues to describe an exemplary structure of the interactive device 555 in the virtual scene provided by the embodiment of the present application implemented as a software module. In some embodiments, the interactive device in the virtual scene provided by the embodiment of the present application includes: a display module 5551, a control module 5552 and a response module 5553; wherein,

[0221] A display module, used for displaying interactive virtual plants and virtual objects in a virtual scene;

[0222] A control module, used for controlling the virtual plant to grow at least one plant element when the virtual plant is in the first stage, and the plant element is in a first state;

[0223] a response module, configured to control the virtual object to perform an interaction operation on a target plant element among the at least one plant element in response to an interaction instruction on the target plant element when the plant element is in the first state;

[0224] And, it is used to control the attribute value of the target attribute of the virtual plant to decrease during the execution of the interactive operation.

[0225] In some embodiments, the control module is further used to control the virtual plant to grow at least one virtual branch, and to grow at least one plant element on each virtual branch;

[0226] The plant elements include at least one of the following: virtual fruits, virtual flowers and virtual leaves.

[0227] In some embodiments, the virtual object belongs to a target team, and the target team includes at least two virtual objects;

[0228] The control module is further used to obtain the level of each virtual object in the target team, and determine the overall strength of the target team based on the level of each virtual object;

[0229] Based on the overall strength of the target team, determining the number of the plant elements that the virtual plant needs to grow;

[0230] Based on the number of the plant elements, at least one plant element is grown on each of the virtual branches.

[0231] In some embodiments, the display module is further used to display each of the plant elements in a first display style;

[0232] The first display style is used to indicate that the plant element is in the first state.

[0233] In some embodiments, the display module is further used to display the attribute value of the virtual plant;

[0234] and, used for displaying the process of fragmentation of the target plant element and the process of reduction of the attribute value of the virtual plant during the execution of the interactive operation;

[0235] The target plant element corresponds to an attribute value of a target size.

[0236] In some embodiments, the control module is further used to control the state of the plant element to switch from the first state to the second state when a state switching condition of the plant element is met;

[0237] The response module is further configured to control the virtual object to perform an interaction operation on a target plant element among the at least one plant element in response to an interaction instruction on the target plant element in the at least one plant element during the process in which the plant element is in the second state;

[0238] During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

[0239] In some embodiments, when the state switching condition is reaching a first duration, the display module is also used to display progress indication information corresponding to the first duration, and the progress indication information is used to indicate the remaining time for the plant element to switch from the first state to the second state.

[0240] In some embodiments, the plant element grows on a virtual branch of the virtual plant;

[0241] The control module is further used to display the process of the virtual branches on which the plant elements grow disappearing;

[0242] The display module is further configured to display each of the plant elements in a second display style after each of the virtual branches has completely faded away;

[0243] The control module is further used to control each of the plant elements to be in a suspended state to indicate that the plant element is in the second state.

[0244] In some embodiments, the display module is further used to display the falling process of at least one plant element in the suspended state after each plant element is in the suspended state;

[0245] The control module is further used to control the plant element to explode when the plant element falls to the ground, and to control the attribute value of the target attribute of the target virtual object to decrease;

[0246] The target virtual object is a virtual object within the explosion range of the plant element.

[0247] In some embodiments, the display module is also used to display damage range indication information, and the damage range indication information is used to indicate the range of damage caused by the plant element in a suspended state after falling to the ground.

[0248] In some embodiments, the display module is further used to display a target special effect at a target part of the virtual plant during the process in which the plant element is in the second state;

[0249] The target special effect is used to indicate that the target part is a weak part of the virtual plant.

[0250] In some embodiments, the control module is further configured to control the virtual plant to switch from the first stage to the second stage when the attribute value of the target attribute of the virtual plant decreases to an attribute value threshold;

[0251] The display module is further used to display a monster summoning special effect in the associated area of ​​the virtual plant when the virtual plant is in the second stage, wherein the monster summoning special effect is used to indicate that a target monster is being summoned;

[0252] During the process of displaying the monster summoning special effect, a plurality of summoned target monsters are displayed around the virtual plant.

[0253] In some embodiments, in the first stage, the virtual plant has a first shape;

[0254] The control module is further used to control the virtual plant to switch from the first shape to a second shape, wherein the second shape is used to indicate that the virtual plant is in the second stage;

[0255] The response module is further configured to control the virtual object to perform an interactive operation on the virtual plant in response to an interactive instruction on the virtual plant when the virtual plant is in the second stage;

[0256] During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

[0257] In some embodiments, the first stage includes a first skill release stage and a second skill release stage;

[0258] The control module is further used to control the virtual plant to grow at least one plant element when the virtual plant is in the first skill release stage;

[0259] and, for launching at least two rounds of virtual ground spikes toward the virtual object when the virtual plant is in the second skill release stage;

[0260] The virtual ground spikes grow from the roots of the virtual plants, and the emission interval between two adjacent rounds of the virtual ground spikes is less than a duration threshold.

[0261] In some embodiments, before launching at least two rounds of virtual ground spikes toward the virtual object, the display module is further used to display a warning prompt message, wherein the warning prompt message is used to prompt the virtual ground spikes to be launched when the second time duration arrives.

[0262] In some embodiments, before launching at least two rounds of virtual spikes toward the virtual object, the display module is further used to display a target special effect on at least one target part of the virtual plant, wherein the target special effect is used to indicate that the target part is a weak part of the virtual plant.

[0263] In some embodiments, before the virtual plant grows at least one plant element, the display module is further used to display prop deployment prompt information, and the prop deployment prompt information is used to prompt the deployment of the target virtual prop;

[0264] The response module is further configured to play a deployment animation of the target virtual prop in response to a deployment instruction for the target virtual prop;

[0265] And, when the target virtual prop is deployed, the virtual plant is controlled to be in the first stage.

[0266] By using the above-mentioned embodiment of the present application, when the virtual plant is in the first stage, the virtual plant will grow at least one plant element in the first state, and when the plant element is in the first state, if the virtual object performs an interactive operation on the plant element, the attribute value of the target attribute of the virtual plant can be reduced. In this way, the virtual object and the virtual plant can interact through the plant elements grown by the virtual plant, enriching the interaction mode between the virtual object and the virtual plant, improving the efficiency of human-computer interaction, and also improving the utilization rate of the hardware resources of the electronic device.

[0267] The embodiment of the present application also provides an interactive device in a virtual scene, the device comprising:

[0268] A display module, used for displaying interactive virtual plants and virtual objects in a virtual scene;

[0269] A playing module, configured to play a deployment animation of a target virtual prop in response to a deployment instruction for the target virtual prop;

[0270] A control module, configured to control the virtual plant to be in the first stage when the deployment animation indicates that the target virtual prop has been deployed in the virtual scene;

[0271] The virtual plant in the first stage can grow plant elements and interact with the virtual object through the plant elements.

[0272] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the above-mentioned interaction method in the virtual scene of the embodiment of the present application.

[0273] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the interaction method in the virtual scene provided by the embodiment of the present application.

[0274] In some embodiments, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disk, or a CD-ROM; or it may be various devices including one or any combination of the above memories.

[0275] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0276] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0277] As an example, the executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0278] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. An interactive method in a virtual scene, characterized in that: The method comprises: Displaying interactive virtual plants and virtual objects in a virtual scene; When the virtual plant is in the first stage, controlling the virtual plant to grow at least one plant element, and the plant element is in a first state; In the process that the plant element is in the first state, in response to an interaction instruction for a target plant element among the at least one plant element, controlling the virtual object to perform an interaction operation for the target plant element; During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to decrease.

2. The method according to claim 1, characterized in that The controlling the virtual plant to grow at least one plant element comprises: Controlling the virtual plant to grow at least one virtual branch, and growing at least one plant element on each virtual branch; The plant elements include at least one of the following: virtual fruits, virtual flowers and virtual leaves.

3. The method according to claim 2, characterized in that The virtual object belongs to a target team, the target team includes at least two virtual objects, and the growing of at least one plant element on each virtual branch includes: Acquire the level of each virtual object in the target team, and determine the overall strength of the target team based on the level of each virtual object; Based on the overall strength of the target team, determining the number of the plant elements that the virtual plant needs to grow; Based on the number of the plant elements, at least one plant element is grown on each of the virtual branches.

4. The method according to claim 1 or 2, characterized in that: After controlling the virtual plant to grow at least one plant element, the method further includes: Using a first display style to display each of the plant elements; The first display style is used to indicate that the plant element is in the first state.

5. The method according to claim 1 or 2, characterized in that: The method further comprises: Displaying the attribute value of the virtual plant; After controlling the virtual object to perform an interactive operation on the target plant element, the method further includes: Displaying the process of the target plant element being broken, and displaying the process of the attribute value of the virtual plant being reduced; The target plant element corresponds to an attribute value of a target size.

6. The method according to claim 1 or 2, characterized in that: The method further comprises: When a state switching condition of the plant element is met, controlling the state of the plant element to switch from the first state to the second state; In the process that the plant element is in the second state, in response to an interaction instruction for a target plant element among the at least one plant element, controlling the virtual object to perform an interaction operation for the target plant element; During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

7. The method according to claim 6, characterized in that When the state switching condition is that the first duration is reached, the method further includes: The progress indication information corresponding to the first duration is displayed, wherein the progress indication information is used to indicate the remaining duration for the plant element to switch from the first state to the second state.

8. The method according to claim 6, characterized in that The plant element grows on the virtual branch of the virtual plant, and the controlling the state of the plant element to switch from the first state to the second state includes: Displaying the process of the virtual branches growing the plant elements receding; When each of the virtual branches has completely faded away, a second display style is adopted to display each of the plant elements, and each of the plant elements is controlled to be in a suspended state to indicate that the plant element is in the second state.

9. The method according to claim 8, characterized in that After controlling each of the plant elements to be in a suspended state, the method further includes: Showing the process of falling of at least one plant element in a suspended state; When the plant element falls to the ground, the plant element is controlled to explode, and the attribute value of the target attribute of the target virtual object is controlled to decrease; The target virtual object is a virtual object within the explosion range of the plant element.

10. The method according to claim 8, characterized in that After controlling each of the plant elements to be in a suspended state, the method further includes: The damage range indication information is displayed, and the damage range indication information is used to indicate the range of damage caused by the plant element in a suspended state after falling to the ground.

11. The method according to claim 6, characterized in that The method further comprises: When the plant element is in the second state, displaying a target special effect at a target part of the virtual plant; The target special effect is used to indicate that the target part is a weak part of the virtual plant.

12. The method according to claim 1, characterized in that After the attribute value of the target attribute of the virtual plant is reduced, the method further includes: When the attribute value of the target attribute of the virtual plant decreases to an attribute value threshold, controlling the virtual plant to switch from the first stage to the second stage; When the virtual plant is in the second stage, a monster summoning special effect is displayed in the associated area of ​​the virtual plant, wherein the monster summoning special effect is used to indicate that a target monster is being summoned; During the process of displaying the monster summoning special effect, a plurality of summoned target monsters are displayed around the virtual plant.

13. The method according to claim 12, characterized in that In the first stage, the virtual plant has a first shape, and the controlling the virtual plant to switch from the first stage to the second stage includes: Controlling the virtual plant to switch from the first shape to a second shape, wherein the second shape is used to indicate that the virtual plant is in the second stage; When the virtual plant is in the second stage, in response to an interaction instruction for the virtual plant, controlling the virtual object to perform an interaction operation for the virtual plant; During the execution of the interactive operation, the attribute value of the target attribute of the virtual plant is controlled to remain unchanged.

14. The method according to claim 1, wherein: The first stage includes a first skill release stage and a second skill release stage, and the controlling the virtual plant to grow at least one plant element includes: When the virtual plant is in the first skill release stage, controlling the virtual plant to grow at least one plant element; The method further comprises: When the virtual plant is in the second skill release stage, launching at least two rounds of virtual ground spikes toward the virtual object; The virtual ground spikes grow from the roots of the virtual plants, and an emission interval between two adjacent rounds of the virtual ground spikes is less than or equal to a duration threshold.

15. The method according to claim 14, characterized in that Before launching at least two rounds of virtual spikes toward the virtual object, the method further includes: Displaying warning prompt information, wherein the warning prompt information is used to prompt the virtual ground spikes to be launched when the second time period arrives.

16. The method according to claim 14, characterized in that Before launching at least two rounds of virtual spikes toward the virtual object, the method further includes: A target special effect is displayed on at least one target part of the virtual plant, wherein the target special effect is used to indicate that the target part is a weak part of the virtual plant.

17. The method according to claim 1, wherein: Before controlling the virtual plant to grow at least one plant element, the method further includes: Displaying prop deployment prompt information, wherein the prop deployment prompt information is used to prompt the deployment of the target virtual prop; In response to the deployment instruction for the target virtual prop, playing the deployment animation of the target virtual prop; When the target virtual prop is deployed, the virtual plant is controlled to be in the first stage.

18. An interactive method in a virtual scene, characterized in that: The method comprises: Displaying interactive virtual plants and virtual objects in a virtual scene; In response to a deployment instruction for a target virtual prop, playing a deployment animation of the target virtual prop; When the deployment animation indicates that the target virtual prop is deployed in the virtual scene, controlling the virtual plant to be in the first stage; The virtual plant in the first stage can grow plant elements and interact with the virtual object through the plant elements.

19. An interactive device in a virtual scene, characterized in that: The device comprises: A display module, used for displaying interactive virtual plants and virtual objects in a virtual scene; A control module, used for controlling the virtual plant to grow at least one plant element when the virtual plant is in the first stage, and the plant element is in a first state; a response module, configured to control the virtual object to perform an interaction operation on a target plant element among the at least one plant element in response to an interaction instruction on the target plant element when the plant element is in the first state; And, it is used to control the attribute value of the target attribute of the virtual plant to decrease during the execution of the interactive operation.

20. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 18 when executing the executable instructions stored in the memory.

21. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to cause a processor to execute and implement the method described in any one of claims 1 to 18.

22. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 18 is implemented.

Citation Information

Cited By

  • Interactive processing method and apparatus for virtual scene, and electronic device, computer-readable storage medium and computer program product

    WO2026108434A1