Interaction method and device based on virtual object

By displaying and hiding virtual props during virtual object interactions, the display and calculation logic is simplified, the problem of high resource consumption on terminal devices is solved, and the smoothness of interaction and user experience are improved.

CN120815330APending Publication Date: 2025-10-21TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410444316.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-12
Publication Date
2025-10-21

AI Technical Summary

Technical Problem

Existing technologies consume a lot of display and computing resources on terminal devices during virtual object interaction, causing lag on devices with poor performance. Furthermore, the interaction process is complex, affecting smoothness and user experience.

Method used

By displaying at least two virtual items after a virtual object is hit, and hiding the second virtual object after selecting one of the items, attribute values ​​are directly deducted, simplifying the display and calculation logic and reducing resource consumption.

Benefits of technology

It saves display and computing resources on terminal devices, improves the smoothness of the interaction process and the human-computer interaction rate, and is especially suitable for devices with poor performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120815330A_ABST
    Figure CN120815330A_ABST
Patent Text Reader

Abstract

The invention discloses an interaction method and device based on a virtual object, and belongs to the technical field of computers. The method comprises the following steps: displaying a first virtual object and a second virtual object; in response to the situation that the first virtual object hits the second virtual object, displaying at least two virtual props; and after the second virtual object is hidden by the first prop in the at least two virtual props, in response to a selection operation of the first prop, deducting the first numerical value from the target attribute value of the second virtual object. Therefore, the resources of the terminal equipment are saved, the fluency of the interaction process and the interaction experience of the interaction object are improved, and the human-computer interaction rate is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a virtual object-based interaction method and device. Background Art

[0002] With the continuous development of computer technology, more and more applications support interaction based on virtual objects. For example, MOBA (Multiplayer Online Battle Arena) game applications support interaction based on game characters.

[0003] Currently, the interaction methods based on virtual objects include: after the virtual object hits the enemy, displaying the enemy's defense animation and the virtual object's re-attack animation, etc., and determining whether to deduct the enemy's attribute value through a comprehensive judgment of the enemy's defense situation and the virtual object's re-attack situation.

[0004] The aforementioned interactive process requires displaying a complex animation of the combat between the two players before deducting the enemy's attribute values, which consumes a lot of the terminal's display resources. Furthermore, the logic for deducting attribute values ​​is complex, which also consumes a lot of the terminal's computing resources. This can easily cause lag and other issues on some devices with poor performance. Summary of the Invention

[0005] The present invention provides a method and device for virtual object-based interaction, which can be used to save terminal device resources and improve human-computer interaction rate. The technical solution is as follows:

[0006] In one aspect, an embodiment of the present application provides a virtual object-based interaction method, the method comprising:

[0007] displaying a first virtual object and a second virtual object;

[0008] in response to the first virtual object hitting the second virtual object, displaying at least two virtual props;

[0009] After the second virtual object is hidden by a first prop of the at least two virtual props, in response to a selection operation of the first prop, a first value is deducted from a target attribute value of the second virtual object.

[0010] In a possible implementation, after displaying the animation of the first virtual object attacking the selected virtual prop among the at least two virtual props, the method further includes:

[0011] An animation of the other virtual props among the at least two virtual props except the selected virtual prop moving toward a reference direction is displayed.

[0012] In another aspect, a virtual object-based interaction method is provided, the method comprising:

[0013] displaying a first virtual object and a second virtual object;

[0014] in response to the first virtual object hitting the second virtual object, displaying at least two virtual props;

[0015] In response to a selection operation of a first prop among the at least two virtual props, the second virtual object is hidden based on the first prop.

[0016] In another aspect, a virtual object-based interaction device is provided, the device comprising:

[0017] A first display module, configured to display a first virtual object and a second virtual object;

[0018] a second display module, configured to display at least two virtual props in response to the first virtual object hitting the second virtual object;

[0019] The processing module is configured to, after the second virtual object is hidden by a first prop among the at least two virtual props, subtract a first value from a target attribute value of the second virtual object in response to a selection operation of the first prop.

[0020] In one possible implementation, the second display module is configured to, in response to the first virtual object hitting the second virtual object, transform the second virtual object into a reference image, wherein the reference image is used to indicate that the second virtual object is hit by the first virtual object; and display an animation of splitting the reference image into the at least two virtual props.

[0021] In one possible implementation, the second display module is configured to display an animation of splitting the reference image into the at least two virtual props in the first form before the second virtual object is hidden; and the second display module is further configured to display the at least two virtual props in the second form after the second virtual object is hidden by the first prop of the at least two virtual props.

[0022] In one possible implementation, the second display module is configured to display an animation of moving the at least two virtual props in the first form toward a target plane after the second virtual object is hidden by the first prop of the at least two virtual props; and after the animation is displayed, display the at least two virtual props in the second form located on the target plane.

[0023] In one possible implementation, the second display module is further configured to determine a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; and in response to a confirmation instruction of the currently selected virtual prop, use the currently selected virtual prop as the selected virtual prop.

[0024] In one possible implementation, there are n virtual props, the (i-1)th virtual prop among the n virtual props is located in the first direction of the (i)th virtual prop, and the (i+1)th virtual prop among the n virtual props is located in the second direction of the (i)th virtual prop, where n is an integer not less than 3; the default selected virtual prop is the (i)th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a first direction, the currently selected virtual prop is the (i-1)th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a second direction, the currently selected virtual prop is the (i+1)th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a third direction, the currently selected virtual prop is the (i)th virtual prop, wherein the third direction is a direction other than the first direction and the second direction.

[0025] In one possible implementation, the second display module is further configured to, in response to a selection operation of a second prop, deduct a second value from the target attribute value, where the second value is smaller than the first value, and the second prop is a prop among the at least two virtual props that is different from the first prop.

[0026] In one possible implementation, the second display module is further configured to, in response to the first virtual object hitting the second virtual object, deduct an initial value from an initial attribute value of the second virtual object to obtain the target attribute value; wherein the initial attribute value is the attribute value of the second virtual object before being hit by the first virtual object.

[0027] In a possible implementation, the second display module is further configured to display an animation of the first virtual object attacking the selected virtual prop among the at least two virtual props.

[0028] In one possible implementation, the second display module is further configured to, when the selected virtual prop is the first prop, display an animation of the second virtual object moving from inside the first prop to outside the first prop along a first trajectory; and, when the selected virtual prop is a second prop, display an animation of the second virtual object moving from inside the first prop to outside the first prop along a second trajectory, where the second prop is a prop different from the first prop among the at least two virtual props; and the second trajectory is different from the first trajectory.

[0029] In one possible implementation, the number of the at least two virtual props is negatively correlated with the number of attack props used by the first virtual object to attack the second virtual object; or, the number of the at least two virtual props is positively correlated with the degree of counterattack of the second virtual object against the first virtual object; or, the number of the at least two virtual props is negatively correlated with the target attribute value; or, the number of the at least two virtual props is positively correlated with the terminal device resources.

[0030] In another aspect, a virtual object-based interaction device is provided, the device comprising:

[0031] A first display module, configured to display a first virtual object and a second virtual object;

[0032] a second display module, configured to display at least two virtual props in response to the first virtual object hitting the second virtual object;

[0033] The third display module is configured to, in response to a selection operation of a first prop among the at least two virtual props, hide the second virtual object based on the first prop.

[0034] In one possible implementation, the second display module is configured to, in response to the first virtual object hitting the second virtual object, transform the second virtual object into a reference image, wherein the reference image is used to indicate that the second virtual object is hit by the first virtual object; and display an animation of splitting the reference image into the at least two virtual props.

[0035] In one possible implementation, the second display module is used to display an animation of splitting the reference image into the at least two virtual props in the first form before the second virtual object is hidden; the second display module is also used to display the at least two virtual props in the second form after hiding the second virtual object based on the first prop.

[0036] In one possible implementation, the second display module is configured to display an animation of moving the at least two virtual props in the first form toward a target plane after hiding the second virtual object based on the first prop; and after the animation is displayed, display the at least two virtual props in the second form located on the target plane.

[0037] In one possible implementation, the third display module is further configured to determine a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; and in response to a confirmation instruction of the currently selected virtual prop, set the currently selected virtual prop as the selected virtual prop.

[0038] In one possible implementation, there are n virtual props, the (i-1)th virtual prop among the n virtual props is located in the first direction of the (i)th virtual prop, and the (i+1)th virtual prop among the n virtual props in the first form is located in the second direction of the (i)th virtual prop, where n is an integer not less than 3; the default selected virtual prop is the (i)th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a first direction, the currently selected virtual prop is the (i-1)th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a second direction, the currently selected virtual prop is the (i+1)th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a third direction, the currently selected virtual prop is the (i)th virtual prop, wherein the third direction is a direction other than the first direction and the second direction.

[0039] In a possible implementation, the third display module is further configured to display the first prop and the second prop in different display forms, wherein the second prop is a prop different from the first prop among the at least two virtual props.

[0040] The technical solutions provided by the embodiments of the present application bring at least the following beneficial effects:

[0041] The technical solution provided by the embodiment of the present application only requires displaying at least two virtual props on the display interface before deducting the first value of the second virtual object. No complex animation is required, resulting in a simpler display and conserving display resources on the terminal device. Furthermore, the decision on whether to deduct the first value is based solely on whether the first prop is selected. The simpler judgment logic helps conserve computing resources on the terminal device, thereby saving resources on the terminal device. Even terminal devices with poor performance can easily support the rendering of this display.

[0042] In addition, when the terminal device consumes less resources, the screen display is smoother, which is conducive to improving the smoothness of the interaction process, improving the interaction experience of the interactive object, and thus improving the human-computer interaction rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0044] Figure 1 This is a schematic diagram of the structure of a computer system provided in an embodiment of the present application;

[0045] Figure 2 This is a flowchart of a virtual object-based interaction method provided by an embodiment of the present application;

[0046] Figure 3 This is a schematic diagram of displaying a first virtual object and a second virtual object provided by an embodiment of the present application;

[0047] Figure 4 This is a schematic diagram of a display interface for releasing an attack skill provided in an embodiment of the present application;

[0048] Figure 5 This is a schematic diagram of a display interface for reference provided by an embodiment of the present application;

[0049] Figure 6 This is a schematic diagram of a display of a reference image split provided in an embodiment of the present application;

[0050] Figure 7 This is a schematic diagram showing a virtual prop landing provided by an embodiment of the present application;

[0051] Figure 8 This is a schematic diagram of a display of a direction control provided in an embodiment of the present application;

[0052] Figure 9 This is a display diagram of a control direction control provided by an embodiment of the present application;

[0053] Figure 10 This is a display diagram of a confirmation control provided in an embodiment of the present application;

[0054] Figure 11 This is a schematic diagram of a display of a skill button provided in an embodiment of the present application;

[0055] Figure 12This is a schematic diagram showing a first virtual object attacking a selected virtual item provided by an embodiment of the present application;

[0056] Figure 13 is a schematic diagram showing movement of a second virtual object provided in an embodiment of the present application;

[0057] Figure 14 This is a schematic diagram showing the attribute value of a second virtual object provided by an embodiment of the present application;

