Virtual object interaction method, device and equipment and computer readable storage medium

By moving virtual resources and upgrading resources to consume equipment, the interaction methods of virtual objects are enriched, the problem of single interaction methods in the existing technology is solved, and the interaction of the game and the sense of player participation is improved.

CN120393418AActive Publication Date: 2025-08-01DIANDIAN INTERACTIVE (BEIJING) TECHNOLOGY CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510535284.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-27
Publication Date
2025-08-01
Estimated Expiration
2045-04-27

AI Technical Summary

Technical Problem

In the prior art, the interaction mode of virtual objects is single, the interaction rate is low, and the lack of diversity and flexibility, resulting in a single gameplay and insufficient interactiveness.

Method used

Collect props by displaying the resource moving to the virtual object, and using the collected virtual resources to upgrade the resource consumption equipment, adjust or maintain environmental parameters in the target area affected by the equipment, so as to enrich the interaction mode and improve the interaction rate.

Benefits of technology

It enhances the diversity and flexibility of virtual objects' interaction methods, improves the playability and interactive fun of the game, enhances the player's sense of participation and accomplishment in the game, and improves the game's interactivity and user retention rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120393418A_ABST
    Figure CN120393418A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual object interaction method, device and equipment and a computer readable storage medium, and belongs to the technical field of games. The method comprises the following steps: displaying a first virtual object and a virtual resource in a virtual scene; under the condition that the first condition is met, displaying that the virtual resource moves from the position of the virtual resource to a resource collection prop corresponding to the first virtual object; and under the condition that a second condition is met, displaying virtual resources collected by the resource collection prop corresponding to the first virtual object to upgrade the resource consumption equipment so as to adjust or maintain environmental parameters for the first virtual object to survive in the target area influenced by the resource consumption equipment. According to the method, the interaction modes of the virtual object are diversified and are more flexible, so that the playing methods of the game are enriched.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of human-computer interaction, and in particular to an interaction method, device, equipment, and computer-readable storage medium for virtual objects. Background Art

[0002] With the continuous development of computer technology, the types of electronic games are becoming increasingly rich. For example, shooting games, role-playing games, business strategy games, etc. In an electronic game, a virtual object can be controlled to move in a virtual scene, such as controlling a virtual object to move in a virtual scene.

[0003] In the related art, there are virtual resources in a virtual scene, and a game object can control a virtual object to move in the virtual scene to obtain the virtual resources in the virtual scene.

[0004] However, in the above method, the virtual object can only obtain virtual resources, making the interaction method of the virtual object relatively single and the interaction rate relatively low. Summary of the Invention

[0005] Embodiments of the present application provide an interaction method, device, equipment, and readable storage medium for virtual objects, which can be used to solve the problems in the related art. The technical solutions are as follows:

[0006] On the one hand, embodiments of the present application provide an interaction method for a virtual object, the method including:

[0007] Display a first virtual object and virtual resources located in a virtual scene;

[0008] When a first condition is satisfied, display the virtual resources moving from the position where the virtual resources are located to a resource collection prop corresponding to the first virtual object;

[0009] When a second condition is satisfied, display the virtual resources collected by the resource collection prop corresponding to the first virtual object upgrading a resource consumption equipment to adjust or maintain environmental parameters for the first virtual object to survive within a target area affected by the resource consumption equipment.

[0010] On the other hand, embodiments of the present application provide an interaction device for a virtual object, the device including:

[0011] A display module, configured to display a first virtual object and virtual resources located in a virtual scene;

[0012] The display module is further configured to, when a first condition is satisfied, display the virtual resources moving from the position where the virtual resources are located to a resource collection prop corresponding to the first virtual object;

[0013] The display module is further configured to, when a second condition is satisfied, display the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource consumption equipment, so as to adjust or maintain the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment.

[0014] In a possible implementation manner, the display module is configured to, when a second condition is satisfied, display the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource consumption equipment, so as to adjust the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment are better than those before the resource consumption equipment is upgraded; or,

[0015] When the second condition is satisfied and the virtual scene changes from the first scene environment to the second scene environment, display the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource consumption equipment, so as to maintain the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment. After the resource consumption equipment is upgraded, the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment are the same as those before the resource consumption equipment is upgraded, and the second scene environment is worse than the first scene environment.

[0016] In a possible implementation manner, the level after the resource consumption equipment is upgraded is determined based on the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object, and the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment after the resource consumption equipment is upgraded are determined based on the level after the resource consumption equipment is upgraded.

[0017] In a possible implementation manner, the environmental parameters for the first virtual object to survive in the target area affected by the resource consumption equipment include the scene temperature of the virtual scene;

[0018] The display module is further configured to display the scene temperature of the virtual scene;

[0019] The device further includes:

[0020] A determination module, configured to determine a target temperature, where the target temperature is the scene temperature of the virtual scene after the resource consumption equipment is upgraded, and the target temperature is determined based on the level after the resource consumption equipment is upgraded;

[0021] The display module is further configured to update and display the scene temperature of the virtual scene as the target temperature.

[0022] In a possible implementation, the display module is further configured to display a first area in a target form, where the first area is determined based on the position of the first virtual object and the level after the upgrade of the resource-consuming equipment, and the target form is used to indicate that when the first virtual object is in the first area, the first virtual object is not attacked by a second virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

[0023] In a possible implementation, the second condition includes one of the following:

[0024] The quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, and the quantity threshold is the quantity of virtual resources required for the resource-consuming equipment to upgrade from the current level to the next level;

[0025] The quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the first virtual object is in a reference area, where the reference area is determined based on the position of the resource-consuming equipment;

[0026] The quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the scene environment of the virtual scene changes;

[0027] The quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the second virtual object attacks the first virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

[0028] In a possible implementation, the display module is further configured to display a prompt control when the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, where the prompt control indicates that the resource-consuming equipment can be upgraded, and the quantity threshold is the quantity of virtual resources required for the resource-consuming equipment to upgrade from the current level to the next level.

[0029] In a possible implementation, the display module is further configured to display an indication element in response to a trigger operation on the prompt control, where the indication element indicates the direction of the resource-consuming equipment relative to the first virtual object.

[0030] In a possible implementation, the display module is further configured to display the upgraded resource-consuming equipment, and the appearance of the upgraded resource-consuming equipment is different from that of the resource-consuming equipment before the upgrade.

[0031] In a possible implementation, the first virtual object performs a scene exploration task in the virtual scene, the virtual scene is covered with granular coverings, the first virtual object holds a first virtual item, and the first virtual item is used to eliminate the granular coverings within the application range of the virtual item;

[0032] The device further includes:

[0033] An adjustment module, configured to adjust the application range of the first virtual item, and the adjusted application range of the first virtual item is larger than the application range of the first virtual item before the adjustment.

[0034] In a possible implementation, the device further includes:

[0035] A transfer module, configured to transfer a second virtual item to the control object of the first virtual object. When the first virtual object is equipped with the second virtual item, the temperature of a second area is a reference temperature. The second area is determined based on the position of the first virtual object, and the reference temperature is determined based on the second virtual item.

[0036] In a possible implementation, the device further includes:

[0037] A determination module, configured to determine a third area according to the position of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, and the third area is larger than the safety area provided by the upgraded resource-consuming equipment;

[0038] The display module is further configured to display that the virtual resources existing in the third area move from the position of the virtual resources to the resource collection item corresponding to the first virtual object.

[0039] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory. At least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to enable the computer device to implement the interaction method of the virtual object described in any one of the above.

[0040] On the other hand, a computer-readable storage medium is further provided. At least one program code is stored in the computer-readable storage medium, and the at least one program code is loaded and executed by a processor to enable a computer to implement the interaction method of the virtual object described in any one of the above.

[0041] On the other hand, a computer program or a computer program product is also provided. At least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any one of the above virtual object interaction methods.

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

[0043] In the technical solutions provided in the embodiments of the present application, a game object can control a first virtual object to move in a virtual scene. When a first condition is satisfied, it is displayed that virtual resources move from the position where the virtual resources are located to a resource collection prop corresponding to the first virtual object, so as to reflect that the first virtual object collects virtual resources. When a second condition is satisfied, the virtual resources collected by the first virtual object are used to upgrade a resource consumption device, so as to adjust or maintain environmental parameters for the survival of the first virtual object in a target area affected by the resource consumption device. This method enables the game object not only to collect virtual resources in the virtual scene, but also to consume virtual resources to upgrade the resource consumption device, making the interaction methods of virtual objects diversified, the interaction methods more flexible, improving the interaction rate of virtual objects, further enriching the gameplay of the game, making the game more playable, increasing the interactive fun of the game, and further enhancing the player's sense of participation and achievement in the game, thereby being able to improve the interactivity and user retention rate of the game. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0045] Figure 1 is a schematic diagram of a computer system provided by an embodiment of the present application;

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

[0047] Figure 3 is a schematic diagram of a game interface provided by an embodiment of the present application;

[0048] Figure 4 is a schematic diagram of a countdown control provided by an embodiment of the present application;

[0049] Figure 5 is a schematic diagram of another countdown control provided by an embodiment of the present application;

[0050] Figure 6 It is a schematic diagram of a prompt control provided by an embodiment of the present application;

[0051] Figure 7 It is a schematic diagram of an indication element provided by an embodiment of the present application;

[0052] Figure 8 It is a schematic diagram of upgrading resource consumption equipment of virtual resources collected by a resource collection prop corresponding to a first virtual object provided by an embodiment of the present application;

