Virtual environment screen display method, device, equipment, medium and program product

By setting up virtual objects with limb parts in a virtual environment and separating limb parts during attack, the problem of single attack performance in the virtual environment in the prior art is solved, and a more realistic simulation effect is achieved.

CN114470755BActive Publication Date: 2024-11-08TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111654055.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-10-28
Filing Date
2021-12-30
Publication Date
2024-11-08
Estimated Expiration
2041-12-30

AI Technical Summary

Technical Problem

In the prior art, the image settings of monsters in the virtual environment are single, and the simulation effect is poor, especially when they are attacked, the performance is not realistic enough.

Method used

By setting the second virtual object as a virtual object with at least one limb part and separating the limb part from the second virtual object when the first virtual object successfully hits the target limb part, the simulation effect during attack is optimized.

Benefits of technology

It achieves a more realistic attack effect in a virtual environment, such as priority is given to breaking the tail when it suffers severe damage, extending life, and simulating the behavior of animals in the real world.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114470755B_ABST
    Figure CN114470755B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, equipment, medium and program product for displaying a virtual environment screen, belonging to the field of virtual environment. The method is applied to a client controlling a first virtual object, and the method comprises: displaying a second virtual object, the second virtual object being a virtual object having at least one limb part; controlling the first virtual object to shoot at the second virtual object; and controlling the target limb part to separate from the second virtual object when the first virtual object successfully hits the target limb part of the second virtual object. The above scheme optimizes the simulation effect of the second virtual object when it is attacked.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application claims priority to Chinese patent application No. 202111265126.8 filed on October 28, 2021, with invention name “Method, device, equipment, medium and program product for displaying virtual environment images”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of virtual environments, and in particular to a method, device, equipment, medium and program product for displaying a virtual environment screen. Background Art

[0003] As the gaming field continues to develop, it is common to set up monsters in virtual environments to increase the difficulty of the game for players.

[0004] In the related art, the image of the monster is often set according to the typical image of animals in the real world, for example, the "bull monster" is represented as a monster with horns, limbs, head, trunk and tail. The monster image obtained by the related art is relatively simple, and the simulation effect of the animal is poor. Summary of the invention

[0005] The present application provides a method, device, equipment, medium and program product for displaying a virtual environment screen, which optimizes the simulation effect of a second virtual object when it is attacked. The technical solution is as follows:

[0006] According to one aspect of the present application, a method for displaying a virtual environment screen is provided, the method being applied to a client controlling a first virtual object, the method comprising:

[0007] displaying a second virtual object, where the second virtual object is a virtual object having at least one limb part;

[0008] controlling the first virtual object to shoot at the second virtual object;

[0009] When the first virtual object successfully hits the target limb part of the second virtual object, the target limb part is controlled to separate from the second virtual object.

[0010] According to another aspect of the present application, a device for displaying a virtual environment screen is provided, the device comprising:

[0011] A display module, configured to display a second virtual object, wherein the second virtual object is a virtual object having at least one limb part;

[0012] A control module, used for controlling the first virtual object to shoot at the second virtual object;

[0013] The control module is also used to control the target limb part to separate from the second virtual object when the first virtual object successfully hits the target limb part of the second virtual object.

[0014] According to one aspect of the present application, a computer device is provided, comprising: a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the above method for displaying a virtual environment screen.

[0015] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the above method for displaying a virtual environment screen.

[0016] According to another aspect of the present application, a computer program product is provided, the computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying a virtual environment screen provided in the above aspect.

[0017] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:

[0018] By setting the second virtual object to be a virtual object with at least one limb part and the limb part on the second virtual object can be separated, it is achieved that when the first virtual object only hits the target limb part, the target limb part is separated from the second virtual object. This method optimizes the simulation effect of the second virtual object when it is attacked. For example, if the tail of the second virtual object is severely damaged in the virtual environment, it is preferred to separate the tail to prolong life, which is used to simulate the tail of animals in the real world that are severely damaged and often choose to cut off the tail to survive. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. 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 paying any creative work.

[0020] Figure 1 A structural block diagram of a computer system provided by an exemplary embodiment is shown;

[0021] Figure 2 A flowchart of a method for displaying a virtual environment screen provided by an exemplary embodiment is shown;

[0022] Figure 3 A schematic diagram showing a positional relationship between a camera model and a first virtual object provided by an exemplary embodiment;

[0023] Figure 4 A schematic diagram of a virtual environment screen provided by an exemplary embodiment is shown;

[0024] Figure 5 A flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment is shown;

[0025] Figure 6 A flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment is shown;

[0026] Figure 7 A schematic diagram of a frame in an animation of a target limb part being separated along a knock-off trajectory provided by an exemplary embodiment is shown;

[0027] Figure 8 A schematic diagram of a frame in an animation of separation of a target limb part along a free-fall trajectory provided by an exemplary embodiment is shown;

[0028] Fig. 9 A flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment is shown;

[0029] Fig.10 A schematic diagram of a target virtual prop provided by an exemplary embodiment is shown;

[0030] Fig.11 A schematic diagram showing a first virtual object lacking a target virtual resource provided by an exemplary embodiment is shown;

[0031] Fig.12 A flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment is shown;

[0032] Fig.13 A schematic diagram of a collision box on a first virtual object provided by an exemplary embodiment is shown;

[0033] Fig.14 A flowchart of a method for displaying a virtual environment screen provided by another exemplary embodiment is shown;

[0034] Fig.15 A structural block diagram of a display device for a virtual environment screen provided by an exemplary embodiment is shown;

[0035] Fig.16 A structural block diagram of a computer device provided by an exemplary embodiment is shown. DETAILED DESCRIPTION

[0036] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0037] It should be understood that the "several" mentioned in this article refers to one or more, and "multiple" refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0038] First, the nouns involved in the embodiments of the present application are briefly introduced:

[0039] Virtual environment: is a virtual environment displayed (or provided) when an application is running on a terminal. The virtual environment can be a simulation of the real world, a semi-simulation and semi-fictitious environment, or a purely fictitious environment. The virtual environment can be any one of a two-dimensional virtual environment, a 2.5-dimensional virtual environment, and a three-dimensional virtual environment, and this application does not limit this. The following embodiments are illustrated by taking the virtual environment as a three-dimensional virtual environment.