[0058] Figure 15 This is another display diagram of a first virtual object attacking a selected virtual prop provided by an embodiment of the present application;

[0059] Figure 16 is another schematic diagram showing movement of a second virtual object provided in an embodiment of the present application;

[0060] Figure 17 This is an overall flow chart of a virtual object-based interaction method provided by an embodiment of the present application;

[0061] Figure 18 This is an overall flow chart of another virtual object-based interaction method provided by an embodiment of the present application;

[0062] Figure 19 This is a display diagram of a direction adjustment control provided by an embodiment of the present application;

[0063] Figure 20 This is a display diagram of a directional control after adjustment provided by an embodiment of the present application;

[0064] Figure 21 This is an overall flow chart of a virtual object-based interaction method provided by an embodiment of the present application;

[0065] Figure 22 This is an overall flow chart of another virtual object-based interaction method provided by an embodiment of the present application;

[0066] Figure 23 This is a structural diagram of a virtual object-based interactive device provided in an embodiment of the present application;

[0067] Figure 24 is a structural diagram of another virtual object-based interactive device provided in an embodiment of the present application;

[0068] Figure 25 This is a schematic diagram of the structure of a server provided in an embodiment of the present application;

[0069] Figure 26 This is a structural diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0071] It should be noted that the terms "first," "second," and the like in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with certain aspects of the present application as detailed in the appended claims.

[0072] To further illustrate the technical solutions provided by the embodiments of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiments of the present application. During the actual processing process or when the control device is executed, the method can be executed in the order of the methods shown in the embodiments or drawings or in parallel.

[0073] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0074] The following are the nouns involved in the embodiments of this application:

[0075] Virtual environment: The scene provided (or displayed) when an application is running on a terminal. This virtual environment refers to the scene created for virtual objects to move around in. A virtual environment can be a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment. This virtual environment can be a simulation of the real world, a semi-simulated and semi-fictional scene, or a purely fictional scene. In some embodiments, a virtual environment can also be referred to as a virtual scene.

[0076] Virtual objects refer to movable objects within a virtual environment. These can be virtual people, virtual animals, animated characters, and the like. Interactive objects can manipulate virtual objects through external components or by tapping on a touchscreen display. Each virtual object has its own unique shape and volume within the virtual environment and occupies a portion of the space within the virtual environment. For example, in a three-dimensional virtual environment, virtual objects are three-dimensional models created using animation skeletal technology. In some embodiments, interactive objects may also be referred to as players or users.

[0077] Figure 1 The schematic diagram of the structure of a computer system provided by an embodiment of the present application is shown. The computer system includes: a first terminal device 101, a server 102 and a second terminal device 103.

[0078] The first terminal device 101 has an application installed and running that supports the virtual environment. The first interactive object can use the first terminal device 101 to control the first virtual object to perform activities in the virtual environment provided by the application, so as to realize the interaction process between the first interactive object and the first terminal device 101 based on the first virtual object. The activities include but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking other virtual objects, throwing, changing positions, etc.

[0079] The second terminal device 103 has an application installed and running that supports the virtual environment. The second interactive object can use the second terminal device 103 to control the second virtual object to perform activities in the virtual environment provided by the application, so as to realize the interaction process between the second interactive object and the second terminal device 103 based on the second virtual object. The activities include but are not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, picking up, shooting, attacking other virtual objects, throwing, changing position, etc.

[0080] The embodiments of this application do not limit the applications that support virtual environments. By way of example, such applications include, but are not limited to, VR (Virtual Reality) applications, AR (Augmented Reality) applications, 3D map applications, gaming applications, social applications, and interactive entertainment applications. Gaming applications include, but are not limited to, MOBAs and open-world games. In some embodiments, an application may also be referred to as a client.

[0081] In some embodiments, the application supporting the virtual environment can support at least one operating system, and applications running on different operating systems can be interconnected. In some embodiments, the application supporting the virtual environment is an application developed based on a 3D engine. In some embodiments, the application supporting the virtual environment is a stand-alone application or a networked application.

[0082] The server 102 is used to provide background services for virtual environment-supported applications installed on terminal devices (e.g., the first terminal device 101 and the second terminal device 103). In one possible implementation, the server 102 performs primary computing tasks, while the terminal devices perform secondary computing tasks; alternatively, the server 102 performs secondary computing tasks, while the terminal devices perform primary computing tasks; alternatively, the server 102 and the terminal devices utilize a distributed computing architecture for collaborative computing.

[0083] In one possible implementation, the first terminal device 101 and the second terminal device 103 are any electronic products that can perform human-computer interaction with an interactive object through one or more methods such as a keyboard, touchpad, touch screen, remote control, voice interaction, or handwriting device, such as a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a handheld portable gaming device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a car terminal, etc. The server 102 can be a single server, a server cluster consisting of multiple servers, or a cloud computing service center. The first terminal device 101 establishes a communication connection with the server 102 through a wired or wireless network, and the second terminal device 103 establishes a communication connection with the server 102 through a wired or wireless network.