[0053] Figure 9 It is a schematic diagram of the structure of an interaction device of a virtual object provided by an embodiment of the present application;

[0054] Figure 10 It is a schematic diagram of the structure of a terminal device provided by an embodiment of the present application;

[0055] Figure 11 It is a schematic diagram of the structure of a server provided by an embodiment of the present application. Detailed implementation manners

[0056] To make the objectives, technical solutions and advantages of the present application clearer, the following will further describe the embodiments of the present application in detail with reference to the accompanying drawings.

[0057] It should be noted that the terms "first", "second", etc. in the present application are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such terms can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0058] First, define the abbreviations and key terms involved in the embodiments of the present application.

[0059] Virtual scene: It refers to the scene provided (or displayed) when the application program runs on the terminal device. The virtual scene is a scene created for virtual objects to move. The virtual scene can be a two-dimensional virtual scene, a 2.5D virtual scene or a three-dimensional virtual scene, etc. The virtual scene can be a simulation scene of the real world, a semi-simulation scene of the real world, or a pure fictional scene. Exemplarily, the virtual scene involved in the embodiments of the present application is a three-dimensional virtual scene.

[0060] Virtual object: It refers to an active object in a virtual scene, which can be a virtual character, a virtual animal, an anime character, etc. The user can control the virtual object by means of a peripheral component or by clicking or touching the display screen. Each virtual object has its own shape and volume in the virtual scene and occupies a part of the space in the virtual scene. Exemplarily, when the virtual scene is a three-dimensional virtual scene, the virtual object is a three-dimensional solid model created based on the animation skeleton technology.

[0061] Figure 1 It is a schematic diagram of a computer system provided by an embodiment of the present application. As Figure 1 shown, the computer system includes: a terminal device 101 and a server 102. Among them, a game client is installed and run in the terminal device 101. The interaction method of the virtual object provided by the embodiment of the present application can be executed by the terminal device 101 or jointly executed by the terminal device 101 and the server 102. The embodiment of the present application does not limit this.

[0062] The server 102 is used to provide background services for the game client installed in the terminal device 101. In a possible implementation manner, the server 102 undertakes the main computing work, and the terminal device 101 undertakes the secondary computing work. Or, the server 102 undertakes the secondary computing work, and the terminal device 101 undertakes the main computing work. Or, a distributed computing architecture is adopted between the terminal device 101 and the server 102 for collaborative computing.

[0063] The game client can be a third-person shooting (TPS) game, a first-person shooting (FPS) game, a multiplayer online battle arena (MOBA) game, a multiplayer shooting survival game, a massive multiplayer online role-playing game (MMO), an action role-playing game (ARPG), a business strategy game, a virtual reality (VR) client, an augmented reality (AR) client, a three-dimensional map program, a map simulation program, a social client, an interactive entertainment client, etc.

[0064] The embodiment of the present application does not limit the type of the game client. For example, the game client can be an application program that needs to be downloaded and installed, a small program that does not need to be downloaded, a web application program, etc.

[0065] Optionally, the terminal device 101 can be any electronic device product that can perform human-computer interaction with the user through one or more methods such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, the terminal device 101 can be a smartphone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a PC (Personal Computer), a mobile phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a smart car machine, a smart TV, etc.

[0066] The terminal device 101 can generally refer to one of multiple terminal devices. In this embodiment, only the terminal device 101 is used as an example for illustration. Those skilled in the art can understand that the number of the above terminal devices 101 can be more or less. For example, the above terminal device 101 can be only one, or the above terminal device 101 can be dozens or hundreds, or a larger number. The embodiments of the present application do not limit the number and device type of the terminal device 101.

[0067] The server 102 is a single server, or a server cluster composed of multiple servers, or any one of a cloud computing platform and a virtualization center. The embodiments of the present application do not limit this. The server 102 is directly or indirectly communicatively connected to the terminal device 101 through a wired communication method or a wireless communication method. The server 102 has a data receiving function, a data processing function, and a data sending function. Of course, the server 102 can also have other functions. The embodiments of the present application do not limit this.

[0068] In the virtual object interaction method provided by the present application, the terminal device 101 displays the game interface shown in (1). In the game interface shown in (1), a first virtual object 103 located in a virtual scene is displayed. The first virtual object 103 holds a first virtual item 104, and the first virtual item 104 is used to eliminate particulate matter within the application range 105 of the first virtual item 104. When the first virtual item 104 eliminates the particulate matter within the application range 105 of the first virtual item 104 and there is virtual resource 106 in the application range 105 of the first virtual item 104, the game interface shown in (2) is displayed. In the game interface shown in (2), the virtual resource 106 located in the virtual scene is displayed. When the distance between the first virtual object 103 and the virtual resource 106 is less than the distance threshold, it is displayed that the virtual resource 106 moves from the position where the virtual resource 106 is located to the resource collection item corresponding to the first virtual object 103.

[0069] When the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object 103 is not less than the quantity threshold and the first virtual object 103 is located in the reference area 107, the game interface shown in (3) is displayed. In the game interface shown in (3), it is shown that the virtual resources collected by the resource collection item corresponding to the first virtual object 103 are moved to the resource consumption equipment 108. After the virtual resources collected by the resource collection item corresponding to the first virtual object 103 are moved to the resource consumption equipment 108, the game interface shown in (4) is displayed. In the game interface shown in (4), the appearance of the resource consumption equipment 108 changes, the safety area provided by the resource consumption equipment 108 becomes larger, and the scene temperature of the virtual scene becomes higher.

[0070] Among them, the quantity threshold is the quantity of virtual resources required for the resource consumption equipment 108 to upgrade from the current level to the next level, and the reference area 107 is any area in the safety area provided by the resource consumption equipment 108.

[0071] Those skilled in the art should understand that the above terminal device 101 and server 102 are only for illustrative purposes. Other existing or future terminal devices or servers that are applicable to this application should also be included in the protection scope of this application and are hereby incorporated herein by reference.

[0072] The embodiment of this application provides an interaction method for virtual objects. This method can be applied to the Figure 1 shown computer system. Taking the flowchart of an interaction method for virtual objects provided by the embodiment of this application shown in Figure 2 as an example, this method can be executed by the Figure 1 terminal device 101 in. As shown in Figure 2 , this method includes the following steps 201 to step 203.

[0073] In step 201, a first virtual object and virtual resources located in the virtual scene are displayed.

[0074] In an exemplary embodiment of the present application, a game client capable of providing a virtual scene is installed and run in a terminal device. The game client can be the client of any kind of game, and the embodiments of the present application do not limit this. Exemplarily, the game client is a business strategy type client. Multiple virtual objects can be displayed in the virtual scene, where different virtual objects can be controlled by different terminal devices or servers. In addition to virtual objects, virtual elements can also be displayed in the virtual scene. The virtual elements can be any elements, and the embodiments of the present application do not limit the virtual elements. Optionally, the virtual elements can include mountains, plains, rivers, lakes, seas, deserts, swamps, quicksand, sky, plants, snowfields, buildings, coal balls, snowmen, and so on. The description of the virtual scene in the present application is only an exemplary description and does not limit the virtual scene.

[0075] Optionally, relevant information of the game client is displayed on the display interface of the terminal device. The relevant information of the game client can be the name of the game client, the icon of the game client, or other information that can represent the game client. The embodiments of the present application do not limit this. When a game object wants to run the game client, the game object triggers the relevant information of the game client. The terminal device responds to the trigger operation for the relevant information of the game client, runs the game client, and displays a game interface. A first virtual object located in the virtual scene is displayed in the game interface. The virtual scene is covered by a granular covering. The first virtual object performs a scene exploration task in the virtual scene. The first virtual object holds a first virtual item, and the first virtual item is used to eliminate the granular covering within the application range of the first virtual item.

[0076] The scene exploration task is a task centered on vision expansion and / or resource collection in the game. The game object can explore the virtual scene by controlling the first virtual object to move and interact in the virtual scene, thereby advancing the game process, obtaining virtual resources, or unlocking the virtual scene.

[0077] Optionally, the virtual scene is covered by a granular covering. The scene exploration task is a task of eliminating the granular covering in the virtual scene. Or, there are virtual resources in the virtual scene, and the scene exploration task is a task of collecting the virtual resources in the virtual scene. Or, there are virtual resources in the virtual scene, and the virtual resources are covered by a granular covering. The scene exploration task is a task of eliminating the granular covering in the virtual scene and collecting the virtual resources in the virtual scene.

[0078] Among them, the first virtual object is a virtual object controlled by a game object using a terminal device, or the first virtual object is a virtual object controlled by a client. The embodiments of the present application do not limit this. The triggering operations for relevant information of the game client include at least one of a touch operation, a joystick triggering operation, a voice command triggering operation, or a gesture triggering operation for the relevant information of the game client. The triggering operations for other contents in the following are similar to the triggering operations for the relevant information of the game client. When the triggering operations for other contents are involved in the following, the embodiments of the present application will not elaborate further.

[0079] Optionally, the granular covering can be snow, or water, or sand, or others. The embodiments of the present application do not limit this. The application range of the first virtual item is determined based on the position where the first virtual object is located.

[0080] In a possible implementation, the application range of the first virtual item is determined based on the position where the first virtual object is located, a first length, and a first angle. Among them, the first length and the first angle are determined based on a target quantity, and the target quantity is the number of virtual objects whose states are changed by the first virtual object. The more virtual objects whose states are changed by the first virtual object, the larger the target quantity, the larger the first length and the first angle, and the larger the application range of the first virtual item. Exemplarily, if there are three virtual objects whose states are changed by the first virtual object, then the target quantity is 3, the first length determined based on the target quantity is 1 meter, and the first angle is 30 degrees.