[0040] Optionally, the virtual environment can provide a battle environment for virtual objects. Exemplarily, in a battle royale type game, at least one virtual object plays a single game in the virtual environment, and the virtual object survives in the virtual environment by avoiding attacks launched by enemy units and dangers in the virtual environment (e.g., poison gas circles, swamps, etc.). When the life value of the virtual object in the virtual environment is zero, the life of the virtual object in the virtual environment ends, and the virtual object that successfully passes the route in the level is the winner; Exemplarily, in a level-breaking type game, at least one virtual object plays a single game in the virtual environment, and the virtual object obtains the clearance authority of the current level by killing monsters, so as to enter the next level or end the current game.

[0041] Virtual object: refers to an active object in a virtual environment. The active object can be a virtual person, a virtual animal, an animated character, etc., such as a person or an animal displayed in a three-dimensional virtual environment. Optionally, the virtual object is a three-dimensional model created based on animation skeleton technology. Each virtual object has its own shape and volume in the three-dimensional virtual environment and occupies a part of the space in the three-dimensional virtual environment.

[0042] Virtual props: refers to props that virtual objects can use in a virtual environment, including virtual weapons that can change the attribute values ​​of virtual objects, supply props such as bullets, defensive props such as shields, armor, and armored vehicles, virtual beams, virtual shock waves, and other virtual props that are displayed by the hands when virtual objects release skills, as well as virtual props that can change the attribute values ​​of other virtual objects, including long-range virtual props such as pistols, rifles, and sniper rifles, close-range virtual props such as daggers, knives, swords, and ropes, and throwing virtual props such as throwing axes, throwing knives, grenades, flash bombs, and smoke bombs.

[0043] Figure 1 The structure block diagram of a computer system provided by an exemplary embodiment of the present application is shown. The computer system 100 includes: a terminal 120 and a server 140 .

[0044] The terminal 120 is installed and runs a client that supports the virtual environment. The client can be any one of a three-dimensional map program, a horizontal shooting program, a horizontal adventure program, a horizontal level passing program, a horizontal strategy program, a virtual reality (VR) application program, and an augmented reality (AR) program. The terminal 120 is a terminal used by a first user, and the first user uses the terminal 120 to control the first virtual object in the virtual environment to perform activities, and the activities include but are not limited to: adjusting body posture, walking, running, jumping, riding, driving, aiming, picking up, using throwing props, and attacking other virtual objects. Exemplarily, the first virtual object is a first virtual character, such as a simulated character object or an animated character object. Exemplarily, the first user controls the first virtual character to perform activities through the UI controls on the virtual environment screen.

[0045] The terminal 120 is connected to the server 140 via a wireless network or a wired network.

[0046] The server 140 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 140 includes a processor 144 and a memory 142, and the memory 142 includes a receiving module 1421, a control module 1422, and a sending module 1423. The receiving module 1421 is used to receive a request sent by the client, such as a request to shoot at a second virtual object; the control module 1422 is used to control the rendering of the virtual environment screen; the sending module 1423 is used to send a response to the client, such as sending a response to shoot at the second virtual object to the client. The server 140 is used to provide background services for clients that support three-dimensional virtual environments. Optionally, the server 140 undertakes the main computing work and the terminal 120 undertakes the secondary computing work; or, the server 140 undertakes the secondary computing work and the terminal 120 undertakes the main computing work; or, the server 140 and the terminal 120 adopt a distributed computing architecture for collaborative computing.

[0047] Optionally, the client installed on the terminal 120 is a client on a different operating system platform (Android or IOS). The terminal 120 may generally refer to one of a plurality of terminals, and this embodiment is only illustrated by the terminal 120. The device types of the terminal 120 include: at least one of a smart phone, a vehicle-mounted terminal, a wearable device, a smart TV, a tablet computer, an e-book reader, an MP3 player, an MP4 player, a laptop portable computer, and a desktop computer. The following embodiments are illustrated by taking the terminal including a smart phone as an example.

[0048] Those skilled in the art will appreciate that the number of the above terminals may be more or less. For example, the above terminal may be only one, or the above terminals may be dozens or hundreds, or more. The embodiment of the present application does not limit the number of terminals and device types.

[0049] To optimize the simulation effect of the second virtual object when it is attacked, Figure 2 A method for displaying a virtual environment screen provided by an exemplary embodiment of the present application is shown, and the method is applied to Figure 1 The terminal 120 (or a client with a virtual environment installed) is used as an example to illustrate that the method is applied to a client controlling a first virtual object, and the method includes:

[0050] Step 220, displaying a second virtual object, where the second virtual object is a virtual object having at least one limb part;

[0051] First virtual object: refers to a virtual object controlled by an application program that displays a virtual environment screen.

[0052] Second virtual object: refers to a virtual object having at least one limb part. Schematically, the second virtual object is a monster having a body trunk, limbs and a head (limb parts include limbs and a head), and schematically, the second virtual object is a robot having a mechanical trunk, mechanical limbs and a mechanical head (limb parts include mechanical limbs and a mechanical head). It is worth noting that at least one limb part of the second virtual object is determined based on the creature imitated by the second virtual object, such as the second virtual object having a head, a trunk and a tail to imitate the appearance of a snake (limb parts include a head and a tail), and the second virtual object having roots, a trunk and branches to imitate the appearance of a tree (limb parts include roots and branches).

[0053] In one embodiment, the second virtual object is a virtual object controlled by another application. Optionally, the second virtual object and the first virtual object belong to two different camps, and the second virtual object and the first virtual object have a hostile relationship. In one embodiment, the second virtual object belongs to an NPC (Non-Player Character), and the second virtual object is a non-player virtual object set in the virtual environment for the first virtual object to play the current game. Optionally, when the first virtual object completes the separation of a preset number of limb parts by killing the second virtual object, the first virtual object enters the next level or ends the current game; optionally, when the first virtual object successfully separates the limb parts of the second virtual object, the first virtual object obtains the corresponding score; optionally, when the first virtual object successfully separates the limb parts of the second virtual object, the first virtual object obtains a virtual prop.

[0054] In one embodiment, the second virtual object is obtained based on the perspective of the first virtual object. Optionally, a camera model is provided in the virtual environment, and the camera model is used to observe the virtual environment from different perspectives, thereby obtaining a virtual environment screen including the second virtual object. The perspective refers to the observation angle when observing the virtual environment from the first-person perspective or the third-person perspective of the first virtual object. The embodiment of the present application is described by taking the observation of the virtual environment from the first-person perspective of the first virtual object as an example.