[0084] In the embodiment of the present application, the interactive method based on virtual objects is interactively executed by the first terminal device 101 and the second terminal device 103, and the virtual prop is a virtual box. In an optional embodiment, when the first interactive object controls the first virtual object 104 to release a skill to the second virtual object 105 (see Figure 1 In response to the first virtual object 104 hitting the second virtual object 105, at least two virtual boxes 108 of the first form are displayed on the second terminal device 103 (see Figure 1 The second terminal device 103 displays at least two virtual boxes 106 of the second form based on the selection operation of the second virtual object in at least two virtual boxes 108 of the first form (see Figure 1The second form of the virtual box interface in Figure B).

[0085] The at least two virtual boxes 106 of the second form are used for selection by the first virtual object 104 (see Figure 1 In the case where the first virtual object 104 selects the first box that hides the second virtual object in at least two virtual boxes 106 of the second form, the target attribute value of the second virtual object 105 is deducted from the first value (see Figure 1 In the box selection interface in Figure A, 107 is the attribute value of the second virtual object 105 after deducting the first value).

[0086] Those skilled in the art should understand that the above-mentioned first terminal device 101, second terminal device 103 and server 102 are merely examples, and other existing or future terminal devices or servers, if applicable to the present application, should also be included in the scope of protection of the present application and are included here by reference.

[0087] Based on the above Figure 1 The computer system shown in the figure, the embodiment of the present application provides an interactive method based on virtual objects, which can be executed by the first terminal device 101, or can be implemented by the interaction between the first terminal device 101 and the server 102, and the embodiment of the present application is not limited to this. Taking the method provided in the embodiment of the present application as an example, as shown in FIG. Figure 2 As shown, the virtual object-based interaction method provided in the embodiment of the present application may include the following steps 201 to 203.

[0088] In step 201 , a first virtual object and a second virtual object are displayed.

[0089] The first virtual object is a virtual object controlled by the first interactive object via the first device terminal, and the second virtual object is a virtual object controlled by the second interactive object via the second device terminal; the first virtual object and the second virtual object operate in the same virtual environment. The first virtual object and the second virtual object can be in the same camp or in different camps. The first virtual object and the second virtual object can attack each other. The categories of the first virtual object and the second virtual object are not limited in this application, and include virtual characters or virtual animals.

[0090] Exemplarily, the display method of the first virtual object and the second virtual object includes starting an application based on the first interactive object, and the first terminal device displays a virtual environment on the display interface, in which the first virtual object and the second virtual object are displayed.

[0091] See also Figure 3, the display interface of the first terminal device displays a first virtual object 301 and a second virtual object 302. The two long boxes above the display interface represent the initial attribute value 303 of the first virtual object and the initial attribute value 304 of the second virtual object, respectively. Before the game begins, the initial attribute value 303 and the initial attribute value 304 are both 100% full. It should be noted that the location of the initial attribute value 303 and the initial attribute value 304 is not limited in this application and can be anywhere on the display interface. In some embodiments, the attribute value can refer to the health value of the virtual object.

[0092] In step 202 , in response to a first virtual object hitting a second virtual object, at least two virtual props are displayed.

[0093] The interface of the virtual environment displayed by the first terminal device also includes some operation controls, such as buttons, sliders, icons, wheels, etc., for the first interactive object to operate. The first terminal device controls the first virtual object to complete corresponding actions in the virtual environment according to the touch operation instructions of the first interactive object.

[0094] It should be noted that the way in which the first virtual object hits the second virtual object includes but is not limited to: after the first virtual object releases an attack skill, the attack prop corresponding to the attack skill hits the second virtual object; or, the first virtual object releases an attack skill in the direction of the second virtual object and directly hits the second virtual object in that direction. This application does not limit the way of hitting.

[0095] In some embodiments, the way in which the first terminal device determines that the first virtual object hits the second virtual object includes: in response to a release operation of an attack skill, determining that the first virtual object releases an attack skill; in response to the attack skill released by the first virtual object hitting the second virtual object, determining that the first virtual object hits the second virtual object.

[0096] Attack skills are abilities that allow the first interactive object to control the first virtual object to attack a second virtual object. Each attack skill corresponds to at least one attack item. For example, the attack item corresponding to the missile attack skill may include, but is not limited to, a snowball, a branch, a ball of mud, or a virtual projectile. Attack skills can be pre-configured by the first terminal device or server through a settings interface before the start of the current game. Attack skills can also be acquired during the current game.

[0097] For example, the first terminal device may acquire the attack skill release operation in a manner including, but not limited to: acquiring the attack skill release operation in response to a trigger operation of an attack control; acquiring the attack skill release operation in response to a voice instruction from the first interactive object; and acquiring the attack skill release operation in response to a gesture instruction from the first interactive object. The acquisition of the attack skill release operation may include one or a combination of the aforementioned methods, and this application does not impose any specific limitations on this.

[0098] The attack control is a control that can be triggered by the first interactive object and is used to release an attack skill to hit the second virtual object. The attack control can be a button at any position on the display interface, or any key on the touchpad of the terminal device. For example, the first interactive object can trigger the generation of an attack skill trigger signal by clicking the corresponding attack control on the display interface, thereby controlling the first virtual object to hit the second virtual object. There is no restriction here.

[0099] As an optional implementation, in response to a release operation of an attack skill, determining that the first virtual object releases the attack skill includes: in response to a trigger operation of an attack control, determining whether the attack skill meets a release condition; if the attack skill meets the release condition, determining that the first virtual object releases the attack skill.

[0100] In the embodiment of the present application, the use of attack skills can be restricted, and can only be released when the attack skills meet the release conditions. As an optional implementation, the release conditions include but are not limited to at least one of the following three.

[0101] Condition 1: The number of times the attack skill is used is less than or equal to the first threshold.

[0102] The first threshold can be a manually set threshold, or the threshold corresponding to the current virtual scene can be determined based on the corresponding relationship between the scene and the threshold, which is not limited here. Under this condition, the first interactive object can obtain additional attack skill uses by controlling the first virtual object to complete other tasks in the virtual environment.

[0103] Condition 2: The time interval from the last release of the attack skill is greater than the second threshold.

[0104] The second threshold can be a manually set threshold, or the threshold corresponding to the current virtual scene can be determined based on the corresponding relationship between the scene and the threshold, which is not limited here. As an optional embodiment, when the attack skill is released, a timer is started. This timer is used to record the time interval between the two attack skill releases.

[0105] Condition three: the attribute value of the first virtual object is greater than or equal to a third threshold.

[0106] The third threshold can be a manually set threshold; or the threshold corresponding to the current virtual scene can be determined based on the correspondence between the scene and the threshold, which is not limited here. The attribute value is the attribute resource provided by the first interactive object to control the first virtual object to complete different tasks in the game.

[0107] As an optional implementation, when the attack skill does not meet the release conditions, the terminal device changes the display style of the attack control, such as adding a flashing reminder to the attack control or turning the attack control gray, indicating that the first interactive object's attack skill was not released successfully.

[0108] As an optional implementation, when the first reference area of ​​the attack prop corresponding to the released attack skill intersects with the second reference area of ​​the second virtual object, it is determined that the attack skill released by the first virtual object hits the second virtual object.

[0109] The first reference area is a preset area used to represent the position of the attack prop after it is released, and the second reference area is a preset area used to represent the position of the second virtual object in the virtual environment. As an optional embodiment, the first reference area is divided into a plurality of areas. For example, the virtual environment where the first virtual object and the second virtual object are located is pre-divided into a plurality of areas. Based on the determined position coordinates of the attack prop after it is released, the area to which the position coordinates belong is determined, i.e., the area is the position area of ​​the attack prop after it is released.

[0110] As another optional embodiment, the first reference area can be divided into a circular area with the coordinates of the released attack item as the center and a predetermined reference radius as the radius, thereby determining the first reference area. This application does not impose any restrictions on the setting method of the first reference area.

[0111] As an optional embodiment, the second reference area is divided into the following ways: determining the position area corresponding to the position coordinates of the current second virtual object according to the correspondence between the position coordinates of the preset second virtual object and the area, and the position area is the second reference area. For example, the virtual environment where the first virtual object and the second virtual object are located is divided into several areas in advance, and the area to which the position coordinates belong is determined according to the determined position coordinates of the current second virtual object, that is, the area is the position area of ​​the second virtual object. As another optional embodiment, the second reference area is divided into the following ways: taking the position coordinates of the second virtual object as the center of the circle and a preset reference radius as the radius, and determining that the circular area formed is the second reference area. This application does not limit the setting method of the second reference area.

[0112] Methods for determining whether the first reference area and the second reference area intersect include, but are not limited to, determining whether the area frame of the first reference area intersects the area frame of the second reference area. It should be noted that when the area frame of the first reference area and the area frame of the second reference area do not intersect, it indicates that the attack skill released by the first virtual object did not hit the second virtual object.

[0113] It should be noted that the process of determining whether the attack skill released by the first virtual object hits the second virtual object can be performed by the first terminal device or by the server. When performed by the server, the server feeds back the determination result to the first terminal device, and the first terminal device receives the determination result.

[0114] Figure 4 A schematic diagram of a display interface showing a first virtual object releasing an attack skill is shown. When the first interactive object triggers an attack control (e.g., the control for skill 1 on the display interface), the first terminal device controls the first virtual object 401 to release the attack skill toward the second virtual object 403, thereby displaying the process of the first virtual object 401 releasing the attack item 402 corresponding to the attack skill to attack the second virtual object 403. The attack item 402 corresponding to the attack skill is a snowball.

[0115] After the second virtual object is hit by the first virtual object through the attack skill, as an optional implementation, the second virtual object is hidden and disappears on the interface.

[0116] After determining that the first virtual object has hit the second virtual object, at least two virtual props are displayed in response to the first virtual object hitting the second virtual object. The number of virtual props may be two, three, or more, and this application does not impose any restrictions on the number of virtual props. Furthermore, virtual props include, but are not limited to, virtual boxes or virtual baffles; virtual props may be cube-shaped or spherical, and this application does not impose any restrictions on the shape or size of virtual props.

[0117] As an optional embodiment, in response to a first virtual object hitting a second virtual object, at least two virtual props are displayed, including: in response to the first virtual object hitting the second virtual object, the second virtual object is transformed into a reference image, the reference image is used to indicate that it is hit by the first virtual object; and an animation of splitting the reference image into at least two virtual props is displayed.

[0118] When the first virtual object hits the second virtual object, the process of the second virtual object transforming into a reference image and then into a virtual prop is displayed, so that the first interactive object can intuitively know that the second virtual object has been hit through the image transformation of the second virtual object, thereby improving the visual effect and thus increasing the human-computer interaction rate.

[0119] The reference image is another virtual object different from the first virtual object. The reference image may include a virtual human or a virtual animal, without limitation. In some embodiments, the reference image is an image associated with an attack skill. For example, if the attack skill's corresponding weapon is a snowball, the reference image may be a snowman; for example, if the attack skill's corresponding weapon is a tree branch, the reference image may be a tree.

[0120] Take the attack prop corresponding to the attack skill as a snowball and the reference image as a snowman as an example, see Figure 5 After the first virtual object 501 releases the snowball, the second virtual object changes into a snowman 502. The snowman 502 is equivalent to the above-mentioned reference image. That is, when the display interface shows that the second virtual object has changed into a snowman, it proves that the second virtual object has been hit by the snowball.

[0121] As an optional embodiment, displaying an animation of splitting a reference image into at least two virtual props includes: before the second virtual object is hidden, displaying an animation of splitting the reference image into at least two virtual props in a first form; the method also includes: after the second virtual object is hidden by the first prop of the at least two virtual props, displaying the at least two virtual props in a second form.

[0122] Before and after the second virtual object is hidden by the first prop, the virtual prop is displayed in different forms, which intuitively and conveniently reminds the first interactive object that the second virtual object has been hidden by the first prop, so that the first interactive object can start guessing the prop that hides the second virtual object as soon as possible, which is conducive to shortening the interaction time, saving interaction resources, and improving visual effects, increasing the fun of the interaction process, avoiding the monotony of the interaction process, and increasing the interaction interest of the interactive object, thereby improving the human-computer interaction rate.

[0123] After the second virtual object is transformed into a reference image, the reference image is displayed, and the display duration of the reference image is counted. When the display duration of the reference image reaches a duration threshold, an animation is displayed that splits the reference image into at least two virtual props in the first form. The duration threshold is a pre-set duration value, which can be set, for example, based on experience, in a virtual scene, or manually.

[0124] For example, the attack prop corresponding to the attack skill is a snowball, the reference image is a snowman, the first form virtual prop is a first form virtual box, and the number of first form virtual boxes is three. After the display time of the snowman reaches the time threshold, the animation of splitting the snowman into three first form virtual boxes is displayed. After the animation display is completed, the following is obtained: Figure 6 The display interface, in Figure 6 In the display interface shown, the snowman explodes in the air and splits into three virtual boxes A, B, and C in the first form.

[0125] At least two virtual props in the first form are props that are not hidden by the second virtual object; one of the at least two virtual props in the second form has the second virtual object hidden in it. When at least two virtual props in the first form appear on the display interface, it proves that the first interactive object controls the first virtual object to hit the second virtual object, and the second interactive object controls the second virtual object to select a virtual prop in the first form to hide. It should be noted that the first form and the second form can be the same or different, and this is not limited here; in addition, the first form may include but is not limited to shape, size, and display mode; the second form may include but is not limited to shape, size, and display mode, and this application does not limit this.

[0126] When the first form is different from the second form, the difference can be reflected in at least one of the following aspects: shape, color, size, and display mode. For example, when the difference is reflected in shape, the first form is spherical and the second form is cubic; when the difference is reflected in color, the first form is green and the second form is red; when the difference is reflected in size, the size of the second form is twice the size of the first form; when the difference is reflected in display mode, the first form is a highlighted display with a brightness greater than a threshold, and the second form is a high-frequency flashing display with a frequency greater than a threshold; when the difference is reflected in shape, color, and display mode, the first form is a green spherical display that is highlighted, and the second form is a red cube display that is flashing at a high frequency. This application does not limit the way the first form and the second form are distinguished, as long as there is a visually perceptible difference.

[0127] As an optional implementation, the first terminal device can determine that the second virtual object has entered the selected first prop and has been hidden in the following manner: after determining that the second virtual object has been hidden, the second terminal device sends a data packet of successful hiding to the server, and the server sends the data packet to the first terminal device. The first terminal device parses the data packet and determines that the second virtual object has entered the selected first prop and has been hidden.

[0128] The process of the second virtual object selecting the first prop from at least two virtual props in the first form will be Figure 18 Step 1803 in the embodiment is introduced and will not be repeated here.

[0129] It should be noted that the number of virtual props in the second form obtained after hiding can be the same as the number of virtual props in the first form, that is, the virtual props in the second form can have a one-to-one correspondence with the virtual props in the first form. The virtual props in the second form are simply a renaming of the virtual props in the first form after the second virtual object is hidden. The number of virtual props in the second form obtained after hiding can also be different from the number of virtual props in the first form. After the second virtual object is hidden, the virtual props in the second form that are not hidden by the second virtual object have a one-to-one correspondence with the virtual props in the first form before the second virtual object is hidden. To increase the difficulty of guessing the first virtual object, the prop used to hide the second virtual object (i.e., the first prop) can be further split into multiple virtual props. That is, the virtual props in the second form have no correspondence with the virtual props in the first form. The virtual props in the second form that are not hidden by the second virtual object together constitute at least two virtual props in the second form. In summary, regardless of whether the number of virtual props in the second form is the same as the number of props in the first form, the number of virtual props is no less than two.

[0130] As an optional embodiment, the method also includes: in response to the first virtual object hitting the second virtual object, deducting the initial value from the initial attribute value of the second virtual object to obtain a target attribute value; wherein the initial attribute value is the attribute value of the second virtual object before being hit by the first virtual object.

[0131] The initial attribute value can be understood as the initial health value of the second virtual object. During the interaction of virtual objects, if the behavior of the second virtual object meets the preset conditions, the attribute value of the preset number corresponding to the preset conditions will be adjusted on the basis of the initial attribute value. The preset conditions can be pre-set according to actual conditions. For example, the preset condition is to attack the virtual object. For each attack on a virtual object, the attribute value is increased by 10% on the basis of the initial attribute value. Exemplarily, the initial attribute value of the second virtual object can be displayed in the display interface of the first device terminal in the form of an attribute bar. The attribute bar presents the current health value of the second virtual object in real time in the form of a progress bar, a numerical value or a segmented form; and the position of the attribute bar on the display interface can be anywhere around the second virtual object; or at the top of the display interface; or at the bottom of the display interface. This application does not limit the display position of the attribute bar.

[0132] It should be noted that the initial value is a preset attribute value, which can be set through human experience; the initial value corresponding to the attack skill can also be determined based on the correspondence between different skills and attribute values. This application does not limit the preset method of the initial value. In addition, the initial attribute value update time of the second virtual object can be when the second virtual object is transformed into the reference image, when the reference image is split into at least two virtual props of the first form, or after the reference image is split into at least two virtual props of the first form. This application also does not limit it. See above Figure 5 503 is the target attribute value obtained by deducting the initial value from the initial attribute value of the second virtual object after the first virtual object hits the second virtual object. Figure 3 The 304 in is the initial attribute value.

[0133] See also Figure 6 When the snowman explodes into three virtual boxes in the air, the display interface displays an attribute bar 601 corresponding to the updated attribute value of the second virtual object, and the updated attribute value is the target attribute value.

[0134] When the first virtual object hits the second virtual object, the initial attribute value of the second virtual object is deducted from the initial value, so that the interactive object can intuitively see the effect of the second virtual object being hit on the display interface, thereby improving the interactive power and efficiency of the interactive object, thereby improving the human-computer interaction rate.

[0135] In some embodiments, in response to the first virtual object hitting the second virtual object, the initial attribute value of the second virtual object may not be changed, and the initial attribute value may be directly used as the target attribute value.

[0136] As an optional embodiment, after the second virtual object is hidden by the first prop among the at least two virtual props, the at least two virtual props in the second form are displayed, including: after the second virtual object is hidden by the first prop among the at least two virtual props, displaying an animation of moving the at least two virtual props in the first form toward a target plane; after the animation is displayed, displaying the at least two virtual props in the second form located on the target plane.

[0137] The target plane is a preset reference plane in the virtual environment. It can be the ground plane in the virtual environment or any plane above the ground plane, etc., without further limitation. In this application, at least two virtual props in the first form move toward the target plane to visually remind the second virtual object that it has been hidden, so that the first interactive object can start selecting virtual props in a timely manner, which is conducive to the effective advancement of the interaction process, improves interaction efficiency, and thus saves terminal device resources.

[0138] See also Figure 7,For example, the target plane is the ground plane, the virtual prop is the virtual box, the first prop is the first box, and the number of virtual boxes is three. After the second virtual object is hidden in the first box, the virtual box is moved to the ground plane, and the three virtual boxes on the ground plane are displayed. In other words, the three virtual boxes are composed of Figure 6 The air state in Figure 7 In the landing state, the second virtual object is hidden in one of the three virtual boxes (referred to as the first prop in this embodiment of the application).

[0139] In some embodiments, after the second virtual object enters the selected first prop and hides it, resulting in at least two virtual props in a second form, the at least two virtual props in the second form are directly displayed at the original position. In this case, the second virtual props are displayed in the same position as the corresponding first virtual props.

[0140] In step 203, after the second virtual object is hidden by the first prop of the at least two virtual props, in response to the selection operation of the first prop, the target attribute value of the second virtual object is deducted by the first value.

[0141] After the second interactive object controls the second virtual object to hide, the first interactive object is required to control the first virtual object to select a prop from at least two virtual props in the second form, that is, the first interactive object controls the first virtual object to guess the prop that the second virtual object may hide.

[0142] The first value is the attribute value lost by the second virtual object when the first virtual object selects the first item. The first value can be a pre-set value or a pre-set correspondence between a virtual scene and a deduction value to determine the first value corresponding to the current virtual scene. This application does not limit the method for determining the first value.

[0143] It should be noted that when the first virtual object selects the first item, the first value is deducted from the target attribute value. This includes two situations:

[0144] Case 1: The target attribute value is the initial attribute value of the second virtual object.

[0145] In this case, in response to the first virtual object hitting the second virtual object, the second virtual object's attribute value will not be deducted. The attribute value of the first value will be deducted only when the first interactive object controls the first virtual object to select the first prop. That is, the attribute value is only deducted once when the first interactive object controls the first virtual object to not select the first prop. This situation increases the possibility that the first interactive object can still complete the task of selecting the virtual prop hidden by the second virtual object after controlling the first interactive object to hit the second virtual object during the interaction process, thereby improving playability and interactive interest. In addition, deducting the attribute value only once simplifies the logical calculation of deducting the attribute value, saves terminal device resources, makes the interaction process smoother, and increases the human-computer interaction rate.

[0146] Case 2: The target attribute value is the attribute value after deducting the initial value from the initial attribute value.

[0147] In this case, when the first virtual object hits the second virtual object, the initial value is deducted from the second virtual object's initial attribute value to obtain the target attribute value. When the first interactive object controls the first virtual object to select the first item, the attribute value of the first value is deducted again. That is, the attribute value is deducted twice when the first interactive object controls the first virtual object to select the second item. This allows the first interactive object to obtain the interactive results in a timely manner, increases the first interactive object's interactive motivation in the game, and thus increases the human-computer interaction rate.

[0148] As an optional embodiment, the method further includes: determining a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; and using the currently selected virtual prop as the selected virtual prop in response to a confirmation instruction of the currently selected virtual prop.

[0149] By updating the default selected virtual props, the currently selected virtual props are determined, which can make the virtual prop selection process more intuitive and clear, improve the interaction experience and interaction efficiency of the first interaction object, and thus improve the human-computer interaction rate.

[0150] It should be noted that this process is the process of the first interactive object controlling the first virtual object to select a virtual prop from the second form of virtual props for hiding the second virtual object. The default selected virtual prop is the default selected virtual prop of the second form, the currently selected virtual prop is the second form virtual prop, and the finally selected virtual prop is also the second form virtual prop.

[0151] For example, the default selection display method includes, but is not limited to, displaying a selection pointer on the display interface; or, without a specific display indicator on the display interface, simply highlighting the default selected virtual item with a brightness greater than a threshold. The default selection method also includes, but is not limited to, selecting in response to a directional control on the display interface; or selecting by adjusting a joystick on an external device, which is not limited in this application.

[0152] As an optional implementation, a selection pointer and a direction control are displayed; based on the triggering operation of the direction control, an updated display position of the selection pointer is determined; in response to a confirmation instruction of the updated display position, a virtual prop corresponding to the updated display position is used as the selected virtual prop.

[0153] The selection pointer is a pointer used to select a first prop from at least two virtual props in the second form through the manipulation of the first interactive object. The selection pointer can be an arrow set above any virtual prop in the second form or a pointer on any virtual prop in the second form, for example, Figure 7 As shown, taking the virtual box as an example, an arrow 701 is displayed above the virtual box A. Any virtual item in the second form can be set to be highlighted, where the brightness of the virtual item in the second form pointed to by the selection pointer is greater than a threshold. Alternatively, any virtual item in the second form can be set to flash. The selection pointer's display format is not limited, as long as it can initially locate any virtual item in the second form. Highlighting provides a more intuitive reminder of the virtual item in the second form corresponding to the arrow.

[0154] It should be noted that the selection pointer can be displayed simultaneously when at least two virtual props in the second form are displayed and located on the target plane, or it can be displayed when the reference image is split into at least two virtual props in the first form but is not yet located on the target plane. There is no restriction on the time when the selection pointer is displayed, as long as the second virtual object is hidden, that is, at any time during or after the process of forming at least two virtual props in the second form after the reference image is split.

[0155] The direction control is used to adjust the position of the selection pointer. The style of the direction control is not limited in this application, as long as it can adjust the direction. Figure 8 A directional control is shown, which adjusts the direction of the selection pointer by sliding the middle button up, down, left, and right.

[0156] The confirmation instruction is an instruction to confirm the currently selected second-form virtual item. For example, after the first interactive object triggers the direction control and moves the selection pointer to the updated display position, when responding to the confirmation instruction, the second-form virtual item corresponding to the updated display position is determined to be the selected second-form virtual item. Figure 9 , the first interactive object operates the direction control to the right, and the position of the selection pointer is determined by Figure 7 The position corresponding to the A box in the image is updated to the position corresponding to the C box. If a confirmation instruction for the position corresponding to the C box is obtained, it is determined that the C box is the box selected by the first virtual object for hiding the second virtual object.

[0157] As an optional embodiment, after determining the updated display position of the selection pointer, the method also includes: displaying a confirmation control, and obtaining a confirmation instruction of the updated display position in response to a triggering operation of the confirmation control; or, in response to the updated display position not being updated within a reference time length, obtaining a confirmation instruction of the updated display position.

[0158] The ways to obtain confirmation instructions include but are not limited to the two above. The first way is to obtain confirmation instructions by triggering the confirmation control. It should be noted that the location of the confirmation control is not limited in this application. For example, the confirmation control can be combined with the direction control and set at the center of the direction control. For example, the confirmation control can be Figure 10 1001 in FIG. 1002. For example, the confirmation control may also be a button for attacking. For example, see Figure 11 , the display interface shows a trigger button for skill 1 and a trigger button for a normal attack skill. In addition, the first virtual object may also have skills 2 and 3, and the display interface shows a trigger button for skill 2 and a trigger button for skill 3. The above-mentioned buttons for attacking can be Figure 11 The trigger button for skill 1 can also be the trigger button for a normal attack skill, or the trigger button for skill 2 or skill 3, etc.

[0159] The second method is to monitor whether the display position has not been updated within a reference time, that is, within the reference time, the first interactive object has not controlled the first virtual object to change the display position of the selection pointer, and by default confirm that the display position of the current selection pointer after the update is the position corresponding to the prop selected by the first virtual object. This application does not limit the setting method of the reference duration. It can be set through experience, or through a preset correspondence between the virtual environment and the duration to determine the reference duration corresponding to the virtual environment where the current first virtual object and the second virtual object are located. It can also be manually configured.

[0160] It should be noted that the above content takes the example of displaying the selection pointer, moving the selection pointer from the initial display position to the updated display position, and obtaining a confirmation instruction at the updated display position to introduce a method for determining the prop selected by the first virtual object. In some embodiments, after the selection pointer is selected, if the first interactive object believes that the prop corresponding to the initial display position of the selection pointer is the prop used to hide the second virtual object, the initial display position can also be directly confirmed, so that the first terminal device responds to the confirmation instruction of the initial display position. The confirmation instruction of the initial display position can be obtained in response to the triggering operation of the confirmation control when the selection pointer is at the initial display position, or it can be obtained in response to the initial display position not being updated within the reference time length.

[0161] Different ways of obtaining confirmation instructions facilitate the process of the first interactive object confirming the selected virtual props, provide a convenient interactive experience for the first interactive object, and improve the human-computer interaction rate.

[0162] As an optional embodiment, there are n virtual props, the i-1th virtual prop of the n virtual props is located in the first direction of the i-th virtual prop, and the i+1th virtual prop of the n virtual props is located in the second direction of the i-th virtual prop, where n is an integer not less than 3; the default selected virtual prop is the i-th virtual prop; if the update operation of the default selected virtual prop includes a move operation in the first direction, the currently selected virtual prop is the i-1th virtual prop; if the update operation of the default selected virtual prop includes a move operation in the second direction, the currently selected virtual prop is the i+1th virtual prop; if the update operation of the default selected virtual prop includes a move operation in a third direction, the currently selected virtual prop is the i-th virtual prop, where the third direction is a direction other than the first and second directions. The first interactive object can conveniently update the default selected virtual prop by moving in the first, second, or third direction. This convenient virtual prop selection is conducive to increasing interactive interest and thereby improving the human-computer interaction rate. In addition, the calculation logic for selecting virtual props is relatively simple, which is conducive to saving resources of terminal devices.

[0163] For example, take the virtual prop as a virtual box in the second form, n is 3, and the default selection method is to trigger the direction control as an example; the first virtual box is located in the first direction of the second virtual box, and the third virtual box is located in the second direction of the second virtual box; the direction control includes a first control corresponding to the first direction, a second control corresponding to the second direction, and a third control corresponding to the third direction; in response to the triggering operation of the first control, the first virtual box is used as the currently selected virtual box; in response to the triggering operation of the second control, the third virtual box is used as the currently selected virtual box; in response to the triggering operation of the third control, the second virtual box is used as the currently selected virtual box.

[0164] It should be noted that the first direction, the second direction, and the third direction can be any three different directions. For example, the first direction and the second direction are opposite directions. For example, the first direction is the left direction of the display interface, the second direction is the right direction of the display interface, and the third direction is any direction other than the left and right directions, such as the downward direction or the upward direction. For another example, the first direction is the upward direction of the display interface, the second direction is the downward direction of the display interface, and the third direction is any direction other than the upward and downward directions, such as the left direction or the right direction. This application does not limit the directions of the first direction, the second direction, and the third direction.

[0165] As an optional embodiment, after displaying at least two virtual props, the method further includes: displaying an animation of the first virtual object attacking a selected virtual prop from the at least two virtual props. After obtaining the selection operation of the first virtual object from the at least two virtual props, in addition to deducting the initial value, the animation of the first virtual object attacking the selected virtual prop is further displayed to enhance the visual effect, thereby increasing the interactive interest and interactive experience of the interactive object, and thus improving the human-computer interaction rate.

[0166] It should be noted that when the above confirmation instruction is triggered, an animation of the first virtual object attacking the selected second-form virtual prop along a certain movement trajectory is displayed. The movement trajectory of the first virtual object's attack includes but is not limited to a straight line or a curve, wherein the curve includes but is not limited to a parabola, see Figure 12 Taking the moving trajectory as a parabola as an example, assuming that the selected virtual prop is box C, the animation of the first virtual object jumping up and hitting box C with a parabola trajectory is displayed.

[0167] After displaying the animation of the first virtual object attacking the selected virtual prop in the second form, the following two animation situations are included.

[0168] Case 1: Displaying an animation of the second virtual object moving from inside the first prop to outside the first prop along the first trajectory.

[0169] As an optional embodiment, after displaying the animation of the first virtual object attacking the selected second-form virtual prop, the method further includes: when the first virtual object selects the first prop, displaying the animation of the second virtual object moving from inside the first prop to outside the first prop along the first trajectory.

[0170] If the first prop is selected, that is, the prop that the first interactive object controls the first virtual object to attack is the first prop that hides the second virtual object, when the first virtual object attacks the selected second-form virtual prop, the second virtual object is attacked, and the second virtual object is displayed flying out of the first prop along the first trajectory from the hidden first prop. It should be noted that the first trajectory can include a straight line or a curve, where the curve includes but is not limited to a parabola.

[0171] See also Figure 12 The second form of the virtual prop is a virtual box. Box A, Box B, and Box C are three virtual boxes. The second virtual object is hidden in Box C. The first interactive object controls the first virtual object to select Box C and attack Box C. Figure 13 , the second virtual object 1302 flies out of the C box in a parabolic trajectory, and the attribute value 1303 of the second virtual object is compared with Figure 12 The first value of the attribute value is deducted from 1202. It should be noted that the time for deducting the first value of the attribute value can be Figure 13 When the second virtual object 1302 flies out of the C box in a parabolic trajectory, it can also be deducted Figure 12 The first interactive object controls the first virtual object to select box C and deducts it when attacking box C. This application does not limit the time for deducting the attribute value of the first value.

[0172] Case 2: Displaying an animation of the second virtual object moving from inside the first prop to outside the first prop along the second trajectory.

[0173] As an optional embodiment, when the selected virtual prop is a second prop, an animation of a second virtual object moving from inside the first prop to outside the first prop along a second trajectory is displayed, where the second prop is a prop different from the first prop among the at least two virtual props; and the second trajectory is different from the first trajectory.

[0174] When the first virtual object selects the second item, i.e., the first interactive object controls the first virtual object to select the wrong item, the display interface shows the second virtual object flying out along a second trajectory. The second trajectory includes straight lines and curves, where curves include but are not limited to parabolas. As an optional embodiment, horizontally, the distance between the end point and the starting point of the first trajectory is greater than the distance between the end point and the starting point of the second trajectory; vertically, the height of the first trajectory is greater than the height of the second trajectory.

[0175] Depending on whether the first virtual object has selected the first prop that hides the second virtual object, the display interface will display different movement trajectories of the second virtual object. Using movement trajectories to distinguish whether the first prop is selected increases the fun of the interaction process and improves the human-computer interaction rate.

[0176] See also Figure 14 , taking the second form of the virtual prop as a virtual box as an example, when the first interactive object controls the first virtual object to select box B, the attribute value of the second virtual object is 1401; see Figure 15 , box A, box B, and box C are three virtual boxes, the second virtual object is hidden in box C, and the first interactive object controls the first virtual object to attack box B. Figure 16 ,After the first virtual object attacks box B, the second virtual object 1601 flies out from box C in a parabolic ,trajectory.

[0177] As an optional embodiment, the method further includes: in response to the selection operation of the second prop, deducting a second value from the target attribute value, the second value is less than the first value, and the second prop is a prop different from the first prop among the at least two virtual props.

[0178] When the first interactive object controls the first virtual object to select the second item, the second value deducted from the second virtual object is less than the first value deducted from the second virtual object when the first interactive object controls the first virtual object to select the first item. The deducted value is used to distinguish whether the first virtual object has selected the virtual item that hides the second virtual object. Regardless of whether the first item is selected, the corresponding attribute value is deducted, which increases interactive interest and thus improves the human-computer interaction rate.

[0179] For example, when the second virtual object does not deduct attribute value in response to the first virtual object hitting the second virtual object, Figure 16 The attribute value displayed in 1602 is the same as Figure 3 The difference between the attribute values ​​displayed in 304 is the second value; Figure 13 The attribute value displayed in 1303 is the same as Figure 3 The difference in the attribute value displayed in 304 is the first value. When the first virtual object hits the second virtual object, the initial attribute value of the second virtual object is deducted from the initial value. Figure 16 The attribute value displayed in 1602 is the same as Figure 5 The difference between the attribute values ​​shown in 503 is the second value; Figure 13 The attribute value displayed in 1303 is the same as Figure 5 The difference in the attribute values ​​displayed in 503 is the first value.

[0180] As an optional implementation, after displaying the animation of the first virtual object attacking the selected virtual prop among the at least two virtual props, the method further includes: displaying the animation of the other virtual props among the at least two virtual props except the selected virtual prop moving toward the reference direction.

[0181] The reference direction is pre-set for each virtual prop. The reference directions of different virtual props can be the same or different, and this application does not impose any restrictions. If not hit, the virtual prop moves in the reference direction. The movement methods include but are not limited to flying, running, jumping, and sliding. Figure 16 , taking the virtual box in the second form of the virtual prop as an example, box A and box C fly out to the left and right of the screen respectively.

[0182] As an optional implementation manner, the manner of determining the quantity of the at least two virtual props in the present application includes but is not limited to the following four.

[0183] Method 1: The number of the at least two virtual props is negatively correlated with the number of attack props used by the first virtual object to attack the second virtual object.

[0184] When a first virtual object attacks a second virtual object, the number of attack props released varies, resulting in different numbers of virtual props in the second form. The more attack props released, the more severe the attack on the second virtual object. In this case, setting a smaller number of virtual props increases the probability of the first interactive object correctly guessing the first prop hidden by the second virtual object, thereby increasing the probability of deducting the first value from the target attribute value of the second virtual object. This increases the interaction motivation and enthusiasm of the first interactive object and improves the human-computer interaction rate.

[0185] Method 2: The number of at least two virtual props is positively correlated with the degree of counterattack of the second virtual object against the first virtual object.

[0186] After a first virtual object attacks a second virtual object, the second virtual object's counterattack strength varies, resulting in different numbers of virtual props in the second form. The greater the second virtual object's counterattack strength, the greater the number of virtual props. This reduces the probability of the first interactive object correctly guessing the first prop hidden by the second virtual object, thereby reducing the probability of deducting the first value from the second virtual object's target attribute value. This increases the second virtual object's motivation and enthusiasm for counterattack, improving the human-computer interaction rate.

[0187] Method 3: The quantity of at least two virtual props is negatively correlated with the target attribute value.

[0188] After a first virtual object attacks a second virtual object, the number of virtual props varies depending on the second virtual object's target attribute value. The smaller the second virtual object's target attribute value, the weaker its ability to withstand attacks. In this case, providing a larger number of virtual props reduces the probability of the second virtual object's target attribute value being deducted from the first value, thereby increasing the likelihood of continued interaction with the second virtual object, making the interaction more interesting and improving the human-computer interaction rate.

[0189] Method 4: The number of at least two virtual props is positively correlated with the terminal device resources.

[0190] The number of virtual props varies depending on the terminal device resources. The more terminal device resources there are, the more virtual props can be set to fully utilize the terminal device resources.

[0191] The number of at least two virtual props can be determined using any of the above methods, or a combination of any of the above methods. Determining an appropriate number of virtual props based on the actual conditions of different parameters can reduce the resource burden on the terminal device and avoid resource waste. Furthermore, an appropriate number of virtual props better matches the actual interaction situation, thereby improving the interactive experience and, in turn, increasing the human-computer interaction rate.

[0192] The technical solution provided by the embodiment of the present application is that, in the process of interaction based on virtual objects, after the first virtual object hits the second virtual object, at least two virtual props are displayed for the first virtual object to guess the first prop hidden by the second virtual object. If the first virtual object selects the first prop, the attribute value of the second virtual object is reduced to achieve damage to the second virtual object. Before deducting the first value of the second virtual object, only at least two virtual props need to be displayed on the display interface, without the need to display complex animations. The display screen is relatively simple, which is conducive to saving display resources of the terminal device. Moreover, it is only necessary to determine whether to deduct the first value by judging whether the first prop is selected. The judgment logic is relatively simple, which is conducive to saving computing resources of the terminal device, thereby saving resources of the terminal device, improving the smoothness of the interaction process and the interactive experience of the interactive objects, and thus improving the human-computer interaction rate.

[0193] See below Figure 17 , which is a virtual object-based interaction method provided by this application, is applied to a terminal device of a first virtual object.

[0194] Step 1701: Display a first virtual object and a second virtual object.

[0195] For the introduction of the first virtual object and the second virtual object, please refer to the above Figure 2 The description of step 201 in the illustrated embodiment will not be repeated here.

[0196] Step 1702, in response to the first virtual object hitting the second virtual object, transforming the second virtual object into a reference image, subtracting the initial value from the initial attribute value of the second virtual object to obtain the target attribute value, and the reference image is used to indicate that the second virtual object is hit by the first virtual object.

[0197] Step 1703 : Before the second virtual object is hidden, display an animation of splitting the reference image into at least two virtual props in the first form.

[0198] Step 1704: After the second virtual object is hidden by the first prop of the at least two virtual props, an animation of moving the at least two virtual props in the first form toward the target plane is displayed; after the animation is displayed, the at least two virtual props in the second form located on the target plane are displayed.

[0199] For the description of steps 1702 to 1704, please refer to the above Figure 2 The description of step 202 in the illustrated embodiment will not be repeated here.

[0200] Step 1705 : Determine a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props.

[0201] Step 1706 : In response to the confirmation instruction of the currently selected virtual item, the currently selected virtual item is used as the selected virtual item.

[0202] Step 1707: When the selected virtual item is the first item, the first value is subtracted from the target attribute value of the second virtual object.

[0203] Step 1708: If the selected virtual item is the second item, subtract a second value from the target attribute value. The second value is smaller than the first value. The second item is different from the first item among the at least two virtual items.

[0204] Step 1709 : Display an animation of the first virtual object attacking the selected virtual prop among the at least two virtual props.

[0205] Step 1710 : When the selected virtual prop is the first prop, an animation of a second virtual object moving from inside the first prop to outside the first prop along a first trajectory is displayed.

[0206] Step 1711: If the selected virtual prop is a second prop, an animation of a second virtual object moving from inside the first prop to outside the first prop along a second trajectory is displayed. The second prop is a prop different from the first prop among the at least two virtual props, and the second trajectory is different from the first trajectory.

[0207] For the description of steps 1705 to 1711, please refer to the above Figure 2 The description of step 203 in the illustrated embodiment will not be repeated here.

[0208] Based on the above Figure 1 The computer system shown in the figure, the embodiment of the present application provides an interactive method based on virtual objects, which can be executed by the second terminal device or implemented by the interaction between the second terminal device and the server, and the embodiment of the present application is not limited to this. Taking the method provided in the embodiment of the present application as an example, as shown in FIG. Figure 18 As shown, the virtual object-based interaction method provided in the embodiment of the present application may include the following steps 1801 to 1803.

[0209] In step 1801 , a first virtual object and a second virtual object are displayed.

[0210] For the introduction of the first virtual object and the second virtual object, please refer to the above Figure 2 The description of step 201 in the illustrated embodiment will not be repeated here.

[0211] In step 1802 , in response to a first virtual object hitting a second virtual object, at least two virtual props are displayed.

[0212] As an optional embodiment, in response to a first virtual object hitting a second virtual object, at least two virtual props are displayed, including: in response to the first virtual object hitting the second virtual object, the second virtual object is transformed into a reference image, the reference image being used to indicate that the second virtual object is hit by the first virtual object; and an animation of splitting the reference image into the at least two virtual props is displayed.

[0213] As an optional embodiment, displaying an animation of splitting a reference image into at least two virtual props includes: before the second virtual object is hidden, displaying an animation of splitting the reference image into at least two virtual props in a first form; the method also includes: after hiding the second virtual object based on the first prop, displaying at least two virtual props in a second form.

[0214] As an optional implementation, after hiding the second virtual object based on the first prop, displaying at least two virtual props in a second form includes: after hiding the second virtual object based on the first prop, displaying an animation of moving the at least two virtual props in the first form toward a target plane; after the animation is displayed, displaying the at least two virtual props in the second form located on the target plane.

[0215] For an introduction to displaying at least two virtual props, see above Figure 2 The description of step 202 in the illustrated embodiment will not be repeated here.

[0216] In step 1803 , in response to a selection operation of a first prop among the at least two virtual props, a second virtual object is hidden based on the first prop.

[0217] The present application does not limit the manner in which the second interactive object controls the second virtual object to determine the first prop among at least two virtual props in the first form.

[0218] As an optional embodiment, the method further includes: determining a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; and in response to a confirmation instruction of the currently selected virtual prop, using the currently selected virtual prop as the selected virtual prop.

[0219] It should be noted that this process involves the second interactive object controlling the second virtual object to select a virtual prop from the first-form virtual props for hiding the second virtual object. Exemplarily, based on an update operation for the default-selected first-form virtual prop among at least two first-form virtual props, the currently selected first-form virtual prop is determined; and in response to a confirmation instruction for the currently selected first-form virtual prop, the currently selected first-form virtual prop is set as the selected first-form virtual prop.

[0220] For example, the default selection display method includes, but is not limited to, displaying a selection pointer on the display interface; or, without a specific display indicator on the display interface, simply highlighting the default selected virtual item with a brightness greater than a threshold. The default selection method also includes, but is not limited to, selecting in response to a directional control on the display interface; or selecting by adjusting a joystick on an external device, which is not limited in this application.

[0221] As an optional embodiment, the method further includes: displaying a directional control; and determining the currently selected first-form virtual item based on a triggering operation of the directional control. Adding the directional control to the display interface facilitates the process of determining the currently selected first-form virtual item, improves the efficiency of determining the currently selected first-form virtual item, conserves resources on the second terminal device, and thereby increases the human-computer interaction rate.

[0222] When the second virtual object is split into at least two virtual props of the first form, as an optional implementation, an initial pointer is displayed on any virtual prop of the first form to indicate the virtual prop of the first form where the cursor is currently positioned. The second interactive object determines the updated display position of the initial pointer by triggering the direction control; in response to a confirmation instruction of the updated display position, the virtual prop corresponding to the updated display position is used as the currently selected virtual prop of the first form.

[0223] It should be noted that the initial pointer is a pointer used to locate the selected virtual prop in the first form among at least two virtual props in the first form through manipulation by the second interactive object. The initial pointer can be an arrow positioned above any virtual prop in the first form or a pointer positioned on any virtual prop in the first form; the initial pointer's form is not limited, as long as it can initially locate any virtual prop in the first form.

[0224] As an optional implementation, there are n virtual props, the i-1th virtual prop among the n virtual props is located in the first direction of the i-th virtual prop, and the i+1th virtual prop among the n virtual props is located in the second direction of the i-th virtual prop, and n is an integer not less than 3; the virtual prop selected by default is the i-th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in the first direction, the currently selected virtual prop is the i-1th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in the second direction, the currently selected virtual prop is the i+1th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a third direction, the currently selected virtual prop is the i-th virtual prop, wherein the third direction is a direction other than the first direction and the second direction.

[0225] For example, a virtual prop is a virtual box in the first form, n is 3, and the default selection method is to trigger the direction control. The first virtual box is located in the first direction of the second virtual box, and the third virtual box is located in the second direction of the second virtual box. The direction control includes a first control corresponding to the first direction, a second control corresponding to the second direction, and a third control corresponding to the third direction. In response to the triggering operation of the first control, the first virtual box is selected as the currently selected virtual box. In response to the triggering operation of the second control, the third virtual box is selected as the currently selected virtual box. In response to the triggering operation of the third control, the second virtual box is selected as the currently selected virtual box. The second interactive object can select from the n virtual props through the default selected update operation, thereby improving the interaction efficiency of the second interactive object and saving resources of the terminal device.

[0226] When the first form of the virtual prop is a virtual box, and the number of virtual boxes is three, the first control, the second control, and the third control are triggered to select the corresponding virtual box respectively. Figure 19 , box C is in the second direction of box B. When the second virtual object is split into three boxes A, B, and C, if the second interactive object selects box C as the selected virtual prop, the second interactive object is adjusted by the second control 1901 corresponding to the second direction. After the adjustment is completed, see Figure 20, the second interactive object controls the second virtual object to enter the C box for hiding. It should be noted that the method of controlling the second virtual object to enter the selected virtual prop for hiding is not limited in this application. The direction control may not be triggered within the reference time, and the second interactive object may control the second virtual object to enter the selected virtual prop for hiding; or the triggering of the hiding control may be confirmed, and the second interactive object may control the second virtual object to enter the selected virtual prop for hiding.

[0227] After the second virtual object enters the selected virtual prop to hide, at least two virtual props in a second form are obtained, the at least two virtual props in the second form are displayed, and the at least two virtual props in the second form are used for selection by the first virtual object.

[0228] For the introduction of at least two virtual props in the second form, please refer to the above Figure 2 The description of step 202 in the illustrated embodiment will not be repeated here.

[0229] After displaying the at least two virtual props in the second form, the first virtual object can also select from the at least two virtual props in the second form. In different cases where the virtual prop selected by the first virtual object is the first prop or a virtual prop other than the first prop, there are different interaction processes. The interaction process can be referred to above. Figure 2 The description of step 203 in the illustrated embodiment will not be repeated here.

[0230] As an optional implementation, the method further includes: displaying the first prop and the second prop in different display forms, wherein the second prop is a prop different from the first prop among the at least two virtual props.

[0231] In order to prompt the virtual props hidden by the second virtual object, the first props and the second props can be distinguished by different display forms, including but not limited to highlighting. It should be noted that the present application does not limit the way of highlighting. It can be a highlight display with a brightness greater than a threshold on the first prop, or a flashing display on the first prop, or an indicator arrow mark on the first prop. Regardless of the highlighting method, it is not displayed on the display screen of the first terminal device, that is, the highlight is only visible on the display screen of the second terminal device. The second interactive object is always aware of the props it is on, which improves the interactive experience and thus improves the human-computer interaction rate.

[0232] See below Figure 21 , which is a virtual object-based interaction method provided by this application, is applied to a second terminal device.

[0233] Step 2101: Display a first virtual object and a second virtual object.

[0234] For an introduction to displaying the first virtual object and the second virtual object, see the above Figure 18 The description of step 1801 in the illustrated embodiment will not be repeated here.

[0235] Step 2102: In response to the first virtual object hitting the second virtual object, the second virtual object is transformed into a reference image. Before the second virtual object is hidden, an animation of splitting the reference image into at least two virtual props in a first form is displayed. After hiding the second virtual object based on the first prop, an animation of moving the at least two virtual props in the first form toward a target plane is displayed. After the animation is displayed, the at least two virtual props in the second form located on the target plane are displayed.

[0236] For an introduction to displaying at least two virtual props in a first form and converting at least two virtual props in a first form into at least two virtual props in a second form, see the above Figure 18 The description of step 1802 in the illustrated embodiment will not be repeated here.

[0237] Step 2103: Determine the currently selected virtual prop based on the update operation of the default selected virtual prop among the at least two virtual props.

[0238] Step 2104 : In response to the confirmation instruction of the currently selected virtual item, the currently selected virtual item is used as the selected virtual item.

[0239] Step 2105 : Display the first prop and the second prop in different display forms, wherein the second prop is a prop different from the first prop among the at least two virtual props.

[0240] For the description of steps 2103 to 2105, please refer to the above Figure 18 The introduction of step 1803 in the illustrated embodiment will not be repeated here.

[0241] Below, we take the virtual props as virtual boxes, the number of virtual boxes is three, the first prop is the first box, and the second prop is the second box as an example to introduce an interaction method based on virtual objects. Figure 22 The method includes the following steps 2201 to 2215:

[0242] Step 2201: Display a first virtual object and a second virtual object on a first terminal device and a second terminal device.

[0243] Step 2202: The first terminal device controls the first virtual object to release a skill.

[0244] Step 2203, determine whether the second virtual object is hit, if yes, execute step 2204, if not, execute step 2215.

[0245] In step 2204, the first terminal device and the second terminal device transform the second virtual object into a reference image, deduct the initial value from the initial attribute value of the second virtual object to obtain the target attribute value, and in response to the display time of the reference image reaching the duration threshold, display an animation of splitting the reference image into three virtual boxes of the first form.

[0246] In step 2205 , in response to the triggering operation of the first control, the second terminal device uses the first virtual box in the first form as the first box and highlights the first box.

[0247] In step 2206, in response to the triggering operation of the second control, the second terminal device uses the third virtual box in the first form as the first box and highlights the first box.

[0248] In step 2207, in response to the triggering operation of the third control, the second terminal device uses the second virtual box in the first form as the first box and highlights the first box.

[0249] In step 2208, the first terminal device and the second terminal device display an animation of moving the three virtual boxes in the first form toward the target plane. After the animation is displayed, the three virtual boxes in the second form located on the target plane are displayed.

[0250] In step 2209, the first terminal device displays the selection pointer and the direction control, and determines the updated display position of the selection pointer based on the triggering operation of the direction control.

[0251] Step 2210, in response to the confirmation instruction of the updated display position, the first terminal device uses the second-form virtual box corresponding to the updated display position as the second-form box selected by the first virtual object, and displays an animation of the first virtual object attacking the selected second-form virtual box.

[0252] Step 2211 , determining whether the selected second-form virtual box is the first box, if so, executing step 2212 , if not, executing step 2213 .

[0253] In step 2212 , the first terminal device and the second terminal device deduct the first value from the target attribute value of the second virtual object, and display an animation of the second virtual object moving from inside the first box to outside the first box along the first trajectory.

[0254] Among them, the target attribute value is the attribute value obtained by deducting the initial value from the initial attribute value of the second virtual object when the first virtual object hits the second virtual object, and the initial attribute value is the attribute value of the second virtual object before the first virtual object hits the second virtual object.

[0255] In step 2213 , the first terminal device and the second terminal device deduct the second value from the target attribute value of the second virtual object, and display an animation of the second virtual object moving from inside the first box to outside the first box along the second trajectory.

[0256] It should be noted that the second trajectory is different from the first trajectory; the second value is smaller than the first value.

[0257] In step 2214 , the first terminal device and the second terminal device display an animation of the other virtual boxes in the three virtual boxes in the second form, except for the selected virtual box in the second form, moving toward the reference direction.

[0258] Step 2215, end.

[0259] See also Figure 23 , an embodiment of the present application provides an interactive device based on a virtual object, the device comprising:

[0260] A first display module 2301 is configured to display a first virtual object and a second virtual object;

[0261] A second display module 2302 is configured to display at least two virtual props in response to the first virtual object hitting the second virtual object;

[0262] The processing module 2303 is configured to, after the second virtual object is hidden by the first prop of the at least two virtual props, subtract the first value from the target attribute value of the second virtual object in response to the selection operation of the first prop.

[0263] In one possible implementation, the second display module 2302 is configured to, in response to the first virtual object hitting the second virtual object, transform the second virtual object into a reference image, where the reference image is used to indicate that the second virtual object is hit by the first virtual object; and display an animation that splits the reference image into at least two virtual props.

[0264] In one possible implementation, the second display module 2302 is used to display an animation of splitting the reference image into at least two virtual props in a first form before the second virtual object is hidden; the second display module is also used to display the at least two virtual props in a second form after the second virtual object is hidden by the first prop of the at least two virtual props.

[0265] In one possible implementation, the second display module 2302 is configured to display an animation of moving the at least two virtual props in a first form toward a target plane after the second virtual object is hidden by the first prop of the at least two virtual props; and after the animation is displayed, display the at least two virtual props in a second form located on the target plane.

[0266] In one possible implementation, the second display module 2302 is further configured to determine a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; and in response to a confirmation instruction of the currently selected virtual prop, set the currently selected virtual prop as the selected virtual prop.

[0267] In one possible implementation, there are n virtual props, the i-1th virtual prop among the n virtual props is located in the first direction of the i-th virtual prop, and the i+1th virtual prop among the n virtual props is located in the second direction of the i-th virtual prop, where n is an integer not less than 3; the virtual prop selected by default is the i-th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a first direction, the currently selected virtual prop is the i-1th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a second direction, the currently selected virtual prop is the i+1th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a third direction, the currently selected virtual prop is the i-th virtual prop, where the third direction is a direction other than the first direction and the second direction.

[0268] In one possible implementation, the second display module 2302 is further configured to, in response to a selection operation of a second prop, deduct a second value from the target attribute value, where the second value is less than the first value, and the second prop is a prop different from the first prop among the at least two virtual props.

[0269] In one possible implementation, the second display module 2302 is further configured to, in response to the first virtual object hitting the second virtual object, deduct the initial value from the initial attribute value of the second virtual object to obtain a target attribute value; wherein the initial attribute value is the attribute value of the second virtual object before being hit by the first virtual object.

[0270] In a possible implementation, the second display module 2302 is further configured to display an animation of the first virtual object attacking a selected virtual prop from among the at least two virtual props.

[0271] In one possible implementation, the second display module 2302 is further configured to, when the selected virtual prop is the first prop, display an animation of a second virtual object moving from inside the first prop to outside the first prop along a first trajectory; and, when the selected virtual prop is the second prop, display an animation of the second virtual object moving from inside the first prop to outside the first prop along a second trajectory, where the second prop is a prop different from the first prop among the at least two virtual props; and the second trajectory is different from the first trajectory.

[0272] In one possible implementation, the number of at least two virtual props is negatively correlated with the number of attack props used by the first virtual object to attack the second virtual object; or, the number of at least two virtual props is positively correlated with the degree of counterattack of the second virtual object against the first virtual object; or, the number of at least two virtual props is negatively correlated with the target attribute value; or, the number of at least two virtual props is positively correlated with the terminal device resources.

[0273] It should be understood that the above-mentioned device is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0274] See also Figure 24 , an embodiment of the present application provides an interactive device based on a virtual object, the device comprising:

[0275] A first display module 2401 is configured to display a first virtual object and a second virtual object;

[0276] A second display module 2402 is configured to display at least two virtual props in response to the first virtual object hitting the second virtual object;

[0277] The third display module 2403 is configured to, in response to a selection operation of a first prop among the at least two virtual props, hide a second virtual object based on the first prop.

[0278] In one possible implementation, the second display module 2402 is configured to, in response to the first virtual object hitting the second virtual object, transform the second virtual object into a reference image, where the reference image is used to indicate that the second virtual object is hit by the first virtual object; and display an animation that splits the reference image into at least two virtual props.

[0279] In one possible implementation, the second display module 2402 is used to display an animation of splitting the reference image into at least two virtual props in the first form before the second virtual object is hidden; the second display module 2402 is also used to display the at least two virtual props in the second form after the second virtual object is hidden based on the first prop.

[0280] In one possible implementation, the second display module 2402 is configured to display an animation of moving at least two virtual props in a first form toward a target plane after hiding the second virtual object based on the first prop; and after the animation is displayed, display at least two virtual props in a second form located on the target plane.

[0281] In one possible implementation, the third display module 2403 is further configured to determine a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; and in response to a confirmation instruction of the currently selected virtual prop, set the currently selected virtual prop as the selected virtual prop.

[0282] In one possible implementation, there are n virtual props, the i-1th virtual prop among the n virtual props is located in the first direction of the i-th virtual prop, and the i+1th virtual prop among the n virtual props in the first form is located in the second direction of the i-th virtual prop, where n is an integer not less than 3; the virtual prop selected by default is the i-th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in the first direction, the currently selected virtual prop is the i-1th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in the second direction, the currently selected virtual prop is the i+1th virtual prop; when the update operation of the default selected virtual prop includes an operation of moving in a third direction, the currently selected virtual prop is the i-th virtual prop, where the third direction is a direction other than the first direction and the second direction.

[0283] In a possible implementation, the third display module 2403 is further configured to display the first prop and the second prop in different display forms, wherein the second prop is a prop different from the first prop among the at least two virtual props.

[0284] It should be understood that the above-mentioned device is merely an example of the division of the above-mentioned functional modules when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0285] In an exemplary embodiment, a computer device is also provided. The computer device includes a processor and a memory, wherein the memory stores at least one computer program. The at least one computer program is loaded and executed by one or more processors, so that the computer device implements any of the aforementioned virtual object-based interaction methods. The computer device can be a server or a terminal device. The structures of the server and terminal devices are described below.

[0286] Figure 25 This is a structural diagram of a server provided in an embodiment of the present application. The server may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 2501 and one or more memories 2502, wherein at least one computer program is stored in the one or more memories 2502, and the at least one computer program is loaded and executed by the one or more processors 2501 to enable the server to implement the virtual object-based interaction method provided in the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described in detail here.

[0287] Figure 26 The following is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. The terminal device may be a PC, mobile phone, smartphone, PDA, wearable device, PPC, tablet computer, smart car computer, smart TV, smart speaker, smart voice interaction device, smart home appliance, vehicle-mounted terminal device, VR device, AR device, etc. The terminal device may also be referred to as user equipment, portable terminal device, laptop terminal device, desktop terminal device, etc.

[0288] Typically, the terminal device includes: a processor 2601 and a memory 2602 .

[0289] The processor 2601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 2601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 2601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 2601 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 2601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0290] The memory 2602 may include one or more computer-readable storage media, which may be non-transitory. The memory 2602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 2602 is used to store at least one instruction, which is used to be executed by the processor 2601 to enable the terminal device to implement the virtual object-based interaction method provided in the method embodiment of the present application.