[0081] Optionally, the application range of the first virtual item is a sector with the position where the first virtual object is located as the vertex, the first length as the radius, and the first angle as the arc angle. Exemplarily, the application range of the first virtual item is a sector with the position where the first virtual object is located as the vertex, 1 meter as the radius, and 30 degrees as the arc angle.

[0082] In this implementation, the application range of the first virtual item held by the first virtual object is a sector area with the position where the first virtual object itself is located as the vertex, the first length as the radius, and the first angle as the arc angle, greatly expanding the application range of the first virtual item, enabling the first virtual object to cover a larger range without making a large movement, and thus improving the elimination efficiency of the first virtual object.

[0083] In response to the first virtual item eliminating the granular covering within the application range of the first virtual item and there being virtual resources within the application range of the first virtual item, display the virtual resources located in the virtual scene. The virtual resources can be coal balls, or ores, or other resources. The embodiments of the present application do not limit this.

[0084] Such asFigure 3 This is a schematic diagram of a game interface provided by an embodiment of the present application. Among them, a first virtual object 301 located in a virtual scene is displayed. The first virtual object 301 holds a first virtual item 302. The application range of the first virtual item 302 is 303. The first virtual item 302 eliminates particulate coverings in the application range 303 of the first virtual item 302, and there is virtual resource 304 in the application range 303 of the first virtual item 302. Therefore, the virtual resource 304 is also displayed.

[0085] In a possible implementation, the task name of the scene exploration task is also displayed in the game interface, such as Figure 3 "Area 6" in it is the task name of the scene exploration task.

[0086] In a possible implementation, a first control is also displayed in the game interface. The first control is used to display the resource information of a first virtual resource. The first virtual resource is a virtual resource that can be obtained after completing the scene exploration task, such as Figure 3 305 in it is the first control. In response to a trigger operation on the first control, the resource information of the first virtual resource is displayed. The resource information of the first virtual resource can be the resource name of the first virtual resource, or the resource icon of the first virtual resource, or other information that can uniquely represent the first virtual resource. The embodiments of the present application do not limit this.

[0087] In this implementation, by displaying the first control, the game object can view the resource information of the first virtual resource that can be obtained after completing the scene exploration task by triggering the first control. This can effectively stimulate the exploration desire and challenge enthusiasm of the game object, and drive the game object to complete the scene exploration task with a clear reward expectation, thereby improving the game fun.

[0088] In a possible implementation, a second control is also displayed in the game interface. The second control is used to display the resource information of a second virtual resource. The second virtual resource is a virtual resource sensed by the first virtual object in the virtual scene, such as Figure 3 306 in it is the second control. In response to a trigger operation on the second control, the resource information of the second virtual resource is displayed. The resource information of the second virtual resource can be the resource name of the second virtual resource, or the resource icon of the second virtual resource, or other information that can uniquely represent the second virtual resource. The embodiments of the present application do not limit this.

[0089] Among them, the second virtual resource can be a virtual resource that the first virtual object has encountered in the virtual scene, or a virtual resource that the first virtual object has picked up in the virtual scene, or a virtual resource obtained by the first virtual object defeating other virtual objects in the virtual scene, or a virtual resource obtained by the first virtual object opening a virtual treasure chest in the virtual scene. The embodiments of the present application do not limit the source of the second virtual resource.

[0090] In this implementation manner, by displaying the second control, the game object can view the resource information of the second virtual resource perceived by the first virtual object by triggering the second control, which can effectively stimulate the exploration desire and challenge enthusiasm of the game object, drive the game object to complete the scene exploration task with a clear reward expectation, and thus improve the game fun.

[0091] In a possible implementation manner, when the first virtual object completes the scene exploration task, the second virtual resource is transferred to the account of the control object of the first virtual object. That is, only when the first virtual object completes the scene exploration task can the control object of the first virtual object obtain the virtual resources perceived by the first virtual object in the virtual scene. This can prompt the game object to control the first virtual object to complete the scene exploration task, making the game more playable, improving the game fun, and thus improving the user retention rate of the game.

[0092] Optionally, the process of transferring the second virtual resource to the account of the control object of the first virtual object includes: sending the object information of the control object of the first virtual object and the resource information of the second virtual resource to the server, and the server transfers the second virtual resource to the account of the control object of the first virtual object.

[0093] Optionally, when the first virtual object completes the scene exploration task, the first virtual resource also needs to be transferred to the account of the control object of the first virtual object. The process of transferring the first virtual resource to the account of the control object of the first virtual object is similar to the above process of transferring the second virtual resource to the account of the control object of the first virtual object, and the embodiments of the present application will not elaborate here.

[0094] In a possible implementation manner, a third control is also displayed in the game interface. The third control is used to display the item information of the first virtual item and the upgrade control corresponding to the first virtual item, such as Figure 3Among them, 307 is the third control. In response to a trigger operation for the upgrade control corresponding to the first virtual item, upgrade the first virtual item. The application range of the upgraded first virtual item is greater than that of the first virtual item before the upgrade. Among them, the item information of the first virtual item may be the item name of the first virtual item, may also be the item icon of the first virtual item, or may also be other information that can uniquely represent the first virtual item. The embodiments of the present application do not limit this.

[0095] In this implementation manner, the game object can expand the application range of the first virtual item by upgrading the first virtual item, making the gameplay of the game more diverse, and then being able to improve the interaction rate of the game and the user retention rate of the game.

[0096] In a possible implementation manner, the third control is further configured to display the wearing information of the first virtual object and the upgrade control corresponding to the wearing information. In response to the upgrade control corresponding to the wearing information, upgrade the wearing information of the first virtual object. The cold resistance of the upgraded wearing information of the first virtual object is greater than that of the wearing information of the first virtual object before the upgrade. Among them, the wearing information of the first virtual object includes, but is not limited to, information about the clothes of the first virtual object, information about the shoes, etc. The information about the clothes includes, but is not limited to, the name of the clothes and the picture of the clothes. The information about the shoes includes, but is not limited to, the name of the shoes and the picture of the shoes.

[0097] In a possible implementation manner, a third virtual resource located in the virtual scene is also displayed in the game interface. The third virtual resource is used to generate a gain for the first virtual item, such as Figure 3 Among them, 308 is the third virtual resource; when the distance between the first virtual object and the third virtual resource is less than the distance threshold, display that the first virtual object picks up the third virtual resource. After the first virtual object picks up the third virtual resource, the application range of the first virtual item held by the first virtual object is greater than that before the first virtual object picks up the third virtual resource.

[0098] Among them, the distance threshold is set based on experience, or flexibly adjusted according to the implementation environment. The embodiments of the present application do not limit this. Exemplarily, the distance threshold is 1 meter.

[0099] In this implementation manner, the game object can expand the application range of the first virtual item held by the first virtual object by controlling the first virtual object to pick up the third virtual resource, improve the efficiency of the game object to complete the scene exploration task, make the game highly playable, and then be able to improve the fun of game interaction and the user retention rate of the game.

[0100] In a possible implementation, when the distance between the first virtual object and the third virtual resource is less than the distance threshold, after displaying that the first virtual object picks up the third virtual resource, a countdown control can also be displayed. The countdown control is used to indicate the remaining time during which the first virtual prop held by the first virtual object has a buff.

[0101] As Figure 4 is a schematic diagram of a countdown control provided by an embodiment of the present application. In Figure 4 , if the distance between the first virtual object 401 and the third virtual resource 402 shown in (1) is less than the distance threshold, then it is shown that the first virtual object 401 picks up the third virtual resource 402, and then Figure 4 in (2) is shown, where a countdown control 403 is shown. In the countdown control 403, 404 is the remaining time during which the first virtual prop held by the first virtual object has a buff.

[0102] As Figure 5 is a schematic diagram of another countdown control provided by an embodiment of the present application. In Figure 5 , if the distance between the first virtual object 501 and the third virtual resource 502 shown in (1) is less than the distance threshold, then it is shown that the first virtual object 501 picks up the third virtual resource 502, and then Figure 5 in (2) is shown, where a countdown control 503 is shown. That is, the remaining time during which the first virtual prop held by the first virtual object has a buff is 10 s (seconds).

[0103] In this implementation, by displaying the countdown control, the game object can perceive the remaining time during which the first virtual prop held by the first virtual object has a buff, enabling the game object to clearly master the state of the first virtual prop, so as to reasonably arrange the game strategy and actions and give full play to the maximum benefit of the first virtual prop.

[0104] In a possible implementation, a progress bar is also displayed in the game interface. The progress bar is used to indicate the progress of the first virtual object in the scene exploration task. As Figure 3 309 in is the progress bar. From the progress bar 309, it can be seen that the progress of the first virtual object in the scene exploration task is 22%. That is, the first virtual object has completed 22% of the scene exploration task.

[0105] In this implementation, by displaying the progress bar, the game object can intuitively understand the progress of the scene exploration task, so as to better plan the game behavior and anticipate the game result.

[0106] In a possible implementation, an energy bar is also displayed in the game interface. The energy bar is used to indicate the remaining energy of the first virtual item held by the first virtual object. When the remaining energy of the first virtual item held by the first virtual object is not lower than the energy threshold, the first virtual object can perform a scene exploration task through the first virtual item. For example, Figure 3 310 in [reference] is the energy bar. From the energy bar 310, it can be known that the remaining energy of the first virtual item held by the first virtual object is 61.