[0055] Optionally, the camera model automatically follows the first virtual object in the virtual environment, that is, when the position of the first virtual object in the virtual environment changes, the camera model follows the position of the first virtual object in the virtual environment and changes simultaneously, and the camera model is always within a preset distance range of the first virtual object in the virtual environment. Optionally, during the automatic following process, the relative position of the camera model and the first virtual object changes or does not change.

[0056] The camera model refers to a three-dimensional model located around the first virtual object in the virtual environment. When the first-person perspective is adopted, the camera model is located near the head of the first virtual object or at the head of the first virtual object; when the third-person perspective is adopted, the camera model can be located behind the first virtual object and bound to the first virtual object, or can be located at any position at a preset distance from the first virtual object. The first virtual object in the virtual environment can be observed from different angles through the camera model. Optionally, when the third-person perspective is the first-person shoulder perspective, the camera model is located behind the first virtual object (for example, the head and shoulders of the virtual character). Optionally, in addition to the first-person perspective and the third-person perspective, the perspective also includes other perspectives, such as a bird's-eye view; when the bird's-eye view is adopted, the camera model can be located above the head of the virtual object, and the bird's-eye view is a perspective for observing the virtual environment from an aerial perspective. Optionally, the camera model will not be actually displayed in the virtual environment, that is, the camera model is not displayed in the virtual environment screen displayed in the user interface.

[0057] The camera model is located at any position at a preset distance from the first virtual object as an example for explanation. Optionally, one virtual object corresponds to one camera model, and the camera model can be rotated with the first virtual object as the rotation center, such as: rotating the camera model with any point of the first virtual object as the rotation center. During the rotation, the camera model not only rotates in angle, but also shifts in displacement. During the rotation, the distance between the camera model and the rotation center remains unchanged, that is, the camera model is rotated on the surface of a sphere with the rotation center as the center of the sphere, wherein any point of the first virtual object can be the head, torso, or any point around the first virtual object of the first virtual object, and the embodiments of the present application do not limit this. Optionally, when the camera model observes the virtual object, the center of the camera model's viewing angle points to the direction of the point on the sphere where the camera model is located pointing to the center of the sphere.

[0058] Optionally, the camera model may also observe the virtual object at different directions of the virtual object at preset angles.

[0059] Indicative, reference Figure 3 , a point is determined in the first virtual object 301 as the rotation center 302, and the camera model rotates around the rotation center 302. Optionally, the camera model is configured with an initial position, which is the upper and rear position of the first virtual object 301 (such as the rear position of the brain). Figure 3 , the initial position is position 303. When the camera model rotates to position 304 or position 305, the viewing direction of the camera model changes with the rotation of the camera model.

[0060] Indicative, Figure 4 The virtual environment picture is observed from the first-person perspective of the first virtual object, and the virtual environment picture includes at least one second virtual object 401 . Figure 4 The middle variant is the second virtual object.

[0061] Step 240, controlling the first virtual object to shoot at the second virtual object;

[0062] In one embodiment, the terminal controls the first virtual object to shoot at the second virtual object through a virtual shooting weapon. Optionally, the virtual shooting weapon includes hot weapons, such as pistols, rifles, sniper rifles and other firearms shooting weapons, and optionally, the virtual shooting weapon includes cold weapons, such as throwing weapons such as throwing knives, throwing axes, stones, and mechanical shooting weapons such as slingshots, bows and arrows, and crossbows. It is worth noting that the virtual shooting weapon here refers to a weapon with a firing function, and cannot be limited to traditional firearms. The first virtual object can attack the second virtual object through the virtual shooting weapon without contacting the second virtual object.

[0063] Step 260 , when the first virtual object successfully hits the target limb part of the second virtual object, control the target limb part to separate from the second virtual object.

[0064] Target limb part: refers to a limb part of at least one limb part of the second virtual object. Optionally, the target limb part includes at least one of a virtual left hand, a virtual right hand, a virtual left leg, a virtual right leg, a virtual head and a virtual tail.

[0065] In one embodiment, the target limb part is further controlled to separate from the second virtual object according to the position where the first virtual object successfully hits the target limb part. Schematically, if the first virtual object hits the left forearm on the virtual left hand, the left forearm and the left palm of the target limb part are controlled to separate from the second virtual object; schematically, if the first virtual object hits the left upper arm on the virtual left hand, the left upper arm, the left forearm and the left palm of the target limb part are controlled to separate from the second virtual object. In one embodiment, when the first virtual object successfully hits the target limb part of the second virtual object through a virtual shooting weapon, the terminal controls the target limb part to separate from the second virtual object. Schematically, when the first virtual object successfully hits the target limb part of the second virtual object through a bullet fired by a virtual rifle at the second virtual object, the terminal controls the target limb part to separate from the second virtual object.

[0066] In one embodiment, when the first virtual object successfully hits the target limb part and the number of times the target limb part is currently hit reaches a threshold number of times, the target limb part is controlled to separate from the second virtual object. Indicatively, the preset threshold number of times of the target limb part of the second virtual object is 10. In response to the first virtual object successfully hitting the target limb part so that the number of times the target limb part is hit reaches 10 times, the terminal controls the target limb part to separate from the second virtual object.

[0067] In one embodiment, when the first virtual object successfully hits the target limb part and the biological value of the target limb part reaches the biological value threshold, the target limb part is controlled to separate from the second virtual object, and the biological value is used to describe the degree of wear and tear of the target limb part. Schematically, the initial biological value of the target limb part is 100hp, and the preset biological value threshold is 0hp. In response to the first virtual object successfully hitting the target limb part so that the biological value of the target limb part reaches 0hp, the terminal controls the target limb part to separate from the second virtual object.

[0068] In summary, by setting the second virtual object as a virtual object with at least one limb part and the limb part on the second virtual object can be separated, it is achieved that when the first virtual object only hits the target limb part, the target limb part is separated from the second virtual object. This method optimizes the simulation effect of the second virtual object when it is attacked. For example, if the tail of the second virtual object is severely damaged in the virtual environment, it is preferred to separate the virtual tail to prolong its life, which is used to simulate that in the real world, when the tail of an animal is severely damaged, the animal often chooses to cut off its tail to survive.

[0069] In order to separate the target limb part from the second virtual object, based on Figure 2 The alternative embodiment shown, Figure 5 A method for displaying a virtual environment screen provided by an exemplary embodiment of the present application is shown, wherein step 260 can be replaced by step 560, and the method is applied to Figure 1 The terminal 120 (or a client with a virtual environment installed) is used as an example to illustrate that the method includes:

[0070] Step 560, when the first virtual object successfully hits the target limb part of the second virtual object, displaying the virtual environment screen after the separation is completed;

[0071] The virtual environment screen includes the target limb part and the second virtual object lacking the target limb part. Optionally, step 560 has the following two possible implementations.

[0072] The first possible implementation method is: in the three-dimensional virtual environment where the first virtual object is located, the terminal replaces the first three-dimensional model of the second virtual object with the second three-dimensional model, and adds a three-dimensional model of the target limb part; based on the second three-dimensional model and the three-dimensional model of the target limb part, the terminal displays the virtual environment screen after the separation is completed.

[0073] The first three-dimensional model is a complete three-dimensional model of the second virtual object, and the second three-dimensional model is a three-dimensional model of the second virtual object lacking the target limb part.

[0074] Illustratively, the first three-dimensional model is a complete three-dimensional model of monster A having a virtual left hand, a virtual right hand, a virtual left leg, a virtual right leg and a virtual head, and the target limb part is the virtual left hand. The second three-dimensional model is a three-dimensional model of monster A that lacks the virtual left hand compared to the first three-dimensional model.

[0075] Optionally, the developer pre-sets at least six 3D models related to Monster A, which are a complete 3D model, a 3D model lacking a virtual left hand, a 3D model lacking a virtual right hand, a 3D model lacking a virtual left leg, a 3D model lacking a virtual right leg, and a 3D model lacking a virtual head. It is worth noting that based on the above six 3D models, more 3D models can be obtained, such as a 3D model lacking both a virtual left hand and a virtual head.

[0076] A second possible implementation method: in the three-dimensional virtual environment where the first virtual object is located, the terminal sets the map of the target limb part on the first three-dimensional model of the second virtual object to a transparent map to obtain a third three-dimensional model, and the terminal adds the three-dimensional model of the target limb part; based on the third three-dimensional model and the three-dimensional model of the target limb part, the terminal displays the virtual environment screen after the separation is completed.

[0077] The first three-dimensional model is a complete three-dimensional model of the second virtual object.

[0078] Schematically, the first three-dimensional model has maps of monster A's virtual left hand, virtual right hand, virtual left leg, virtual right leg and virtual head, and the target limb is the virtual left hand. The terminal sets the map of the virtual left hand on the first three-dimensional model to a transparent map to obtain a third three-dimensional model.

[0079] Optionally, in the above-mentioned first possible implementation method and the second possible implementation method, after "the terminal adds the three-dimensional model of the target limb part", it also includes: the terminal controls the three-dimensional model of the target limb part to move along a knock-off trajectory, and the knock-off trajectory is determined based on the shooting angle of the first virtual object.

[0080] Indicatively, the shooting angle of the first virtual object is the angle between the line between the first virtual object and the target limb part and the ground. If the target limb part is horizontally in front of the first virtual object, the shooting angle of the first virtual object is 0 degrees. If the target limb part is diagonally above the first virtual object, the shooting angle of the first virtual object is 45 degrees. The flying trajectory is used to simulate the trajectory of the target limb part flying out according to the shooting angle after being hit.

[0081] Optionally, in the first possible implementation and the second possible implementation, after "the terminal adds a three-dimensional model of the target limb part", it also includes: the terminal controls the three-dimensional model of the target limb part to move along a free fall trajectory. Schematically, the free fall trajectory is used to simulate the trajectory of the target limb part falling naturally under the action of gravity.

[0082] To summarize, by replacing the three-dimensional model of the second virtual object that lacks the target limb part with the complete three-dimensional model of the second virtual object in the three-dimensional virtual environment, or by setting the map of the target limb part on the first three-dimensional model of the second virtual object to a transparent map, a specific implementation method for separating the target limb part is provided.

[0083] The above method also sets the moving trajectory of the target limb part after separation as a knock-off trajectory or a free-fall trajectory, further optimizing the simulation effect of the second virtual object when being attacked.

[0084] based on Figure 2 In the alternative embodiment shown, Figure 6 A method for displaying a virtual environment screen provided by an exemplary embodiment of the present application is shown, wherein step 260 can be replaced by steps 620, 640 and 660, and the method is applied to Figure 1 The terminal 120 (or a client with a virtual environment installed) is used as an example to illustrate that the method includes:

[0085] Step 620, when the first virtual object successfully hits the target limb part of the second virtual object, adding a separation visual effect on the target limb part;

[0086] Separation visual effect: refers to a visual effect added to a target limb part to indicate that the target limb part is on the verge of separation. In one embodiment, the threshold number of times the target limb part is hit is 10. In response to the first virtual object successfully hitting the target limb part of the second virtual object, so that the number of times the target limb part is hit reaches 10, a cracking mark effect is added to the target limb part, and the cracking mark effect indicates that the target limb part is on the verge of separation. In one embodiment, when the first virtual object successfully hits the target limb part so that the biological value of the target limb part reaches the biological value threshold 0hp, a cracking mark effect is added to the target limb part.

[0087] One point worth explaining is that the separation visual effect here indicates that the target limb is on the verge of separation. Prior to this, there may be other visual effects on the target limb to indicate the degree of injury to the target limb, such as adding a blood effect to the target limb. The blood effect is used to simulate the degree of bleeding in the target limb before the number of hits reaches the threshold (or the biological value reaches the biological value threshold).

[0088] In one embodiment, the terminal adds a separation visual effect to the target limb part by replacing the texture of the target limb part on the first three-dimensional model. In one embodiment, the terminal adds a separation visual effect to the position of the target limb part on the user interface by tracking the position of the target limb part.

[0089] Step 640, during the separation process, play an animation of the target limb part being separated along the knock-off trajectory, or, during the separation process, play an animation of the target limb part being separated along the free-fall trajectory;

[0090] Optionally, the knock-off trajectory is determined based on the shooting angle of the first virtual object. For example, if the first virtual object shoots horizontally toward the target limb part directly in front, the target limb part is separated along the horizontal knock-off trajectory.

[0091] Indicative, Figure 7 A scene in the animation of the virtual right hand of the second virtual object 701 being separated along the flying trajectory is shown. Figure 8 A frame from an animation showing the virtual head of the second virtual object 801 being separated along a free-fall trajectory is shown.

[0092] Step 660: Display the virtual environment screen after the separation is completed.