[0291] In some embodiments, the terminal device may optionally include a peripheral device interface 2603 and at least one peripheral device. The processor 2601, memory 2602, and peripheral device interface 2603 may be connected via a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 2603 via a bus, signal lines, or circuit boards. Specifically, the peripheral device may include at least one of a radio frequency circuit 2604, a display screen 2605, a camera assembly 2606, an audio circuit 2607, and a power supply 2608.

[0292] The peripheral device interface 2603 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 2601 and the memory 2602. In some embodiments, the processor 2601, the memory 2602, and the peripheral device interface 2603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 2601, the memory 2602, and the peripheral device interface 2603 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0293] The RF circuit 2604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 2604 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 2604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the RF circuit 2604 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and the like. The RF circuit 2604 can communicate with other terminal devices via at least one wireless communication protocol. Such wireless communication protocols include, but are not limited to, metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 2604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0294] Display screen 2605 is used to display a user interface (UI). This UI can include graphics, text, icons, videos, or any combination thereof. When display screen 2605 is a touchscreen display, it can also capture touch signals on or above the surface of display screen 2605. These touch signals can be input as control signals to processor 2601 for processing. Display screen 2605 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there can be a single display screen 2605, located on the front panel of the terminal device. In other embodiments, there can be at least two display screens 2605, located on different surfaces of the terminal device or in a foldable design. In still other embodiments, display screen 2605 can be a flexible display screen, located on a curved or foldable surface of the terminal device. Display screen 2605 can also be configured as a non-rectangular, irregular shape, also known as a special-shaped screen. Display screen 2605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0295] The camera assembly 2606 is used to capture images or videos. Optionally, the camera assembly 2606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device, and the rear camera is arranged on the back of the terminal device. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR shooting function or other fusion shooting functions. In some embodiments, the camera assembly 2606 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0296] The audio circuit 2607 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals that are input into the processor 2601 for processing, or input into the radio frequency circuit 2604 to achieve voice communication. For the purpose of stereo sound collection or noise reduction, there can be multiple microphones, each set in different parts of the terminal device. The microphone can also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 2601 or the radio frequency circuit 2604 into sound waves. The speaker can be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 2607 may also include a headphone jack.