[0107] Among them, the energy threshold is set based on experience, or flexibly adjusted according to the implementation environment. The embodiments of the present application do not limit this. Exemplarily, the energy threshold is 0.

[0108] In this implementation, by displaying the energy bar, the game object can perceive the remaining energy of the first virtual item held by the first virtual object, so that the game object knows whether the first virtual object can perform a scene exploration task through the first virtual item.

[0109] In a possible implementation, an increase control is also displayed in the game interface. The increase control is used to indicate an increase in the remaining energy of the first virtual item held by the first virtual object. Optionally, the increase control is displayed in the energy bar. For example, Figure 3 311 in [reference] is the increase control. In response to a trigger operation on the increase control, the remaining energy of the first virtual item held by the first virtual object is increased by a first quantity. Among them, the first quantity is set based on experience, or flexibly adjusted according to the implementation environment. The embodiments of the present application do not limit this. Exemplarily, the first quantity is 10.

[0110] Exemplarily, the remaining energy of the first virtual item held by the first virtual object is 61. In response to a trigger operation on the increase control, the remaining energy of the first virtual item held by the first virtual object is increased by 10, then the remaining energy of the first virtual item held by the first virtual object becomes 71.

[0111] In this implementation, by displaying the increase control, a way is provided for the game object to increase the remaining energy of the first virtual item held by the first virtual object, so that the usage time of the first virtual item held by the first virtual object is longer, thereby being able to extend the game time and increase the game fun.

[0112] In a possible implementation, the scene temperature of the virtual scene is also displayed in the game interface. For example, Figure 3 312 in [reference] is the scene temperature of the virtual scene. That is, the scene temperature of the virtual scene is 14.0 degrees Fahrenheit (°F).

[0113] In this implementation manner, displaying the scene temperature of the virtual scene in the game interface can enable the game object to have a better understanding of the virtual scene, enhance the realism and immersion of the game, help the game object better integrate into the game world, and may also provide a reference for game strategies.

[0114] In a possible implementation manner, the game interface also displays the resource information of the virtual resources and the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object. Among them, the resource information of the virtual resources includes but is not limited to the icon of the virtual resources, the name of the virtual resources, etc. The resource collection item corresponding to the first virtual object can be the backpack on the back of the first virtual object, or other items equipped for the first virtual object. The embodiments of the present application do not limit this. For example Figure 3 in 313 is the resource information of the virtual resources, and "16" is the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object. That is to say, the resource collection item corresponding to the first virtual object has collected 16 virtual resources.

[0115] In this implementation manner, by displaying the resource information of the virtual resources and the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object, the game object can intuitively understand the quantity of the virtual resources collected by the first virtual object, so as to reasonably allocate and use the virtual resources according to the game requirements.

[0116] In a possible implementation manner, the game interface also displays a distance element, and the distance element is used to indicate the distance between the first virtual object and the resource consumption equipment, and the resource consumption equipment is used to consume the virtual resources collected by the first virtual object. For example Figure 3 in 314 is the distance element, and the distance element 314 shows 10m (meters). That is to say, the distance between the first virtual object and the resource consumption equipment is 10 meters.

[0117] In this implementation manner, by displaying the distance element, the game object can be informed of the distance between the first virtual object and the resource consumption equipment, so that the game object can be more immersed in the game.

[0118] Optionally, the distance element further includes an arrow, and the arrow is used to indicate the direction of the resource consumption equipment relative to the first virtual object. For example Figure 3 in 315 is the arrow. That is to say, the resource consumption device is in the northwest direction of the first virtual object.

[0119] In step 202, when the first condition is satisfied, display the virtual resources moving from the position where the virtual resources are located to the resource collection item corresponding to the first virtual object.

[0120] In a possible implementation, the first condition means that the distance between the first virtual object and the virtual resource is less than a distance threshold. Optionally, a control control is also displayed in the game interface. When the first virtual object is a virtual object controlled by a game object, the control control is used to control the movement of the first virtual object in the virtual scene. For example, Figure 3 316 in Figure 3 is the control control. In response to a drag operation on the control control, a movement operation for the first virtual object is triggered, thereby controlling the master virtual object to move in the virtual scene in the direction corresponding to the movement operation. The direction corresponding to the movement operation is the direction corresponding to the drag operation on the control control.

[0121] Optionally, in response to a left drag operation on the control control, the first virtual object is controlled to move left in the virtual scene. In response to a right drag operation on the control control, the first virtual object is controlled to move right in the virtual scene. In response to a down drag operation on the control control, the first virtual object is controlled to move down in the virtual scene. In response to an up drag operation on the control control, the first virtual object is controlled to move up in the virtual scene. In response to a drag operation on the control control in other directions, the first virtual object is controlled to move in other directions in the virtual scene.

[0122] Optionally, when the distance between the first virtual object and the virtual resource is less than the distance threshold, it is displayed that the virtual resource moves from the position where the virtual resource is located to the resource collection prop corresponding to the first virtual object.

[0123] By displaying that the virtual resource moves from the position where the virtual resource is located to the resource collection prop corresponding to the first virtual object, the process of the first virtual object picking up the virtual resource is reflected, enabling the game object to fully feel the resource acquisition, thereby enhancing the immersion of the game.

[0124] In step 203, when the second condition is satisfied, it is displayed that the virtual resource collected by the resource collection prop corresponding to the first virtual object upgrades the resource-consuming equipment to adjust or maintain the environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment.

[0125] Among them, the second condition includes any one of the following: the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, where the quantity threshold is the quantity of virtual resources required for the resource-consuming equipment to be upgraded from the current level to the next level; the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the first virtual object is in the reference area, where the reference area is determined based on the position of the resource-consuming equipment; the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the scene environment of the virtual scene changes; the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the second virtual object attacks the first virtual object, where the second virtual object is a hostile virtual object of the first virtual object.

[0126] Optionally, the resource-consuming equipment provides a safe area. When the first virtual object is located in the safe area provided by the resource-consuming equipment, the first virtual object will not be attacked by the enemy virtual object, and when the first virtual object is located in the safe area provided by the resource-consuming equipment, the health value of the first virtual object will be restored. The reference area is any area in the safe area provided by the resource-consuming equipment, and the safe area provided by the resource-consuming equipment is determined based on the position of the resource-consuming equipment and the level of the resource-consuming equipment. Optionally, the safe area provided by the resource-consuming equipment is a circle with the position of the resource-consuming equipment as the center and the second quantity as the radius. Among them, the second quantity is the quantity corresponding to the level of the resource-consuming equipment.

[0127] The higher the level of the resource-consuming equipment, the larger the second quantity, and the larger the safe area provided by the resource-consuming equipment. Exemplarily, when the level of the resource-consuming equipment is level 1, the second quantity is 1 meter, and when the level of the resource-consuming equipment is level 2, the second quantity is 2 meters. As Figure 3 In 317 is the resource-consuming equipment, 318 is the safe area provided by the resource-consuming equipment, and 319 is the reference area.

[0128] Optionally, the change in the scene environment of the virtual scene means that the scene environment after the virtual scene changes is different from the scene environment before the virtual scene changes. The scene environment refers to the weather condition of the scene, or it can also be the color of the scene, or it can also be other information of the scene. Exemplarily, the scene environment before the virtual scene changes is sunny, and the scene environment after the virtual scene changes is a blizzard weather.

[0129] In this implementation manner, multiple second conditions are provided, making the prerequisite conditions for upgrading the resource-consuming equipment diverse, thereby improving the flexibility of upgrading the resource-consuming equipment.

[0130] In a possible implementation, after displaying that the virtual resource moves from the location where the virtual resource is located to the resource collection prop corresponding to the first virtual object, the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is adjusted, and then the number of virtual resources collected by the resource collection prop corresponding to the first virtual object after adjustment is displayed. Optionally, 1 is added to the number of virtual resources collected by the resource collection prop corresponding to the first virtual object to obtain the number of virtual resources collected by the resource collection prop corresponding to the first virtual object after adjustment.

[0131] Exemplarily, the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is 16. After displaying that the virtual resource moves from the location where the virtual resource is located to the resource collection prop corresponding to the first virtual object, 1 is added to the number of virtual resources collected by the resource collection prop corresponding to the first virtual object (16) to obtain the number of virtual resources collected by the resource collection prop corresponding to the first virtual object after adjustment (17), and then the number of virtual resources collected by the resource collection prop corresponding to the first virtual object after adjustment (17) is displayed.

[0132] In a possible implementation, after displaying that the virtual resource moves from the location where the virtual resource is located to the resource collection prop corresponding to the first virtual object, when the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than the quantity threshold, a prompt control is displayed, and the prompt control indicates that the resource consumption equipment can be upgraded. The quantity threshold is the number of virtual resources required for the resource consumption equipment to upgrade from the current level to the next level. The upgrade of the resource consumption equipment can be the upgrade of the equipment level of the resource consumption equipment or the upgrade of the operation level of the resource consumption equipment. The embodiments of the present application do not limit this.

[0133] Exemplarily, the number of virtual resources required for the resource consumption equipment to upgrade from the current level to the next level is 17, and the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is 17. Since the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is the same as the number of virtual resources required for the resource consumption equipment to upgrade from the current level to the next level, a prompt control is displayed.

[0134] Such as Figure 6 FIG. is a schematic diagram of a prompt control provided by an embodiment of the present application. Among them, the number of virtual resources collected by the resource collection prop corresponding to the first virtual object 601 is 17, which is the same as the number of virtual resources required for the resource consumption equipment to upgrade from the current level to the next level, so the prompt control 602 is displayed.