[0093] In one embodiment, the terminal displays a virtual environment screen after the separation is completed, and the virtual environment screen includes the target limb part and the second virtual object without the target limb part.

[0094] Obviously, step 660 is similar to the above step 560. For details, please refer to the relevant introduction of the above step 560, which will not be repeated here.

[0095] In summary, by adding a separation visual effect to the target limb part and playing an animation of the target limb part being separated from the second virtual object during the separation process, a method for implementing the separation of the target limb part from the second virtual object is further provided, thereby optimizing the simulation effect of the second virtual object when being attacked.

[0096] based on Figure 2 In the alternative embodiment shown, Fig. 9 A method for displaying a virtual environment screen provided by an exemplary embodiment of the present application is shown, wherein step 260 further includes steps 281, 282 and 283, and the method is applied to Figure 1 The terminal 120 (or a client with a virtual environment installed) is used as an example to illustrate that the method includes:

[0097] Step 281, displaying the target virtual props;

[0098] Target virtual props: refers to virtual props used to change the force value of virtual objects in the virtual environment. In principle, target virtual props include virtual weapons, supply props such as bullets, defense props such as shields, armor, armored vehicles, virtual beams, virtual shock waves, etc., which are used by virtual objects to release skills through their hands, and virtual props that can change the attribute values ​​of other virtual objects, including long-range virtual props such as pistols, rifles, sniper rifles, short-range virtual props such as daggers, knives, swords, ropes, and throwing virtual props such as throwing axes, throwing knives, grenades, flash bombs, smoke bombs, etc.

[0099] In one embodiment, the terminal displays a target virtual prop that matches the target limb part. Schematically, the target limb part is a virtual left hand, and the target virtual prop is a magazine containing 12 rounds of 7.62mm bullets; the target limb part is a virtual head, and the target virtual prop is an AK rifle.

[0100] In one embodiment, the terminal switches the target limb part to a target virtual prop. Optionally, in the three-dimensional virtual environment, the terminal switches the three-dimensional model of the target limb part to a three-dimensional model of the target virtual prop; based on the three-dimensional model of the target virtual prop, the terminal displays the target virtual prop.

[0101] In one embodiment, the terminal displays the target virtual prop that the first virtual object currently lacks. Schematically, the sniper rifle owned by the first virtual object lacks a scope accessory, and the target virtual prop is a quadruple scope.

[0102] In one embodiment, the terminal displays a target virtual prop randomly determined in a virtual prop set, and the virtual prop set includes at least one virtual prop. Schematically, the virtual prop set includes an AK rifle, a 7.62mm magazine, an AK rifle butt, a scope, and an AK rifle grip, and the terminal randomly determines and displays a target virtual prop from the virtual prop set, such as the target virtual prop is an AK rifle grip.

[0103] Indicative, Fig.10 A target virtual prop 1001 is shown, and the target virtual prop is an AK rifle.

[0104] Step 282, when the first virtual object lacks the target virtual resource, controlling the first virtual object to obtain the clearance authority of the current level;

[0105] In one embodiment, the first virtual object is a virtual object in a level-breaking game, in which at least one level is set, and the level-breaking game has at least two ways to pass the level. First, the first virtual object can pass the level by using a target virtual resource, and the target virtual resource is a consumable virtual resource used for the first virtual object to pass the current level. Optionally, the target virtual resource includes one of gold coins, points, and unconditional pass cards. Second, the first virtual object successfully separates a preset number of limb parts, such as the first virtual object successfully separates 20 limb parts, and the first virtual object obtains the clearance right of the current level, wherein the preset number of limb parts can be a preset number of limb parts of the second virtual object, or a preset number of limb parts of other virtual objects (including the second virtual object).

[0106] Indicative, Fig.11 The screen shows that the first virtual object lacks the target virtual resource. The number of target virtual resources (gold coins) 1101 owned by the first virtual object is "955", which is lower than the target virtual resource number "1000" required to pass the current level.

[0107] Step 283, increasing the score of the first virtual object in the current game.

[0108] The score is used to determine the reward for the first virtual object after completing the current game.

[0109] In one embodiment, after the first virtual object successfully separates the target limb part from the second virtual object, the terminal increases the score of the first virtual object in the current game. After the current game ends, the terminal determines the reward of the first virtual object based on the score of the first virtual object. Schematically, after the current game ends, the score of the first virtual object is 1500 points, and the reward of the first virtual object is determined to be 200 experience points.

[0110] In summary, after the first virtual object successfully separates the target virtual prop from the second virtual object, the target virtual prop is displayed on the virtual environment screen, or the first virtual object is controlled to obtain clearance authority, or the score of the first virtual object in the current game is increased, thereby rewarding the first virtual object and further providing a solution after the target limb part is separated.

[0111] based on Figure 2 In the alternative embodiment shown, Fig.12 A method for displaying a virtual environment screen provided by an exemplary embodiment of the present application is shown, wherein step 250 is included before step 260, and step 270 is included after step 260. The method is applied to Figure 1 The terminal 120 (or a client with a virtual environment installed) is used as an example to illustrate that the method includes:

[0112] Step 250, determining that the first virtual object successfully hits the target limb part;

[0113] In one embodiment, after the first virtual object shoots at the second virtual object, the terminal sends a ray from the position of the first virtual object to the position of the second virtual object. When the ray detects a collision box of the target limb part, it is determined that the first virtual object successfully hits the target limb part.

[0114] Indicative, Fig.13 A schematic diagram of the collision boxes of the first virtual object 1301 is shown, wherein the left hand, right hand, left leg, right leg and head of the first virtual object 1301 are respectively provided with collision boxes.

[0115] Step 270 , displaying a screen of a second virtual object without the target limb part performing an activity.

[0116] In one embodiment, the second virtual object lacking the target limb part still has the ability to move in the virtual environment. Optionally, compared with the complete second virtual object, the second virtual object lacking the target limb part lacks some of its ability to move, such as the second virtual object lacking the left hand cannot shoot, and the second virtual object lacking the head lacks the ability to track the first virtual object and can only move along the movement path before separation.

[0117] In one embodiment, the second virtual object that lacks the target limb part enters a survival countdown mode, for example, the second virtual object that lacks the head can only survive for 10 seconds in the virtual environment. In one embodiment, the second virtual object that lacks the target limb part automatically repairs the separated target limb part after a preset time period, for example, the second virtual object that lacks the left hand regenerates the left hand after 30 seconds.