[0297] Power supply 2608 is used to power various components in the terminal device. Power supply 2608 can be AC ​​power, DC power, disposable batteries, or rechargeable batteries. When power supply 2608 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0298] In some embodiments, the terminal device further includes one or more sensors 2609 , including but not limited to: an acceleration sensor 2610 , a gyroscope sensor 2611 , a pressure sensor 2612 , an optical sensor 2613 , and a proximity sensor 2614 .

[0299] The accelerometer 2610 can detect the magnitude of acceleration along the three coordinate axes of the coordinate system established by the terminal device. For example, the accelerometer 2610 can be used to detect the components of gravity acceleration along the three coordinate axes. The processor 2601 can control the display screen 2605 to display the user interface in a landscape or portrait view based on the gravity acceleration signal collected by the accelerometer 2610. The accelerometer 2610 can also be used to collect game or user motion data.

[0300] Gyroscope sensor 2611 can detect the orientation and rotation angle of the terminal device and can work with accelerometer 2610 to collect 3D motions of the user on the terminal device. Based on the data collected by gyroscope sensor 2611, processor 2601 can implement the following functions: motion sensing (such as changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0301] The pressure sensor 2612 can be set in the side frame of the terminal device and / or the lower layer of the display screen 2605. When the pressure sensor 2612 is set in the side frame of the terminal device, it can detect the user's grip signal of the terminal device, and the processor 2601 performs left and right hand recognition or shortcut operations based on the grip signal collected by the pressure sensor 2612. When the pressure sensor 2612 is set in the lower layer of the display screen 2605, the processor 2601 controls the operable controls on the UI interface based on the user's pressure operation on the display screen 2605. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0302] Optical sensor 2613 is used to detect ambient light intensity. In one embodiment, processor 2601 can control the display brightness of display screen 2605 based on the ambient light intensity detected by optical sensor 2613. Specifically, when the ambient light intensity is high, the display brightness of display screen 2605 is increased; when the ambient light intensity is low, the display brightness of display screen 2605 is decreased. In another embodiment, processor 2601 can also dynamically adjust the shooting parameters of camera assembly 2606 based on the ambient light intensity detected by optical sensor 2613.