[0135] In this implementation, when the number of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, a prompt control is displayed to prompt that the game object can upgrade the resource-consuming equipment.

[0136] In a possible implementation, after the prompt control is displayed, in response to a trigger operation on the prompt control, an indication element is displayed, and the indication element indicates the direction of the resource-consuming equipment relative to the first virtual object.

[0137] Optionally, the indication element is an arrow starting from the position where the first virtual object is located, and the arrow points to the resource-consuming equipment.

[0138] Such as Figure 7 is a schematic diagram of an indication element provided by an embodiment of the present application, in which an indication element 701 is shown.

[0139] In this implementation, by displaying the indication element, the game object can know in what direction the resource-consuming equipment is located relative to the first virtual object, so as to help the game object control the first virtual object to move towards the resource-consuming equipment.

[0140] In a possible implementation, when the second condition is met, the virtual resources collected by the resource collection item corresponding to the first virtual object are used to upgrade the resource-consuming equipment to adjust or maintain the environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment. Optionally, when the second condition is met, the virtual resources collected by the resource collection item corresponding to the first virtual object are moved to the resource-consuming equipment to upgrade the resource-consuming equipment, and then, according to the level after the resource-consuming equipment is upgraded, the environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment are adjusted or maintained.

[0141] Among them, the target area affected by the resource-consuming equipment can be a safe area provided by the resource-consuming equipment or a virtual scene, and the embodiments of the present application do not limit this. The environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment include the size of the safe area provided by the resource-consuming equipment.

[0142] Optionally, the environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment may further include the scene temperature of the virtual scene and the health recovery speed of the first virtual object when the first virtual object is located in the safe area provided by the resource-consuming equipment.

[0143] In a possible implementation, when the second condition is met, display the virtual resources of the resource collection item corresponding to the first virtual object that have been collected to upgrade the resource-consuming equipment, so as to adjust the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment. After the resource-consuming equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment are better than those before the upgrade of the resource-consuming equipment.

[0144] For example, after the resource-consuming equipment is upgraded, the size of the safe area provided by the resource-consuming equipment is larger than that before the upgrade. For another example, after the resource-consuming equipment is upgraded, the scene temperature of the virtual scene is higher than that before the upgrade. For still another example, after the resource-consuming equipment is upgraded, the health recovery speed of the first virtual object when it is located in the safe area provided by the resource-consuming equipment is greater than that before the upgrade.

[0145] In this implementation, when the resource-consuming equipment is upgraded, adjust the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment, so that the adjusted environmental parameters are better than the pre-adjustment ones, making the adjusted environmental parameters more suitable for the survival of the first virtual object and improving the survival efficiency of the first virtual object.

[0146] In a possible implementation, after the resource-consuming equipment is upgraded, the level after the upgrade of the resource-consuming equipment is determined based on the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object. After the resource-consuming equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment are determined based on the level after the upgrade of the resource-consuming equipment.

[0147] Optionally, the process of determining the level after the upgrade of the resource-consuming equipment based on the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object includes: determining the level corresponding to the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object; using the level corresponding to the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object as the level after the upgrade of the resource-consuming equipment.

[0148] Exemplarily, if the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object is 17, and the level corresponding to 17 is level 3, then the level after the upgrade of the resource-consuming equipment is level 3.

[0149] Alternatively, the process of determining the level after the resource-consuming equipment is upgraded based on the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object includes: determining the sum value of the level corresponding to the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object and the current level of the resource-consuming equipment, and using this sum value as the level after the resource-consuming equipment is upgraded.

[0150] Exemplarily, the quantity of virtual resources collected by the resource collection item corresponding to the first virtual object is 17, the level corresponding to 17 is level 3, and the current level of the resource-consuming equipment is level 2. Then, the level after the resource-consuming equipment is upgraded is level 5.

[0151] After the resource-consuming equipment is upgraded, when adjusting the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment, it is necessary to first determine the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment according to the level after the resource-consuming equipment is upgraded, and then make adjustments according to the environmental parameters determined based on the level after the resource-consuming equipment is upgraded. The embodiments of the present application do not limit the process of determining the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment according to the level after the resource-consuming equipment is upgraded. Exemplarily, the process of determining the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment according to the level after the resource-consuming equipment is upgraded includes: when the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment include the size of the safe area provided by the resource-consuming equipment, determining a fourth area according to the level after the resource-consuming equipment is upgraded, where the fourth area is the safe area provided by the resource-consuming equipment after the upgrade. When the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment include the scene temperature of the virtual scene, determining a target temperature according to the level after the resource-consuming equipment is upgraded, where the target temperature is the scene temperature of the virtual scene after the resource-consuming equipment is upgraded. When the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment include the health recovery speed of the first virtual object when the first virtual object is located in the safe area provided by the resource-consuming equipment, determining a target recovery speed according to the level after the resource-consuming equipment is upgraded, where the target recovery speed is the health recovery speed of the first virtual object when the first virtual object is located in the safe area provided by the resource-consuming equipment after the resource-consuming equipment is upgraded.

[0152] Among them, the process of determining the fourth area according to the level after the resource-consuming equipment is upgraded includes: determining the second length corresponding to the level after the resource-consuming equipment is upgraded; determining the fourth area according to the position of the resource-consuming equipment and the second length. Exemplarily, determining the area covered by a circle with the position of the resource-consuming equipment as the center and the second length as the radius as the fourth area.

[0153] In one possible implementation, the process of determining the target temperature according to the level of the resource-consuming equipment after upgrade includes: determining the temperature corresponding to the level of the resource-consuming equipment after upgrade as the target temperature. Exemplarily, if the level of the resource-consuming equipment after upgrade is level 2, and the temperature corresponding to level 2 is 23 degrees Fahrenheit, then the target temperature is 23 degrees Fahrenheit.

[0154] In another possible implementation, the target temperature is determined according to the temperature corresponding to the level of the resource-consuming equipment after upgrade and the scene temperature of the virtual scene. Optionally, the sum value of the temperature corresponding to the level of the resource-consuming equipment after upgrade and the scene temperature of the virtual scene is determined as the target temperature.

[0155] Exemplarily, if the level of the resource-consuming equipment after upgrade is level two, the temperature corresponding to level two is 9 degrees Fahrenheit, and the temperature of the scene equipment in the virtual scene is 14 degrees Fahrenheit, then the target temperature is 9 + 14 = 23 degrees Fahrenheit.

[0156] In this implementation, two ways of determining the target temperature are provided, making the determination of the target temperature more flexible and diverse in determination methods.

[0157] In one possible implementation, the process of determining the target recovery speed according to the level of the resource-consuming equipment after upgrade includes: determining the recovery speed corresponding to the level of the resource-consuming equipment after upgrade as the target recovery speed.

[0158] Exemplarily, if the level of the resource-consuming equipment after upgrade is level two, and the recovery speed corresponding to level two is 10 points per second, then the target recovery speed is 10 points per second. That is, when the first virtual object is located in the safe area provided by the resource-consuming equipment, the health value of the first virtual object recovers 10 points per second.

[0159] In this implementation, the level of the resource-consuming equipment after upgrade is determined according to the quantity of virtual resources already collected by the resource collection item corresponding to the first virtual object, making the determination process of the level of the resource-consuming equipment after upgrade more reasonable and the determined level of the resource-consuming equipment after upgrade more accurate. Moreover, after the resource-consuming equipment is upgraded, the environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment are determined according to the level of the resource-consuming equipment after upgrade, making the determined environmental parameters for the survival of the first virtual object in the target area affected by the resource-consuming equipment more accurate.

[0160] In one possible implementation, after determining the target temperature, the scene temperature of the virtual scene can also be updated and displayed as the target temperature.

[0161] In this implementation, by displaying the target temperature, the game object can know that the resource-consuming equipment has been upgraded and what the temperature of the virtual scene is after the resource-consuming equipment is upgraded, which can enhance the realism and immersion of the game.

[0162] In a possible implementation, after determining the fourth area, the fourth area can also be displayed in a second form, so that the game object can perceive the change in the safe area provided by the resource-consuming equipment. Exemplarily, the fourth area is displayed in a glowing form to reflect that the fourth area is the safe area provided by the resource-consuming equipment.

[0163] In a possible implementation, when the second condition is met and the virtual scene changes from the first scene environment to the second scene environment, the virtual resources collected by the resource collection item corresponding to the first virtual object are displayed to upgrade the resource-consuming equipment, so as to maintain the environmental parameters for the first virtual object to survive in the target area affected by the resource-consuming equipment. After the resource-consuming equipment is upgraded, the environmental parameters for the first virtual object to survive in the target area affected by the resource-consuming equipment are the same as those before the resource-consuming equipment is upgraded, and the second scene environment is worse than the first scene environment. That is, when the second condition is met and the scene environment of the virtual scene deteriorates, after the resource-consuming equipment is upgraded, the environmental parameters for the first virtual object to survive in the target area affected by the resource-consuming equipment do not change.

[0164] For example, after the resource-consuming equipment is upgraded, the size of the safe area provided by the resource-consuming equipment is the same as that before the resource-consuming equipment is upgraded. For another example, after the resource-consuming equipment is upgraded, the scene temperature of the virtual scene is the same as that before the resource-consuming equipment is upgraded. For still another example, after the resource-consuming equipment is upgraded, the health recovery speed of the first virtual object when it is located in the safe area provided by the resource-consuming equipment is the same as that before the resource consumption upgrade when the first virtual object is located in the safe area provided by the resource-consuming equipment.