[0118] In summary, the above method sets the collision box of the first virtual object to detect the target limb part through rays, providing a way to determine that the first virtual object successfully hits the target limb part of the second virtual object. It also sets the second virtual object without the target limb part to still be active in the virtual environment, further providing a solution after the target limb part is separated.

[0119] Fig.14 A flowchart of a method for displaying a virtual environment screen provided by an exemplary embodiment of the present application is shown, and the method is applied to Figure 1 The terminal shown is used as an example to illustrate that the method includes:

[0120] Step 1401, start;

[0121] The terminal determines to start a process of controlling the first virtual object to shoot at the zombies through the client.

[0122] Step 1402, entering zombie mode;

[0123] The terminal determines that the first virtual object enters a zombie mode, in which the zombie is a virtual object having at least one limb part, and the limb part on the zombie can be separated. In one embodiment, the three-dimensional model of the zombie has a collision box of at least one limb part. If the left hand, right hand and head of the zombie all have collision boxes, the left hand, right hand and head can be separated, and the left leg and right leg cannot be separated.

[0124] Step 1403, controlling the first virtual object to shoot at the zombie;

[0125] The terminal controls the first virtual object to shoot at the zombies through the virtual shooting weapon. The terminal controls the first virtual object to send rays toward the zombies.

[0126] Step 1404, the first virtual object hits the zombie;

[0127] The terminal determines whether the first virtual object hits the zombie. If so, the process proceeds to step 1405; if not, the process proceeds to step 1403. When the ray emitted by the first virtual object detects the collision box of the zombie (including the limbs and the torso), the terminal determines that the first virtual object hits the zombie.

[0128] Step 1405, calculating the zombie's health value;

[0129] The terminal calculates the health value of the zombie after being hit by the first virtual object.

[0130] Step 1406, the first virtual object hits the target limb part;

[0131] The terminal determines whether the first virtual object hits the target limb part, if yes, proceeds to step 1407; if no, proceeds to step 1403. When the ray emitted by the first virtual object detects the collision box of the target limb part, the terminal determines that the first virtual object hits the target limb part.

[0132] Step 1407, separating the target limb part from the zombie;

[0133] The terminal separates the target limb part from the zombie. In one embodiment, the terminal obtains the position of the target limb part on the interface, and starts playing the separation animation from the position.

[0134] Step 1408, the separated limb parts reach a preset number;

[0135] The terminal determines whether the separated body parts have reached a preset number. If so, the process proceeds to step 1409; if not, the process proceeds to step 1403.

[0136] Step 1409, controlling the first virtual object to obtain a reward;

[0137] The terminal controls the first virtual object to obtain a reward. Optionally, the reward includes at least one of a virtual weapon and a clearance authority.

[0138] Step 1410, end.

[0139] The terminal determines to end the process of the first virtual object shooting at the zombie.

[0140] Fig.15 A structural block diagram of a display device for a virtual environment screen provided by an exemplary embodiment of the present application is shown, and the device includes:

[0141] A display module 1501 is used to display a second virtual object, where the second virtual object is a virtual object having at least one limb part;

[0142] A control module 1502, configured to control the first virtual object to shoot at the second virtual object;

[0143] The control module 1502 is further configured to control the target limb part to separate from the second virtual object when the first virtual object successfully hits the target limb part of the second virtual object.

[0144] In an optional embodiment, the display module 1501 is further configured to display a virtual environment screen after the separation is completed, wherein the virtual environment screen includes the target limb part and a second virtual object lacking the target limb part.

[0145] In an optional embodiment, the control module 1502 is also used to replace the first three-dimensional model of the second virtual object with a second three-dimensional model in the three-dimensional virtual environment where the first virtual object is located, and to add a three-dimensional model of the target limb part; wherein the first three-dimensional model is a complete three-dimensional model of the second virtual object, and the second three-dimensional model is a three-dimensional model of the second virtual object lacking the target limb part.

[0146] In an optional embodiment, the display module 1501 is also used to display the virtual environment screen after the separation is completed based on the second three-dimensional model and the three-dimensional model of the target limb part.

[0147] In an optional embodiment, the control module 1502 is also used to set the map of the target limb part on the first three-dimensional model of the second virtual object to a transparent map in the three-dimensional virtual environment where the first virtual object is located, to obtain a third three-dimensional model, and to add a three-dimensional model of the target limb part; wherein the first three-dimensional model is a complete three-dimensional model of the second virtual object.

[0148] In an optional embodiment, the display module 1501 is further used to display the virtual environment screen after the separation is completed based on the third three-dimensional model and the three-dimensional model of the target limb part.

[0149] In an optional embodiment, the control module 1502 is further used to control the three-dimensional model of the target limb part to move along a knock-off trajectory, where the knock-off trajectory is determined based on the shooting angle of the first virtual object.

[0150] In an optional embodiment, the control module 1502 is further configured to control the three-dimensional model of the target limb part to move along a free-fall trajectory.

[0151] In an optional embodiment, the display module 1501 is further configured to play an animation of the target limb part being separated from the second virtual object during the separation process.

[0152] In an optional embodiment, the display module 1501 is also used to play an animation of the target limb part being separated along a knockout trajectory during the separation process. The knockout trajectory is determined based on the shooting angle of the first virtual object, and the target limb part includes at least one of a virtual left hand, a virtual right hand, a virtual left leg, a virtual right leg, a virtual head and a virtual tail.

[0153] In an optional embodiment, the display module 1501 is also used to play an animation of the target limb parts separating along the free fall trajectory during the separation process, and the target limb parts include at least one of a virtual left hand, a virtual right hand, a virtual left leg, a virtual right leg, a virtual head and a virtual tail.

[0154] In an optional embodiment, the display module 1501 is also used to add a separation visual effect on the target limb part, and the separation visual effect is used to indicate that the target limb part is on the verge of separation.

[0155] In an optional embodiment, the control module 1502 is further configured to control the target limb part to separate from the second virtual object when the first virtual object successfully hits the target limb part and the number of times the target limb part is hit reaches a threshold number.

[0156] In an optional embodiment, the control module 1502 is also used to control the target limb part to separate from the second virtual object when the first virtual object successfully hits the target limb part and the biological value of the target limb part reaches a biological value threshold, and the biological value is used to describe the degree of wear and tear of the target limb part.

[0157] In an optional embodiment, the display module 1501 is also used to display a target virtual prop, and the target virtual prop is used to change the force value of the virtual object in the virtual environment.