[0303] Proximity sensor 2614, also known as a distance sensor, is typically located on the front panel of the terminal device. Proximity sensor 2614 is used to detect the distance between the user and the front of the terminal device. In one embodiment, when proximity sensor 2614 detects that the distance between the user and the front of the terminal device is gradually decreasing, processor 2601 controls display screen 2605 to switch from the screen-on state to the screen-off state. When proximity sensor 2614 detects that the distance between the user and the front of the terminal device is gradually increasing, processor 2601 controls display screen 2605 to switch from the screen-off state to the screen-on state.

[0304] Those skilled in the art will understand that Figure 26 The structure shown in the figure does not constitute a limitation on the terminal device, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0305] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one computer program is stored. The at least one computer program is loaded and executed by a processor of a computer device to enable the computer to implement any of the above-mentioned virtual object-based interaction methods.

[0306] In one possible implementation, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.

[0307] In an exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program or computer instructions. The computer program or computer instructions are loaded and executed by a processor to enable a computer to implement any of the above-mentioned virtual object-based interaction methods.

[0308] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the interactive resources involved in this application are obtained with full authorization.

[0309] It should be understood that the term "plurality" used herein refers to two or more. "And / or" describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates an "or" relationship between the associated objects.

[0310] The above description is merely an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A virtual object-based interaction method, characterized in that: The method comprises: displaying a first virtual object and a second virtual object; in response to the first virtual object hitting the second virtual object, displaying at least two virtual props; After the second virtual object is hidden by a first prop of the at least two virtual props, in response to a selection operation of the first prop, a first value is deducted from a target attribute value of the second virtual object.

