Virtual character control method and device, equipment and medium
By equiping jet floating props, the virtual character stands on the water surface of the wading area, solving the problem of limited vision in the virtual character's swimming posture, and improving the information display and freedom of movement of the virtual environment.
Patent Information
- Application Number
- CN202310579381.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-11-22
AI Technical Summary
In the virtual environment in the game, the virtual character controlled by the player automatically enters the swimming posture after entering the wading area, resulting in limited vision and the screen cannot display the virtual environment information in the distance.
By equipping jet floating props, the virtual characters can stand on the water surface, so as to bind the camera model to observe the distant virtual environment and increase the amount of information displayed on the screen.
Virtual characters can stand on the water surface, expand their field of view, increase the amount of information displayed on the terminal screen, enhance freedom of movement, and allow actions such as shooting, throwing, and wearing virtual equipment.
Smart Images

Figure CN118987622A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of virtual environments, and in particular, to a method, device, equipment, and medium for controlling a virtual character. Background Art
[0002] In the virtual environment provided by the game, there are often water areas such as pools, lakes, and oceans.
[0003] In the related art, a virtual character controlled by a player automatically enters a swimming posture when entering a wading area, and the virtual character moves in the wading area using the swimming posture.
[0004] However, in the normal setting of the game, the camera model will be bound to the virtual character, and the player's screen will display the scene observed from the perspective of the virtual character. In the swimming posture, the player's field of vision is impaired, the terminal screen cannot display the virtual environment in the distance, and the terminal screen displays less information. Summary of the invention
[0005] The present application provides a method, device, equipment and medium for controlling a virtual character, which increases the amount of information displayed on the screen. The technical solution is as follows:
[0006] According to one aspect of the present application, a method for controlling a virtual character is provided, the method comprising:
[0007] Displaying a wading area in a virtual environment, the wading area is covered with virtual water resources, and the area occupied by the wading area is larger than the area occupied by the virtual character;
[0008] displaying a first virtual character moving in the virtual environment;
[0009] Controlling the first virtual character to hold a jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb;
[0010] Under the action of the jet-type floating prop, the first virtual character is controlled to stand on the water surface of the wading area.
[0011] According to another aspect of the present application, a control device for a virtual character is provided, the device comprising:
[0012] A display module, used for displaying a wading area in a virtual environment, wherein the wading area is covered with virtual water resources, and the area occupied by the wading area is larger than the area occupied by the virtual character;
[0013] The display module is further used to display the activities of the first virtual character in the virtual environment;
[0014] A control module, used for controlling the first virtual character to hold the jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb;
[0015] The control module is further used to control the first virtual character to stand on the water surface of the wading area under the action of the jet-type floating prop.
[0016] According to one aspect of the present application, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the virtual character control method as described above.
[0017] 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 control method of the virtual character as described above.
[0018] 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 control method of the virtual character provided in the above aspect.
[0019] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0020] By equipping the jet-type floating props, the first virtual character can stand on the water surface of the wading area, and then observe the distant virtual environment by binding the camera model of the first virtual character. The relevant information of the distant virtual environment will be displayed on the terminal screen, thereby increasing the amount of information displayed on the screen. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] 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 creative work.
[0022] Figure 1 A schematic diagram showing an interface change process provided by an exemplary embodiment is shown;
[0023] Figure 2 A structural block diagram of a computer system provided by an exemplary embodiment is shown;
[0024] Figure 3 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment is shown;
[0025] Figure 4 A schematic diagram of a virtual environment screen provided by an exemplary embodiment is shown;
[0026] Figure 5 A schematic diagram showing a first virtual character holding a jet-type floating prop provided by an exemplary embodiment is shown;
[0027] Figure 6 A schematic diagram showing a first virtual character equipped with a jet-type floating prop provided by an exemplary embodiment is shown;
[0028] Figure 7 A schematic diagram showing a jet-type floating prop jetting gas provided by an exemplary embodiment;
[0029] Figure 8 A schematic diagram showing a first virtual character holding a throwing object provided by an exemplary embodiment is shown;
[0030] Fig. 9 A schematic diagram showing a first virtual character leaving a wading area provided by an exemplary embodiment is shown;
[0031] Fig.10 A flowchart of a method for controlling a virtual character provided by another exemplary embodiment is shown;
[0032] Fig.11 A flowchart of a method for controlling a virtual character provided by another exemplary embodiment is shown;
[0033] Fig.12 A flowchart of a method for controlling a virtual character provided by another exemplary embodiment is shown;
[0034] Fig.13 A flowchart of a method for controlling a virtual character provided by another exemplary embodiment is shown;
[0035] Fig.14 A flowchart of a method for controlling a virtual character provided by another exemplary embodiment is shown;
[0036] Fig.15 A flowchart of a method for controlling a virtual character provided by another exemplary embodiment is shown;
[0037] Fig.16 A structural block diagram of a control device for a virtual character provided by an exemplary embodiment is shown;
[0038] Fig.17 A structural block diagram of a computer device provided by an exemplary embodiment is shown. DETAILED DESCRIPTION
[0039] 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.
[0040] 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.
[0041] First, the nouns involved in the embodiments of the present application are briefly introduced:
[0042] 3D virtual environment: It is a virtual environment displayed (or provided) when the client runs on the terminal. The virtual environment can be a simulation of the real world, a semi-simulation and semi-fictional environment, or a purely fictional environment.
[0043] Optionally, the virtual environment can provide a battle environment for virtual characters. For example, in a battle royale game, at least one virtual character fights a single game in the virtual environment. The virtual character 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 character in the virtual environment reaches zero, the life of the virtual character in the virtual environment ends, and the last surviving virtual character is the winner.
[0044] Virtual character: 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 character is a three-dimensional model created based on animation skeleton technology. Each virtual character 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.
[0045] Figure 1 A schematic diagram of an interface change process provided by an exemplary embodiment of the present application is shown.
[0046] Combined with reference Figure 1 , Figure 1Part (a) shows a wading area 100 in the virtual environment. The wading area 100 includes a pool, a lake, an ocean, etc. in the virtual environment, and the area occupied by the wading area 100 is larger than the area occupied by the virtual character. The wading area 100 supports the virtual character to perform wading activities, such as supporting the virtual character to swim, dive, drive a wading vehicle, fish, etc. Figure 1 Part (a) also shows a first virtual character 101, which is a virtual character controlled by the player terminal. Figure 1 Part (a) shows that the first virtual character 101 is in the edge area of the wading area 100, and the edge area refers to the area in the wading area 100 where the depth is less than the height of the first virtual character. At this time, the first virtual character 101 has slightly waded but the body is not completely placed in the wading area 100.
[0047] Figure 1 Part (b) of FIG. 1 shows a schematic diagram of the first virtual character 101 holding a jet-type floating prop. Optionally, in response to receiving a trigger operation of the skill control 103, the first virtual character 101 obtains and holds the jet-type floating prop. Figure 1 Part (b) shows that the jet floating props are jet floating shoes 102. The first virtual character 101 is controlled to equip the jet floating shoes 102 on the feet.
[0048] Figure 1 Part (c) shows a screen of the first avatar 101 equipped with jet-type floating shoes 102 on the feet. Figure 1 Part (d) of FIG. 1 shows the jet of the jet-type floating shoe 102. Optionally, the jet is gas 104. Figure 1 Part (d) shows a picture of a first virtual character 101 equipped with jet-type floating shoes 102 standing on the water surface of a wading area 100. The jet-type floating shoes 102 spray gas 104 downward. Figure 1 Part (d) shows that the first virtual character 101 is placed in the central area of the wading area 100 , where the central area refers to an area in the wading area 100 where the depth is greater than the height of the first virtual character.
[0049] Based on the above introduction, the present application provides a jet-type floating prop. A virtual character equipped with the jet-type floating prop has the ability to stand on the water surface of the wading area. The virtual character in the standing state has a better observation field of view. At this time, the terminal screen will display the information of the distant virtual environment. In addition, the virtual character in the standing state has a stronger degree of freedom of movement. The virtual character can perform actions such as shooting, throwing virtual props, wearing virtual equipment, and using medical props.
[0050] Figure 2200 includes a terminal 220 and a server 240. In one embodiment, Figure 1 The interface change process shown is displayed on the terminal 220 .
[0051] The terminal 220 is installed and runs a client that supports a three-dimensional virtual environment. A control account of the first virtual character is logged in to the client, and the client can be any one of a three-dimensional map program, a horizontal shooting, a horizontal adventure, a horizontal level pass, a horizontal strategy, a virtual reality (VR) application, an augmented reality (AR) program, and a game application. Terminal 220 is a terminal used by a user, and the user uses terminal 220 to control the first virtual character in the three-dimensional 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 and using at least one of throwing props. Exemplarily, the first virtual character is a virtual person, such as a simulated person object or an animated character object. Exemplarily, the user controls the first virtual character to perform activities through the UI controls on the virtual environment screen.
[0052] The terminal 220 is connected to the server 240 via a wireless network or a wired network.
[0053] The server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 240 includes a processor 244 and a memory 242, and the memory 242 includes a receiving module 2421, a control module 2422, and a sending module 2423. The receiving module 2421 is used to receive a request sent by the client, such as a request to control the movement of the first virtual character; the control module 2422 is used to control the rendering of the three-dimensional virtual environment screen; the sending module 2423 is used to send a response to the client, such as sending a message to the client that the position of the first virtual character has changed. The server 240 is used to provide background services for clients that support three-dimensional virtual environments. Optionally, the server 240 undertakes the main computing work and the terminal 220 undertakes the secondary computing work; or, the server 240 undertakes the secondary computing work and the terminal 220 undertakes the main computing work; or, the server 240 and the terminal 220 undertake the computing work in a collaborative manner.
[0054] Optionally, the client can run on different operating system platforms (Android or IOS). Optionally, the device type of the terminal includes at least one of a smart phone, a smart watch, 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 computer, and a desktop computer. The following embodiments are illustrated by taking the terminal including a smart phone as an example.
[0055] 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.
[0056] Figure 3 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown. Figure 2 The terminal 220 shown is executed for example, and the method includes:
[0057] Step 320, displaying a water-related area in the virtual environment, where the water-related area is covered with virtual water resources, and where the area occupied by the water-related area is larger than the area occupied by the virtual character;
[0058] A wading area refers to an area in a virtual environment that is larger than the area occupied by a virtual character and is covered by virtual water resources. A wading area supports a virtual character to perform a variety of wading activities. For example, a virtual character can swim, dive, drive a wading vehicle, fish, etc. in a wading area. In principle, a wading area includes a pool, lake, ocean, etc. in a virtual environment. Figure 4 , Figure 4 A wading area 400 is shown.
[0059] Step 340, displaying the first virtual character's activities in the virtual environment;
[0060] The first virtual character refers to a virtual character controlled by the player terminal. The first virtual character 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 character is a three-dimensional model created based on animation skeleton technology. Each virtual character 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.
[0061] In one embodiment, the terminal device displays a picture of the first virtual character's activities in the wading area. Specifically, the horizontal coordinates and vertical coordinates of the first virtual character both fall within the coverage of the wading area. Optionally, the first virtual character is in the edge area of the wading area, and the edge area refers to an area in the wading area where the depth is less than the height of the first virtual character. Optionally, the first virtual character is in the central area of the wading area, and the first virtual character is in a swimming posture or a diving posture in the central area, and the central area refers to an area in the wading area where the depth is greater than the height of the first virtual character. Combined with reference Figure 4 , Figure 4 It is shown that at this time, the first virtual character 401 is at the edge area of the wading area 400 .
[0062] In one embodiment, the terminal device displays a picture of the first virtual character's activities outside the wading area. Optionally, the horizontal coordinates of the first virtual character do not fall within the horizontal coverage of the wading area, for example, the first virtual character is on a beach adjacent to the wading area. Optionally, the horizontal coordinates of the first virtual character fall within the horizontal coverage of the wading area, and the vertical coordinates of the first virtual character do not fall within the vertical coverage of the wading area, for example, the first virtual character is on a vehicle above the wading area.
[0063] Optionally, the first virtual character can use the jet flotation prop only when the first virtual character is in the wading area. Optionally, the first virtual character can be equipped with the jet flotation prop when the first virtual character is outside the wading area, but the jet flotation prop does not work at this time, and the jet flotation prop works again when the first virtual character moves into the wading area.
[0064] Step 360, controlling the first virtual character to hold the jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb;
[0065] The jet-type floating prop refers to a virtual prop that has a jet function to support the first virtual character to float in the wading area. Schematically, the jet-type floating prop obtains a reaction force through the jet function, and the reaction force counteracts the gravity exerted on the first virtual character, so that the first virtual character floats in the wading area.
[0066] In one embodiment, the jet-type floating prop includes at least one floating mode. Schematically, the floating mode of the jet-type floating prop includes at least one of a first floating mode and a second floating mode. The first floating mode is a mode in which the floating effect is obtained by jetting gas, and the second floating mode is a mode in which the floating effect is obtained by jetting water columns.
[0067] Optionally, the jet of the jet-type floating prop includes any one of a gas and a water column.
[0068] In one embodiment, the jet flotation props include any one of jet flotation shoes, jet flotation backpacks, and jet flotation vests. Schematically, the first virtual character is controlled to hold jet flotation shoes, and the first virtual character is controlled to equip the jet flotation shoes on the feet. Schematically, the first virtual character is controlled to hold a jet flotation backpack, and the first virtual character is controlled to equip the jet flotation backpack on the back. Schematically, the first virtual character is controlled to hold a jet flotation vest, and the first virtual character is controlled to equip the jet flotation vest on the upper body.
[0069] In one embodiment, a control for using a jet-type floating prop is displayed on the interface. In response to receiving a trigger operation using the control, the first virtual character is controlled to hold the floating prop, and the first virtual character is controlled to equip the jet-type floating prop on a limb. Optionally, the trigger operation includes a click operation, a long press operation, a drag operation, etc. Figure 5 , Figure 5 A wading area 500 is shown, Figure 5 A control 501 for using the jet-type floating prop is also shown. In response to receiving a trigger operation using the control 501, the first virtual character 502 is controlled to hold the jet-type floating shoes 503. Figure 6 , Figure 6 A wading area 600 is shown, Figure 6 Also shown is a picture of a first virtual character 601 equipped with jet-type floating shoes 602 .
[0070] In one embodiment, when the first virtual character is equipped with a chip virtual prop corresponding to the jet floating prop, a use control of the jet floating prop is displayed. In response to receiving a trigger operation using the control, the first virtual character is controlled to hold the jet floating prop. The chip virtual prop is a chip-type virtual prop corresponding to the jet floating prop. Only when the virtual character is equipped with a chip virtual prop corresponding to the A prop (or skill), the A prop (or skill) is allowed to be triggered for use.
[0071] In one embodiment, the jet-type floating prop can also improve at least one of the defensive ability, attack ability, and moving speed attributes of the virtual character. Optionally, the jet of the jet-type floating prop is gas, and the jetted gas will form a defense barrier, which helps to reduce the power and / or speed of the bullets fired by the enemy virtual character. Optionally, the jet of the jet-type floating prop is gas, and the jetted gas will form an acceleration vortex, which helps to increase the power and / or speed of the bullets fired by the first virtual character. Optionally, the jet-type floating prop will increase the moving speed of the virtual character.
[0072] In one embodiment, the jet-type floating prop is directly obtained by the first virtual character by triggering the skill control. Optionally, the jet-type floating prop is obtained by the first virtual character from a backpack / warehouse / store. Optionally, the jet-type floating prop is picked up by the first virtual character from a wading area. Optionally, the jet-type floating prop is obtained by the first virtual character by completing a specified task.
[0073] In one embodiment, if the first virtual character is in a knockdown state, the jet floatation prop cannot be used. In one embodiment, if the first virtual character is on a vehicle, the jet floatation prop cannot be used. In one embodiment, if the first virtual character is in a climbing state, the jet floatation prop cannot be used. In one embodiment, if the first virtual character is in a rescue state, the jet floatation prop cannot be used.
[0074] Step 380: Under the action of the jet-type floating prop, the first virtual character is controlled to stand on the water surface of the wading area.
[0075] In one embodiment, the jet of the jet-type floating prop includes any one of a gas and a water column.
[0076] In one embodiment, a picture of a jet-type floating prop spraying gas downward is displayed, and the first virtual character is controlled to stand on the water surface of the wading area. Figure 7 , Figure 7 A wading area 700 is shown, Figure 7 The first virtual character 701 is equipped with jet floating shoes 702, and the jet floating shoes 702 spray gas 703 downward. Optionally, the terminal interface also displays a gas adjustment control. Schematically, the cross-sectional flow rate of the gas sprayed by the jet floating prop is adjusted through the gas adjustment control, and a picture of the jet floating prop spraying gas downward is displayed. Optionally, the gas adjustment control includes a plus control and a minus control. In response to the plus control receiving a click operation, the cross-sectional flow rate of the gas is increased; in response to the sub-control receiving a click operation, the cross-sectional flow rate of the gas is reduced. Optionally, the gas adjustment control is displayed as a sliding progress bar. In response to the sliding progress bar receiving an increase sliding operation, the cross-sectional flow rate of the gas is increased; in response to the sliding progress bar receiving a decrease sliding operation, the cross-sectional flow rate of the gas is reduced.
[0077] In one embodiment, a screen of a jet-type floating prop spraying a water column downward is displayed; and the first virtual character is controlled to stand on the water surface of the wading area. Optionally, the terminal interface also displays a water column adjustment control. Schematically, the cross-sectional flow rate of the water column sprayed by the jet-type floating prop is adjusted through the water column adjustment control, and a screen of a jet-type floating prop spraying a water column downward is displayed. Optionally, the water column adjustment control includes a plus control and a minus control. In response to the plus control receiving a click operation, the cross-sectional flow rate of the water column is increased; in response to the minus control receiving a click operation, the cross-sectional flow rate of the water column is reduced. Optionally, the water column adjustment control is displayed as a sliding progress bar. In response to the sliding progress bar receiving an increase sliding operation, the cross-sectional flow rate of the water column is increased; in response to the sliding progress bar receiving a decrease sliding operation, the cross-sectional flow rate of the water column is reduced.
[0078] In one embodiment, the whole body of the first virtual character is separated from the wading area and is located on the water surface of the wading area in a standing posture, at which time the bottom surface of the first virtual character (such as the bottom surface of the feet) is higher than the horizontal plane of the wading area. In one embodiment, the first virtual character is slightly in contact with the water surface of the wading area and is located on the water surface of the wading area in a standing posture, at which time the bottom surface of the first virtual character (such as the bottom surface of the feet) is level with or slightly lower than the horizontal plane of the wading area. The present application does not specifically limit the standing state when standing on a horizontal plane.
[0079] In one embodiment, when the first virtual character stands on the water surface of the wading area, it also performs at least one action of shooting, running, wearing virtual equipment, throwing virtual items, and using medical props. Figure 8 , Figure 8 A wading area 800 is shown, Figure 8 The first virtual character 801 is equipped with jet-type floating shoes 802, and the jet-type floating shoes 802 spray gas 803 downward. Figure 8 It is also shown that the first virtual character 801 holds a throwing object 804, such as a virtual grenade.
[0080] In one embodiment, if the first virtual character is at the edge of the wading area before floating, the first virtual character is controlled to stand directly on the water surface of the wading area under the action of the jet-type floating prop.
[0081] In one embodiment, if the first virtual character is at the water surface junction of the central area of the wading area before floating (such as the first virtual character is in a swimming posture), then under the action of the jet-type floating prop, the first virtual character is controlled to stand directly on the water surface of the wading area.
[0082] In one embodiment, if the first virtual character is under the water surface in the central area of the wading area before floating (such as the first virtual character is in a diving posture), then under the action of the jet-type floating prop, the first virtual character is controlled to gradually float up and finally stand on the water surface of the wading area.
[0083] In one embodiment, if the first virtual character leaves the wading area during the floating process, the use of the jet flotation prop is canceled. In an exemplary embodiment, if the first virtual character lands on land or a vehicle during the floating process and when standing on the water surface of the wading area, the use of the jet flotation prop is canceled. Fig. 9 , Fig. 9 The first virtual character 901 is shown to be on land after leaving the wading area, and the first virtual character 901 cancels the use of the jet-type floating prop. Optionally, a prompt message "the floating chip has been canceled" is popped up on the terminal interface.
[0084] In one embodiment, the jet of the jet-type floating prop is a freezing gas. After displaying the first virtual character standing on the water surface of the wading area, the terminal interface also displays a picture of the first virtual character moving on the water surface of the wading area. During the movement of the first virtual character, a picture of the first virtual character's moving path being frozen in the wading area will also be displayed. If there is a second virtual character that follows the first virtual character and is not equipped with a jet-type floating prop, a picture of the second virtual character still standing on the water surface of the wading area without being equipped with a jet-type floating prop will be displayed. Specifically, the moving path of the first virtual character will be temporarily frozen, and the temporary freezing supports the second virtual character to temporarily stand on the water surface of the wading area.
[0085] In one embodiment, the jet of the jet-type floating prop is a spiral water column, and the water vortex generated by the spiral water column will attract virtual resources scattered around the first virtual character. Schematically, there are virtual resources (such as virtual bullets, virtual attack props, virtual equipment, skill-based resources, etc.) in front of the first virtual character, and the water vortex attracts the virtual resources to move slowly toward the first virtual character.
[0086] In summary, the above method provides a jet-type floating prop. A virtual character equipped with the jet-type floating prop has the ability to stand on the water surface of the wading area. The virtual character in the standing state has a better observation field, and the terminal screen will display the information of the distant virtual environment. In addition, the virtual character in the standing state has a stronger degree of freedom of movement, and the virtual character can perform actions such as shooting, throwing virtual props, wearing virtual equipment, and using medical props.
[0087] In addition, the jet-type floating prop also supports adjustment operations. The standing height of the first virtual character can be adjusted through the gas adjustment control / water column adjustment control, and the corresponding gas cross-sectional flow rate / water column cross-sectional flow rate will decrease or increase.
[0088] In addition, the jet of the floating prop is refrigerated gas, and the second virtual character that is not equipped with the floating prop can also stand on the water surface for a short time, which provides another solution for standing on the water surface, which is conducive to improving the teamwork and playability of the game. For example, if the second virtual character cannot use the floating prop, it needs to follow the first virtual character equipped with the floating prop. If it is attacked by the enemy virtual character during the movement, the enemy virtual character is more likely to hit the first virtual character and the second virtual character. Therefore, the player who controls the second virtual character needs to comprehensively weigh the degree of danger before deciding whether to control the second virtual character to follow the first virtual character.
[0089] Moreover, the jet of the jet-type floating prop is a spiral water column, and the water vortex generated by the spiral water column will attract virtual resources scattered around the first virtual character, providing an interface presentation solution that is conducive to the first virtual character to quickly pick up virtual resources around it.
[0090] Fig.10 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown. Figure 2 The terminal device 220 shown is executed for example, and the method includes:
[0091] Step 1001, displaying a wading area in a virtual environment, where the wading area is covered with virtual water resources, and the area occupied by the wading area is larger than the area occupied by the virtual character;
[0092] A wading area refers to an area in a virtual environment that is larger than the area occupied by a virtual character and is covered by virtual water resources. The wading area supports the virtual character to perform a variety of wading activities. For example, the virtual character can swim, dive, drive a wading vehicle, fish, etc. in the wading area. In principle, the wading area includes pools, lakes, oceans, etc. in the virtual environment.
[0093] Step 1002, displaying the first virtual character's activities in the virtual environment;
[0094] In one embodiment, the terminal device displays a picture of the first virtual character moving in the wading area.
[0095] In one embodiment, the terminal device displays a picture of the first virtual character's activities outside the wading area.
[0096] Optionally, the first virtual character can use the jet flotation prop only when the first virtual character is in the wading area. Optionally, the first virtual character can be equipped with the jet flotation prop when the first virtual character is outside the wading area, but the jet flotation prop does not work at this time, and the jet flotation prop works again when the first virtual character moves into the wading area.
[0097] Step 1003, controlling the first virtual character to hold the jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb;
[0098] The jet-type floating prop refers to a virtual prop that has a jet function to support the first virtual character to float in the wading area. Schematically, the jet-type floating prop obtains a reaction force through the jet function, and the reaction force counteracts the gravity exerted on the first virtual character, so that the first virtual character floats in the wading area.
[0099] Optionally, the jet of the jet-type floating prop includes any one of a gas and a water column.
[0100] Step 1004, under the action of the jet-type floating prop, the first virtual character is controlled to stand on the water surface of the wading area;
[0101] In one embodiment, a picture of a jet-type floating prop jetting gas downward is displayed, and the first virtual character is controlled to stand on the water surface of the wading area.
[0102] In one embodiment, a picture of a jet-type floating prop spraying water downward is displayed; and the first virtual character is controlled to stand on the water surface of the wading area.
[0103] Step 1005, displaying a picture of a second virtual character equipped with a jet-type floating prop moving toward the first virtual character; and determining that the first virtual character is subject to an acceleration effect in a direction away from the second virtual character;
[0104] In one embodiment, there is also a second virtual character equipped with a jet-type floating prop in the wading area, and the second virtual character is a virtual character different from the first virtual character. Optionally, the second virtual character is a virtual character not controlled by the player; Optionally, the second virtual character is a virtual character in the same camp as the first virtual character; Optionally, the second virtual character is a virtual character in a different camp from the first virtual character.
[0105] Schematically, the second virtual character equipped with a jet-type floating prop moves toward the first virtual character, and is affected by the mutual repulsion of the two jet-type floating props, so that the first virtual character is accelerated in a direction away from the second virtual character. Schematically, the jet of the jet-type floating prop is gas, and based on the mutual repulsion of the gas ejected by the two jet-type floating props, the first virtual character is subjected to a repulsive force from the second virtual character. Schematically, the jet of the jet-type floating prop is a water column, and based on the mutual repulsion of the water columns ejected by the two jet-type floating props, the first virtual character is subjected to a repulsive force from the second virtual character.
[0106] Optionally, when the distance between the second virtual character and the first virtual character is greater than a first distance threshold, if the second virtual character equipped with a jet-type floating prop moves toward the first virtual character, it is determined that the first virtual character is subject to an acceleration effect in a direction away from the second virtual character.
[0107] Step 1006, in response to the distance between the second virtual character equipped with the jet-type floating prop and the first virtual character being less than the first distance threshold, displaying a picture of the jet-type floating prop of the first virtual character and the jet-type floating prop of the second virtual character being fused and jetted; and displaying a picture of the first virtual character and the second virtual character moving together at a first speed and a first standing height;
[0108] Optionally, the second virtual character is a virtual character in the same camp as the first virtual character. Illustratively, when the distance between the second virtual character and the first virtual character is less than a first distance threshold, the jet-type floating prop of the first virtual character and the jet-type floating prop of the second virtual character will be fused and jetted.
[0109] Schematically, the jet of the jet-type floating prop is gas. When a single jet-type floating prop is ejected, the gas will be ejected downward in a fan shape starting from the jet-type floating prop. When two jet-type floating props are fused together for ejection, the two jet-type floating props will be used as the starting point to eject gas downward in a fan shape. When fused together for ejection, the cross-sectional flow rate of the gas will be greater than the cross-sectional flow rate of the gas of a single jet-type floating prop.
[0110] Schematically, the jet of the jet-type floating prop is a water column. When a single jet-type floating prop sprays, the bottom surface of the jet-type floating prop is used as the spray plane, and the water column is sprayed vertically downward. When two jet-type floating props are combined for spraying, the bottom surfaces of the two jet-type floating props are used as the spray plane, and the water column is sprayed vertically downward. When the combined spraying is performed, the cross-sectional flow rate of the water column will be greater than the cross-sectional flow rate of the water column of a single jet-type floating prop.
[0111] Schematically, the jet of one jet-type floating prop is gas, and the jet of another jet-type floating prop is a water column. When the two jet-type floating props are combined and sprayed, the bottom surfaces of the two jet-type floating props will be used as the spraying plane to spray water waterfalls vertically downward. The flow speed of water in the water waterfall is faster than that in the water column.
[0112] In one embodiment, after the jet-type floating props of the first virtual character and the jet-type floating props of the second virtual character are fused and jetted, the first virtual character and the second virtual character move together at a first speed and a first standing height. The first speed is greater than the second speed, the first standing height is greater than the second standing height, the second speed refers to the movement speed of the first virtual character and the second virtual character using their respective floating virtual props, and the second standing height refers to the standing height of the first virtual character and the second virtual character using their respective floating virtual props.
[0113] In one embodiment, after the fusion jet occurs, the control rights of the two virtual characters in the moving direction will be uniformly controlled by one player terminal. For example, in response to the second terminal controlling the second virtual character receiving the follow-up operation of the second player, the second player's control authority over the second virtual character in the moving direction will be blocked. In response to the first terminal controlling the first virtual character receiving the follow-up request, the first player's control instruction for the first virtual character in the moving direction is synchronized to the second terminal in real time, and the second terminal synchronously controls the second virtual character to move according to the control instruction.
[0114] Step 1007, displaying a picture of a second virtual character equipped with a jet-type floating prop moving in a direction away from the first virtual character; and determining that the first virtual character is subject to an acceleration effect in the direction away from the second virtual character.
[0115] In one embodiment, there is also a second virtual character equipped with a jet-type floating prop in the wading area, and the second virtual character is a virtual character different from the first virtual character. Optionally, the second virtual character is a virtual character not controlled by the player; Optionally, the second virtual character is a virtual character in the same camp as the first virtual character; Optionally, the second virtual character is a virtual character in a different camp from the first virtual character.
[0116] Schematically, the second virtual character equipped with a jet-type floating prop moves in a direction away from the first virtual character, and is affected by the mutual repulsion of the two jet-type floating props, so that the first virtual character is accelerated in the direction away from the second virtual character. Schematically, the jet of the jet-type floating prop is gas, and based on the mutual repulsion of the gas ejected by the two jet-type floating props, the first virtual character is subjected to a repulsive force from the second virtual character. Schematically, the jet of the jet-type floating prop is a water column, and based on the mutual repulsion of the water columns ejected by the two jet-type floating props, the first virtual character is subjected to a repulsive force from the second virtual character.
[0117] Optionally, when the distance between the second virtual character and the first virtual character is greater than the first distance threshold, if the second virtual character equipped with the jet-type floating prop moves in a direction away from the first virtual character, it is determined that the first virtual character is accelerated in the direction away from the second virtual character.
[0118] In summary, the first virtual character and the second virtual character equipped with the jet-type floating prop will be mutually exclusive, which is conducive to improving the playability of the game. If the second virtual character is an enemy virtual character chasing the first virtual character, it will help the first virtual character escape from the pursuit.
[0119] Furthermore, if the distance between the first virtual character and the second virtual character equipped with the jet-type floating prop is small enough, a fusion jet will occur, and the fusion jet enables the first virtual character and the second virtual character to move together at a first speed and a first standing height. The first speed is greater than the second speed, the first standing height is greater than the second standing height, the second speed refers to the movement speed of the first virtual character and the second virtual character using their respective floating virtual props, and the second standing height refers to the standing height of the first virtual character and the second virtual character using their respective floating virtual props. The fusion jet improves the playability of the game.
[0120] Fig.11A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown. Figure 2 The terminal device 220 shown is executed for example, and the method includes:
[0121] Step 1101, displaying a wading area in a virtual environment, where the wading area is covered with virtual water resources, and where the area occupied by the wading area is larger than the area occupied by the virtual character;
[0122] A wading area refers to an area in a virtual environment that is larger than the area occupied by a virtual character and is covered by virtual water resources. The wading area supports the virtual character to perform a variety of wading activities. For example, the virtual character can swim, dive, drive a wading vehicle, fish, etc. in the wading area. In principle, the wading area includes pools, lakes, oceans, etc. in the virtual environment.
[0123] Step 1102, displaying the first virtual character's activities in the virtual environment;
[0124] In one embodiment, the terminal device displays a picture of the first virtual character moving in the wading area.
[0125] In one embodiment, the terminal device displays a picture of the first virtual character's activities outside the wading area.
[0126] Optionally, the first virtual character can use the jet flotation prop only when the first virtual character is in the wading area. Optionally, the first virtual character can be equipped with the jet flotation prop when the first virtual character is outside the wading area, but the jet flotation prop does not work at this time, and the jet flotation prop works again when the first virtual character moves into the wading area.
[0127] Step 1103, controlling the first virtual character to hold the jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb;
[0128] The jet-type floating prop refers to a virtual prop that has a jet function to support the first virtual character to float in the wading area. Schematically, the jet-type floating prop obtains a reaction force through the jet function, and the reaction force counteracts the gravity exerted on the first virtual character, so that the first virtual character floats in the wading area.
[0129] Optionally, the jet of the jet-type floating prop includes any one of a gas and a water column.
[0130] Step 1104, under the action of the jet-type floating prop, the first virtual character is controlled to stand on the water surface of the wading area;
[0131] In one embodiment, a picture of a jet-type floating prop jetting gas downward is displayed, and the first virtual character is controlled to stand on the water surface of the wading area.
[0132] In one embodiment, a picture of a jet-type floating prop spraying water downward is displayed; and the first virtual character is controlled to stand on the water surface of the wading area.
[0133] Step 1105, in response to the damage degree of the jet-type floating prop being less than a first degree threshold, lowering the standing height of the first virtual character on the water surface;
[0134] The first virtual character stands on the water surface of the wading area. If the jet float prop receives a damage operation and the damage degree of the jet float prop is less than the first degree threshold, the standing height of the first virtual character on the water surface is reduced. The damage operation includes the attack operation of the enemy virtual character on the jet float prop (such as being attacked by the enemy virtual character's bullet), natural wear and tear operation, and damage operation from the virtual environment (such as equipping the jet float prop on land, the jet float prop colliding with a reef, etc.).
[0135] Optionally, the first degree threshold is a preset threshold.
[0136] Step 1106, in response to the damage degree of the jet-type floating prop reaching a first degree threshold and being less than a second degree threshold, shielding the first virtual character from adjusting the standing height, and displaying a picture of the first virtual character shaking in height;
[0137] If the jet-type floating prop receives a damage operation, and the damage degree of the jet-type floating prop reaches the first degree threshold and is less than the second degree threshold, the adjustment operation of the standing height of the first virtual character will be shielded, and a picture showing the first virtual character shaking in height will be displayed. The terminal interface provides a gas adjustment control or a water column adjustment control. The gas adjustment control is used to adjust the standing height of the first virtual character when the jet is gas, and the water column adjustment control is used to adjust the standing height of the first virtual character when the jet is a water column. The standing height refers to the distance between the bottom surface of the first virtual character (such as the bottom surface of the foot) and the water surface. When the bottom surface of the first virtual character is above the water surface, the value of the standing height is a positive number; when the bottom surface of the first virtual character is below the water surface, the value of the standing height is a negative number.
[0138] Optionally, the second degree threshold is a preset threshold.
[0139] Step 1107 , in response to the damage degree of the jet-type floating prop reaching a second degree threshold, displaying a picture of the jet-type floating prop breaking into a plurality of floating parts and releasing smoke during the breaking process.
[0140] If the jet-type floating prop receives a damage operation and the damage degree of the jet-type floating prop reaches the second degree threshold, the terminal interface will display a picture of the jet-type floating prop breaking into multiple floating parts and releasing smoke during the breaking process. The smoke will provide a function of hiding the first virtual character, and the terminal interface of other virtual characters will not be able to display the figure of the first virtual character.
[0141] In summary, the damage process of the jet-type floating props is provided. The jet-type floating props are damaged in three stages, and the damage in different stages will destroy the corresponding functions.
[0142] Fig.12 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown. Figure 2 The terminal device 220 shown is executed for example, and the method includes:
[0143] Step 1201, displaying a water-related area in a virtual environment, where the water-related area is covered with virtual water resources, and where the area occupied by the water-related area is larger than the area occupied by the virtual character;
[0144] A wading area refers to an area in a virtual environment that is larger than the area occupied by a virtual character and is covered by virtual water resources. The wading area supports the virtual character to perform a variety of wading activities. For example, the virtual character can swim, dive, drive a wading vehicle, fish, etc. in the wading area. In principle, the wading area includes pools, lakes, oceans, etc. in the virtual environment.
[0145] Step 1202, displaying a picture of the first virtual character moving in the air environment;
[0146] In one embodiment, the terminal device displays a picture of the first virtual character moving in an environment in contact with air. Schematically, the terminal device displays the first virtual character in a swimming state. Schematically, the terminal device displays the first virtual character on land. Schematically, the terminal device displays the first virtual character on a vehicle above a wading area.
[0147] Step 1203, controlling the first virtual character to hold the jet-type floating prop, and determining that the jet-type floating prop is in a first floating mode;
[0148] When the first virtual character is in the air environment, in response to triggering the use control of the jet floating prop, the first virtual character is controlled to hold the jet floating prop in a first floating mode, where the first floating mode is a mode for achieving floating effect by jetting gas.
[0149] Step 1204, displaying a picture of the first virtual character inflating the jet-type floating prop in the air environment;
[0150] In one embodiment, the jet floatation prop is a prop that supports the storage of jets. If the jet is gas, the jet needs to be inflated before using the jet. Optionally, after the first virtual character holds the jet, it will be automatically inflated to the upper limit of the capacity. Optionally, during the inflation process, if an interruption occurs, the jet will be immediately equipped to the limbs. Optionally, the first virtual character needs to be in an air environment to inflate the jet in the first floating mode. Optionally, the volume of the jet stored in the jet is proportional to the length of use.
[0151] Step 1205, controlling the first virtual character to equip a jet-type floating prop on a limb;
[0152] Step 1206, under the action of the jet-type floating prop, control the first virtual character to stand on the water surface of the wading area;
[0153] Step 1207 , controlling the first virtual character to float up under the water surface of the wading area, and the floating condition of the first virtual character is associated with the amount of stored gas.
[0154] In one embodiment, if the first virtual character is always in an air environment during the use of the jet flotation prop, the jet flotation prop will be continuously charged. If the first virtual character is not in an air environment, the floating effect will be achieved through the amount of stored gas. For example, the first virtual character is under the water surface of a wading area, and the floating of the first virtual character is associated with the amount of stored gas. The floating duration and floating height of the first virtual character will be associated with the amount of stored gas.
[0155] The above steps 1201 to 1207 provide the working principle of the jet-type floating prop in the first floating mode. The jet-type floating prop can be used only when gas is stored.
[0156] In summary, the jet flotation prop is a prop that needs to be inflated. If the first virtual character is initially in an air environment, it is determined that the jet flotation prop is in the first flotation mode. After the first virtual character holds the jet flotation prop, it needs to be inflated first. If the first virtual character is under the water surface of the wading area, it will float up by relying on the stored air.
[0157] Fig.13 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown. Figure 2 The terminal device 220 shown is executed for example, and the method includes:
[0158] Step 1301, displaying a wading area in a virtual environment, where the wading area is covered with virtual water resources, and where the area occupied by the wading area is larger than the area occupied by the virtual character;
[0159] A wading area refers to an area in a virtual environment that is larger than the area occupied by a virtual character and is covered by virtual water resources. The wading area supports the virtual character to perform a variety of wading activities. For example, the virtual character can swim, dive, drive a wading vehicle, fish, etc. in the wading area. In principle, the wading area includes pools, lakes, oceans, etc. in the virtual environment.
[0160] Step 1302, displaying a picture of the first virtual character's underwater activities in the wading area;
[0161] In one embodiment, the terminal device displays a picture of the first virtual character's underwater activities in a wading area. Schematically, the terminal device displays the first virtual character in a diving state.
[0162] Step 1303, controlling the first virtual character to hold the jet-type floating prop and determining that the jet-type floating prop is in the second floating mode;
[0163] When the first virtual character is underwater in the wading area, in response to triggering the use control of the jet floatation prop, the first virtual character is controlled to hold the jet floatation prop in the second floatation mode, where the second floatation mode is a mode for achieving a floating effect by jetting water columns.
[0164] Step 1304, displaying a picture of the first virtual character filling the jet-type floating prop with water underwater;
[0165] In one embodiment, the jet float prop is a prop that supports the storage of jets. If the jet is a water column, the jet float prop needs to be filled with water before using the jet float prop. Optionally, after the first virtual character holds the jet float prop, it will automatically be filled with water until the upper capacity limit is reached. Optionally, during the filling process, if an interruption occurs, the jet float prop will be immediately equipped to the limbs. Optionally, the first virtual character needs to be underwater in the wading area before the jet float prop of the second floating mode can be filled with water. Optionally, the volume of the jet stored in the jet float prop is proportional to the length of use.
[0166] Step 1305, controlling the first virtual character to equip a jet-type floating prop on a limb;
[0167] Step 1306, under the action of the jet-type floating prop, control the first virtual character to stand on the water surface of the wading area;
[0168] Step 1307: Control the first virtual character to rise above the water surface of the wading area, and the rise of the first virtual character is associated with the stored water flow.
[0169] In one embodiment, if the first virtual character is always underwater in the wading area during the use of the jet flotation prop, the jet flotation prop will be continuously charged. If the first virtual character is not underwater in the wading area, the floating effect will be achieved through the stored water flow. For example, the first virtual character is on the water surface of the wading area, and the elevation of the first virtual character is associated with the stored water flow. The duration and height of the elevation of the first virtual character will be associated with the stored water flow.
[0170] The above steps 1301 to 1307 provide the working principle of the jet-type floating prop in the second floating mode. The jet-type floating prop can be used only when there is water flow stored.
[0171] In summary, the jet-type floating prop is a prop that needs to be filled with water. If the first virtual character is initially under the water surface of the wading area, it is determined that the jet-type floating prop is in the second floating mode. After the first virtual character holds the jet-type floating prop, it needs to be filled with water first. If the first virtual character is on the water surface of the wading area, it will rely on the stored water flow to stand / rise.
[0172] Fig.14 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown. Figure 2 The terminal 220 shown is executed for example, and the method includes:
[0173] Step 1401, start;
[0174] Step 1402, displaying a screen for waiting for the skill button energy bar to be full;
[0175] The screen waiting for the skill button energy bar to be full is displayed. The filling time of the skill button energy bar is pre-configured by the planner. The server updates the value of the skill button energy bar and sends it to the client. On the client, it is displayed as a screen of the skill button energy bar slowly filling up.
[0176] Step 1403, receiving a release operation of the skill button, and displaying a screen for releasing the floater chip skill;
[0177] When the skill button energy bar is full, the terminal receives the release operation of the skill button and displays the screen for releasing the skill of the floater chip. The skill of the floater chip is to use the floater model.
[0178] Step 1404, displaying a picture of the character taking out a floater model;
[0179] After the skill is released, the terminal displays a picture of the first virtual character taking out a floater model.
[0180] Step 1405, displaying a screen of installing the floater model on the character's feet;
[0181] The terminal displays a picture of the first virtual character installing the floater model on his feet. The floater model is similar to a pair of shoes, and the first virtual character directly wears the shoes on his feet.
[0182] Step 1406, displaying a picture of the floater model ejecting gas;
[0183] A gas special effect is mounted on the floater model. When the floater model is used, the special effect will be played all the time. The floater model will spray gas out all the time. The first virtual character can float on the water surface and can also move on the water surface.
[0184] Step 1407, displaying a picture of the character shooting freely on the water surface;
[0185] The screen shows the virtual character running, moving, shooting, throwing mines, spraying medicine, etc. on the water.
[0186] Step 1408, displaying a picture of the character moving on the water surface at a faster speed;
[0187] A screen showing the avatar moving at a faster speed on the water surface. After using the floater model, the first avatar will receive a buff to the movement speed.
[0188] Step 1409, in response to the skill release duration reaching a threshold, canceling the display of the floater model;
[0189] In response to the skill release duration reaching the threshold, the first virtual character returns to the state before the skill release. If the first virtual character is still on the water surface at this moment, it will fall into the water and be in a swimming state. The skill release duration threshold is pre-configured by the planner.
[0190] Step 1410, end.
[0191] Fig.15 A flowchart of a method for controlling a virtual character provided by an exemplary embodiment of the present application is shown, the method comprising:
[0192] Step 1501, the client sends a request to release the floating chip skill;
[0193] In response to the client receiving the player's operation of triggering the floating chip skill button, a network request packet will be sent to the server, and the network request packet includes player information, character information, skill information, etc. The network request packet is used to request the server to release the floating chip skill.
[0194] Step 1502, the server confirms that the floating chip skill is released successfully;
[0195] After the server receives the network request packet for releasing the floating chip skill, it verifies it through the player information, player status, etc. If it is legal, it will send a network packet to the client indicating that the floating chip skill has been successfully released.
[0196] Step 1503, the server sends a network packet for instructing the client to use the floater model;
[0197] After the floating chip skill is released successfully, the server will continue to send network packets to the client. The network packets contain player information, character information and attack prop information. The network packets are used to instruct the client to cut out the floater model.
[0198] Step 1504, the client cuts out the floater model;
[0199] After receiving the network packet, the client loads the attack prop model and the action file according to the attack prop information, and then cuts out the floater model. The client also uploads the information of the cut-out floater model to the server.
[0200] Step 1505, the client equips the floater model on the character's feet;
[0201] After the client cuts out the floater model, it equips the floater model on the feet of the first virtual character and continuously plays the jet gas special effect. The client also uploads information that the floater model has been equipped on the character's feet to the server.
[0202] Step 1506, the server sends a movement speed buff instruction;
[0203] The server sends an instruction to the client to add a buff to the movement speed of the first virtual character on the water surface according to the received information of the equipped floater model.
[0204] Step 1507, the client sends a network packet related to surfacing for free shooting;
[0205] In response to the client receiving the operation of controlling the first virtual character to surface and perform free shooting, the client sends network packets such as a movement data packet and an attack prop status packet to the server.
[0206] Step 1508, the server sends a countdown of the skill usage time of the floating chip;
[0207] The server counts down the skill usage time of the floating chip. The server also sends the skill usage countdown of the floating chip to the client.
[0208] Step 1509, the server sends a related network packet indicating the end of the floating chip skill.
[0209] The server sends a network packet indicating the end of the floating chip skill to the client. After the countdown ends, the server sends a network packet including player information and skill information to the client, which is used to indicate the end of the skill to the client and instruct the client to restore the first virtual character to the state before releasing the skill.
[0210] Fig.16 A structural block diagram of a control device for a virtual character provided by an exemplary embodiment of the present application is shown, the device comprising:
[0211] Display module 1601, used to display a wading area in a virtual environment, where the wading area is covered with virtual water resources, and the area occupied by the wading area is larger than the area occupied by the virtual character;
[0212] The display module 1601 is also used to display the activities of the first virtual character in the virtual environment;
[0213] The control module 1602 is used to control the first virtual character to hold the jet-type floating prop, and to control the first virtual character to equip the jet-type floating prop on a limb;
[0214] The control module 1602 is also used to control the first virtual character to stand on the water surface of the wading area under the action of the jet-type floating prop.
[0215] In an optional embodiment, the display module 1601 is further used to display a picture of the jet-type floating prop spraying gas downward; the control module 1602 is further used to control the first virtual character to stand on the water surface of the wading area.
[0216] In an optional embodiment, the display module 1601 is further used to display a picture of a jet-type floating prop spraying water columns downward; the control module 1602 is further used to control the first virtual character to stand on the water surface of the wading area.
[0217] In an optional embodiment, the display module 1601 is also used to display the gas adjustment control. The display module 1601 is also used to adjust the cross-sectional flow rate of the gas sprayed by the jet-type floating prop through the gas adjustment control; and display the picture of the jet-type floating prop spraying gas downward. The control module 1602 is also used to control the first virtual character to stand on the water surface of the wading area, and the standing height of the first virtual character corresponds to the cross-sectional flow rate of the gas.
[0218] In an optional embodiment, the display module 1601 is further used to display a water column adjustment control. The display module 1601 is further used to adjust the cross-sectional flow rate of the water column sprayed by the jet-type floating prop through the water column adjustment control; and display a picture of the jet-type floating prop spraying water column downward. The control module 1602 is further used to control the first virtual character to stand on the water surface of the wading area, and the standing height of the first virtual character corresponds to the cross-sectional flow rate of the water column.
[0219] In an optional embodiment, the jet of the jet-type floating prop is refrigerated gas. The display module 1601 is also used to display a picture of the first virtual character moving on the water surface of the wading area; a picture of the first virtual character's moving path being frozen in the wading area; and a picture of the second virtual character following the first virtual character standing on the water surface of the wading area without being equipped with a jet-type floating prop.
[0220] In an optional embodiment, the display module 1601 is further used to display a picture of a second virtual character equipped with a jet-type floating prop moving toward the first virtual character. The device also includes a determination module 1603, which is used to determine that the first virtual character is subjected to an acceleration effect in a direction away from the second virtual character. The display module 1601 is further used to display a picture of a second virtual character equipped with a jet-type floating prop moving toward a direction away from the first virtual character. The determination module 1603 is further used to determine that the first virtual character is subjected to an acceleration effect in a direction away from the second virtual character.
[0221] In an optional embodiment, the display module 1601 is further used to display a picture of the fusion and jetting of the jet floating props of the first virtual character and the jet floating props of the second virtual character in response to the distance between the second virtual character equipped with the jet floating prop and the first virtual character being less than a first distance threshold, where the second virtual character is a virtual character in the same camp as the first virtual character; and display a picture of the first virtual character and the second virtual character moving together at a first speed and a first standing height; wherein the first speed is greater than the second speed, the first standing height is greater than the second standing height, the second speed refers to the movement speed of the first virtual character and the second virtual character using their respective floating virtual props, and the second standing height refers to the standing height of the first virtual character and the second virtual character using their respective floating virtual props.
[0222] In an optional embodiment, the display module 1601 is further used to reduce the standing height of the first virtual character on the water surface in response to the degree of damage of the jet-type floating prop being less than the first degree threshold. In an optional embodiment, the display module 1601 is further used to shield the adjustment operation of the standing height of the first virtual character and display a picture of the first virtual character shaking in height in response to the degree of damage of the jet-type floating prop reaching the first degree threshold and less than the second degree threshold. In an optional embodiment, the display module 1601 is further used to display a picture of the jet-type floating prop breaking into multiple floating parts and releasing smoke during the breaking process in response to the degree of damage of the jet-type floating prop reaching the second degree threshold.
[0223] In an optional embodiment, the jet-type floating prop includes a first floating mode and a second floating mode. The display module 1601 is also used to display a picture of the first virtual character inflating the jet-type floating prop in an air environment when the jet-type floating prop is in the first floating mode, and the first floating mode is a mode in which the floating effect is obtained by injecting gas. The display module 1601 is also used to display a picture of the first virtual character filling the jet-type floating prop with water underwater when the jet-type floating prop is in the second floating mode, and the second floating mode is a mode in which the floating effect is obtained by injecting water.
[0224] In an optional embodiment, the display module 1601 is further used to display a picture of the first virtual character moving in the air environment. The determination module 1603 is further used to determine whether the jet-type floating prop is in the first floating mode.
[0225] In an optional embodiment, the display module 1601 is further used to display a picture of the first virtual character's underwater activities in the wading area. The determination module 1603 is further used to determine whether the jet-type floating prop is in the second floating mode.
[0226] In an optional embodiment, the control module 1602 is further used to control the first virtual character to float up under the water surface of the wading area when the jet-type floating prop is in the first floating mode, and the floating condition of the first virtual character is associated with the amount of gas stored. When the jet-type floating prop is in the second floating mode, the control module 1602 controls the first virtual character to rise above the water surface of the wading area, and the rising condition of the first virtual character is associated with the stored water flow.
[0227] In an optional embodiment, the display module 1601 is further used to display the use control of the jet floating prop when the first virtual character is equipped with the chip virtual prop corresponding to the jet floating prop. The control module 1602 is further used to control the first virtual character to hold the jet floating prop in response to receiving a trigger operation using the control.
[0228] To sum up, by equipping the jet-type floating props, the first virtual character can stand on the water surface of the wading area, and then observe the distant virtual environment by binding the camera model of the first virtual character. The terminal screen will display relevant information of the distant virtual environment, thereby increasing the amount of information displayed.
[0229] Fig.17 The block diagram of the structure of a computer device 1700 provided by an exemplary embodiment of the present application is shown. The computer device 1700 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 1700 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0230] Typically, the computer device 1700 includes a processor 1701 and a memory 1702 .
[0231] The processor 1701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1701 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 1701 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 1701 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 1701 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0232] The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. The memory 1702 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 1702 is used to store at least one instruction, which is used to be executed by the processor 1701 to implement the control method of the virtual character provided in the method embodiment of the present application.
[0233] In some embodiments, the computer device 1700 may also optionally include: a peripheral device interface 1703 and at least one peripheral device. The processor 1701, the memory 1702 and the peripheral device interface 1703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1703 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 1704, a display screen 1705, a camera assembly 1706, an audio circuit 1707 and a power supply 1708.
[0234] The peripheral device interface 1703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1701 and the memory 1702. In some embodiments, the processor 1701, the memory 1702, and the peripheral device interface 1703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1701, the memory 1702, and the peripheral device interface 1703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0235] The radio frequency circuit 1704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1704 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1704 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 radio frequency circuit 1704 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 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0236] The display screen 1705 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1705 is a touch display screen, the display screen 1705 also has the ability to collect touch signals on the surface or above the surface of the display screen 1705. The touch signal can be input to the processor 1701 as a control signal for processing. At this time, the display screen 1705 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 1705 can be one, set on the front panel of the computer device 1700; in other embodiments, the display screen 1705 can be at least two, respectively set on different surfaces of the computer device 1700 or in a folding design; in other embodiments, the display screen 1705 can be a flexible display screen, set on a curved surface or a folding surface of the computer device 1700. Even, the display screen 1705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1705 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0237] The camera assembly 1706 is used to capture images or videos. Optionally, the camera assembly 1706 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 1706 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.
[0238] The audio circuit 1707 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 1701 for processing, or input them into the radio frequency circuit 1704 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 1700. 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 1701 or the radio frequency circuit 1704 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 1707 may also include a headphone jack.
[0239] The power supply 1708 is used to power various components in the computer device 1700. The power supply 1708 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1708 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.
[0240] In some embodiments, the computer device 1700 further includes one or more sensors 1709 , including but not limited to: an acceleration sensor 1710 , a gyroscope sensor 1711 , a pressure sensor 1712 , an optical sensor 1713 , and a proximity sensor 1714 .
[0241] The acceleration sensor 1710 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the computer device 1700. For example, the acceleration sensor 1710 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1701 can control the display screen 1705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1710. The acceleration sensor 1710 can also be used to collect motion data of games or users.
[0242] The gyro sensor 1711 can detect the body direction and rotation angle of the computer device 1700, and the gyro sensor 1711 can cooperate with the acceleration sensor 1710 to collect the user's 3D actions on the computer device 1700. The processor 1701 can implement the following functions based on the data collected by the gyro sensor 1711: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0243] The pressure sensor 1712 can be set on the side frame of the computer device 1700 and / or the lower layer of the display screen 1705. When the pressure sensor 1712 is set on the side frame of the computer device 1700, it can detect the user's grip signal of the computer device 1700, and the processor 1701 performs left and right hand recognition or shortcut operations according to the grip signal collected by the pressure sensor 1712. When the pressure sensor 1712 is set on the lower layer of the display screen 1705, the processor 1701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0244] The optical sensor 1713 is used to collect the ambient light intensity. In one embodiment, the processor 1701 can control the display brightness of the display screen 1705 according to the ambient light intensity collected by the optical sensor 1713. For example, when the ambient light intensity is high, the display brightness of the display screen 1705 is increased; when the ambient light intensity is low, the display brightness of the display screen 1705 is reduced. In another embodiment, the processor 1701 can also dynamically adjust the shooting parameters of the camera component 1706 according to the ambient light intensity collected by the optical sensor 1713.
[0245] The proximity sensor 1714, also called a distance sensor, is usually disposed on the front panel of the computer device 1700. The proximity sensor 1714 is used to collect the distance between the user and the front of the computer device 1700. In one embodiment, when the proximity sensor 1714 detects that the distance between the user and the front of the computer device 1700 is gradually decreasing, the processor 1701 controls the display screen 1705 to switch from the screen-on state to the screen-off state; when the proximity sensor 1714 detects that the distance between the user and the front of the computer device 1700 is gradually increasing, the processor 1701 controls the display screen 1705 to switch from the screen-off state to the screen-on state.
[0246] Those skilled in the art will understand that Fig.17 The structure shown in the figure does not constitute a limitation on the computer device 1700, and the computer device 1700 may include more or less components than shown in the figure, or combine some components, or adopt a different arrangement of components.
[0247] 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 virtual character control method provided in the above method embodiment.
[0248] The present application provides a computer program product, which 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 the control method of the virtual character provided by the above method embodiment.
[0249] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments. A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.
[0250] 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 controlling a virtual character, characterized in that: The method comprises: Displaying a wading area in a virtual environment, the wading area is covered with virtual water resources, and the area occupied by the wading area is larger than the area occupied by the virtual character; displaying a first virtual character moving in the virtual environment; Controlling the first virtual character to hold a jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb; Under the action of the jet-type floating prop, the first virtual character is controlled to stand on the water surface of the wading area.
2. The method according to claim 1, characterized in that The step of controlling the first virtual character to stand on the water surface of the wading area under the action of the jet-type floating prop comprises: Displaying a picture of the jet-type floating prop spraying gas downward; controlling the first virtual character to stand on the water surface of the wading area; or, Display a picture of the jet-type floating prop spraying water columns downward; control the first virtual character to stand on the water surface of the wading area.
3. The method according to claim 2, characterized in that The method further includes: displaying a gas adjustment control; The screen showing the jet-type floating prop jetting gas downwards includes: By means of the gas regulating control, the cross-sectional flow rate of the gas ejected by the jet-type floating prop is adjusted; a picture of the jet-type floating prop ejecting gas downward is displayed; The controlling the first virtual character to stand on the water surface of the wading area includes: The first virtual character is controlled to stand on the water surface of the wading area, and the standing height of the first virtual character corresponds to the cross-sectional flow rate of the gas.
4. The method according to claim 2, characterized in that: The method further includes: displaying a water column adjustment control; The screen showing the jet-type floating prop spraying water downwards includes: By means of the water column adjustment control, the cross-sectional flow rate of the water column sprayed by the jet-type floating prop is adjusted; and a picture of the jet-type floating prop spraying the water column downward is displayed; The controlling the first virtual character to stand on the water surface of the wading area includes: The first virtual character is controlled to stand on the water surface of the wading area, and the standing height of the first virtual character corresponds to the cross-sectional flow of the water column.
5. The method according to claim 2, characterized in that: The jet of the jet-type floating prop is refrigerated gas, and the method further comprises: Displaying a picture of the first virtual character moving on the water surface of the wading area; Displaying a picture in which the moving path of the first virtual character in the wading area is frozen; A screen is displayed in which a second virtual character that follows the first virtual character stands on the water surface of the wading area without being equipped with the jet-type floating prop.
6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Displaying a picture of a second virtual character equipped with the jet-type floating prop moving toward the first virtual character; and determining that the first virtual character is subject to an acceleration effect in a direction away from the second virtual character; The screen showing the second virtual character equipped with the jet-type floating prop moving in a direction away from the first virtual character is displayed; and the first virtual character is determined to be subjected to an acceleration effect in the direction away from the second virtual character.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: In response to the distance between the second virtual character equipped with the jet-type floating prop and the first virtual character being less than a first distance threshold, displaying a picture of the jet-type floating prop of the first virtual character and the jet-type floating prop of the second virtual character being fused and jetted, the second virtual character being a virtual character in the same camp as the first virtual character; Displaying a screen in which the first virtual character and the second virtual character move together at a first speed and a first standing height; Among them, the first speed is greater than the second speed, the first standing height is greater than the second standing height, the second speed refers to the moving speed of the first virtual character and the second virtual character using their respective floating virtual props, and the second standing height refers to the standing height of the first virtual character and the second virtual character using their respective floating virtual props.
8. The method according to any one of claims 1 to 5, characterized in that: The method further comprises at least one of the following steps: In response to the damage degree of the jet-type floating prop being less than a first degree threshold, lowering the standing height of the first virtual character on the water surface; In response to the damage degree of the jet-type floating prop reaching the first degree threshold and being less than the second degree threshold, shielding the first virtual character from adjusting the standing height, and displaying a picture showing the first virtual character shaking in height; In response to the damage degree of the jet-type floating prop reaching the second degree threshold, a picture is displayed in which the jet-type floating prop is broken into a plurality of floating parts and smoke is released during the breaking process.
9. The method according to any one of claims 1 to 5, characterized in that: The jet-type floating prop comprises a first floating mode and a second floating mode; the method further comprises: When the jet-type floating prop is in the first floating mode, displaying a picture of the first virtual character inflating the jet-type floating prop in an air environment, wherein the first floating mode is a mode in which a floating effect is achieved by jetting gas; When the jet floatation prop is in the second floatation mode, a picture of the first virtual character filling the jet floatation prop with water underwater is displayed. The second floatation mode is a mode in which the floatation effect is achieved by spraying water columns.
10. The method according to claim 9, characterized in that The displaying of the first virtual character's activity in the virtual environment includes: displaying a picture of the first virtual character's activity in the air environment; the method further includes: determining that the jet-type floating prop is in the first floating mode; or, The displaying of the first virtual character's activities in the virtual environment includes: displaying a picture of the first virtual character's underwater activities in the wading area; the method also includes: determining that the jet-type floating prop is in the second floating mode.
11. The method according to claim 9, characterized in that The method further comprises: When the jet-type floating prop is in the first floating mode, controlling the first virtual character to float up under the water surface of the wading area, wherein the floating condition of the first virtual character is associated with the amount of stored gas; When the jet-type floating prop is in the second floating mode, the first virtual character is controlled to rise on the water surface of the wading area, and the rise of the first virtual character is associated with the stored water flow rate.
12. The method according to any one of claims 1 to 5, characterized in that: The controlling the first virtual character to hold the jet-type floating prop comprises: In the case where the first virtual character is equipped with a chip virtual prop corresponding to the jet-type floating prop, displaying a use control of the jet-type floating prop; In response to receiving a trigger operation using the control, the first virtual character is controlled to hold the jet-type floating prop.
13. A control device for a virtual character, characterized in that: The device comprises: A display module, used for displaying a wading area in a virtual environment, wherein the wading area is covered with virtual water resources, and the area occupied by the wading area is larger than the area occupied by the virtual character; The display module is further used to display the activities of the first virtual character in the virtual environment; A control module, used for controlling the first virtual character to hold the jet-type floating prop, and controlling the first virtual character to equip the jet-type floating prop on a limb; The control module is further used to control the first virtual character to stand on the water surface of the wading area under the action of the jet-type floating prop.
14. 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 control method of the virtual character according to any one of claims 1 to 12.
15. 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 control method of a virtual character as claimed in any one of claims 1 to 12.