[0158] In an optional embodiment, the control module 1502 is further used to control the first virtual object to obtain the clearance right of the current level when the first virtual object lacks the target virtual resource, and the target virtual resource is a consumable virtual resource used for the first virtual object to pass the current level.

[0159] In an optional embodiment, the control module 1502 is further configured to increase the score of the first virtual object in the current game, and the score is used to determine a reward after the first virtual object completes the current game.

[0160] In an optional embodiment, the display module 1501 is further configured to display a target virtual prop that matches the target limb part.

[0161] In an optional embodiment, the display module 1501 is further configured to display the target virtual props currently missing from the first virtual object.

[0162] In an optional embodiment, the display module 1501 is further configured to display a target virtual prop randomly determined in a virtual prop set, where the virtual prop set includes at least one virtual prop.

[0163] In an optional embodiment, the display module 1501 is further configured to switch the display of the target limb part to a target virtual prop.

[0164] In an optional embodiment, the control module 1502 is further configured to switch the three-dimensional model of the target limb part to the three-dimensional model of the target virtual prop in the three-dimensional virtual environment.

[0165] In an optional embodiment, the display module 1501 is further configured to display the target virtual prop based on the three-dimensional model of the target virtual prop.

[0166] In an optional embodiment, the device further includes a determination module 1503, and the determination module 1503 is used to determine whether the first virtual object successfully hits the target limb part.

[0167] In an optional embodiment, the determination module 1503 is further configured to determine that the first virtual object successfully hits the target limb part when a ray emitted by the first virtual object toward the second virtual object detects a collision box of the target limb part.

[0168] In an optional embodiment, the display module 1501 is further configured to display a screen of a second virtual object lacking the target limb part performing an activity.

[0169] In summary, the above device sets the second virtual object as a virtual object with at least one limb part and the limb part on the second virtual object can be separated, so that the target limb part can be separated from the second virtual object when the first virtual object only hits the target limb part. The device optimizes the simulation effect of the second virtual object when it is attacked. For example, if the tail of the second virtual object is severely damaged in the virtual environment, the tail is separated first to prolong life, which is used to simulate the tail of animals in the real world that are severely damaged and often choose to cut off the tail to survive.

[0170] Fig.16 The block diagram of the structure of a computer device 1600 provided by an exemplary embodiment of the present application is shown. The computer device 1600 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The computer device 1600 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0171] Typically, the computer device 1600 includes a processor 1601 and a memory 1602 .

[0172] The processor 1601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1601 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1601 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 1601 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 1601 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0173] The memory 1602 may include one or more computer-readable storage media, which may be non-transitory. The memory 1602 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1602 is used to store at least one instruction, which is used to be executed by the processor 1601 to implement the display method of the virtual environment screen provided in the method embodiment of the present application.

[0174] In some embodiments, the computer device 1600 may further optionally include: a peripheral device interface 1603 and at least one peripheral device. The processor 1601, the memory 1602 and the peripheral device interface 1603 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1603 via a bus, a signal line or a circuit board. For example, the peripheral device may include: at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607 and a power supply 1609.

[0175] The peripheral device interface 1603 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1601 and the memory 1602. In some embodiments, the processor 1601, the memory 1602, and the peripheral device interface 1603 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1601, the memory 1602, and the peripheral device interface 1603 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0176] The radio frequency circuit 1604 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1604 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1604 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1604 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, etc. The radio frequency circuit 1604 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 16G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1604 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0177] The display screen 1605 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1605 is a touch display screen, the display screen 1605 also has the ability to collect touch signals on the surface or above the surface of the display screen 1605. The touch signal can be input to the processor 1601 as a control signal for processing. At this time, the display screen 1605 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1605 can be one, arranged on the front panel of the computer device 1600; in other embodiments, the display screen 1605 can be at least two, respectively arranged on different surfaces of the computer device 1600 or in a folding design; in other embodiments, the display screen 1605 can be a flexible display screen, arranged on a curved surface or a folding surface of the computer device 1600. Even, the display screen 1605 can also be arranged as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1605 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0178] The camera assembly 1606 is used to capture images or videos. Optionally, the camera assembly 1606 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. 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 the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1606 may also include a flash. The flash can be a monochrome 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.

[0179] The audio circuit 1607 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 and input them into the processor 1601 for processing, or input them into the radio frequency circuit 1604 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the computer device 1600. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1601 or the radio frequency circuit 1604 into sound waves. The speaker may be a traditional 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 1607 may also include a headphone jack.

[0180] The power supply 1609 is used to power various components in the computer device 1600. The power supply 1609 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1609 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged through a wired line, and a wireless rechargeable battery is a battery that is charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0181] In some embodiments, the computer device 1600 further includes one or more sensors 1610 , including but not limited to: an acceleration sensor 1611 , a gyroscope sensor 1612 , a pressure sensor 1613 , an optical sensor 1615 , and a proximity sensor 1616 .

[0182] The acceleration sensor 1611 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1600. For example, the acceleration sensor 1611 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1601 can control the display screen 1605 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1611. The acceleration sensor 1611 can also be used to collect game or user motion data.

[0183] The gyro sensor 1612 can detect the body direction and rotation angle of the computer device 1600, and the gyro sensor 1612 can cooperate with the acceleration sensor 1611 to collect the user's 3D actions on the computer device 1600. The processor 1601 can implement the following functions based on the data collected by the gyro sensor 1612: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0184] The pressure sensor 1613 can be set on the side frame of the computer device 1600 and / or the lower layer of the display screen 1605. When the pressure sensor 1613 is set on the side frame of the computer device 1600, it can detect the user's grip signal of the computer device 1600, and the processor 1601 performs left and right hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 1613. When the pressure sensor 1613 is set on the lower layer of the display screen 1605, the processor 1601 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1605. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0185] The optical sensor 1615 is used to collect the ambient light intensity. In one embodiment, the processor 1601 can control the display brightness of the display screen 1605 according to the ambient light intensity collected by the optical sensor 1615. For example, when the ambient light intensity is high, the display brightness of the display screen 1605 is increased; when the ambient light intensity is low, the display brightness of the display screen 1605 is reduced. In another embodiment, the processor 1601 can also dynamically adjust the shooting parameters of the camera component 1606 according to the ambient light intensity collected by the optical sensor 1615.