2. The method according to claim 1, characterized in that In response to the first virtual object hitting the second virtual object, displaying at least two virtual props comprises: In response to the first virtual object hitting the second virtual object, transforming the second virtual object into a reference image, the reference image being used to indicate that the second virtual object is hit by the first virtual object; An animation of splitting the reference image into the at least two virtual props is displayed.

3. The method according to claim 2, characterized in that The displaying of the animation of splitting the reference image into the at least two virtual props includes: Before the second virtual object is hidden, displaying an animation of splitting the reference image into the at least two virtual props in the first form; The method further comprises: After the second virtual object is hidden by the first prop of the at least two virtual props, the at least two virtual props in a second form are displayed.

4. The method according to claim 3, characterized in that After the second virtual object is hidden by the first prop of the at least two virtual props, displaying the at least two virtual props in a second form includes: After the second virtual object is hidden by the first prop of the at least two virtual props, displaying an animation of moving the at least two virtual props in the first form toward a target plane; After the animation is displayed, at least two virtual props in the second form located on the target plane are displayed.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: determining a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; In response to a confirmation instruction of the currently selected virtual item, the currently selected virtual item is used as the selected virtual item.

6. The method according to claim 5, characterized in that There are n virtual props, the i-1th virtual prop among the n virtual props is located in the first direction of the i-th virtual prop, and the i+1th virtual prop among the n virtual props is located in the second direction of the i-th virtual prop, where n is an integer not less than 3; The virtual prop selected by default is the i-th virtual prop; In a case where the update operation of the default selected virtual item includes an operation of moving in a first direction, the currently selected virtual item is the (i-1)th virtual item; In a case where the update operation of the default selected virtual item includes an operation of moving in the second direction, the currently selected virtual item is the (i+1)th virtual item; In a case where the update operation of the default selected virtual item includes an operation of moving in a third direction, the currently selected virtual item is the i-th virtual item, wherein the third direction is a direction other than the first direction and the second direction.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: In response to a selection operation of a second prop, a second value is deducted from the target attribute value, the second value is smaller than the first value, and the second prop is a prop different from the first prop among the at least two virtual props.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: In response to the first virtual object hitting the second virtual object, deducting an initial value from an initial attribute value of the second virtual object to obtain the target attribute value; The initial attribute value is the attribute value of the second virtual object before being hit by the first virtual object.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: An animation of the first virtual object attacking the selected virtual prop among the at least two virtual props is displayed.