[0165] In this implementation, when the second condition is met and the scene environment of the virtual scene deteriorates, by upgrading the resource-consuming equipment to maintain the environmental parameters for the first virtual object to survive in the target area affected by the resource-consuming equipment, so that the environmental parameters for the first virtual object to survive do not change when the scene environment changes, it is not necessary to adjust the control strategy of the first virtual object due to the change of the environmental parameters, which helps the game object maintain the game rhythm and thus can improve the game experience of the game object.

[0166] In a possible implementation, after displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource-consuming equipment, if the appearance of the upgraded resource-consuming equipment is different from that of the resource-consuming equipment before upgrading, the upgraded resource-consuming equipment can also be displayed. Optionally, the appearance of the upgraded resource-consuming equipment is more luxurious than that of the resource-consuming equipment before upgrading.

[0167] Such as Figure 8 is a schematic diagram of upgrading the resource-consuming equipment with the virtual resources collected by the resource collection item corresponding to the first virtual object provided by an embodiment of the present application. In Figure 8 in (1) therein, the first virtual object 801 is located in the reference area 802, and the number of virtual resources collected by the resource collection item corresponding to the first virtual object 801 is not less than the quantity threshold, and then display Figure 8 in (2) therein, where it shows that the virtual resources collected by the resource collection item corresponding to the first virtual object 801 move to the resource-consuming equipment 803. After the virtual resources collected by the resource collection item corresponding to the first virtual object 801 move to the resource-consuming equipment 803, display Figure 8 in (3) therein, where the size of the safety area provided by the resource-consuming equipment 803 changes (the safety area provided by the resource-consuming equipment 803 becomes larger), the appearance of the resource-consuming equipment 803 changes (the appearance of the resource-consuming equipment 803 becomes more luxurious), and the scene temperature of the virtual scene changes (the scene temperature of the virtual scene changes from 14 degrees Fahrenheit to 23 degrees Fahrenheit).

[0168] In this implementation, by displaying the upgraded resource-consuming equipment, the game object can perceive that the resource-consuming equipment has been upgraded, making the upgrade process of the resource-consuming equipment visual.

[0169] In a possible implementation, when the first virtual object is located in the reference area, the reference area is displayed in a first form. The first form is set based on experience or adjusted according to the implementation environment, and the embodiments of the present application do not limit this. Exemplarily, displaying in the first form can be displaying in a shaded form. Such as Figure 8 in (1) therein, the first virtual object 801 is located in the reference area 802, and the reference area 802 is displayed in a shaded form.

[0170] In a possible implementation, after the virtual resources collected by the resource collection item corresponding to the first virtual object move to the resource-consuming equipment, since the resource collection item corresponding to the first virtual object no longer has virtual resources, the prompt control is cancelled. Such as Figure 8 in (3) therein, the resource collection item corresponding to the first virtual object 801 no longer has virtual resources, and no prompt control is displayed therein.

[0171] In a possible implementation, after displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource-consuming equipment, the first area is displayed in a target form. The first area is determined based on the position of the first virtual object and the level after the upgrade of the resource-consuming equipment. The target form is used to indicate that when the first virtual object is in the first area, the first virtual object is not attacked by the second virtual object, and the second virtual object is the hostile virtual object of the first virtual object.

[0172] Optionally, the process of determining the first area according to the position of the first virtual object and the level after the upgrade of the resource-consuming equipment includes: determining the third quantity corresponding to the level after the upgrade of the resource-consuming equipment, and determining the area covered by the circle with the position of the first virtual object as the center and the third quantity as the radius as the first area.

[0173] The target form can be any form, and the embodiments of the present application do not limit this. Optionally, the target form can be a shadow form, the target form can be displayed in black, and the target form can also be a glowing form.

[0174] After displaying the first area in the target form, it can be made known to the game object that when the first virtual object is in the first area displayed in the target form, the first virtual object will not be attacked by the enemy virtual object, so that the health value of the first virtual object can be maintained, and thus the survival rate of the first virtual object can be extended.

[0175] In a possible implementation, after displaying the virtual resources collected by the resource collection item corresponding to the first virtual object to upgrade the resource-consuming equipment, the application range of the first virtual item can also be adjusted, and the application range of the first virtual item after adjustment is greater than the application range of the first virtual item before adjustment. In this way, the first virtual object can perform the scene exploration task through the first virtual item with a larger application range, so as to accelerate the first virtual object to complete the scene exploration task.

[0176] Optionally, based on the level after the upgrade of the resource-consuming equipment, the application range of the first virtual item after adjustment is determined.

[0177] In a possible implementation, after upgrading the resource-consuming equipment, the second virtual item can also be transferred to the control object of the first virtual object. The second virtual item is used to make the temperature of the second area be the reference temperature when the first virtual object is equipped with the second virtual item. The second area is determined based on the position of the first virtual object, and the reference temperature is determined based on the second virtual item.

[0178] Optionally, the reference temperature is the temperature corresponding to the second virtual item. For example, the reference temperature is 59 degrees Fahrenheit.

[0179] The second area is an area determined by the position where the first virtual object is located. Optionally, the second virtual object is an area covered by a circle centered at the position where the first virtual object is located. The embodiment of the present application does not limit the determination method of the second area.

[0180] In this implementation manner, when a second virtual item is transferred to the control object of the first virtual object so that the first virtual object equips the second virtual item, the temperature of the second area where the first virtual object is located is the reference temperature, thereby ensuring that the first virtual object is in a relatively comfortable temperature to help the first virtual object better execute the scene exploration task.

[0181] In a possible implementation manner, after upgrading the resource-consuming equipment, according to the position of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, a third area is determined, and the third area is larger than the safe area provided by the upgraded resource-consuming equipment; it is displayed that the virtual resources existing in the third area move from the position of the virtual resources to the resource collection item corresponding to the first virtual object.

[0182] The embodiment of the present application does not limit the determination method of the third area. Exemplarily, the area covered by a circle centered at the position of the resource-consuming equipment and with a radius corresponding to the value of the adjusted level of the resource-consuming equipment is determined as the third area.

[0183] In this implementation manner, the virtual resources existing in the third area are automatically moved to the resource collection item corresponding to the first virtual object, so that there is no need to move the first virtual object to obtain the virtual resources, and the acquisition efficiency of the virtual resources is higher.

[0184] The above method can control the first virtual object to move in the virtual scene by the game object. When the first condition is met, it is displayed that the virtual resources move from the position where the virtual resources are located to the resource collection item corresponding to the first virtual object to reflect that the first virtual object collects the virtual resources. When the second condition is met, the resource-consuming equipment is upgraded by the virtual resources collected by the first virtual object to adjust or maintain the environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment. This method enables the game object not only to collect virtual resources in the virtual scene but also to consume virtual resources to upgrade the resource-consuming equipment, making the interaction methods of the virtual object diverse, the interaction methods more flexible, improving the interaction rate of the virtual object, thereby enriching the gameplay of the game, making the game more playable, increasing the interactive fun of the game, and further enhancing the player's sense of participation and achievement in the game, so as to improve the interactivity and user retention rate of the game.

[0185] In an embodiment provided by the present application, a first virtual object located in a virtual scene is displayed. The virtual scene is covered by a granular covering. The first virtual object holds a first virtual prop, and the first virtual prop is used to clear the granular covering within the application range of the first virtual prop; when the first virtual object clears the granular covering within the application range of the first virtual prop by using the first virtual prop and there is virtual resource (coal ball) within the application range of the first virtual prop, the virtual resource is displayed. The first virtual object is controlled to move towards the virtual resource. When the distance between the first virtual object and the virtual resource is less than the distance threshold, it is displayed that the virtual resource moves from the position where the virtual resource is located to the resource collection prop (the backpack of the first virtual object) corresponding to the first virtual object. When the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than the quantity threshold and the first virtual object is located in the reference area, it is displayed that the virtual resources collected by the resource collection prop corresponding to the first virtual object move to the resource consumption equipment (furnace) to upgrade the resource consumption equipment. After the resource consumption equipment is upgraded, the size of the safety area provided by the resource consumption equipment is adjusted, and the scene temperature of the virtual scene is adjusted.

[0186] Wherein, the quantity threshold is the quantity of virtual resources required for the resource consumption equipment to upgrade from the current level to the next level. The reference area is any area within the safety area provided by the resource consumption equipment. After the resource consumption equipment is upgraded, the safety area provided by the resource consumption equipment is larger than that before the upgrade of the resource consumption equipment. After the resource consumption equipment is upgraded, the scene temperature of the virtual scene is higher than that before the upgrade of the resource consumption equipment.

[0187] When the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than the quantity threshold, the first virtual object is located in the reference area, and the virtual scene changes from the first scene environment to the second scene environment, it is displayed that the virtual resources collected by the resource collection prop corresponding to the first virtual object move to the resource consumption equipment (furnace) to upgrade the resource consumption equipment. After the resource consumption equipment is upgraded, the size of the safety area provided by the resource consumption equipment and the scene temperature of the virtual scene do not change. The second scene environment is worse than the first scene environment. For example, the second scene environment is a blizzard weather and the first scene environment is sunny.

[0188] That is to say, after the resource consumption equipment is upgraded, the size of the safety area provided by the resource consumption equipment is the same as that before the upgrade of the resource consumption equipment. After the resource consumption equipment is upgraded, the scene temperature of the virtual scene is the same as that before the upgrade of the resource consumption equipment. [[ID=Im]]