[0186] The proximity sensor 1616, also called a distance sensor, is usually disposed on the front panel of the computer device 1600. The proximity sensor 1616 is used to collect the distance between the user and the front of the computer device 1600. In one embodiment, when the proximity sensor 1616 detects that the distance between the user and the front of the computer device 1600 is gradually decreasing, the processor 1601 controls the display screen 1605 to switch from the screen-on state to the screen-off state; when the proximity sensor 1616 detects that the distance between the user and the front of the computer device 1600 is gradually increasing, the processor 1601 controls the display screen 1605 to switch from the screen-off state to the screen-on state.

[0187] Those skilled in the art will understand that Fig.16 The structure shown in the figure does not constitute a limitation on the computer device 1600, and the computer device 1600 may include more or less components than shown in the figure, or combine some components, or adopt a different arrangement of components.

[0188] The present application also provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the method for displaying a virtual environment screen provided in the above method embodiment.

[0189] The present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method for displaying a virtual environment screen provided by the above method embodiment.

[0190] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0191] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0192] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for displaying a virtual environment screen, characterized in that: The method is applied to a client controlling a first virtual object, and the method comprises: displaying a second virtual object, wherein the second virtual object is a virtual object having at least one limb part; controlling the first virtual object to shoot at the second virtual object; When the first virtual object successfully hits the target limb part of the second virtual object, controlling the target limb part to separate from the second virtual object; During the separation process, an animation of the target limb part being separated along a knock-off trajectory is played, wherein the knock-off trajectory is determined based on the shooting angle of the first virtual object, and the target limb part includes at least one of a virtual left hand, a virtual right hand, a virtual left leg, a virtual right leg, a virtual head and a virtual tail.

2. The method according to claim 1, characterized in that The controlling the target limb part to separate from the second virtual object comprises: The virtual environment screen after the separation is completed is displayed, and the virtual environment screen includes the target limb part and a second virtual object without the target limb part.

3. The method according to claim 2, characterized in that The virtual environment screen after display separation is completed includes: In the three-dimensional virtual environment where the first virtual object is located, replacing the first three-dimensional model of the second virtual object with the second three-dimensional model, and adding the three-dimensional model of the target limb part; Based on the second three-dimensional model and the three-dimensional model of the target limb part, displaying a virtual environment picture after the separation is completed; The first three-dimensional model is a complete three-dimensional model of the second virtual object, and the second three-dimensional model is a three-dimensional model of the second virtual object lacking the target limb part.

4. The method according to claim 2, characterized in that: The virtual environment screen after display separation is completed includes: In the three-dimensional virtual environment where the first virtual object is located, setting the map of the target limb part on the first three-dimensional model of the second virtual object to a transparent map to obtain a third three-dimensional model, and adding the three-dimensional model of the target limb part; Based on the third three-dimensional model and the three-dimensional model of the target limb part, displaying a virtual environment picture after the separation is completed; The first three-dimensional model is a complete three-dimensional model of the second virtual object.

5. The method according to claim 3 or 4, characterized in that: The method further comprises: The three-dimensional model of the target limb part is controlled to move along a knock-off trajectory, where the knock-off trajectory is determined based on a shooting angle of the first virtual object.

6. The method according to any one of claims 1 to 4, characterized in that: Before playing the animation of the target limb part being separated from the second virtual object during the separation process, the method further includes: A separation visual effect is added to the target limb part, and the separation visual effect is used to indicate that the target limb part is in a state of being on the verge of separation.

7. The method according to any one of claims 1 to 4, characterized in that: When the first virtual object successfully hits the target limb part, controlling the target limb part to separate from the second virtual object comprises: When the first virtual object successfully hits the target limb part and the number of times the target limb part is hit reaches a number threshold, controlling the target limb part to separate from the second virtual object; or, When the first virtual object successfully hits the target limb part and the biological value of the target limb part reaches a biological value threshold, the target limb part is controlled to separate from the second virtual object, and the biological value is used to describe the degree of wear and tear of the target limb part.

8. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Displaying a target virtual prop, wherein the target virtual prop is used to change the force value of the virtual object in the virtual environment; or, In the case where the first virtual object lacks a target virtual resource, controlling the first virtual object to obtain a clearance right for a current level, wherein the target virtual resource is a consumable virtual resource used for the first virtual object to pass the current level; or, The score of the first virtual object in the current game is increased, where the score is used to determine a reward after the first virtual object completes the current game.

9. The method according to claim 8, characterized in that The display target virtual props includes: displaying a target virtual prop that matches the target limb part; or, Displaying the target virtual props currently missing from the first virtual object; or, A target virtual prop randomly determined in a virtual prop set is displayed, the virtual prop set including at least one virtual prop.

10. The method according to claim 9, characterized in that The displaying of the target virtual props matching the target limb part comprises: The target limb part is switched to be displayed as the target virtual prop.

11. The method according to claim 10, characterized in that The step of switching the target limb part to be displayed as the target virtual prop includes: Switching the three-dimensional model of the target limb part to the three-dimensional model of the target virtual prop in the three-dimensional virtual environment; Based on the three-dimensional model of the target virtual prop, the target virtual prop is displayed.

12. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: It is determined that the first virtual object successfully hits the target limb part.

13. The method according to claim 12, characterized in that The determining that the first virtual object successfully hits the target limb part includes: In the case where the ray emitted by the first virtual object toward the second virtual object detects the collision box of the target limb part, it is determined that the first virtual object successfully hits the target limb part.

14. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: A screen showing a second virtual object lacking the target limb part performing an activity.

15. A display device for a virtual environment image, characterized in that: The device comprises: A display module, configured to display a second virtual object, wherein the second virtual object is a virtual object having at least one limb part; A control module, used for controlling the first virtual object to shoot at the second virtual object; The control module is further configured to control the target limb part to separate from the second virtual object when the first virtual object successfully hits the target limb part of the second virtual object; The display module is also used to play an animation of the target limb part being separated along a knock-off trajectory during the separation process, wherein the knock-off trajectory is determined based on the shooting angle of the first virtual object, and the target limb part includes at least one of a virtual left hand, a virtual right hand, a virtual left leg, a virtual right leg, a virtual head and a virtual tail.

16. A computer device, characterized in that: The computer device comprises: a processor and a memory, wherein the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the method for displaying a virtual environment screen as described in any one of claims 1 to 14.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the method for displaying a virtual environment screen as described in any one of claims 1 to 14.

18. A computer program product, characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes to implement the method for displaying a virtual environment screen as described in any one of claims 1 to 14.