10. The method according to claim 9, characterized in that After displaying the animation of the first virtual object attacking the selected virtual prop among the at least two virtual props, the method further includes: When the selected virtual prop is the first prop, displaying an animation of the second virtual object moving from inside the first prop to outside the first prop along a first trajectory; When the selected virtual prop is a second prop, displaying an animation of the second virtual object moving from inside the first prop to outside the first prop along a second trajectory, wherein the second prop is a prop different from the first prop among the at least two virtual props; The second trajectory is different from the first trajectory.

11. The method according to any one of claims 1 to 10, characterized in that: The number of the at least two virtual props is negatively correlated with the number of attack props used by the first virtual object to attack the second virtual object; or The number of the at least two virtual props is positively correlated with the degree of counterattack of the second virtual object against the first virtual object; or, The quantity of the at least two virtual props is negatively correlated with the target attribute value; or, The quantity of the at least two virtual props is positively correlated with the terminal device resources.

12. A virtual object-based interaction method, characterized in that: The method comprises: displaying a first virtual object and a second virtual object; in response to the first virtual object hitting the second virtual object, displaying at least two virtual props; In response to a selection operation of a first prop among the at least two virtual props, the second virtual object is hidden based on the first prop.

13. The method according to claim 12, characterized in that In response to the first virtual object hitting the second virtual object, displaying at least two virtual props comprises: In response to the first virtual object hitting the second virtual object, transforming the second virtual object into a reference image, the reference image being used to indicate that the second virtual object is hit by the first virtual object; An animation of splitting the reference image into the at least two virtual props is displayed.

14. The method according to claim 13, characterized in that The displaying of the animation of splitting the reference image into the at least two virtual props includes: Before the second virtual object is hidden, displaying an animation of splitting the reference image into the at least two virtual props in the first form; The method further comprises: After hiding the second virtual object based on the first prop, displaying the at least two virtual props in a second form.

15. The method according to claim 14, characterized in that After hiding the second virtual object based on the first prop, displaying the at least two virtual props in a second form includes: After hiding the second virtual object based on the first prop, displaying an animation of moving the at least two virtual props in the first form toward a target plane; After the animation is displayed, at least two virtual props in the second form located on the target plane are displayed.

16. The method according to any one of claims 12 to 15, characterized in that: The method further comprises: determining a currently selected virtual prop based on an update operation of a default selected virtual prop among the at least two virtual props; In response to a confirmation instruction of the currently selected virtual item, the currently selected virtual item is used as the selected virtual item.

17. The method according to claim 16, characterized in that There are n virtual props, the i-1th virtual prop among the n virtual props is located in the first direction of the i-th virtual prop, and the i+1th virtual prop among the n virtual props in the first form is located in the second direction of the i-th virtual prop, where n is an integer not less than 3; The virtual prop selected by default is the i-th virtual prop; In a case where the update operation of the default selected virtual item includes an operation of moving in a first direction, the currently selected virtual item is the (i-1)th virtual item; In a case where the update operation of the default selected virtual item includes an operation of moving in the second direction, the currently selected virtual item is the (i+1)th virtual item; In a case where the update operation of the default selected virtual item includes an operation of moving in a third direction, the currently selected virtual item is the i-th virtual item, wherein the third direction is a direction other than the first direction and the second direction.

18. The method according to any one of claims 12 to 17, characterized in that: The method further comprises: The first prop and the second prop are displayed in different display forms, wherein the second prop is a prop different from the first prop among the at least two virtual props.

19. An interactive device based on virtual objects, characterized in that: The device comprises: A first display module, configured to display a first virtual object and a second virtual object; a second display module, configured to display at least two virtual props in response to the first virtual object hitting the second virtual object; The processing module is configured to, after the second virtual object is hidden by a first prop among the at least two virtual props, subtract a first value from a target attribute value of the second virtual object in response to a selection operation of the first prop.

20. An interactive device based on virtual objects, characterized in that: The device comprises: A first display module, configured to display a first virtual object and a second virtual object; a second display module, configured to display at least two virtual props in response to the first virtual object hitting the second virtual object; The third display module is configured to, in response to a selection operation of a first prop among the at least two virtual props, hide the second virtual object based on the first prop.