[0189] Figure 9The following is a schematic structural diagram of an interaction device for virtual objects provided by an embodiment of the present application. As Figure 9 shown, the device includes:

[0190] A display module 901, configured to display a first virtual object and virtual resources located in a virtual scene;

[0191] The display module 901 is further configured to, when a first condition is met, display the virtual resources moving from the position where the virtual resources are located to a resource collection prop corresponding to the first virtual object;

[0192] The display module 901 is further configured to, when a second condition is met, display the virtual resources collected by the resource collection prop corresponding to the first virtual object to upgrade a resource consumption device, so as to adjust or maintain environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device.

[0193] In a possible implementation manner, the display module 901 is configured to, when a second condition is met, display the virtual resources collected by the resource collection prop corresponding to the first virtual object to upgrade a resource consumption device, so as to adjust the environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device. After the resource consumption device is upgraded, the environmental parameters for the survival of the first virtual object within the target area affected by the resource consumption device are better than those before the resource consumption device is upgraded; or,

[0194] When the second condition is met and the virtual scene changes from a first scene environment to a second scene environment, display the virtual resources collected by the resource collection prop corresponding to the first virtual object to upgrade a resource consumption device, so as to maintain the environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device. After the resource consumption device is upgraded, the environmental parameters for the survival of the first virtual object within the target area affected by the resource consumption device are the same as those before the resource consumption device is upgraded, and the second scene environment is worse than the first scene environment.

[0195] In a possible implementation manner, the level after the resource consumption device is upgraded is determined based on the quantity of the virtual resources collected by the resource collection prop corresponding to the first virtual object. After the resource consumption device is upgraded, the environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device are determined based on the level after the resource consumption device is upgraded.

[0196] In a possible implementation manner, the environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device include the scene temperature of the virtual scene;

[0197] The display module 901 is also used to display the scene temperature of the virtual scene;

[0198] The device also includes:

[0199] A determination module, configured to determine a target temperature, wherein the target temperature is the scene temperature of the virtual scene after the resource consumption equipment is upgraded, and the target temperature is determined based on the level of the resource consumption equipment after the upgrade;

[0200] The display module 901 is further configured to update and display the scene temperature of the virtual scene as the target temperature.

[0201] In one possible implementation, the display module 901 is also used to display the first area in a target form, where the first area is determined based on the location of the first virtual object and the level of the upgraded resource-consuming equipment. The target form is used to indicate that when the first virtual object is in the first area, the first virtual object is not attacked by the second virtual object, and the second virtual object is a hostile virtual object to the first virtual object.

[0202] In one possible implementation, the second condition includes one of the following:

[0203] The amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, where the quantity threshold is the amount of virtual resources required to upgrade the resource-consuming equipment from its current level to the next level;

[0204] The amount of virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, and the first virtual object is in a reference area, where the reference area is determined based on the location of the resource-consuming equipment;

[0205] The amount of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than the quantity threshold, and the scene environment of the virtual scene changes;

[0206] The amount of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than the quantity threshold, and the second virtual object attacks the first virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

[0207] In one possible implementation, the display module 901 is also used to display a prompt control when the number of virtual resources collected by the resource collection prop corresponding to the first virtual object is not less than a quantity threshold, and the prompt control indicates the upgradeable resource-consuming equipment, and the quantity threshold is the number of virtual resources required to upgrade the resource-consuming equipment from the current level to the next level.

[0208] In a possible implementation, the display module 901 is further configured to display an indication element in response to a triggering operation on the prompt control, where the indication element indicates the direction of the resource-consuming equipment relative to the first virtual object.

[0209] In a possible implementation, the display module 901 is further configured to display the upgraded resource-consuming equipment, where the appearance of the upgraded resource-consuming equipment is different from that of the resource-consuming equipment before the upgrade.

[0210] In a possible implementation, the first virtual object performs a scene exploration task in a virtual scene covered with a granular covering. The first virtual object holds a first virtual item, and the first virtual item is used to eliminate the granular covering within the application range of the virtual item.

[0211] The device further includes:

[0212] An adjustment module, configured to adjust the application range of the first virtual item, where the adjusted application range of the first virtual item is larger than the application range of the first virtual item before the adjustment.

[0213] In a possible implementation, the device further includes:

[0214] A transfer module, configured to transfer a second virtual item to the control object of the first virtual object. The second virtual item is used to keep the temperature of a second area at a reference temperature when the first virtual object is equipped with the second virtual item. The second area is determined based on the position of the first virtual object, and the reference temperature is determined based on the second virtual item.

[0215] In a possible implementation, the device further includes:

[0216] A determination module, configured to determine a third area based on the position of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, where the third area is larger than the safety area provided by the upgraded resource-consuming equipment.

[0217] The display module 901 is further configured to display that the virtual resources existing in the third area move from the position of the virtual resources to the resource collection item corresponding to the first virtual object.

[0218] The above-mentioned device game object can control the first virtual object to move in the virtual scene. When the first condition is met, it is shown that the virtual resource moves from the position where the virtual resource is located to the resource collection prop corresponding to the first virtual object, so as to reflect that the first virtual object collects the virtual resource. When the second condition is met, the virtual resource collected by the first virtual object is used to upgrade the resource-consuming equipment, so as to adjust or maintain the environmental parameters for the first virtual object to survive within the target area affected by the resource-consuming equipment. This enables the game object not only to collect virtual resources in the virtual scene, but also to consume virtual resources to upgrade the resource-consuming equipment, making the interaction methods of the virtual object diversified and more flexible, improving the interaction rate of the virtual object, further enriching the gameplay of the game, making the game more playable, increasing the interactive fun of the game, and further enhancing the player's sense of participation and achievement in the game, thereby being able to improve the interactivity and user retention rate of the game.

[0219] It should be understood that when the above-mentioned device realizes its functions, only the division of the above-mentioned functional modules is used for illustration. In actual applications, the above-mentioned functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device provided in the above-mentioned embodiment and the method embodiment belong to the same concept, and the specific implementation process can be seen in the method embodiment, which will not be elaborated here.

[0220] Figure 10 The block diagram of the terminal device 1000 provided by an exemplary embodiment of the present application is shown. The terminal device 1000 can be any electronic device product that can perform human-computer interaction with the user through one or more ways such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC), a tablet computer, a smart car machine, a smart TV, a smart speaker, a smart watch, etc.

[0221] Generally, the terminal device 1000 includes a processor 1001 and a memory 1002.

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

[0223] The memory 1002 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1002 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1002 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1001 to implement the interaction method of virtual objects provided in the method embodiments of the present application.

[0224] In some embodiments, the terminal device 1000 may further optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002, and the peripheral device interface 1003 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1003 through a bus, signal lines, or a circuit board. Specifically, the peripheral device includes at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, and a power supply 1008.

[0225] The peripheral device interface 1003 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.

[0226] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so on. The radio frequency circuit 1004 can communicate with other terminal devices 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 1004 may further include a circuit related to NFC (Near Field Communication), and this application does not limit this.

[0227] The display screen 1005 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on or above the surface of the display screen 1005. The touch signals can be input to the processor 1001 as control signals for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, there may be one display screen 1005, which is disposed on the front panel of the terminal device 1000; in other embodiments, there may be at least two display screens 1005, which are respectively disposed on different surfaces of the terminal device 1000 or are in a foldable design; in other embodiments, the display screen 1005 may be a flexible display screen, which is disposed on the curved surface or the folding surface of the terminal device 1000. Even further, the display screen 1005 can also be set to an irregular non-rectangular shape, that is, a special-shaped screen. The display screen 1005 can be prepared using materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0228] The camera module 1006 is used to collect images or videos. Optionally, the camera module 1006 includes a front camera and a rear camera. Generally, the front camera is disposed on the front panel of the terminal device 1000, and the rear camera is disposed on the back of the terminal device 1000. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth camera, a wide-angle camera, and a telephoto camera respectively, to implement functions such as background blurring by fusing the main camera and the depth camera, panoramic shooting by fusing the main camera and the wide-angle camera, and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, the camera module 1006 may further include a flash. The flash can be a single-color temperature flash or a two-color temperature flash. A two-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation under different color temperatures.

[0229] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals for input to the processor 1001 for processing, or input to the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal device 1000. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signals from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into inaudible sound waves for uses such as ranging. In some embodiments, the audio circuit 1007 may further include a headphone jack.

[0230] The power supply 1008 is used to supply power to each component in the terminal device 1000. The power supply 1008 may be alternating current, direct current, a disposable battery or a rechargeable battery. When the power supply 1008 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0231] In some embodiments, the terminal device 1000 further includes one or more sensors 1009. The one or more sensors 1009 include but are not limited to: an acceleration sensor 1010, a gyroscope sensor 1011, a pressure sensor 1012, an optical sensor 1013, and a proximity sensor 1014.

[0232] The acceleration sensor 1010 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established with the terminal device 1000. For example, the acceleration sensor 1010 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 1001 can control the display screen 1005 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1010. The acceleration sensor 1010 can also be used for collecting game or user's motion data.

[0233] The gyroscope sensor 1011 can detect the body direction and rotation angle of the terminal device 1000. The gyroscope sensor 1011 can cooperate with the acceleration sensor 1010 to collect the 3D actions of the user on the terminal device 1000. According to the data collected by the gyroscope sensor 1011, the processor 1001 can implement the following functions: motion sensing (such as changing the UI according to the user's tilting operation), image stabilization during shooting, game control, and inertial navigation.

[0234] The pressure sensor 1012 can be disposed on the side frame of the terminal device 1000 and / or the lower layer of the display screen 1005. When the pressure sensor 1012 is disposed on the side frame of the terminal device 1000, it can detect the holding signal of the user on the terminal device 1000, and the processor 1001 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1012. When the pressure sensor 1012 is disposed on the lower layer of the display screen 1005, the processor 1001 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 1005. The operable controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0235] The optical sensor 1013 is used to collect the ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1013. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is decreased. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera module 1006 according to the ambient light intensity collected by the optical sensor 1013.

[0236] The proximity sensor 1014, also known as a distance sensor, is usually disposed on the front panel of the terminal device 1000. The proximity sensor 1014 is used to collect the distance between the user and the front of the terminal device 1000. In one embodiment, when the proximity sensor 1014 detects that the distance between the user and the front of the terminal device 1000 is gradually decreasing, the processor 1001 controls the display screen 1005 to switch from the lit state to the off state; when the proximity sensor 1014 detects that the distance between the user and the front of the terminal device 1000 is gradually increasing, the processor 1001 controls the display screen 1005 to switch from the off state to the lit state.

[0237] Those skilled in the art can understand that Figure 10 the structure shown in does not limit the terminal device 1000, and it may include more or fewer components than shown in the figure, or combine some components, or adopt different component arrangements.

[0238] Figure 11A structural schematic diagram of the server provided by the embodiment of the present application. The server 1100 may vary greatly due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1101 and one or more memories 1102. Among them, at least one program code is stored in the one or more memories 1102, and the at least one program code is loaded and executed by the one or more processors 1101 to implement the interaction method of virtual objects provided by the above-mentioned various method embodiments. Of course, the server 1100 may also have components such as wired or wireless network interfaces, keyboards, and input / output interfaces for input / output. The server 1100 may also include other components for implementing device functions, which will not be elaborated here.

[0239] In an exemplary embodiment, a computer-readable storage medium is further provided. At least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to enable a computer to implement any one of the above-mentioned interaction methods of virtual objects.

[0240] Optionally, the above-mentioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0241] In an exemplary embodiment, a computer program or a computer program product is further provided. At least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor to enable a computer to implement any one of the above-mentioned interaction methods of virtual objects.

[0242] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the present application are all authorized by users or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions.

[0243] It should be understood that the term "a plurality" mentioned herein refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0244] The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included within the protection scope of the present application.

Claims

1. An interaction method for virtual objects, characterized in that, The method includes: Displaying a first virtual object and virtual resources located in a virtual scene; When a first condition is met, displaying the virtual resources moving from the location where the virtual resources are located to a resource collection prop corresponding to the first virtual object; When a second condition is met, displaying that the virtual resources collected by the resource collection prop corresponding to the first virtual object upgrade a resource consumption device to adjust or maintain environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device.

2. The method according to claim 1, wherein The step of, when a second condition is met, displaying that the virtual resources collected by the resource collection prop corresponding to the first virtual object upgrade a resource consumption device to adjust or maintain environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device includes: When a second condition is met, displaying that the virtual resources collected by the resource collection prop corresponding to the first virtual object upgrade the resource consumption device to adjust environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device. After the resource consumption device is upgraded, the environmental parameters for the survival of the first virtual object within the target area affected by the resource consumption device are better than those before the resource consumption device is upgraded; or When a second condition is met and the virtual scene changes from a first scene environment to a second scene environment, displaying that the virtual resources collected by the resource collection prop corresponding to the first virtual object upgrade the resource consumption device to maintain environmental parameters for the survival of the first virtual object within a target area affected by the resource consumption device. After the resource consumption device is upgraded, the environmental parameters for the survival of the first virtual object within the target area affected by the resource consumption device are the same as those before the resource consumption device is upgraded, and the second scene environment is worse than the first scene environment.

3. The method according to claim 2, wherein The level after the resource consumption device is upgraded is determined based on the quantity of the virtual resources collected by the resource collection prop corresponding to the first virtual object. After the resource consumption device is upgraded, the environmental parameters for the survival of the first virtual object within the target area affected by the resource consumption device are determined based on the level after the resource consumption device is upgraded.

4. The method according to any one of claims 1 to 3, characterized in that The environmental parameters for the survival of the first virtual object within the target area affected by the resource consumption device include the scene temperature of the virtual scene. The method further includes: Displaying the scene temperature of the virtual scene; After displaying that the virtual resources collected by the resource collection prop corresponding to the first virtual object upgrade a resource consumption device, the method further includes: Determining a target temperature, where the target temperature is the scene temperature of the virtual scene after the resource consumption device is upgraded, and the target temperature is determined based on the level after the resource consumption device is upgraded; Updating and displaying the scene temperature of the virtual scene as the target temperature.

5. The method according to any one of claims 1 to 3, characterized in that, After displaying that the resource collection item corresponding to the first virtual object has collected virtual resources to upgrade the resource-consuming equipment, the method further includes: Displaying a first area in a target form, where the first area is determined based on the position of the first virtual object and the level after the upgrade of the resource-consuming equipment, and the target form is used to indicate that when the first virtual object is in the first area, the first virtual object is not attacked by a second virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

6. The method according to any one of claims 1 to 3, characterized in that, The second condition includes one of the following: The quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, and the quantity threshold is the quantity of virtual resources required for the resource-consuming equipment to be upgraded from the current level to the next level; The quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the first virtual object is in a reference area, and the reference area is determined based on the position of the resource-consuming equipment; The quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the scene environment of the virtual scene changes; The quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object is not less than the quantity threshold, and the second virtual object attacks the first virtual object, and the second virtual object is a hostile virtual object of the first virtual object.

7. The method according to any one of claims 1 to 3, characterized in that After displaying that the virtual resources move from the position where the virtual resources are located to the resource collection item corresponding to the first virtual object, the method further includes: When the quantity of the virtual resources collected by the resource collection item corresponding to the first virtual object is not less than a quantity threshold, displaying a prompt control, where the prompt control indicates that the resource-consuming equipment can be upgraded, and the quantity threshold is the quantity of virtual resources required for the resource-consuming equipment to be upgraded from the current level to the next level.

8. The method according to claim 7, wherein After displaying the prompt control, the method further includes: In response to a trigger operation on the prompt control, displaying an indication element, where the indication element indicates the direction of the resource-consuming equipment relative to the first virtual object.

9. The method according to any one of claims 1 to 3, characterized in that, After displaying that the resource collection item corresponding to the first virtual object has collected virtual resources to upgrade the resource-consuming equipment, the method further includes: Displaying the upgraded resource-consuming equipment, and the appearance of the upgraded resource-consuming equipment is different from the appearance of the resource-consuming equipment before the upgrade.

10. The method according to any one of claims 1 to 3, characterized in that The first virtual object performs a scene exploration task in the virtual scene, the virtual scene is covered with granular coverings, and the first virtual object holds a first virtual item, and the first virtual item is used to eliminate the granular coverings within the application range of the virtual item; After displaying that the resource collection item corresponding to the first virtual object has collected virtual resources to upgrade the resource-consuming equipment, the method further includes: Adjusting the application range of the first virtual item, and the adjusted application range of the first virtual item is larger than the application range of the first virtual item before the adjustment.

11. The method according to any one of claims 1 to 3, characterized in that After displaying that the resource collection item corresponding to the first virtual object has collected virtual resources to upgrade the resource-consuming equipment, the method further includes: Transferring a second virtual item to the controller of the first virtual object, where the second virtual item is used to make the temperature of a second area a reference temperature when the first virtual object is equipped with the second virtual item. The second area is determined based on the location of the first virtual object, and the reference temperature is determined based on the second virtual item.

12. The method according to any one of claims 1 to 3, characterized in that After displaying that the resource collection item corresponding to the first virtual object has collected virtual resources to upgrade the resource-consuming equipment, the method further includes: Determining a third area according to the location of the resource-consuming equipment and the adjusted level of the resource-consuming equipment, where the third area is larger than the safety area provided by the upgraded resource-consuming equipment; Displaying that the virtual resources existing in the third area move from the location of the virtual resources to the resource collection item corresponding to the first virtual object.

13. An interaction device for virtual objects, characterized in that, The device includes: A display module for displaying a first virtual object and virtual resources located in a virtual scene; The display module is further configured to display, when a first condition is met, that the virtual resources move from the location where the virtual resources are located to the resource collection item corresponding to the first virtual object; The display module is further configured to display, when a second condition is met, that the virtual resources collected by the resource collection item corresponding to the first virtual object upgrade the resource-consuming equipment to adjust or maintain the environmental parameters for the survival of the first virtual object within the target area affected by the resource-consuming equipment.

14. A computer device, characterized in that, The computer device includes a processor and a memory. At least one program code is stored in the memory and is loaded and executed by the processor so that the computer device implements the interaction method of the virtual object as described in any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that, At least one program code is stored in the computer-readable storage medium and is loaded and executed by a processor so that a computer implements the interaction method of the virtual object as described in any one of claims 1 to 12.

16. A computer program product, characterized in that, At least one computer instruction is stored in the computer program product and is loaded and executed by a processor so that a computer implements the interaction method of the virtual object as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Control method and device in game, electronic equipment and storage medium

    CN116712734A

  • Virtual building-based interaction method and device, terminal and storage medium

    CN117771672A

  • Method and apparatus for displaying virtual object, and device and storage medium

    WO2023207419A1